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=.. 24 25PRJNAME=cppu 26TARGET=cppu 27USE_DEFFILE=TRUE 28ENABLE_EXCEPTIONS=TRUE 29NO_BSYMBOLIC=TRUE 30 31.IF "$(OS)" != "WNT" 32UNIXVERSIONNAMES=UDK 33.ENDIF 34 35 36# --- Settings ----------------------------------------------------- 37 38.INCLUDE : settings.mk 39.INCLUDE : ../source/helper/purpenv/export.mk 40 41# --- Files -------------------------------------------------------- 42 43SHL1LIBS= \ 44 $(SLB)$/cppu_typelib.lib \ 45 $(SLB)$/cppu_uno.lib \ 46 $(SLB)$/cppu_threadpool.lib \ 47 $(SLB)$/cppu_cppu.lib 48 49.IF "$(GUI)" == "WNT" || "$(GUI)"=="OS2" 50SHL1TARGET=$(TARGET)$(UDK_MAJOR) 51.ELSE 52SHL1TARGET= uno_$(TARGET) 53.ENDIF 54 55SHL1STDLIBS = $(SALLIB) 56 57SHL1DEPN= 58SHL1IMPLIB=i$(TARGET) 59.IF "$(OS)"!="FREEBSD" 60SHL1DEF=$(MISC)$/$(SHL1TARGET).def 61.ENDIF 62 63SHL1VERSIONMAP=$(TARGET).map 64SHL1RPATH=URELIB 65 66DEF1NAME=$(SHL1TARGET) 67 68 69SHL2TARGET := $(NAMEpurpenv_helper) 70DEF2NAME := $(SHL2TARGET) 71.IF "$(GUI)$(COM)"=="WNTGCC" 72SHL2VERSIONMAP:=uno_purpenvhelper$(COMID).map 73.ELIF "$(GUI)"=="OS2" 74SHL2VERSIONMAP:=uno_purpenvhelperwntgcc.map 75.ELSE 76SHL2VERSIONMAP:=$(SHL2TARGET).map 77.ENDIF # "$(GUI)$(COM)"=="WNTGCC" 78SHL2DEF := $(MISC)$/$(SHL2TARGET).def 79SHL2IMPLIB := i$(SHL2TARGET) 80SHL2STDLIBS := $(CPPULIB) $(SALLIB) 81SHL2RPATH := URELIB 82SHL2OBJS := \ 83 $(SLO)$/helper_purpenv_Environment.obj \ 84 $(SLO)$/helper_purpenv_Mapping.obj \ 85 $(SLO)$/helper_purpenv_Proxy.obj 86 87 88# --- Targets ------------------------------------------------------ 89 90.PHONY: ALLTAR 91 92 93ALLTAR: $(SHL2TARGETN) 94 $(MAKE) $(MAKECMDGOALS) -f extra.mk 95 96 97.INCLUDE : target.mk 98 99 100$(SHL2TARGETN): $(SHL1TARGETN) 101 102