xref: /aoo41x/main/cppuhelper/source/makefile.mk (revision cdf0e10c)
1*cdf0e10cSrcweir#*************************************************************************
2*cdf0e10cSrcweir#
3*cdf0e10cSrcweir# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir#
5*cdf0e10cSrcweir# Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir#
7*cdf0e10cSrcweir# OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir#
9*cdf0e10cSrcweir# This file is part of OpenOffice.org.
10*cdf0e10cSrcweir#
11*cdf0e10cSrcweir# OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir# it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir# only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir#
15*cdf0e10cSrcweir# OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir# but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir# GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir# (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir#
21*cdf0e10cSrcweir# You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir# version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir# <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir# for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir#
26*cdf0e10cSrcweir#*************************************************************************
27*cdf0e10cSrcweirPRJ=..
28*cdf0e10cSrcweir
29*cdf0e10cSrcweirPRJNAME=cppuhelper
30*cdf0e10cSrcweirTARGET=cppuhelper
31*cdf0e10cSrcweir
32*cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE
33*cdf0e10cSrcweirUSE_DEFFILE=TRUE
34*cdf0e10cSrcweir
35*cdf0e10cSrcweir# not strictly a bootstrap service but containing
36*cdf0e10cSrcweir# bootstrap code that may require generated files
37*cdf0e10cSrcweir# without "-L" (light) switch
38*cdf0e10cSrcweirBOOTSTRAP_SERVICE=TRUE
39*cdf0e10cSrcweir
40*cdf0e10cSrcweir.IF "$(OS)" != "WNT" && "$(GUI)"!="OS2"
41*cdf0e10cSrcweirUNIXVERSIONNAMES=UDK
42*cdf0e10cSrcweir.ENDIF # WNT
43*cdf0e10cSrcweir
44*cdf0e10cSrcweir# --- Settings -----------------------------------------------------
45*cdf0e10cSrcweir
46*cdf0e10cSrcweir.INCLUDE :  settings.mk
47*cdf0e10cSrcweir
48*cdf0e10cSrcweir# --- Files --------------------------------------------------------
49*cdf0e10cSrcweir
50*cdf0e10cSrcweirUNOUCRRDB=$(SOLARBINDIR)$/udkapi.rdb
51*cdf0e10cSrcweirUNOUCRDEP=$(UNOUCRRDB)
52*cdf0e10cSrcweirUNOUCROUT=$(OUT)$/inc$/$(TARGET)
53*cdf0e10cSrcweirINCPRE+=$(OUT)$/inc$/$(TARGET) $(OUT)$/inc$/private
54*cdf0e10cSrcweir
55*cdf0e10cSrcweirCPPUMAKERFLAGS= -C
56*cdf0e10cSrcweir
57*cdf0e10cSrcweirUNOTYPES= \
58*cdf0e10cSrcweir		com.sun.star.beans.PropertyAttribute \
59*cdf0e10cSrcweir		com.sun.star.beans.PropertyValue \
60*cdf0e10cSrcweir		com.sun.star.beans.XFastPropertySet \
61*cdf0e10cSrcweir		com.sun.star.beans.XMultiPropertySet \
62*cdf0e10cSrcweir		com.sun.star.beans.XPropertyAccess \
63*cdf0e10cSrcweir		com.sun.star.beans.XPropertySet \
64*cdf0e10cSrcweir		com.sun.star.bridge.UnoUrlResolver \
65*cdf0e10cSrcweir		com.sun.star.bridge.XUnoUrlResolver \
66*cdf0e10cSrcweir		com.sun.star.connection.SocketPermission \
67*cdf0e10cSrcweir		com.sun.star.container.XElementAccess \
68*cdf0e10cSrcweir		com.sun.star.container.XEnumerationAccess \
69*cdf0e10cSrcweir		com.sun.star.container.XHierarchicalNameAccess \
70*cdf0e10cSrcweir		com.sun.star.container.XNameAccess \
71*cdf0e10cSrcweir		com.sun.star.container.XNameContainer \
72*cdf0e10cSrcweir		com.sun.star.container.XSet \
73*cdf0e10cSrcweir		com.sun.star.io.FilePermission \
74*cdf0e10cSrcweir		com.sun.star.io.IOException \
75*cdf0e10cSrcweir		com.sun.star.lang.DisposedException \
76*cdf0e10cSrcweir		com.sun.star.lang.WrappedTargetRuntimeException \
77*cdf0e10cSrcweir		com.sun.star.lang.XComponent \
78*cdf0e10cSrcweir		com.sun.star.lang.XEventListener \
79*cdf0e10cSrcweir		com.sun.star.lang.XInitialization \
80*cdf0e10cSrcweir		com.sun.star.lang.XMultiComponentFactory \
81*cdf0e10cSrcweir		com.sun.star.lang.XMultiServiceFactory \
82*cdf0e10cSrcweir		com.sun.star.lang.XServiceInfo \
83*cdf0e10cSrcweir		com.sun.star.lang.XSingleComponentFactory \
84*cdf0e10cSrcweir		com.sun.star.lang.XSingleServiceFactory \
85*cdf0e10cSrcweir		com.sun.star.lang.XTypeProvider \
86*cdf0e10cSrcweir		com.sun.star.loader.XImplementationLoader \
87*cdf0e10cSrcweir		com.sun.star.reflection.XArrayTypeDescription \
88*cdf0e10cSrcweir		com.sun.star.reflection.XCompoundTypeDescription \
89*cdf0e10cSrcweir		com.sun.star.reflection.XEnumTypeDescription \
90*cdf0e10cSrcweir		com.sun.star.reflection.XIdlClass \
91*cdf0e10cSrcweir		com.sun.star.reflection.XIdlClassProvider \
92*cdf0e10cSrcweir		com.sun.star.reflection.XIdlField2 \
93*cdf0e10cSrcweir		com.sun.star.reflection.XIdlReflection \
94*cdf0e10cSrcweir		com.sun.star.reflection.XIndirectTypeDescription \
95*cdf0e10cSrcweir		com.sun.star.reflection.XInterfaceAttributeTypeDescription \
96*cdf0e10cSrcweir		com.sun.star.reflection.XInterfaceAttributeTypeDescription2 \
97*cdf0e10cSrcweir		com.sun.star.reflection.XInterfaceMemberTypeDescription \
98*cdf0e10cSrcweir		com.sun.star.reflection.XInterfaceMethodTypeDescription \
99*cdf0e10cSrcweir		com.sun.star.reflection.XInterfaceTypeDescription2 \
100*cdf0e10cSrcweir		com.sun.star.reflection.XMethodParameter \
101*cdf0e10cSrcweir		com.sun.star.reflection.XStructTypeDescription \
102*cdf0e10cSrcweir		com.sun.star.reflection.XTypeDescription \
103*cdf0e10cSrcweir		com.sun.star.reflection.XUnionTypeDescription \
104*cdf0e10cSrcweir		com.sun.star.registry.XImplementationRegistration \
105*cdf0e10cSrcweir		com.sun.star.registry.XRegistryKey \
106*cdf0e10cSrcweir		com.sun.star.registry.XSimpleRegistry \
107*cdf0e10cSrcweir		com.sun.star.security.RuntimePermission \
108*cdf0e10cSrcweir		com.sun.star.security.XAccessController \
109*cdf0e10cSrcweir		com.sun.star.uno.DeploymentException \
110*cdf0e10cSrcweir		com.sun.star.uno.RuntimeException \
111*cdf0e10cSrcweir		com.sun.star.uno.XAggregation \
112*cdf0e10cSrcweir		com.sun.star.uno.XComponentContext \
113*cdf0e10cSrcweir		com.sun.star.uno.XCurrentContext \
114*cdf0e10cSrcweir		com.sun.star.uno.XUnloadingPreference \
115*cdf0e10cSrcweir		com.sun.star.uno.XWeak \
116*cdf0e10cSrcweir		com.sun.star.util.XMacroExpander
117*cdf0e10cSrcweir
118*cdf0e10cSrcweir.IF "$(debug)" != ""
119*cdf0e10cSrcweir# msvc++: no inlining for debugging
120*cdf0e10cSrcweir.IF "$(COM)" == "MSC"
121*cdf0e10cSrcweirCFLAGS += -Ob0
122*cdf0e10cSrcweir.ENDIF
123*cdf0e10cSrcweir.ENDIF
124*cdf0e10cSrcweir
125*cdf0e10cSrcweirSLOFILES= \
126*cdf0e10cSrcweir		$(SLO)$/typeprovider.obj 	\
127*cdf0e10cSrcweir		$(SLO)$/exc_thrower.obj 	\
128*cdf0e10cSrcweir		$(SLO)$/servicefactory.obj 	\
129*cdf0e10cSrcweir		$(SLO)$/bootstrap.obj 		\
130*cdf0e10cSrcweir		$(SLO)$/implbase.obj 		\
131*cdf0e10cSrcweir		$(SLO)$/implbase_ex.obj 	\
132*cdf0e10cSrcweir		$(SLO)$/propshlp.obj 		\
133*cdf0e10cSrcweir		$(SLO)$/weak.obj		\
134*cdf0e10cSrcweir		$(SLO)$/interfacecontainer.obj	\
135*cdf0e10cSrcweir		$(SLO)$/stdidlclass.obj 	\
136*cdf0e10cSrcweir		$(SLO)$/factory.obj		\
137*cdf0e10cSrcweir		$(SLO)$/component_context.obj	\
138*cdf0e10cSrcweir		$(SLO)$/component.obj		\
139*cdf0e10cSrcweir		$(SLO)$/shlib.obj		\
140*cdf0e10cSrcweir		$(SLO)$/tdmgr.obj		\
141*cdf0e10cSrcweir		$(SLO)$/implementationentry.obj	\
142*cdf0e10cSrcweir		$(SLO)$/access_control.obj	\
143*cdf0e10cSrcweir		$(SLO)$/macro_expander.obj \
144*cdf0e10cSrcweir	        $(SLO)$/unourl.obj \
145*cdf0e10cSrcweir		$(SLO)$/propertysetmixin.obj \
146*cdf0e10cSrcweir        $(SLO)$/findsofficepath.obj
147*cdf0e10cSrcweir
148*cdf0e10cSrcweirOBJFILES = $(OBJ)$/findsofficepath.obj
149*cdf0e10cSrcweir
150*cdf0e10cSrcweir.IF "$(GUI)" == "WNT"
151*cdf0e10cSrcweirSHL1TARGET=$(TARGET)$(UDK_MAJOR)$(COMID)
152*cdf0e10cSrcweir.ELIF "$(GUI)" == "OS2"
153*cdf0e10cSrcweirSHL1TARGET=cppuh
154*cdf0e10cSrcweirSHL1TARGET=cppuh$(UDK_MAJOR)
155*cdf0e10cSrcweir.ELSE
156*cdf0e10cSrcweirSHL1TARGET=uno_$(TARGET)$(COMID)
157*cdf0e10cSrcweir.ENDIF
158*cdf0e10cSrcweir
159*cdf0e10cSrcweirSHL1STDLIBS= \
160*cdf0e10cSrcweir		$(SALLIB)		\
161*cdf0e10cSrcweir		$(SALHELPERLIB)	\
162*cdf0e10cSrcweir		$(CPPULIB)
163*cdf0e10cSrcweir.IF "$(OS)" == "WNT"
164*cdf0e10cSrcweirSHL1STDLIBS += $(ADVAPI32LIB)
165*cdf0e10cSrcweir.ENDIF
166*cdf0e10cSrcweir
167*cdf0e10cSrcweirSHL1DEPN=
168*cdf0e10cSrcweirSHL1IMPLIB=i$(TARGET)
169*cdf0e10cSrcweirSHL1OBJS = $(SLOFILES)
170*cdf0e10cSrcweirSHL1RPATH=URELIB
171*cdf0e10cSrcweir
172*cdf0e10cSrcweirSHL1DEF=$(MISC)$/$(SHL1TARGET).def
173*cdf0e10cSrcweir
174*cdf0e10cSrcweirDEF1NAME=$(SHL1TARGET)
175*cdf0e10cSrcweir
176*cdf0e10cSrcweir.IF "$(COMNAME)"=="msci"
177*cdf0e10cSrcweirSHL1VERSIONMAP=msvc_win32_intel.map
178*cdf0e10cSrcweir.ELIF "$(COMNAME)"=="sunpro5"
179*cdf0e10cSrcweirSHL1VERSIONMAP=cc5_solaris_sparc.map
180*cdf0e10cSrcweir.ELIF "$(GUI)$(COMNAME)"=="OS2gcc3"
181*cdf0e10cSrcweirSHL1VERSIONMAP=gcc3os2.map
182*cdf0e10cSrcweir.ELIF "$(COMNAME)"=="gcc3"
183*cdf0e10cSrcweirSHL1VERSIONMAP=gcc3.map
184*cdf0e10cSrcweir.ENDIF
185*cdf0e10cSrcweir
186*cdf0e10cSrcweir# --- Targets ------------------------------------------------------
187*cdf0e10cSrcweir
188*cdf0e10cSrcweir.IF "$(diag)"!=""
189*cdf0e10cSrcweirCFLAGS += -DDIAG=$(diag)
190*cdf0e10cSrcweir.ENDIF
191*cdf0e10cSrcweir
192*cdf0e10cSrcweir.INCLUDE :	target.mk
193