1#************************************************************************* 2# 3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4# 5# Copyright 2000, 2010 Oracle and/or its affiliates. 6# 7# OpenOffice.org - a multi-platform office productivity suite 8# 9# This file is part of OpenOffice.org. 10# 11# OpenOffice.org is free software: you can redistribute it and/or modify 12# it under the terms of the GNU Lesser General Public License version 3 13# only, as published by the Free Software Foundation. 14# 15# OpenOffice.org is distributed in the hope that it will be useful, 16# but WITHOUT ANY WARRANTY; without even the implied warranty of 17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18# GNU Lesser General Public License version 3 for more details 19# (a copy is included in the LICENSE file that accompanied this code). 20# 21# You should have received a copy of the GNU Lesser General Public License 22# version 3 along with OpenOffice.org. If not, see 23# <http://www.openoffice.org/license.html> 24# for a copy of the LGPLv3 License. 25# 26#************************************************************************* 27PRJ=..$/.. 28PRJINC=..$/inc 29 30PRJNAME=extensions 31TARGET=preload 32ENABLE_EXCEPTIONS=TRUE 33VISIBILITY_HIDDEN=TRUE 34USE_DEFFILE=TRUE 35 36# --- Settings ----------------------------------------------------- 37 38.INCLUDE : $(PRJ)$/util$/makefile.pmk 39 40# --- defines ------------------------------------------------------ 41 42CDEFS+=-DCOMPMOD_NAMESPACE=preload 43CDEFS+=-DCOMPMOD_RESPREFIX=preload 44 45# --- Files -------------------------------------------------------- 46 47SLOFILES= $(SLO)$/services.obj\ 48 $(SLO)$/modulepreload.obj\ 49 $(SLO)$/preloadservices.obj\ 50 $(SLO)$/oemwiz.obj 51 52SRS1NAME=$(TARGET) 53SRC1FILES= preload.src 54 55RESLIB1NAME=preload 56RESLIB1IMAGES=$(PRJ)$/res 57RESLIB1SRSFILES= $(SRS)$/preload.srs 58 59SHL1TARGET= $(TARGET)$(DLLPOSTFIX) 60.IF "$(GUI)" == "OS2" 61# YD preload is not a valid library name... 62SHL1TARGET= $(TARGET)g 63.ENDIF 64SHL1VERSIONMAP=$(SOLARENV)/src/component.map 65 66SHL1STDLIBS= \ 67 $(SFXLIB) \ 68 $(SVTOOLLIB)\ 69 $(VCLLIB) \ 70 $(SVLLIB) \ 71 $(TOOLSLIB) \ 72 $(UNOTOOLSLIB) \ 73 $(COMPHELPERLIB) \ 74 $(CPPUHELPERLIB) \ 75 $(CPPULIB) \ 76 $(SALLIB) 77 78 79SHL1LIBS= $(SLB)$/$(TARGET).lib 80SHL1IMPLIB= i$(TARGET) 81SHL1DEPN= $(SHL1LIBS) 82SHL1DEF= $(MISC)$/$(SHL1TARGET).def 83 84DEF1NAME= $(SHL1TARGET) 85 86# --- Targets ------------------------------------------------------ 87 88.INCLUDE : target.mk 89 90 91ALLTAR : $(MISC)/preload.component 92 93$(MISC)/preload.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 94 preload.component 95 $(XSLTPROC) --nonet --stringparam uri \ 96 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 97 $(SOLARENV)/bin/createcomponent.xslt preload.component 98