1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23PRJ=..$/.. 24PRJINC=..$/inc 25 26PRJNAME=extensions 27TARGET=preload 28ENABLE_EXCEPTIONS=TRUE 29VISIBILITY_HIDDEN=TRUE 30USE_DEFFILE=TRUE 31 32# --- Settings ----------------------------------------------------- 33 34.INCLUDE : $(PRJ)$/util$/makefile.pmk 35 36# --- defines ------------------------------------------------------ 37 38CDEFS+=-DCOMPMOD_NAMESPACE=preload 39CDEFS+=-DCOMPMOD_RESPREFIX=preload 40 41# --- Files -------------------------------------------------------- 42 43SLOFILES= $(SLO)$/services.obj\ 44 $(SLO)$/modulepreload.obj\ 45 $(SLO)$/preloadservices.obj\ 46 $(SLO)$/oemwiz.obj 47 48SRS1NAME=$(TARGET) 49SRC1FILES= preload.src 50 51RESLIB1NAME=preload 52RESLIB1IMAGES=$(PRJ)$/res 53RESLIB1SRSFILES= $(SRS)$/preload.srs 54 55SHL1TARGET= $(TARGET)$(DLLPOSTFIX) 56.IF "$(GUI)" == "OS2" 57# YD preload is not a valid library name... 58SHL1TARGET= $(TARGET)g 59.ENDIF 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