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