17871dc3eSAndrew Rist#************************************************************** 27871dc3eSAndrew Rist# 37871dc3eSAndrew Rist# Licensed to the Apache Software Foundation (ASF) under one 47871dc3eSAndrew Rist# or more contributor license agreements. See the NOTICE file 57871dc3eSAndrew Rist# distributed with this work for additional information 67871dc3eSAndrew Rist# regarding copyright ownership. The ASF licenses this file 77871dc3eSAndrew Rist# to you under the Apache License, Version 2.0 (the 87871dc3eSAndrew Rist# "License"); you may not use this file except in compliance 97871dc3eSAndrew Rist# with the License. You may obtain a copy of the License at 107871dc3eSAndrew Rist# 117871dc3eSAndrew Rist# http://www.apache.org/licenses/LICENSE-2.0 127871dc3eSAndrew Rist# 137871dc3eSAndrew Rist# Unless required by applicable law or agreed to in writing, 147871dc3eSAndrew Rist# software distributed under the License is distributed on an 157871dc3eSAndrew Rist# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 167871dc3eSAndrew Rist# KIND, either express or implied. See the License for the 177871dc3eSAndrew Rist# specific language governing permissions and limitations 187871dc3eSAndrew Rist# under the License. 197871dc3eSAndrew Rist# 207871dc3eSAndrew Rist#************************************************************** 217871dc3eSAndrew Rist 227871dc3eSAndrew Rist 23cdf0e10cSrcweirPRJ=.. 24cdf0e10cSrcweir 25cdf0e10cSrcweirPRJNAME=cppuhelper 26cdf0e10cSrcweirTARGET=cppuhelper 27cdf0e10cSrcweir 28cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE 29cdf0e10cSrcweirUSE_DEFFILE=TRUE 30cdf0e10cSrcweir 31cdf0e10cSrcweir# not strictly a bootstrap service but containing 32cdf0e10cSrcweir# bootstrap code that may require generated files 33cdf0e10cSrcweir# without "-L" (light) switch 34cdf0e10cSrcweirBOOTSTRAP_SERVICE=TRUE 35cdf0e10cSrcweir 36cdf0e10cSrcweir.IF "$(OS)" != "WNT" && "$(GUI)"!="OS2" 37cdf0e10cSrcweirUNIXVERSIONNAMES=UDK 38cdf0e10cSrcweir.ENDIF # WNT 39cdf0e10cSrcweir 40cdf0e10cSrcweir# --- Settings ----------------------------------------------------- 41cdf0e10cSrcweir 42cdf0e10cSrcweir.INCLUDE : settings.mk 43cdf0e10cSrcweir 44cdf0e10cSrcweir# --- Files -------------------------------------------------------- 45cdf0e10cSrcweir 46cdf0e10cSrcweirUNOUCRRDB=$(SOLARBINDIR)$/udkapi.rdb 47cdf0e10cSrcweirUNOUCRDEP=$(UNOUCRRDB) 48cdf0e10cSrcweirUNOUCROUT=$(OUT)$/inc$/$(TARGET) 49cdf0e10cSrcweirINCPRE+=$(OUT)$/inc$/$(TARGET) $(OUT)$/inc$/private 50cdf0e10cSrcweir 51cdf0e10cSrcweirCPPUMAKERFLAGS= -C 52cdf0e10cSrcweir 53cdf0e10cSrcweirUNOTYPES= \ 54cdf0e10cSrcweir com.sun.star.beans.PropertyAttribute \ 55cdf0e10cSrcweir com.sun.star.beans.PropertyValue \ 56cdf0e10cSrcweir com.sun.star.beans.XFastPropertySet \ 57cdf0e10cSrcweir com.sun.star.beans.XMultiPropertySet \ 58cdf0e10cSrcweir com.sun.star.beans.XPropertyAccess \ 59cdf0e10cSrcweir com.sun.star.beans.XPropertySet \ 60cdf0e10cSrcweir com.sun.star.bridge.UnoUrlResolver \ 61cdf0e10cSrcweir com.sun.star.bridge.XUnoUrlResolver \ 62cdf0e10cSrcweir com.sun.star.connection.SocketPermission \ 63cdf0e10cSrcweir com.sun.star.container.XElementAccess \ 64cdf0e10cSrcweir com.sun.star.container.XEnumerationAccess \ 65cdf0e10cSrcweir com.sun.star.container.XHierarchicalNameAccess \ 66cdf0e10cSrcweir com.sun.star.container.XNameAccess \ 67*c52956d9SHerbert Dürr com.sun.star.container.XNameReplace \ 68cdf0e10cSrcweir com.sun.star.container.XNameContainer \ 69cdf0e10cSrcweir com.sun.star.container.XSet \ 70cdf0e10cSrcweir com.sun.star.io.FilePermission \ 71cdf0e10cSrcweir com.sun.star.io.IOException \ 72cdf0e10cSrcweir com.sun.star.lang.DisposedException \ 73cdf0e10cSrcweir com.sun.star.lang.WrappedTargetRuntimeException \ 74cdf0e10cSrcweir com.sun.star.lang.XComponent \ 75cdf0e10cSrcweir com.sun.star.lang.XEventListener \ 76cdf0e10cSrcweir com.sun.star.lang.XInitialization \ 77cdf0e10cSrcweir com.sun.star.lang.XMultiComponentFactory \ 78cdf0e10cSrcweir com.sun.star.lang.XMultiServiceFactory \ 79cdf0e10cSrcweir com.sun.star.lang.XServiceInfo \ 80cdf0e10cSrcweir com.sun.star.lang.XSingleComponentFactory \ 81cdf0e10cSrcweir com.sun.star.lang.XSingleServiceFactory \ 82caff391cSHerbert Dürr com.sun.star.lang.XUnoTunnel \ 83cdf0e10cSrcweir com.sun.star.lang.XTypeProvider \ 84cdf0e10cSrcweir com.sun.star.loader.XImplementationLoader \ 85cdf0e10cSrcweir com.sun.star.reflection.XArrayTypeDescription \ 86cdf0e10cSrcweir com.sun.star.reflection.XCompoundTypeDescription \ 87cdf0e10cSrcweir com.sun.star.reflection.XEnumTypeDescription \ 88cdf0e10cSrcweir com.sun.star.reflection.XIdlClass \ 89cdf0e10cSrcweir com.sun.star.reflection.XIdlClassProvider \ 90cdf0e10cSrcweir com.sun.star.reflection.XIdlField2 \ 91cdf0e10cSrcweir com.sun.star.reflection.XIdlReflection \ 92cdf0e10cSrcweir com.sun.star.reflection.XIndirectTypeDescription \ 93cdf0e10cSrcweir com.sun.star.reflection.XInterfaceAttributeTypeDescription \ 94cdf0e10cSrcweir com.sun.star.reflection.XInterfaceAttributeTypeDescription2 \ 95cdf0e10cSrcweir com.sun.star.reflection.XInterfaceMemberTypeDescription \ 96cdf0e10cSrcweir com.sun.star.reflection.XInterfaceMethodTypeDescription \ 97cdf0e10cSrcweir com.sun.star.reflection.XInterfaceTypeDescription2 \ 98cdf0e10cSrcweir com.sun.star.reflection.XMethodParameter \ 99cdf0e10cSrcweir com.sun.star.reflection.XStructTypeDescription \ 100cdf0e10cSrcweir com.sun.star.reflection.XTypeDescription \ 101cdf0e10cSrcweir com.sun.star.reflection.XUnionTypeDescription \ 102cdf0e10cSrcweir com.sun.star.registry.XImplementationRegistration \ 103cdf0e10cSrcweir com.sun.star.registry.XRegistryKey \ 104cdf0e10cSrcweir com.sun.star.registry.XSimpleRegistry \ 105cdf0e10cSrcweir com.sun.star.security.RuntimePermission \ 106cdf0e10cSrcweir com.sun.star.security.XAccessController \ 107cdf0e10cSrcweir com.sun.star.uno.DeploymentException \ 108cdf0e10cSrcweir com.sun.star.uno.RuntimeException \ 109cdf0e10cSrcweir com.sun.star.uno.XAggregation \ 110cdf0e10cSrcweir com.sun.star.uno.XComponentContext \ 111cdf0e10cSrcweir com.sun.star.uno.XCurrentContext \ 112cdf0e10cSrcweir com.sun.star.uno.XUnloadingPreference \ 113cdf0e10cSrcweir com.sun.star.uno.XWeak \ 114cdf0e10cSrcweir com.sun.star.util.XMacroExpander 115cdf0e10cSrcweir 116cdf0e10cSrcweir.IF "$(debug)" != "" 117cdf0e10cSrcweir# msvc++: no inlining for debugging 118cdf0e10cSrcweir.IF "$(COM)" == "MSC" 119cdf0e10cSrcweirCFLAGS += -Ob0 120cdf0e10cSrcweir.ENDIF 121cdf0e10cSrcweir.ENDIF 122cdf0e10cSrcweir 123cdf0e10cSrcweirSLOFILES= \ 124cdf0e10cSrcweir $(SLO)$/typeprovider.obj \ 125cdf0e10cSrcweir $(SLO)$/exc_thrower.obj \ 126cdf0e10cSrcweir $(SLO)$/servicefactory.obj \ 127cdf0e10cSrcweir $(SLO)$/bootstrap.obj \ 128caff391cSHerbert Dürr $(SLO)$/primeweak.obj \ 129cdf0e10cSrcweir $(SLO)$/implbase.obj \ 130cdf0e10cSrcweir $(SLO)$/implbase_ex.obj \ 131cdf0e10cSrcweir $(SLO)$/propshlp.obj \ 132cdf0e10cSrcweir $(SLO)$/weak.obj \ 133cdf0e10cSrcweir $(SLO)$/interfacecontainer.obj \ 134cdf0e10cSrcweir $(SLO)$/stdidlclass.obj \ 135cdf0e10cSrcweir $(SLO)$/factory.obj \ 136cdf0e10cSrcweir $(SLO)$/component_context.obj \ 137cdf0e10cSrcweir $(SLO)$/component.obj \ 138cdf0e10cSrcweir $(SLO)$/shlib.obj \ 139cdf0e10cSrcweir $(SLO)$/tdmgr.obj \ 140cdf0e10cSrcweir $(SLO)$/implementationentry.obj \ 141cdf0e10cSrcweir $(SLO)$/access_control.obj \ 142cdf0e10cSrcweir $(SLO)$/macro_expander.obj \ 143cdf0e10cSrcweir $(SLO)$/unourl.obj \ 144cdf0e10cSrcweir $(SLO)$/propertysetmixin.obj \ 145cdf0e10cSrcweir $(SLO)$/findsofficepath.obj 146cdf0e10cSrcweir 147cdf0e10cSrcweirOBJFILES = $(OBJ)$/findsofficepath.obj 148cdf0e10cSrcweir 149cdf0e10cSrcweir.IF "$(GUI)" == "WNT" 150cdf0e10cSrcweirSHL1TARGET=$(TARGET)$(UDK_MAJOR)$(COMID) 151cdf0e10cSrcweir.ELIF "$(GUI)" == "OS2" 152cdf0e10cSrcweirSHL1TARGET=cppuh$(UDK_MAJOR) 153cdf0e10cSrcweir.ELSE 154cdf0e10cSrcweirSHL1TARGET=uno_$(TARGET)$(COMID) 155cdf0e10cSrcweir.ENDIF 156cdf0e10cSrcweir 157cdf0e10cSrcweirSHL1STDLIBS= \ 158cdf0e10cSrcweir $(SALLIB) \ 159cdf0e10cSrcweir $(SALHELPERLIB) \ 160cdf0e10cSrcweir $(CPPULIB) 161cdf0e10cSrcweir.IF "$(OS)" == "WNT" 162cdf0e10cSrcweirSHL1STDLIBS += $(ADVAPI32LIB) 163cdf0e10cSrcweir.ENDIF 164cdf0e10cSrcweir 165cdf0e10cSrcweirSHL1DEPN= 166cdf0e10cSrcweirSHL1IMPLIB=i$(TARGET) 167cdf0e10cSrcweirSHL1OBJS = $(SLOFILES) 168cdf0e10cSrcweirSHL1RPATH=URELIB 169cdf0e10cSrcweir 170cdf0e10cSrcweirSHL1DEF=$(MISC)$/$(SHL1TARGET).def 171cdf0e10cSrcweir 172cdf0e10cSrcweirDEF1NAME=$(SHL1TARGET) 173cdf0e10cSrcweir 174cdf0e10cSrcweir.IF "$(COMNAME)"=="msci" 175cdf0e10cSrcweirSHL1VERSIONMAP=msvc_win32_intel.map 176cdf0e10cSrcweir.ELIF "$(COMNAME)"=="sunpro5" 177cdf0e10cSrcweirSHL1VERSIONMAP=cc5_solaris_sparc.map 178cdf0e10cSrcweir.ELIF "$(GUI)$(COMNAME)"=="OS2gcc3" 179cdf0e10cSrcweirSHL1VERSIONMAP=gcc3os2.map 180caff391cSHerbert Dürr#.ELIF "$(COMNAME)"=="gcc3" || "$(COMNAME)"=="Clang" 181caff391cSHerbert Dürr.ELSE 182cdf0e10cSrcweirSHL1VERSIONMAP=gcc3.map 183cdf0e10cSrcweir.ENDIF 184cdf0e10cSrcweir 185cdf0e10cSrcweir# --- Targets ------------------------------------------------------ 186cdf0e10cSrcweir 187cdf0e10cSrcweir.IF "$(diag)"!="" 188cdf0e10cSrcweirCFLAGS += -DDIAG=$(diag) 189cdf0e10cSrcweir.ENDIF 190cdf0e10cSrcweir 191cdf0e10cSrcweir.INCLUDE : target.mk 192