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 \ 63*52046e16SHerbert Dürr com.sun.star.container.XContentEnumerationAccess \ 64cdf0e10cSrcweir com.sun.star.container.XElementAccess \ 65cdf0e10cSrcweir com.sun.star.container.XEnumerationAccess \ 66cdf0e10cSrcweir com.sun.star.container.XHierarchicalNameAccess \ 67cdf0e10cSrcweir com.sun.star.container.XNameAccess \ 68c52956d9SHerbert Dürr com.sun.star.container.XNameReplace \ 69cdf0e10cSrcweir com.sun.star.container.XNameContainer \ 70cdf0e10cSrcweir com.sun.star.container.XSet \ 71cdf0e10cSrcweir com.sun.star.io.FilePermission \ 72cdf0e10cSrcweir com.sun.star.io.IOException \ 73cdf0e10cSrcweir com.sun.star.lang.DisposedException \ 74cdf0e10cSrcweir com.sun.star.lang.WrappedTargetRuntimeException \ 75cdf0e10cSrcweir com.sun.star.lang.XComponent \ 76cdf0e10cSrcweir com.sun.star.lang.XEventListener \ 77cdf0e10cSrcweir com.sun.star.lang.XInitialization \ 78cdf0e10cSrcweir com.sun.star.lang.XMultiComponentFactory \ 79cdf0e10cSrcweir com.sun.star.lang.XMultiServiceFactory \ 80cdf0e10cSrcweir com.sun.star.lang.XServiceInfo \ 81cdf0e10cSrcweir com.sun.star.lang.XSingleComponentFactory \ 82cdf0e10cSrcweir com.sun.star.lang.XSingleServiceFactory \ 83caff391cSHerbert Dürr com.sun.star.lang.XUnoTunnel \ 84cdf0e10cSrcweir com.sun.star.lang.XTypeProvider \ 85cdf0e10cSrcweir com.sun.star.loader.XImplementationLoader \ 86cdf0e10cSrcweir com.sun.star.reflection.XArrayTypeDescription \ 87cdf0e10cSrcweir com.sun.star.reflection.XCompoundTypeDescription \ 88cdf0e10cSrcweir com.sun.star.reflection.XEnumTypeDescription \ 89cdf0e10cSrcweir com.sun.star.reflection.XIdlClass \ 90cdf0e10cSrcweir com.sun.star.reflection.XIdlClassProvider \ 91cdf0e10cSrcweir com.sun.star.reflection.XIdlField2 \ 92cdf0e10cSrcweir com.sun.star.reflection.XIdlReflection \ 93cdf0e10cSrcweir com.sun.star.reflection.XIndirectTypeDescription \ 94cdf0e10cSrcweir com.sun.star.reflection.XInterfaceAttributeTypeDescription \ 95cdf0e10cSrcweir com.sun.star.reflection.XInterfaceAttributeTypeDescription2 \ 96cdf0e10cSrcweir com.sun.star.reflection.XInterfaceMemberTypeDescription \ 97cdf0e10cSrcweir com.sun.star.reflection.XInterfaceMethodTypeDescription \ 98cdf0e10cSrcweir com.sun.star.reflection.XInterfaceTypeDescription2 \ 99cdf0e10cSrcweir com.sun.star.reflection.XMethodParameter \ 100cdf0e10cSrcweir com.sun.star.reflection.XStructTypeDescription \ 101cdf0e10cSrcweir com.sun.star.reflection.XTypeDescription \ 102cdf0e10cSrcweir com.sun.star.reflection.XUnionTypeDescription \ 103cdf0e10cSrcweir com.sun.star.registry.XImplementationRegistration \ 104cdf0e10cSrcweir com.sun.star.registry.XRegistryKey \ 105cdf0e10cSrcweir com.sun.star.registry.XSimpleRegistry \ 106cdf0e10cSrcweir com.sun.star.security.RuntimePermission \ 107cdf0e10cSrcweir com.sun.star.security.XAccessController \ 108cdf0e10cSrcweir com.sun.star.uno.DeploymentException \ 109cdf0e10cSrcweir com.sun.star.uno.RuntimeException \ 110cdf0e10cSrcweir com.sun.star.uno.XAggregation \ 111cdf0e10cSrcweir com.sun.star.uno.XComponentContext \ 112cdf0e10cSrcweir com.sun.star.uno.XCurrentContext \ 113cdf0e10cSrcweir com.sun.star.uno.XUnloadingPreference \ 114cdf0e10cSrcweir com.sun.star.uno.XWeak \ 115cdf0e10cSrcweir com.sun.star.util.XMacroExpander 116cdf0e10cSrcweir 117cdf0e10cSrcweir.IF "$(debug)" != "" 118cdf0e10cSrcweir# msvc++: no inlining for debugging 119cdf0e10cSrcweir.IF "$(COM)" == "MSC" 120cdf0e10cSrcweirCFLAGS += -Ob0 121cdf0e10cSrcweir.ENDIF 122cdf0e10cSrcweir.ENDIF 123cdf0e10cSrcweir 124cdf0e10cSrcweirSLOFILES= \ 125cdf0e10cSrcweir $(SLO)$/typeprovider.obj \ 126cdf0e10cSrcweir $(SLO)$/exc_thrower.obj \ 127cdf0e10cSrcweir $(SLO)$/servicefactory.obj \ 128cdf0e10cSrcweir $(SLO)$/bootstrap.obj \ 129caff391cSHerbert Dürr $(SLO)$/primeweak.obj \ 130cdf0e10cSrcweir $(SLO)$/implbase.obj \ 131cdf0e10cSrcweir $(SLO)$/implbase_ex.obj \ 132cdf0e10cSrcweir $(SLO)$/propshlp.obj \ 133cdf0e10cSrcweir $(SLO)$/weak.obj \ 134cdf0e10cSrcweir $(SLO)$/interfacecontainer.obj \ 135cdf0e10cSrcweir $(SLO)$/stdidlclass.obj \ 136cdf0e10cSrcweir $(SLO)$/factory.obj \ 137cdf0e10cSrcweir $(SLO)$/component_context.obj \ 138cdf0e10cSrcweir $(SLO)$/component.obj \ 139cdf0e10cSrcweir $(SLO)$/shlib.obj \ 140cdf0e10cSrcweir $(SLO)$/tdmgr.obj \ 141cdf0e10cSrcweir $(SLO)$/implementationentry.obj \ 142cdf0e10cSrcweir $(SLO)$/access_control.obj \ 143cdf0e10cSrcweir $(SLO)$/macro_expander.obj \ 144cdf0e10cSrcweir $(SLO)$/unourl.obj \ 145cdf0e10cSrcweir $(SLO)$/propertysetmixin.obj \ 146cdf0e10cSrcweir $(SLO)$/findsofficepath.obj 147cdf0e10cSrcweir 148cdf0e10cSrcweirOBJFILES = $(OBJ)$/findsofficepath.obj 149cdf0e10cSrcweir 150cdf0e10cSrcweir.IF "$(GUI)" == "WNT" 151cdf0e10cSrcweirSHL1TARGET=$(TARGET)$(UDK_MAJOR)$(COMID) 152cdf0e10cSrcweir.ELIF "$(GUI)" == "OS2" 153cdf0e10cSrcweirSHL1TARGET=cppuh$(UDK_MAJOR) 154cdf0e10cSrcweir.ELSE 155cdf0e10cSrcweirSHL1TARGET=uno_$(TARGET)$(COMID) 156cdf0e10cSrcweir.ENDIF 157cdf0e10cSrcweir 158cdf0e10cSrcweirSHL1STDLIBS= \ 159cdf0e10cSrcweir $(SALLIB) \ 160cdf0e10cSrcweir $(SALHELPERLIB) \ 161cdf0e10cSrcweir $(CPPULIB) 162cdf0e10cSrcweir.IF "$(OS)" == "WNT" 163cdf0e10cSrcweirSHL1STDLIBS += $(ADVAPI32LIB) 164cdf0e10cSrcweir.ENDIF 165cdf0e10cSrcweir 166cdf0e10cSrcweirSHL1DEPN= 167cdf0e10cSrcweirSHL1IMPLIB=i$(TARGET) 168cdf0e10cSrcweirSHL1OBJS = $(SLOFILES) 169cdf0e10cSrcweirSHL1RPATH=URELIB 170cdf0e10cSrcweir 171cdf0e10cSrcweirSHL1DEF=$(MISC)$/$(SHL1TARGET).def 172cdf0e10cSrcweir 173cdf0e10cSrcweirDEF1NAME=$(SHL1TARGET) 174cdf0e10cSrcweir 175cdf0e10cSrcweir.IF "$(COMNAME)"=="msci" 176cdf0e10cSrcweirSHL1VERSIONMAP=msvc_win32_intel.map 177cdf0e10cSrcweir.ELIF "$(COMNAME)"=="sunpro5" 178cdf0e10cSrcweirSHL1VERSIONMAP=cc5_solaris_sparc.map 179cdf0e10cSrcweir.ELIF "$(GUI)$(COMNAME)"=="OS2gcc3" 180cdf0e10cSrcweirSHL1VERSIONMAP=gcc3os2.map 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