1*cdf0e10cSrcweir#************************************************************************* 2*cdf0e10cSrcweir# 3*cdf0e10cSrcweir# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir# 5*cdf0e10cSrcweir# Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir# 7*cdf0e10cSrcweir# OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir# 9*cdf0e10cSrcweir# This file is part of OpenOffice.org. 10*cdf0e10cSrcweir# 11*cdf0e10cSrcweir# OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir# it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir# only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir# 15*cdf0e10cSrcweir# OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir# but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir# GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir# (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir# 21*cdf0e10cSrcweir# You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir# version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir# <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir# for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir# 26*cdf0e10cSrcweir#************************************************************************* 27*cdf0e10cSrcweir 28*cdf0e10cSrcweirPRJ=.. 29*cdf0e10cSrcweir 30*cdf0e10cSrcweirPRJNAME=vcl 31*cdf0e10cSrcweirTARGET=vcl 32*cdf0e10cSrcweirTARGETTYPE=GUI 33*cdf0e10cSrcweirUSE_DEFFILE=TRUE 34*cdf0e10cSrcweirGEN_HID_OTHER=TRUE 35*cdf0e10cSrcweir 36*cdf0e10cSrcweir.IF "$(SNDFILE_LIBS)"!="" 37*cdf0e10cSrcweirSNDFILELIB=$(SNDFILE_LIBS) 38*cdf0e10cSrcweir.ENDIF 39*cdf0e10cSrcweir 40*cdf0e10cSrcweir# --- Settings ----------------------------------------------------------- 41*cdf0e10cSrcweir 42*cdf0e10cSrcweir.INCLUDE : settings.mk 43*cdf0e10cSrcweir.INCLUDE : makefile.pmk 44*cdf0e10cSrcweir.INCLUDE : makefile2.pmk 45*cdf0e10cSrcweir 46*cdf0e10cSrcweir.IF "$(OS)" == "SOLARIS" 47*cdf0e10cSrcweir.IF "$(CPUNAME)" == "SPARC" && "$(CPU)" == "U" 48*cdf0e10cSrcweirLINKFLAGSRUNPATH_OOO := -R/usr/sfw/lib/64 $(LINKFLAGSRUNPATH_OOO) 49*cdf0e10cSrcweir.ELSE 50*cdf0e10cSrcweirLINKFLAGSRUNPATH_OOO := -R/usr/sfw/lib $(LINKFLAGSRUNPATH_OOO) 51*cdf0e10cSrcweir.ENDIF 52*cdf0e10cSrcweir.ENDIF 53*cdf0e10cSrcweir 54*cdf0e10cSrcweir# --- Allgemein ---------------------------------------------------------- 55*cdf0e10cSrcweir 56*cdf0e10cSrcweirHXXDEPNLST= $(INC)$/vcl$/accel.hxx \ 57*cdf0e10cSrcweir $(INC)$/vcl$/animate.hxx \ 58*cdf0e10cSrcweir $(INC)$/vcl$/apptypes.hxx \ 59*cdf0e10cSrcweir $(INC)$/vcl$/bitmap.hxx \ 60*cdf0e10cSrcweir $(INC)$/vcl$/bitmapex.hxx \ 61*cdf0e10cSrcweir $(INC)$/vcl$/bmpacc.hxx \ 62*cdf0e10cSrcweir $(INC)$/vcl$/btndlg.hxx \ 63*cdf0e10cSrcweir $(INC)$/vcl$/button.hxx \ 64*cdf0e10cSrcweir $(INC)$/vcl$/ctrl.hxx \ 65*cdf0e10cSrcweir $(INC)$/vcl$/cursor.hxx \ 66*cdf0e10cSrcweir $(INC)$/vcl$/cmdevt.hxx \ 67*cdf0e10cSrcweir $(INC)$/vcl$/decoview.hxx \ 68*cdf0e10cSrcweir $(INC)$/vcl$/dialog.hxx \ 69*cdf0e10cSrcweir $(INC)$/vcl$/dllapi.h \ 70*cdf0e10cSrcweir $(INC)$/vcl$/dockwin.hxx \ 71*cdf0e10cSrcweir $(INC)$/vcl$/edit.hxx \ 72*cdf0e10cSrcweir $(INC)$/vcl$/event.hxx \ 73*cdf0e10cSrcweir $(INC)$/vcl$/field.hxx \ 74*cdf0e10cSrcweir $(INC)$/vcl$/fixed.hxx \ 75*cdf0e10cSrcweir $(INC)$/vcl$/floatwin.hxx \ 76*cdf0e10cSrcweir $(INC)$/vcl$/font.hxx \ 77*cdf0e10cSrcweir $(INC)$/vcl$/floatwin.hxx \ 78*cdf0e10cSrcweir $(INC)$/vcl$/graph.hxx \ 79*cdf0e10cSrcweir $(INC)$/vcl$/group.hxx \ 80*cdf0e10cSrcweir $(INC)$/vcl$/help.hxx \ 81*cdf0e10cSrcweir $(INC)$/vcl$/jobset.hxx \ 82*cdf0e10cSrcweir $(INC)$/vcl$/keycodes.hxx \ 83*cdf0e10cSrcweir $(INC)$/vcl$/keycod.hxx \ 84*cdf0e10cSrcweir $(INC)$/vcl$/image.hxx \ 85*cdf0e10cSrcweir $(INC)$/vcl$/lstbox.h \ 86*cdf0e10cSrcweir $(INC)$/vcl$/lstbox.hxx \ 87*cdf0e10cSrcweir $(INC)$/vcl$/mapmod.hxx \ 88*cdf0e10cSrcweir $(INC)$/vcl$/metaact.hxx \ 89*cdf0e10cSrcweir $(INC)$/vcl$/menu.hxx \ 90*cdf0e10cSrcweir $(INC)$/vcl$/menubtn.hxx \ 91*cdf0e10cSrcweir $(INC)$/vcl$/metric.hxx \ 92*cdf0e10cSrcweir $(INC)$/vcl$/morebtn.hxx \ 93*cdf0e10cSrcweir $(INC)$/vcl$/msgbox.hxx \ 94*cdf0e10cSrcweir $(INC)$/vcl$/octree.hxx \ 95*cdf0e10cSrcweir $(INC)$/vcl$/outdev.hxx \ 96*cdf0e10cSrcweir $(INC)$/vcl$/pointr.hxx \ 97*cdf0e10cSrcweir $(INC)$/vcl$/ptrstyle.hxx \ 98*cdf0e10cSrcweir $(INC)$/vcl$/prntypes.hxx \ 99*cdf0e10cSrcweir $(INC)$/vcl$/print.hxx \ 100*cdf0e10cSrcweir $(INC)$/vcl$/prndlg.hxx \ 101*cdf0e10cSrcweir $(INC)$/vcl$/region.hxx \ 102*cdf0e10cSrcweir $(INC)$/vcl$/rendergraphic.hxx \ 103*cdf0e10cSrcweir $(INC)$/vcl$/rendergraphicrasterizer.hxx \ 104*cdf0e10cSrcweir $(INC)$/vcl$/salbtype.hxx \ 105*cdf0e10cSrcweir $(INC)$/vcl$/scrbar.hxx \ 106*cdf0e10cSrcweir $(INC)$/vcl$/slider.hxx \ 107*cdf0e10cSrcweir $(INC)$/vcl$/seleng.hxx \ 108*cdf0e10cSrcweir $(INC)$/vcl$/settings.hxx \ 109*cdf0e10cSrcweir $(INC)$/vcl$/sound.hxx \ 110*cdf0e10cSrcweir $(INC)$/vcl$/sndstyle.hxx \ 111*cdf0e10cSrcweir $(INC)$/vcl$/split.hxx \ 112*cdf0e10cSrcweir $(INC)$/vcl$/splitwin.hxx \ 113*cdf0e10cSrcweir $(INC)$/vcl$/spin.hxx \ 114*cdf0e10cSrcweir $(INC)$/vcl$/spinfld.hxx \ 115*cdf0e10cSrcweir $(INC)$/vcl$/status.hxx \ 116*cdf0e10cSrcweir $(INC)$/vcl$/stdtext.hxx \ 117*cdf0e10cSrcweir $(INC)$/vcl$/sv.h \ 118*cdf0e10cSrcweir $(INC)$/vcl$/svapp.hxx \ 119*cdf0e10cSrcweir $(INC)$/vcl$/syschild.hxx \ 120*cdf0e10cSrcweir $(INC)$/vcl$/sysdata.hxx \ 121*cdf0e10cSrcweir $(INC)$/vcl$/syswin.hxx \ 122*cdf0e10cSrcweir $(INC)$/vcl$/tabctrl.hxx \ 123*cdf0e10cSrcweir $(INC)$/vcl$/tabdlg.hxx \ 124*cdf0e10cSrcweir $(INC)$/vcl$/tabpage.hxx \ 125*cdf0e10cSrcweir $(INC)$/vcl$/toolbox.hxx \ 126*cdf0e10cSrcweir $(INC)$/vcl$/timer.hxx \ 127*cdf0e10cSrcweir $(INC)$/vcl$/virdev.hxx \ 128*cdf0e10cSrcweir $(INC)$/vcl$/wall.hxx \ 129*cdf0e10cSrcweir $(INC)$/vcl$/waitobj.hxx \ 130*cdf0e10cSrcweir $(INC)$/vcl$/window.hxx \ 131*cdf0e10cSrcweir $(INC)$/vcl$/wrkwin.hxx 132*cdf0e10cSrcweir 133*cdf0e10cSrcweir.IF "$(linkinc)" != "" 134*cdf0e10cSrcweirSHL11FILE= $(MISC)$/app.slo 135*cdf0e10cSrcweirSHL12FILE= $(MISC)$/gdi.slo 136*cdf0e10cSrcweirSHL13FILE= $(MISC)$/win.slo 137*cdf0e10cSrcweirSHL14FILE= $(MISC)$/ctrl.slo 138*cdf0e10cSrcweir#SHL15FILE= $(MISC)$/ex.slo 139*cdf0e10cSrcweirSHL16FILE= $(MISC)$/salapp.slo 140*cdf0e10cSrcweirSHL17FILE= $(MISC)$/salwin.slo 141*cdf0e10cSrcweirSHL18FILE= $(MISC)$/salgdi.slo 142*cdf0e10cSrcweir.ENDIF 143*cdf0e10cSrcweir 144*cdf0e10cSrcweirLIB1TARGET= $(SLB)$/$(TARGET).lib 145*cdf0e10cSrcweirLIB1FILES= $(SLB)$/app.lib \ 146*cdf0e10cSrcweir $(SLB)$/gdi.lib \ 147*cdf0e10cSrcweir $(SLB)$/win.lib \ 148*cdf0e10cSrcweir $(SLB)$/ctrl.lib \ 149*cdf0e10cSrcweir $(SLB)$/helper.lib \ 150*cdf0e10cSrcweir $(SLB)$/fontsubset.lib \ 151*cdf0e10cSrcweir $(SLB)$/components.lib 152*cdf0e10cSrcweir 153*cdf0e10cSrcweir.IF "$(GUI)" == "UNX" && "$(GUIBASE)"!="aqua" 154*cdf0e10cSrcweirLIB1FILES+= $(SLB)$/salplug.lib \ 155*cdf0e10cSrcweir $(SLB)$/fontman.lib \ 156*cdf0e10cSrcweir $(SLB)$/printer.lib 157*cdf0e10cSrcweir.ELSE 158*cdf0e10cSrcweirLIB1FILES+= \ 159*cdf0e10cSrcweir $(SLB)$/salwin.lib \ 160*cdf0e10cSrcweir $(SLB)$/salgdi.lib \ 161*cdf0e10cSrcweir $(SLB)$/salapp.lib 162*cdf0e10cSrcweir.IF "$(GUIBASE)" == "aqua" 163*cdf0e10cSrcweirLIB1FILES+= $(SLB)$/dtransaqua.lib 164*cdf0e10cSrcweir.ENDIF 165*cdf0e10cSrcweir.ENDIF 166*cdf0e10cSrcweir 167*cdf0e10cSrcweirSHL1TARGET= vcl$(DLLPOSTFIX) 168*cdf0e10cSrcweirSHL1IMPLIB= ivcl 169*cdf0e10cSrcweirSHL1STDLIBS+=\ 170*cdf0e10cSrcweir $(SOTLIB) \ 171*cdf0e10cSrcweir $(UNOTOOLSLIB) \ 172*cdf0e10cSrcweir $(TOOLSLIB) \ 173*cdf0e10cSrcweir $(I18NPAPERLIB) \ 174*cdf0e10cSrcweir $(I18NISOLANGLIB) \ 175*cdf0e10cSrcweir $(I18NUTILLIB) \ 176*cdf0e10cSrcweir $(COMPHELPERLIB) \ 177*cdf0e10cSrcweir $(UCBHELPERLIB) \ 178*cdf0e10cSrcweir $(CPPUHELPERLIB) \ 179*cdf0e10cSrcweir $(CPPULIB) \ 180*cdf0e10cSrcweir $(VOSLIB) \ 181*cdf0e10cSrcweir $(SALLIB) \ 182*cdf0e10cSrcweir $(BASEGFXLIB) \ 183*cdf0e10cSrcweir $(ICUUCLIB) \ 184*cdf0e10cSrcweir $(ICUDATALIB) \ 185*cdf0e10cSrcweir $(ICULELIB) \ 186*cdf0e10cSrcweir $(JVMACCESSLIB) 187*cdf0e10cSrcweir 188*cdf0e10cSrcweir.IF "$(GUI)" == "UNX" 189*cdf0e10cSrcweir.IF "$(ENABLE_GRAPHITE)" != "" 190*cdf0e10cSrcweir.IF "$(SYSTEM_GRAPHITE)" == "YES" 191*cdf0e10cSrcweirSHL1STDLIBS+= $(GRAPHITE_LIBS) 192*cdf0e10cSrcweir.ELSE 193*cdf0e10cSrcweirSHL1STDLIBS+= $(SOLARVERSION)/$(INPATH)/lib$(UPDMINOREXT)/libgraphite.a 194*cdf0e10cSrcweir.ENDIF 195*cdf0e10cSrcweir.ENDIF 196*cdf0e10cSrcweir.ENDIF 197*cdf0e10cSrcweirSHL1USE_EXPORTS=name 198*cdf0e10cSrcweir 199*cdf0e10cSrcweir.IF "$(GUIBASE)"=="aqua" 200*cdf0e10cSrcweirSHL1STDLIBS+= \ 201*cdf0e10cSrcweir $(BASEBMPLIB) \ 202*cdf0e10cSrcweir -lAppleRemote$(DLLPOSTFIX) \ 203*cdf0e10cSrcweir -framework QuickTime 204*cdf0e10cSrcweir 205*cdf0e10cSrcweirLIB1FILES+= \ 206*cdf0e10cSrcweir $(SLB)$/sala11y.lib 207*cdf0e10cSrcweir.ENDIF 208*cdf0e10cSrcweir 209*cdf0e10cSrcweir.IF "$(USE_BUILTIN_RASTERIZER)"!="" 210*cdf0e10cSrcweir LIB1FILES += $(SLB)$/glyphs.lib 211*cdf0e10cSrcweir SHL1STDLIBS+= $(FREETYPELIB) 212*cdf0e10cSrcweir.ELSE 213*cdf0e10cSrcweir.IF "$(ENABLE_GRAPHITE)" == "TRUE" 214*cdf0e10cSrcweir LIB1FILES += $(SLB)$/glyphs.lib 215*cdf0e10cSrcweir.ENDIF 216*cdf0e10cSrcweir.ENDIF # USE_BUILTIN_RASTERIZER 217*cdf0e10cSrcweir 218*cdf0e10cSrcweirSHL1LIBS= $(LIB1TARGET) 219*cdf0e10cSrcweir.IF "$(GUI)"!="UNX" 220*cdf0e10cSrcweir.IF "$(COM)"!="GCC" 221*cdf0e10cSrcweir#SHL1OBJS= $(SLO)$/salshl.obj 222*cdf0e10cSrcweir.ENDIF 223*cdf0e10cSrcweir.ENDIF 224*cdf0e10cSrcweir 225*cdf0e10cSrcweir.IF "$(GUI)" != "UNX" 226*cdf0e10cSrcweirSHL1RES= $(RES)$/salsrc.res 227*cdf0e10cSrcweir.ENDIF 228*cdf0e10cSrcweir 229*cdf0e10cSrcweirSHL1DEF= $(MISC)$/$(SHL1TARGET).def 230*cdf0e10cSrcweir 231*cdf0e10cSrcweirDEF1NAME =$(SHL1TARGET) 232*cdf0e10cSrcweirDEF1DEPN = $(HXXDEPNLST) \ 233*cdf0e10cSrcweir $(LIB1TARGET) 234*cdf0e10cSrcweirDEF1DES =VCL 235*cdf0e10cSrcweirDEFLIB1NAME =vcl 236*cdf0e10cSrcweir 237*cdf0e10cSrcweir# --- W32 ---------------------------------------------------------------- 238*cdf0e10cSrcweir 239*cdf0e10cSrcweir.IF "$(GUI)" == "WNT" 240*cdf0e10cSrcweir 241*cdf0e10cSrcweir.IF "$(ENABLE_GRAPHITE)" == "TRUE" 242*cdf0e10cSrcweir.IF "$(COM)" == "GCC" 243*cdf0e10cSrcweirSHL1STDLIBS += -lgraphite 244*cdf0e10cSrcweir.ELSE 245*cdf0e10cSrcweirSHL1STDLIBS += graphite_dll.lib 246*cdf0e10cSrcweir.ENDIF 247*cdf0e10cSrcweir.ENDIF 248*cdf0e10cSrcweir 249*cdf0e10cSrcweirSHL1STDLIBS += $(UWINAPILIB) \ 250*cdf0e10cSrcweir $(GDI32LIB) \ 251*cdf0e10cSrcweir $(GDIPLUSLIB) \ 252*cdf0e10cSrcweir $(MSIMG32LIB) \ 253*cdf0e10cSrcweir $(WINSPOOLLIB) \ 254*cdf0e10cSrcweir $(OLE32LIB) \ 255*cdf0e10cSrcweir $(SHELL32LIB) \ 256*cdf0e10cSrcweir $(ADVAPI32LIB) 257*cdf0e10cSrcweir 258*cdf0e10cSrcweirSHL1STDLIBS += $(IMM32LIB) 259*cdf0e10cSrcweir 260*cdf0e10cSrcweir.IF "$(GUI)$(COM)$(CPU)" == "WNTMSCI" 261*cdf0e10cSrcweirLINKFLAGSSHL += /ENTRY:LibMain@12 262*cdf0e10cSrcweir.ENDIF 263*cdf0e10cSrcweir.ENDIF 264*cdf0e10cSrcweir 265*cdf0e10cSrcweir# --- OS2 ---------------------------------------------------------------- 266*cdf0e10cSrcweir 267*cdf0e10cSrcweir.IF "$(GUI)" == "OS2" 268*cdf0e10cSrcweirSTDSHL1 += ft2lib.lib 269*cdf0e10cSrcweir.ENDIF 270*cdf0e10cSrcweir 271*cdf0e10cSrcweir# --- UNX ---------------------------------------------------------------- 272*cdf0e10cSrcweir 273*cdf0e10cSrcweir# UNX sal plugins 274*cdf0e10cSrcweir.IF "$(GUI)" == "UNX" && "$(GUIBASE)" != "aqua" 275*cdf0e10cSrcweir 276*cdf0e10cSrcweir# desktop detector 277*cdf0e10cSrcweirLIB7TARGET=$(SLB)$/idet 278*cdf0e10cSrcweirLIB7FILES=$(SLB)$/dtdetect.lib 279*cdf0e10cSrcweirSHL7TARGET=desktop_detector$(DLLPOSTFIX) 280*cdf0e10cSrcweirSHL7STDLIBS=\ 281*cdf0e10cSrcweir $(SALLIB) \ 282*cdf0e10cSrcweir $(X11LINK_DYNAMIC) 283*cdf0e10cSrcweirSHL7IMPLIB=idet 284*cdf0e10cSrcweirSHL7LIBS=$(LIB7TARGET) 285*cdf0e10cSrcweir 286*cdf0e10cSrcweir# basic pure X11 plugin 287*cdf0e10cSrcweirLIB2TARGET=$(SLB)$/ipure_x 288*cdf0e10cSrcweirLIB2FILES= \ 289*cdf0e10cSrcweir $(SLB)$/dtransX11.lib \ 290*cdf0e10cSrcweir $(SLB)$/printergfx.lib \ 291*cdf0e10cSrcweir $(SLB)$/salwin.lib \ 292*cdf0e10cSrcweir $(SLB)$/salgdi.lib \ 293*cdf0e10cSrcweir $(SLB)$/salapp.lib 294*cdf0e10cSrcweirSHL2TARGET=vclplug_gen$(DLLPOSTFIX) 295*cdf0e10cSrcweirSHL2IMPLIB=ipure_x 296*cdf0e10cSrcweirSHL2LIBS=$(LIB2TARGET) 297*cdf0e10cSrcweirSHL2DEPN=$(SHL1IMPLIBN) $(SHL1TARGETN) 298*cdf0e10cSrcweir 299*cdf0e10cSrcweir# libs for generic plugin 300*cdf0e10cSrcweirSHL2STDLIBS=\ 301*cdf0e10cSrcweir $(VCLLIB)\ 302*cdf0e10cSrcweir $(I18NPAPERLIB) \ 303*cdf0e10cSrcweir $(I18NISOLANGLIB) \ 304*cdf0e10cSrcweir $(TOOLSLIB) \ 305*cdf0e10cSrcweir $(VOSLIB) \ 306*cdf0e10cSrcweir $(BASEGFXLIB) \ 307*cdf0e10cSrcweir $(UNOTOOLSLIB) \ 308*cdf0e10cSrcweir $(COMPHELPERLIB) \ 309*cdf0e10cSrcweir $(CPPUHELPERLIB) \ 310*cdf0e10cSrcweir $(CPPULIB) \ 311*cdf0e10cSrcweir $(SALLIB) 312*cdf0e10cSrcweir 313*cdf0e10cSrcweir# prepare linking of Xinerama 314*cdf0e10cSrcweir.IF "$(USE_XINERAMA)" != "NO" 315*cdf0e10cSrcweir 316*cdf0e10cSrcweir.IF "$(OS)"=="MACOSX" || "$(OS)$(CPU)" == "LINUXX" 317*cdf0e10cSrcweirXINERAMALIBS=-lXinerama 318*cdf0e10cSrcweir.ELSE 319*cdf0e10cSrcweir.IF "$(OS)" != "SOLARIS" || "$(USE_XINERAMA_VERSION)" == "Xorg" 320*cdf0e10cSrcweir.IF "$(XINERAMA_LINK)" == "dynamic" 321*cdf0e10cSrcweirXINERAMALIBS= -lXinerama 322*cdf0e10cSrcweir.ELSE 323*cdf0e10cSrcweirXINERAMALIBS= -Wl,-Bstatic -lXinerama -Wl,-Bdynamic 324*cdf0e10cSrcweir.ENDIF # XINERAMA_LINK == dynamic 325*cdf0e10cSrcweir.ENDIF # OS == SOLARIS 326*cdf0e10cSrcweir.ENDIF # OS == MACOSX 327*cdf0e10cSrcweir 328*cdf0e10cSrcweirSHL2STDLIBS += $(XINERAMALIBS) 329*cdf0e10cSrcweir.ENDIF # USE_XINERAMA != NO 330*cdf0e10cSrcweir 331*cdf0e10cSrcweir.IF "$(XRENDER_LINK)" == "YES" 332*cdf0e10cSrcweirSHL2STDLIBS+=`pkg-config --libs xrender` 333*cdf0e10cSrcweir.ENDIF 334*cdf0e10cSrcweir 335*cdf0e10cSrcweir.IF "$(GUIBASE)"=="unx" 336*cdf0e10cSrcweir 337*cdf0e10cSrcweirSHL2STDLIBS += -lXext -lSM -lICE -lX11 338*cdf0e10cSrcweir.IF "$(OS)"!="MACOSX" && "$(OS)"!="FREEBSD" && "$(OS)"!="NETBSD" 339*cdf0e10cSrcweir# needed by salprnpsp.cxx 340*cdf0e10cSrcweirSHL2STDLIBS+= -ldl 341*cdf0e10cSrcweir.ENDIF 342*cdf0e10cSrcweir 343*cdf0e10cSrcweir.IF "$(ENABLE_RANDR)" != "" 344*cdf0e10cSrcweir.IF "$(XRANDR_DLOPEN)" == "FALSE" 345*cdf0e10cSrcweirSHL2STDLIBS+= $(XRANDR_LIBS) 346*cdf0e10cSrcweir.ENDIF 347*cdf0e10cSrcweir.ENDIF 348*cdf0e10cSrcweir 349*cdf0e10cSrcweir.ENDIF # "$(GUIBASE)"=="unx" 350*cdf0e10cSrcweir 351*cdf0e10cSrcweir# gtk plugin 352*cdf0e10cSrcweir.IF "$(ENABLE_GTK)" != "" 353*cdf0e10cSrcweirPKGCONFIG_MODULES=gtk+-2.0 gthread-2.0 354*cdf0e10cSrcweir.IF "$(ENABLE_DBUS)" != "" 355*cdf0e10cSrcweirPKGCONFIG_MODULES+= dbus-glib-1 356*cdf0e10cSrcweir.ENDIF 357*cdf0e10cSrcweir.INCLUDE: pkg_config.mk 358*cdf0e10cSrcweir 359*cdf0e10cSrcweirLIB4TARGET=$(SLB)$/igtk_plug_ 360*cdf0e10cSrcweirLIB4FILES=\ 361*cdf0e10cSrcweir $(SLB)$/gtkapp.lib\ 362*cdf0e10cSrcweir $(SLB)$/gtka11y.lib \ 363*cdf0e10cSrcweir $(SLB)$/gtkgdi.lib\ 364*cdf0e10cSrcweir $(SLB)$/gtkwin.lib 365*cdf0e10cSrcweir 366*cdf0e10cSrcweirSHL4TARGET=vclplug_gtk$(DLLPOSTFIX) 367*cdf0e10cSrcweirSHL4IMPLIB=igtk_plug_ 368*cdf0e10cSrcweirSHL4LIBS=$(LIB4TARGET) 369*cdf0e10cSrcweirSHL4DEPN=$(SHL1IMPLIBN) $(SHL1TARGETN) $(SHL2IMPLIBN) $(SHL2TARGETN) 370*cdf0e10cSrcweir# libs for gtk plugin 371*cdf0e10cSrcweirSHL4STDLIBS+=$(PKGCONFIG_LIBS:s/ -lpangoxft-1.0//) 372*cdf0e10cSrcweir# hack for faked SO environment 373*cdf0e10cSrcweir.IF "$(PKGCONFIG_ROOT)"!="" 374*cdf0e10cSrcweirSHL4SONAME+=-z nodefs 375*cdf0e10cSrcweirSHL4NOCHECK=TRUE 376*cdf0e10cSrcweir.ENDIF # "$(PKGCONFIG_ROOT)"!="" 377*cdf0e10cSrcweir 378*cdf0e10cSrcweir 379*cdf0e10cSrcweirSHL4STDLIBS+=-l$(SHL2TARGET) 380*cdf0e10cSrcweirSHL4STDLIBS+=\ 381*cdf0e10cSrcweir $(VCLLIB) \ 382*cdf0e10cSrcweir $(TOOLSLIB) \ 383*cdf0e10cSrcweir $(CPPUHELPERLIB) \ 384*cdf0e10cSrcweir $(CPPULIB) \ 385*cdf0e10cSrcweir $(VOSLIB) \ 386*cdf0e10cSrcweir $(SALLIB) \ 387*cdf0e10cSrcweir $(X11LINK_DYNAMIC) 388*cdf0e10cSrcweir 389*cdf0e10cSrcweir.IF "$(ENABLE_RANDR)" != "" 390*cdf0e10cSrcweir.IF "$(XRANDR_DLOPEN)" == "FALSE" 391*cdf0e10cSrcweirSHL4STDLIBS+= $(XRANDR_LIBS) 392*cdf0e10cSrcweir.ENDIF 393*cdf0e10cSrcweir.ENDIF 394*cdf0e10cSrcweir 395*cdf0e10cSrcweir.ENDIF # "$(ENABLE_GTK)" != "" 396*cdf0e10cSrcweir 397*cdf0e10cSrcweir# KDE plugin 398*cdf0e10cSrcweir.IF "$(ENABLE_KDE)" != "" 399*cdf0e10cSrcweir.IF "$(KDE_ROOT)"!="" 400*cdf0e10cSrcweirEXTRALIBPATHS+=-L$(KDE_ROOT)$/lib 401*cdf0e10cSrcweir.IF "$(OS)$(CPU)" == "LINUXX" 402*cdf0e10cSrcweirEXTRALIBPATHS+=-L$(KDE_ROOT)$/lib64 403*cdf0e10cSrcweir.ENDIF 404*cdf0e10cSrcweir.ENDIF 405*cdf0e10cSrcweirLIB5TARGET=$(SLB)$/ikde_plug_ 406*cdf0e10cSrcweirLIB5FILES=$(SLB)$/kdeplug.lib 407*cdf0e10cSrcweirSHL5TARGET=vclplug_kde$(DLLPOSTFIX) 408*cdf0e10cSrcweirSHL5IMPLIB=ikde_plug_ 409*cdf0e10cSrcweirSHL5LIBS=$(LIB5TARGET) 410*cdf0e10cSrcweirSHL5DEPN=$(SHL2TARGETN) 411*cdf0e10cSrcweir# libs for KDE plugin 412*cdf0e10cSrcweirSHL5LINKFLAGS+=$(KDE_LIBS) 413*cdf0e10cSrcweirSHL5STDLIBS+=-l$(SHL2TARGET) 414*cdf0e10cSrcweirSHL5STDLIBS+=\ 415*cdf0e10cSrcweir $(VCLLIB) \ 416*cdf0e10cSrcweir $(TOOLSLIB) \ 417*cdf0e10cSrcweir $(VOSLIB) \ 418*cdf0e10cSrcweir $(SALLIB) \ 419*cdf0e10cSrcweir $(X11LINK_DYNAMIC) 420*cdf0e10cSrcweir 421*cdf0e10cSrcweir.IF "$(ENABLE_RANDR)" != "" 422*cdf0e10cSrcweir.IF "$(XRANDR_DLOPEN)" == "FALSE" 423*cdf0e10cSrcweirSHL5STDLIBS+= $(XRANDR_LIBS) 424*cdf0e10cSrcweir.ENDIF 425*cdf0e10cSrcweir.ENDIF 426*cdf0e10cSrcweir 427*cdf0e10cSrcweir.ENDIF # "$(ENABLE_KDE)" != "" 428*cdf0e10cSrcweir 429*cdf0e10cSrcweir# KDE4 plugin 430*cdf0e10cSrcweir.IF "$(ENABLE_KDE4)" != "" 431*cdf0e10cSrcweir.IF "$(KDE4_ROOT)"!="" 432*cdf0e10cSrcweirEXTRALIBPATHS+=-L$(KDE4_ROOT)$/lib 433*cdf0e10cSrcweir.ENDIF 434*cdf0e10cSrcweirLIB6TARGET=$(SLB)$/ikde4_plug_ 435*cdf0e10cSrcweirLIB6FILES=$(SLB)$/kde4plug.lib 436*cdf0e10cSrcweirSHL6TARGET=vclplug_kde4$(DLLPOSTFIX) 437*cdf0e10cSrcweirSHL6IMPLIB=ikde4_plug_ 438*cdf0e10cSrcweirSHL6LIBS=$(LIB6TARGET) 439*cdf0e10cSrcweirSHL6DEPN=$(SHL2TARGETN) 440*cdf0e10cSrcweir# libs for KDE4 plugin 441*cdf0e10cSrcweirSHL6LINKFLAGS+=$(KDE4_LIBS) 442*cdf0e10cSrcweirSHL6STDLIBS+=-l$(SHL2TARGET) 443*cdf0e10cSrcweirSHL6STDLIBS+=\ 444*cdf0e10cSrcweir $(VCLLIB) \ 445*cdf0e10cSrcweir $(PSPLIB) \ 446*cdf0e10cSrcweir $(TOOLSLIB) \ 447*cdf0e10cSrcweir $(VOSLIB) \ 448*cdf0e10cSrcweir $(SALLIB) \ 449*cdf0e10cSrcweir $(X11LINK_DYNAMIC) 450*cdf0e10cSrcweir 451*cdf0e10cSrcweir.IF "$(ENABLE_RANDR)" != "" 452*cdf0e10cSrcweir.IF "$(XRANDR_DLOPEN)" == "FALSE" 453*cdf0e10cSrcweirSHL6STDLIBS+= $(XRANDR_LIBS) 454*cdf0e10cSrcweir.ENDIF 455*cdf0e10cSrcweir.ENDIF 456*cdf0e10cSrcweir 457*cdf0e10cSrcweir.ENDIF # "$(ENABLE_KDE4)" != "" 458*cdf0e10cSrcweir 459*cdf0e10cSrcweir.ENDIF # UNX 460*cdf0e10cSrcweir 461*cdf0e10cSrcweir# --- Allgemein ---------------------------------------------------------- 462*cdf0e10cSrcweir 463*cdf0e10cSrcweir.INCLUDE : target.mk 464*cdf0e10cSrcweir 465*cdf0e10cSrcweirALLTAR : $(MISC)/vcl.component 466*cdf0e10cSrcweir 467*cdf0e10cSrcweir.IF "$(OS)" == "MACOSX" 468*cdf0e10cSrcweirmy_platform = .macosx 469*cdf0e10cSrcweir.ELIF "$(OS)" == "WNT" 470*cdf0e10cSrcweirmy_platform = .windows 471*cdf0e10cSrcweir.END 472*cdf0e10cSrcweir 473*cdf0e10cSrcweir$(MISC)/vcl.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 474*cdf0e10cSrcweir vcl.component 475*cdf0e10cSrcweir $(XSLTPROC) --nonet --stringparam uri \ 476*cdf0e10cSrcweir '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 477*cdf0e10cSrcweir $(SOLARENV)/bin/createcomponent.xslt vcl$(my_platform).component 478