#************************************************************************* # # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # Copyright 2008 by Sun Microsystems, Inc. # # OpenOffice.org - a multi-platform office productivity suite # # $RCSfile: makefile.mk,v $ # # $Revision: 1.61 $ # # This file is part of OpenOffice.org. # # OpenOffice.org is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License version 3 # only, as published by the Free Software Foundation. # # OpenOffice.org is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Lesser General Public License version 3 for more details # (a copy is included in the LICENSE file that accompanied this code). # # You should have received a copy of the GNU Lesser General Public License # version 3 along with OpenOffice.org. If not, see # # for a copy of the LGPLv3 License. # #************************************************************************* PRJ=.. PRJNAME=svx TARGET=svx GEN_HID=TRUE GEN_HID_OTHER=TRUE USE_DEFFILE=TRUE # --- Settings ----------------------------------------------------- .INCLUDE : settings.mk .IF "$(OS)"=="IRIX" LINKFLAGS+=-Wl,-LD_LAYOUT:lgot_buffer=30 .ENDIF RSCLOCINC+=-I$(PRJ)$/source$/svdraw # --- Svx - DLL ---------- LIB1TARGET= $(SLB)$/$(TARGET).lib LIB1FILES=\ $(SLB)$/animation.lib \ $(SLB)$/overlay.lib \ $(SLB)$/attribute.lib \ $(SLB)$/primitive2d.lib \ $(SLB)$/primitive3d.lib \ $(SLB)$/svdraw.lib \ $(SLB)$/form.lib .IF "(GUIBASE)" == "WIN" LIB1FILES+=$(SLB)$/ibrwimp.lib .ENDIF # (WIN) LIB2TARGET= $(SLB)$/$(TARGET)_2.lib LIB2FILES=\ $(SLB)$/items.lib \ $(SLB)$/svxlink.lib \ $(SLB)$/svxrtf.lib \ $(SLB)$/editeng.lib \ $(SLB)$/outliner.lib \ $(SLB)$/dialogs.lib \ $(SLB)$/propertypanel.lib \ $(SLB)$/mnuctrls.lib \ $(SLB)$/options.lib \ $(SLB)$/stbctrls.lib \ $(SLB)$/tbxctrls.lib \ $(SLB)$/unoedit.lib \ $(SLB)$/smarttags.lib LIB3TARGET= $(SLB)$/$(TARGET)_3.lib LIB3FILES=\ $(SLB)$/unodraw.lib \ $(SLB)$/unogallery.lib\ $(SLB)$/gal.lib \ $(SLB)$/accessibility.lib \ $(SLB)$/customshapes.lib\ $(SLB)$/toolbars.lib \ $(SLB)$/properties.lib \ $(SLB)$/contact.lib \ $(SLB)$/event.lib LIB4TARGET= $(SLB)$/$(TARGET)_4.lib LIB4FILES=\ $(SLB)$/fmcomp.lib \ $(SLB)$/engine3d.lib \ $(SLB)$/xout.lib \ $(SLB)$/xml.lib \ $(SLB)$/table.lib HELPIDFILES= ..$/inc$/helpid.hrc # svx SHL1TARGET= svx$(DLLPOSTFIX) SHL1IMPLIB= i$(TARGET) SHL1USE_EXPORTS=name SHL1LIBS= $(LIB1TARGET) $(LIB2TARGET) $(LIB3TARGET) $(LIB4TARGET) SHL1STDLIBS= \ $(AVMEDIALIB) \ $(I18NPAPERLIB) \ $(SFX2LIB) \ $(XMLOFFLIB) \ $(BASEGFXLIB) \ $(DRAWINGLAYERLIB) \ $(BASICLIB) \ $(LNGLIB) \ $(SVTOOLLIB) \ $(TKLIB) \ $(VCLLIB) \ $(SVLLIB) \ $(SOTLIB) \ $(FWELIB) \ $(UNOTOOLSLIB) \ $(TOOLSLIB) \ $(I18NISOLANGLIB) \ $(XMLSCRIPTLIB) \ $(COMPHELPERLIB) \ $(UCBHELPERLIB) \ $(CPPUHELPERLIB) \ $(CPPULIB) \ $(VOSLIB) \ $(SALLIB) \ $(ICUUCLIB) .IF "$(GUI)"=="WNT" SHL1STDLIBS+=$(SHELLLIB) .ENDIF # WNT SHL1DEF= $(MISC)$/$(SHL1TARGET).def DEF1NAME= $(SHL1TARGET) DEFLIB1NAME=$(TARGET) $(TARGET)_2 $(TARGET)_3 $(TARGET)_4 # ------------------------------------------------------------------------------ # Resource files SRSFILELIST=\ $(SRS)$/svdstr.srs \ $(SRS)$/editeng.srs \ $(SRS)$/outliner.srs \ $(SRS)$/dialogs.srs \ $(SRS)$/propertypanel.srs \ $(SRS)$/drawdlgs.srs \ $(SRS)$/mnuctrls.srs \ $(SRS)$/stbctrls.srs \ $(SRS)$/tbxctrls.srs \ $(SRS)$/options.srs \ $(SRS)$/svxitems.srs \ $(SRS)$/form.srs \ $(SRS)$/fmcomp.srs \ $(SRS)$/smarttags.srs \ $(SRS)$/engine3d.srs \ $(SRS)$/unodraw.srs \ $(SRS)$/svxlink.srs \ $(SRS)$/accessibility.srs \ $(SRS)$/table.srs \ $(SRS)$/toolbars.srs RESLIB1NAME=svx RESLIB1IMAGES=$(PRJ)$/res $(PRJ)$/source/svdraw RESLIB1SRSFILES= $(SRSFILELIST) # --- Targets ------------------------------------------------------- .INCLUDE : target.mk ALLTAR : $(MISC)/svx.component $(MISC)/svxcore.component $(MISC)/svx.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ svx.component $(XSLTPROC) --nonet --stringparam uri \ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL2TARGETN:f)' -o $@ \ $(SOLARENV)/bin/createcomponent.xslt svx.component $(MISC)/svxcore.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ svxcore.component $(XSLTPROC) --nonet --stringparam uri \ '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ $(SOLARENV)/bin/createcomponent.xslt svxcore.component