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) 60SHL1VERSIONMAP=$(SOLARENV)/src/component.map 61 62SHL1STDLIBS= \ 63 $(SFXLIB) \ 64 $(SVTOOLLIB)\ 65 $(VCLLIB) \ 66 $(SVLLIB) \ 67 $(TOOLSLIB) \ 68 $(UNOTOOLSLIB) \ 69 $(COMPHELPERLIB) \ 70 $(CPPUHELPERLIB) \ 71 $(CPPULIB) \ 72 $(SALLIB) 73 74 75SHL1LIBS= $(SLB)$/$(TARGET).lib 76SHL1IMPLIB= i$(TARGET) 77SHL1DEPN= $(SHL1LIBS) 78SHL1DEF= $(MISC)$/$(SHL1TARGET).def 79 80DEF1NAME= $(SHL1TARGET) 81 82# --- Targets ------------------------------------------------------ 83 84.INCLUDE : target.mk 85 86 87ALLTAR : $(MISC)/preload.component 88 89$(MISC)/preload.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 90 preload.component 91 $(XSLTPROC) --nonet --stringparam uri \ 92 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 93 $(SOLARENV)/bin/createcomponent.xslt preload.component 94