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