1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
36 ENABLE_EXCEPTIONS
=TRUE
39 # not strictly a bootstrap service but containing
40 # bootstrap code that may require generated files
41 # without "-L" (light) switch
42 BOOTSTRAP_SERVICE
=TRUE
44 .IF
"$(OS)" != "WNT" && "$(GUI)"!="OS2"
48 # --- Settings -----------------------------------------------------
50 .INCLUDE
: settings.mk
52 # --- Files --------------------------------------------------------
54 UNOUCRRDB
=$(SOLARBINDIR
)$/udkapi.rdb
55 UNOUCRDEP
=$(UNOUCRRDB
)
56 UNOUCROUT
=$(OUT
)$/inc
$/$(TARGET
)
57 INCPRE
+=$(OUT
)$/inc
$/$(TARGET
) $(OUT
)$/inc
$/private
62 com.sun.star.beans.PropertyAttribute \
63 com.sun.star.beans.PropertyValue \
64 com.sun.star.beans.XFastPropertySet \
65 com.sun.star.beans.XMultiPropertySet \
66 com.sun.star.beans.XPropertyAccess \
67 com.sun.star.beans.XPropertySet \
68 com.sun.star.bridge.UnoUrlResolver \
69 com.sun.star.bridge.XUnoUrlResolver \
70 com.sun.star.connection.SocketPermission \
71 com.sun.star.container.XElementAccess \
72 com.sun.star.container.XEnumerationAccess \
73 com.sun.star.container.XHierarchicalNameAccess \
74 com.sun.star.container.XNameAccess \
75 com.sun.star.container.XNameContainer \
76 com.sun.star.container.XSet \
77 com.sun.star.io.FilePermission \
78 com.sun.star.io.IOException \
79 com.sun.star.lang.DisposedException \
80 com.sun.star.lang.WrappedTargetRuntimeException \
81 com.sun.star.lang.XComponent \
82 com.sun.star.lang.XEventListener \
83 com.sun.star.lang.XInitialization \
84 com.sun.star.lang.XMultiComponentFactory \
85 com.sun.star.lang.XMultiServiceFactory \
86 com.sun.star.lang.XServiceInfo \
87 com.sun.star.lang.XSingleComponentFactory \
88 com.sun.star.lang.XSingleServiceFactory \
89 com.sun.star.lang.XTypeProvider \
90 com.sun.star.loader.XImplementationLoader \
91 com.sun.star.reflection.XArrayTypeDescription \
92 com.sun.star.reflection.XCompoundTypeDescription \
93 com.sun.star.reflection.XEnumTypeDescription \
94 com.sun.star.reflection.XIdlClass \
95 com.sun.star.reflection.XIdlClassProvider \
96 com.sun.star.reflection.XIdlField2 \
97 com.sun.star.reflection.XIdlReflection \
98 com.sun.star.reflection.XIndirectTypeDescription \
99 com.sun.star.reflection.XInterfaceAttributeTypeDescription \
100 com.sun.star.reflection.XInterfaceAttributeTypeDescription2 \
101 com.sun.star.reflection.XInterfaceMemberTypeDescription \
102 com.sun.star.reflection.XInterfaceMethodTypeDescription \
103 com.sun.star.reflection.XInterfaceTypeDescription2 \
104 com.sun.star.reflection.XMethodParameter \
105 com.sun.star.reflection.XStructTypeDescription \
106 com.sun.star.reflection.XTypeDescription \
107 com.sun.star.reflection.XUnionTypeDescription \
108 com.sun.star.registry.XImplementationRegistration \
109 com.sun.star.registry.XRegistryKey \
110 com.sun.star.registry.XSimpleRegistry \
111 com.sun.star.security.RuntimePermission \
112 com.sun.star.security.XAccessController \
113 com.sun.star.uno.DeploymentException \
114 com.sun.star.uno.RuntimeException \
115 com.sun.star.uno.XAggregation \
116 com.sun.star.uno.XComponentContext \
117 com.sun.star.uno.XCurrentContext \
118 com.sun.star.uno.XUnloadingPreference \
119 com.sun.star.uno.XWeak \
120 com.sun.star.util.XMacroExpander
123 # msvc++: no inlining for debugging
124 .IF
"$(COM)" == "MSC"
130 $(SLO
)$/typeprovider.obj \
131 $(SLO
)$/exc_thrower.obj \
132 $(SLO
)$/servicefactory.obj \
133 $(SLO
)$/bootstrap.obj \
134 $(SLO
)$/implbase.obj \
135 $(SLO
)$/implbase_ex.obj \
136 $(SLO
)$/propshlp.obj \
138 $(SLO
)$/interfacecontainer.obj \
139 $(SLO
)$/stdidlclass.obj \
140 $(SLO
)$/factory.obj \
141 $(SLO
)$/component_context.obj \
142 $(SLO
)$/component.obj \
145 $(SLO
)$/implementationentry.obj \
146 $(SLO
)$/access_control.obj \
147 $(SLO
)$/macro_expander.obj \
149 $(SLO
)$/propertysetmixin.obj \
150 $(SLO
)$/findsofficepath.obj
152 OBJFILES
= $(OBJ
)$/findsofficepath.obj
154 .IF
"$(GUI)" == "WNT"
155 SHL1TARGET
=$(TARGET
)$(UDK_MAJOR
)$(COMID
)
156 .ELIF
"$(GUI)" == "OS2"
158 SHL1TARGET
=cppuh
$(UDK_MAJOR
)
160 SHL1TARGET
=uno_
$(TARGET
)$(COMID
)
168 SHL1STDLIBS
+= $(ADVAPI32LIB
)
172 SHL1IMPLIB
=i
$(TARGET
)
173 SHL1OBJS
= $(SLOFILES
)
176 SHL1DEF
=$(MISC
)$/$(SHL1TARGET
).def
178 DEF1NAME
=$(SHL1TARGET
)
180 .IF
"$(COMNAME)"=="msci"
181 SHL1VERSIONMAP
=msvc_win32_intel.map
182 .ELIF
"$(COMNAME)"=="sunpro5"
183 SHL1VERSIONMAP
=cc5_solaris_sparc.map
184 .ELIF
"$(GUI)$(COMNAME)"=="OS2gcc3"
185 SHL1VERSIONMAP
=gcc3os2.map
186 .ELIF
"$(COMNAME)"=="gcc3"
187 SHL1VERSIONMAP
=gcc3.map
190 # --- Targets ------------------------------------------------------
193 CFLAGS
+= -DDIAG
=$(diag
)