update dev300-m58
[ooovba.git] / framework / util / makefile.mk
blob716773d5cdf9195094e8a9401e297c857a5f3bab
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 $
11 # $Revision: 1.124.26.1 $
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 #*************************************************************************
31 PRJ=..
33 PRJNAME= framework
34 TARGET= framework
36 USE_DEFFILE= TRUE
37 ENABLE_EXCEPTIONS= TRUE
38 NO_BSYMBOLIC= TRUE
39 GEN_HID= TRUE
40 GEN_HID_OTHER= TRUE
42 # --- Settings -----------------------------------------------------
44 .INCLUDE : settings.mk
46 # --- internal import -------------------------------------------------
48 LIB1TARGET= $(SLB)$/fwiobj.lib
50 LIB1OBJFILES= \
51 $(SLO)$/converter.obj \
52 $(SLO)$/lockhelper.obj \
53 $(SLO)$/transactionmanager.obj \
54 $(SLO)$/protocolhandlercache.obj \
55 $(SLO)$/networkdomain.obj \
56 $(SLO)$/configaccess.obj \
57 $(SLO)$/framelistanalyzer.obj \
58 $(SLO)$/shareablemutex.obj \
59 $(SLO)$/itemcontainer.obj \
60 $(SLO)$/rootitemcontainer.obj \
61 $(SLO)$/constitemcontainer.obj \
62 $(SLO)$/jobconst.obj \
63 $(SLO)$/popupmenucontrollerbase.obj \
64 $(SLO)$/mischelper.obj \
65 $(SLO)$/propertysethelper.obj
69 # --- export library for sfx2 -------------------------------------------------
71 LIB2TARGET= $(SLB)$/fweobj.lib
73 LIB2OBJFILES= \
74 $(SLO)$/bmkmenu.obj \
75 $(SLO)$/eventsconfiguration.obj \
76 $(SLO)$/eventsdocumenthandler.obj \
77 $(SLO)$/imageproducer.obj \
78 $(SLO)$/lockhelper.obj \
79 $(SLO)$/menuconfiguration.obj \
80 $(SLO)$/menudocumenthandler.obj \
81 $(SLO)$/saxnamespacefilter.obj \
82 $(SLO)$/statusbarconfiguration.obj \
83 $(SLO)$/statusbardocumenthandler.obj \
84 $(SLO)$/toolboxconfiguration.obj \
85 $(SLO)$/toolboxdocumenthandler.obj \
86 $(SLO)$/toolboxlayoutdocumenthandler.obj \
87 $(SLO)$/imagesconfiguration.obj \
88 $(SLO)$/imagesdocumenthandler.obj \
89 $(SLO)$/xmlnamespaces.obj \
90 $(SLO)$/actiontriggerpropertyset.obj \
91 $(SLO)$/actiontriggerseparatorpropertyset.obj \
92 $(SLO)$/actiontriggercontainer.obj \
93 $(SLO)$/propertysetcontainer.obj \
94 $(SLO)$/rootactiontriggercontainer.obj \
95 $(SLO)$/actiontriggerhelper.obj \
96 $(SLO)$/imagewrapper.obj \
97 $(SLO)$/interaction.obj \
98 $(SLO)$/addonmenu.obj \
99 $(SLO)$/addonsoptions.obj \
100 $(SLO)$/fwkresid.obj \
101 $(SLO)$/acceleratorinfo.obj \
102 $(SLO)$/sfxhelperfunctions.obj \
103 $(SLO)$/uielementwrapperbase.obj \
104 $(SLO)$/uiconfigelementwrapperbase.obj \
105 $(SLO)$/configimporter.obj \
106 $(SLO)$/menuextensionsupplier.obj \
107 $(SLO)$/preventduplicateinteraction.obj \
108 $(SLO)$/titlehelper.obj
110 # --- import classes library ---------------------------------------------------
112 SHL1TARGET= fwi$(DLLPOSTFIX)
114 SHL1IMPLIB= ifwi
116 SHL1LIBS= $(LIB1TARGET)
118 SHL1STDLIBS= \
119 $(UNOTOOLSLIB) \
120 $(CPPUHELPERLIB) \
121 $(TOOLSLIB) \
122 $(VOSLIB) \
123 $(VCLLIB) \
124 $(TKLIB) \
125 $(CPPULIB) \
126 $(SALLIB)
128 .IF "$(GUI)"=="WNT"
129 SHL1STDLIBS+=\
130 $(UWINAPILIB) \
131 $(UNICOWSLIB) \
132 $(ADVAPI32LIB) \
133 $(KERNEL32LIB)
134 .ENDIF
136 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
138 DEF1NAME= $(SHL1TARGET)
140 DEFLIB1NAME= fwiobj
141 DEF1DEPN= $(MISC)$/$(SHL1TARGET).flt
144 # --- export classes library ---------------------------------------------------
146 SHL2TARGET= fwe$(DLLPOSTFIX)
148 SHL2IMPLIB= ifwe
150 SHL2LIBS= $(LIB2TARGET)
152 SHL2STDLIBS= \
153 $(FWILIB) \
154 $(VCLLIB) \
155 $(SVLLIB) \
156 $(SVTOOLLIB) \
157 $(UNOTOOLSLIB) \
158 $(TOOLSLIB) \
159 $(COMPHELPERLIB) \
160 $(CPPUHELPERLIB) \
161 $(CPPULIB) \
162 $(VOSLIB) \
163 $(SALLIB)
165 SHL2DEF= $(MISC)$/$(SHL2TARGET).def
166 SHL2DEPN= $(SHL1IMPLIBN) $(SHL1TARGETN)
168 DEF2NAME= $(SHL2TARGET)
170 DEFLIB2NAME= fweobj
171 DEF2DEPN= $(MISC)$/$(SHL2TARGET).flt
173 # --- light services library ----------------------------------------------------
175 SHL3TARGET= fwl$(DLLPOSTFIX)
177 SHL3IMPLIB= ifwl
179 SHL3OBJS= $(SLO)$/mediatypedetectionhelper.obj\
180 $(SLO)$/registertemp.obj \
181 $(SLO)$/mailtodispatcher.obj \
182 $(SLO)$/oxt_handler.obj \
183 $(SLO)$/toolbarsmenucontroller.obj \
184 $(SLO)$/newmenucontroller.obj \
185 $(SLO)$/macrosmenucontroller.obj \
186 $(SLO)$/langselectionmenucontroller.obj \
187 $(SLO)$/headermenucontroller.obj \
188 $(SLO)$/footermenucontroller.obj \
189 $(SLO)$/fontsizemenucontroller.obj \
190 $(SLO)$/fontmenucontroller.obj \
191 $(SLO)$/tabwindowservice.obj \
192 $(SLO)$/fwktabwindow.obj \
193 $(SLO)$/logotextstatusbarcontroller.obj \
194 $(SLO)$/fwlresid.obj \
195 $(SLO)$/logoimagestatusbarcontroller.obj \
196 $(SLO)$/simpletextstatusbarcontroller.obj \
197 $(SLO)$/uriabbreviation.obj \
198 $(SLO)$/servicehandler.obj \
199 $(SLO)$/license.obj \
200 $(SLO)$/dispatchrecorder.obj \
201 $(SLO)$/dispatchrecordersupplier.obj\
202 $(SLO)$/dispatchhelper.obj \
203 $(SLO)$/popupmenudispatcher.obj \
205 SHL3STDLIBS= \
206 $(FWILIB) \
207 $(FWELIB) \
208 $(SVLLIB) \
209 $(TKLIB) \
210 $(SVTOOLLIB) \
211 $(UNOTOOLSLIB) \
212 $(TOOLSLIB) \
213 $(I18NISOLANGLIB) \
214 $(COMPHELPERLIB) \
215 $(CPPUHELPERLIB) \
216 $(COMPHELPERLIB) \
217 $(CPPULIB) \
218 $(VCLLIB) \
219 $(SALLIB)
221 SHL3DEF= $(MISC)$/$(SHL3TARGET).def
222 SHL3DEPN= $(SHL1IMPLIBN) $(SHL1TARGETN) $(SHL2TARGETN)
224 DEF3NAME= $(SHL3TARGET)
226 SHL3VERSIONMAP= exports.map
228 # --- services library ----------------------------------------------------
230 SHL4TARGET= fwk$(DLLPOSTFIX)
232 SHL4IMPLIB= ifwk
234 SHL4OBJS= \
235 $(SLO)$/acceleratorcache.obj \
236 $(SLO)$/acceleratorconfiguration.obj \
237 $(SLO)$/acceleratorconfigurationreader.obj \
238 $(SLO)$/acceleratorconfigurationwriter.obj \
239 $(SLO)$/addonstoolbarmanager.obj \
240 $(SLO)$/addonstoolbarwrapper.obj \
241 $(SLO)$/addonstoolboxfactory.obj \
242 $(SLO)$/autorecovery.obj \
243 $(SLO)$/backingcomp.obj \
244 $(SLO)$/backingwindow.obj \
245 $(SLO)$/buttontoolbarcontroller.obj \
246 $(SLO)$/closedispatcher.obj \
247 $(SLO)$/comboboxtoolbarcontroller.obj \
248 $(SLO)$/complextoolbarcontroller.obj \
249 $(SLO)$/configaccess.obj \
250 $(SLO)$/containerquery.obj \
251 $(SLO)$/contenthandler.obj \
252 $(SLO)$/controlmenucontroller.obj \
253 $(SLO)$/desktop.obj \
254 $(SLO)$/dispatchinformationprovider.obj \
255 $(SLO)$/dispatchprovider.obj \
256 $(SLO)$/dockingareadefaultacceptor.obj \
257 $(SLO)$/documentacceleratorconfiguration.obj \
258 $(SLO)$/dropdownboxtoolbarcontroller.obj \
259 $(SLO)$/droptargetlistener.obj \
260 $(SLO)$/edittoolbarcontroller.obj \
261 $(SLO)$/factoryconfiguration.obj \
262 $(SLO)$/filter.obj \
263 $(SLO)$/framecontainer.obj \
264 $(SLO)$/frameloader.obj \
265 $(SLO)$/frame.obj \
266 $(SLO)$/generictoolbarcontroller.obj \
267 $(SLO)$/globalacceleratorconfiguration.obj \
268 $(SLO)$/globalsettings.obj \
269 $(SLO)$/graphicnameaccess.obj \
270 $(SLO)$/helpagentdispatcher.obj \
271 $(SLO)$/imagebuttontoolbarcontroller.obj \
272 $(SLO)$/imagemanager.obj \
273 $(SLO)$/imagemanagerimpl.obj \
274 $(SLO)$/interceptionhelper.obj \
275 $(SLO)$/jobdata.obj \
276 $(SLO)$/jobdispatch.obj \
277 $(SLO)$/jobexecutor.obj \
278 $(SLO)$/job.obj \
279 $(SLO)$/jobresult.obj \
280 $(SLO)$/joburl.obj \
281 $(SLO)$/keymapping.obj \
282 $(SLO)$/langselectionstatusbarcontroller.obj \
283 $(SLO)$/layoutmanager.obj \
284 $(SLO)$/loaddispatcher.obj \
285 $(SLO)$/loaddispatchlistener.obj \
286 $(SLO)$/loadenv.obj \
287 $(SLO)$/menubarfactory.obj \
288 $(SLO)$/menubarmanager.obj \
289 $(SLO)$/menubarmerger.obj \
290 $(SLO)$/menubarwrapper.obj \
291 $(SLO)$/menudispatcher.obj \
292 $(SLO)$/menumanager.obj \
293 $(SLO)$/moduleacceleratorconfiguration.obj \
294 $(SLO)$/moduleimagemanager.obj \
295 $(SLO)$/modulemanager.obj \
296 $(SLO)$/moduleuicfgsupplier.obj \
297 $(SLO)$/moduleuiconfigurationmanager.obj \
298 $(SLO)$/objectmenucontroller.obj \
299 $(SLO)$/ocomponentaccess.obj \
300 $(SLO)$/ocomponentenumeration.obj \
301 $(SLO)$/oframes.obj \
302 $(SLO)$/pathsettings.obj \
303 $(SLO)$/persistentwindowstate.obj \
304 $(SLO)$/popupmenucontrollerfactory.obj\
305 $(SLO)$/presethandler.obj \
306 $(SLO)$/progressbarwrapper.obj \
307 $(SLO)$/recentfilesmenucontroller.obj \
308 $(SLO)$/registerservices.obj \
309 $(SLO)$/sessionlistener.obj \
310 $(SLO)$/spinfieldtoolbarcontroller.obj \
311 $(SLO)$/statusbarcontrollerfactory.obj\
312 $(SLO)$/statusbarfactory.obj \
313 $(SLO)$/statusbarmanager.obj \
314 $(SLO)$/statusbar.obj \
315 $(SLO)$/statusbarwrapper.obj \
316 $(SLO)$/statusindicatorfactory.obj \
317 $(SLO)$/statusindicatorinterfacewrapper.obj \
318 $(SLO)$/statusindicator.obj \
319 $(SLO)$/stillinteraction.obj \
320 $(SLO)$/storageholder.obj \
321 $(SLO)$/substitutepathvars.obj \
322 $(SLO)$/tagwindowasmodified.obj \
323 $(SLO)$/targethelper.obj \
324 $(SLO)$/taskcreator.obj \
325 $(SLO)$/taskcreatorsrv.obj \
326 $(SLO)$/titlebarupdate.obj \
327 $(SLO)$/togglebuttontoolbarcontroller.obj \
328 $(SLO)$/toolbarcontrollerfactory.obj\
329 $(SLO)$/toolbarmanager.obj \
330 $(SLO)$/toolbarmerger.obj \
331 $(SLO)$/toolbar.obj \
332 $(SLO)$/toolbarwrapper.obj \
333 $(SLO)$/toolboxfactory.obj \
334 $(SLO)$/uicategorydescription.obj \
335 $(SLO)$/uicommanddescription.obj \
336 $(SLO)$/uiconfigurationmanager.obj \
337 $(SLO)$/uiconfigurationmanagerimpl.obj \
338 $(SLO)$/uielementfactorymanager.obj \
339 $(SLO)$/urltransformer.obj \
340 $(SLO)$/vclstatusindicator.obj \
341 $(SLO)$/wakeupthread.obj \
342 $(SLO)$/windowcommanddispatch.obj \
343 $(SLO)$/windowstateconfiguration.obj \
344 $(SLO)$/windowcontentfactorymanager.obj \
345 $(SLO)$/startmoduledispatcher.obj
347 SHL4STDLIBS= \
348 $(ODMA_LIB_LIB) \
349 $(FWILIB) \
350 $(FWELIB) \
351 $(SVTOOLLIB) \
352 $(TKLIB) \
353 $(VCLLIB) \
354 $(SVLLIB) \
355 $(SOTLIB) \
356 $(UNOTOOLSLIB) \
357 $(TOOLSLIB) \
358 $(COMPHELPERLIB) \
359 $(CPPUHELPERLIB) \
360 $(CPPULIB) \
361 $(SALLIB) \
362 $(UCBHELPERLIB) \
363 $(I18NISOLANGLIB)
365 SHL4DEF= $(MISC)$/$(SHL4TARGET).def
366 SHL4DEPN= $(SHL1IMPLIBN) $(SHL1TARGETN) $(SHL2IMPLIBN) $(SHL2TARGETN)
368 DEF4NAME= $(SHL4TARGET)
370 SHL4VERSIONMAP= exports.map
372 # --- services library ----------------------------------------------------
374 SHL5TARGET= fwm$(DLLPOSTFIX)
376 SHL5IMPLIB= ifwm
378 SHL5OBJS= \
379 $(SLO)$/helponstartup.obj \
380 $(SLO)$/tabwinfactory.obj \
381 $(SLO)$/tabwindow.obj \
382 $(SLO)$/systemexec.obj \
383 $(SLO)$/shelljob.obj \
384 $(SLO)$/register3rdcomponents.obj
386 SHL5STDLIBS= \
387 $(FWILIB) \
388 $(TKLIB) \
389 $(VCLLIB) \
390 $(TOOLSLIB) \
391 $(COMPHELPERLIB) \
392 $(CPPUHELPERLIB) \
393 $(CPPULIB) \
394 $(SALLIB)
396 SHL5DEF= $(MISC)$/$(SHL5TARGET).def
397 SHL5DEPN= $(SHL1IMPLIBN) $(SHL1TARGETN)
399 DEF5NAME= $(SHL5TARGET)
401 SHL5VERSIONMAP= exports.map
403 RESLIB1NAME= fwe
404 RESLIB1IMAGES= $(PRJ)$/res
405 RESLIB1SRSFILES= $(SRS)$/fwk_classes.srs \
406 $(SRS)$/fwk_services.srs \
408 # --- Targets -----------------------------------------------------------------
410 .INCLUDE : target.mk
412 $(MISC)$/$(SHL1TARGET).flt: makefile.mk
413 @echo ------------------------------
414 @echo Making: $@
415 @echo _Impl>$@
416 @echo WEP>>$@
417 @echo m_pLoader>$@
418 @echo _TI2>>$@
419 @echo _TI3>>$@
420 @echo LIBMAIN>>$@
421 @echo LibMain>>$@
422 @echo _STL::pair>>$@
424 $(MISC)$/$(SHL2TARGET).flt: makefile.mk
425 @echo ------------------------------
426 @echo Making: $@
427 @echo _Impl>$@
428 @echo WEP>>$@
429 @echo m_pLoader>$@
430 @echo _TI2>>$@
431 @echo LIBMAIN>>$@
432 @echo LibMain>>$@