xref: /aoo41x/main/cppuhelper/source/makefile.mk (revision 7871dc3e)
1*7871dc3eSAndrew Rist#**************************************************************
2*7871dc3eSAndrew Rist#
3*7871dc3eSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
4*7871dc3eSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
5*7871dc3eSAndrew Rist#  distributed with this work for additional information
6*7871dc3eSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
7*7871dc3eSAndrew Rist#  to you under the Apache License, Version 2.0 (the
8*7871dc3eSAndrew Rist#  "License"); you may not use this file except in compliance
9*7871dc3eSAndrew Rist#  with the License.  You may obtain a copy of the License at
10*7871dc3eSAndrew Rist#
11*7871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12*7871dc3eSAndrew Rist#
13*7871dc3eSAndrew Rist#  Unless required by applicable law or agreed to in writing,
14*7871dc3eSAndrew Rist#  software distributed under the License is distributed on an
15*7871dc3eSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*7871dc3eSAndrew Rist#  KIND, either express or implied.  See the License for the
17*7871dc3eSAndrew Rist#  specific language governing permissions and limitations
18*7871dc3eSAndrew Rist#  under the License.
19*7871dc3eSAndrew Rist#
20*7871dc3eSAndrew Rist#**************************************************************
21*7871dc3eSAndrew Rist
22*7871dc3eSAndrew 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 \
81cdf0e10cSrcweir		com.sun.star.lang.XTypeProvider \
82cdf0e10cSrcweir		com.sun.star.loader.XImplementationLoader \
83cdf0e10cSrcweir		com.sun.star.reflection.XArrayTypeDescription \
84cdf0e10cSrcweir		com.sun.star.reflection.XCompoundTypeDescription \
85cdf0e10cSrcweir		com.sun.star.reflection.XEnumTypeDescription \
86cdf0e10cSrcweir		com.sun.star.reflection.XIdlClass \
87cdf0e10cSrcweir		com.sun.star.reflection.XIdlClassProvider \
88cdf0e10cSrcweir		com.sun.star.reflection.XIdlField2 \
89cdf0e10cSrcweir		com.sun.star.reflection.XIdlReflection \
90cdf0e10cSrcweir		com.sun.star.reflection.XIndirectTypeDescription \
91cdf0e10cSrcweir		com.sun.star.reflection.XInterfaceAttributeTypeDescription \
92cdf0e10cSrcweir		com.sun.star.reflection.XInterfaceAttributeTypeDescription2 \
93cdf0e10cSrcweir		com.sun.star.reflection.XInterfaceMemberTypeDescription \
94cdf0e10cSrcweir		com.sun.star.reflection.XInterfaceMethodTypeDescription \
95cdf0e10cSrcweir		com.sun.star.reflection.XInterfaceTypeDescription2 \
96cdf0e10cSrcweir		com.sun.star.reflection.XMethodParameter \
97cdf0e10cSrcweir		com.sun.star.reflection.XStructTypeDescription \
98cdf0e10cSrcweir		com.sun.star.reflection.XTypeDescription \
99cdf0e10cSrcweir		com.sun.star.reflection.XUnionTypeDescription \
100cdf0e10cSrcweir		com.sun.star.registry.XImplementationRegistration \
101cdf0e10cSrcweir		com.sun.star.registry.XRegistryKey \
102cdf0e10cSrcweir		com.sun.star.registry.XSimpleRegistry \
103cdf0e10cSrcweir		com.sun.star.security.RuntimePermission \
104cdf0e10cSrcweir		com.sun.star.security.XAccessController \
105cdf0e10cSrcweir		com.sun.star.uno.DeploymentException \
106cdf0e10cSrcweir		com.sun.star.uno.RuntimeException \
107cdf0e10cSrcweir		com.sun.star.uno.XAggregation \
108cdf0e10cSrcweir		com.sun.star.uno.XComponentContext \
109cdf0e10cSrcweir		com.sun.star.uno.XCurrentContext \
110cdf0e10cSrcweir		com.sun.star.uno.XUnloadingPreference \
111cdf0e10cSrcweir		com.sun.star.uno.XWeak \
112cdf0e10cSrcweir		com.sun.star.util.XMacroExpander
113cdf0e10cSrcweir
114cdf0e10cSrcweir.IF "$(debug)" != ""
115cdf0e10cSrcweir# msvc++: no inlining for debugging
116cdf0e10cSrcweir.IF "$(COM)" == "MSC"
117cdf0e10cSrcweirCFLAGS += -Ob0
118cdf0e10cSrcweir.ENDIF
119cdf0e10cSrcweir.ENDIF
120cdf0e10cSrcweir
121cdf0e10cSrcweirSLOFILES= \
122cdf0e10cSrcweir		$(SLO)$/typeprovider.obj 	\
123cdf0e10cSrcweir		$(SLO)$/exc_thrower.obj 	\
124cdf0e10cSrcweir		$(SLO)$/servicefactory.obj 	\
125cdf0e10cSrcweir		$(SLO)$/bootstrap.obj 		\
126cdf0e10cSrcweir		$(SLO)$/implbase.obj 		\
127cdf0e10cSrcweir		$(SLO)$/implbase_ex.obj 	\
128cdf0e10cSrcweir		$(SLO)$/propshlp.obj 		\
129cdf0e10cSrcweir		$(SLO)$/weak.obj		\
130cdf0e10cSrcweir		$(SLO)$/interfacecontainer.obj	\
131cdf0e10cSrcweir		$(SLO)$/stdidlclass.obj 	\
132cdf0e10cSrcweir		$(SLO)$/factory.obj		\
133cdf0e10cSrcweir		$(SLO)$/component_context.obj	\
134cdf0e10cSrcweir		$(SLO)$/component.obj		\
135cdf0e10cSrcweir		$(SLO)$/shlib.obj		\
136cdf0e10cSrcweir		$(SLO)$/tdmgr.obj		\
137cdf0e10cSrcweir		$(SLO)$/implementationentry.obj	\
138cdf0e10cSrcweir		$(SLO)$/access_control.obj	\
139cdf0e10cSrcweir		$(SLO)$/macro_expander.obj \
140cdf0e10cSrcweir	        $(SLO)$/unourl.obj \
141cdf0e10cSrcweir		$(SLO)$/propertysetmixin.obj \
142cdf0e10cSrcweir        $(SLO)$/findsofficepath.obj
143cdf0e10cSrcweir
144cdf0e10cSrcweirOBJFILES = $(OBJ)$/findsofficepath.obj
145cdf0e10cSrcweir
146cdf0e10cSrcweir.IF "$(GUI)" == "WNT"
147cdf0e10cSrcweirSHL1TARGET=$(TARGET)$(UDK_MAJOR)$(COMID)
148cdf0e10cSrcweir.ELIF "$(GUI)" == "OS2"
149cdf0e10cSrcweirSHL1TARGET=cppuh
150cdf0e10cSrcweirSHL1TARGET=cppuh$(UDK_MAJOR)
151cdf0e10cSrcweir.ELSE
152cdf0e10cSrcweirSHL1TARGET=uno_$(TARGET)$(COMID)
153cdf0e10cSrcweir.ENDIF
154cdf0e10cSrcweir
155cdf0e10cSrcweirSHL1STDLIBS= \
156cdf0e10cSrcweir		$(SALLIB)		\
157cdf0e10cSrcweir		$(SALHELPERLIB)	\
158cdf0e10cSrcweir		$(CPPULIB)
159cdf0e10cSrcweir.IF "$(OS)" == "WNT"
160cdf0e10cSrcweirSHL1STDLIBS += $(ADVAPI32LIB)
161cdf0e10cSrcweir.ENDIF
162cdf0e10cSrcweir
163cdf0e10cSrcweirSHL1DEPN=
164cdf0e10cSrcweirSHL1IMPLIB=i$(TARGET)
165cdf0e10cSrcweirSHL1OBJS = $(SLOFILES)
166cdf0e10cSrcweirSHL1RPATH=URELIB
167cdf0e10cSrcweir
168cdf0e10cSrcweirSHL1DEF=$(MISC)$/$(SHL1TARGET).def
169cdf0e10cSrcweir
170cdf0e10cSrcweirDEF1NAME=$(SHL1TARGET)
171cdf0e10cSrcweir
172cdf0e10cSrcweir.IF "$(COMNAME)"=="msci"
173cdf0e10cSrcweirSHL1VERSIONMAP=msvc_win32_intel.map
174cdf0e10cSrcweir.ELIF "$(COMNAME)"=="sunpro5"
175cdf0e10cSrcweirSHL1VERSIONMAP=cc5_solaris_sparc.map
176cdf0e10cSrcweir.ELIF "$(GUI)$(COMNAME)"=="OS2gcc3"
177cdf0e10cSrcweirSHL1VERSIONMAP=gcc3os2.map
178cdf0e10cSrcweir.ELIF "$(COMNAME)"=="gcc3"
179cdf0e10cSrcweirSHL1VERSIONMAP=gcc3.map
180cdf0e10cSrcweir.ENDIF
181cdf0e10cSrcweir
182cdf0e10cSrcweir# --- Targets ------------------------------------------------------
183cdf0e10cSrcweir
184cdf0e10cSrcweir.IF "$(diag)"!=""
185cdf0e10cSrcweirCFLAGS += -DDIAG=$(diag)
186cdf0e10cSrcweir.ENDIF
187cdf0e10cSrcweir
188cdf0e10cSrcweir.INCLUDE :	target.mk
189