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 #*************************************************************************
40 # --- Settings ------------------------------------------------------------
42 .INCLUDE
: settings.mk
44 # --- Allgemein -----------------------------------------------------------
47 LINKFLAGS
+=-Wl
,-LD_LAYOUT
:lgot_buffer
=40
68 $(SRS
)$/smartmenu.srs \
76 $(SOLARCOMMONRESDIR
)$/sfx.srs
79 RESLIB1IMAGES
=$(PRJ
)$/imglst
$(PRJ
)$/res
92 SHL1TARGET
= $(TARGET
)$(DLLPOSTFIX
)
94 SHL1IMPLIB
= _
$(TARGET
)
95 SHL1LIBS
= $(SLB
)$/swall.lib
$(SWLIBFILES
)
97 LIB1TARGET
=$(SLB
)$/swall.lib
99 LIB1OBJFILES
= $(OUT
)$/slo
$/swmodule.obj \
100 $(OUT
)$/slo
$/swdll.obj
134 SHL1STDLIBS
+= $(ADVAPI32LIB
)
138 SHL1DEF
= $(MISC
)$/$(SHL1TARGET
).def
140 DEF1NAME
=$(SHL1TARGET
)
141 DEFLIB1NAME
=swall
$(SWLIBFILES
:b
)
143 SHL2TARGET
= swd
$(DLLPOSTFIX
)
145 SHL2VERSIONMAP
= swd.map
146 SHL2DEF
=$(MISC
)$/$(SHL2TARGET
).def
147 DEF2NAME
= $(SHL2TARGET
)
162 SHL2OBJS
= $(SLO
)$/swdetect.obj \
172 SHL2DEPN
+= makefile.mk
175 SHL3TARGET
= swui
$(DLLPOSTFIX
)
177 SHL3VERSIONMAP
= swui.map
178 SHL3DEF
=$(MISC
)$/$(SHL3TARGET
).def
179 SHL3DEPN
=$(SHL1TARGETN
)
180 DEF3NAME
= $(SHL3TARGET
)
202 SHL3LIBS
= $(SLB
)$/swui.lib
203 LIB3TARGET
= $(SLB
)$/swui.lib
206 $(SLO
)$/swuiexp.obj \
207 $(SLO
)$/SwRewriter.obj \
208 $(SLO
)$/swdlgfact.obj \
209 $(SLO
)$/addrdlg.obj \
210 $(SLO
)$/ascfldlg.obj \
212 $(SLO
)$/bookmark.obj \
213 $(SLO
)$/changedb.obj \
214 $(SLO
)$/chardlg.obj \
215 $(SLO
)$/convert.obj \
217 $(SLO
)$/dbinsdlg.obj \
218 $(SLO
)$/docfnote.obj \
219 $(SLO
)$/docstdlg.obj \
220 $(SLO
)$/envlop1.obj \
225 $(SLO
)$/labelexp.obj \
229 $(SLO
)$/pattern.obj \
231 $(SLO
)$/pgfnote.obj \
233 $(SLO
)$/selglos.obj \
234 $(SLO
)$/splittbl.obj \
236 $(SLO
)$/tautofmt.obj \
237 $(SLO
)$/tblnumfm.obj \
238 $(SLO
)$/uiborder.obj \
241 $(SLO
)$/tabledlg.obj \
242 $(SLO
)$/fldtdlg.obj \
244 $(SLO
)$/fldpage.obj \
246 $(SLO
)$/flddinf.obj \
248 $(SLO
)$/fldfunc.obj \
250 $(SLO
)$/FldRefTreeListBox.obj \
252 $(SLO
)$/swrenamexnameddlg.obj \
253 $(SLO
)$/swmodalredlineacceptdlg.obj \
254 $(SLO
)$/abstract.obj \
257 $(SLO
)$/frmpage.obj \
258 $(SLO
)$/glosbib.obj \
259 $(SLO
)$/glossary.obj \
261 $(SLO
)$/insfnote.obj \
262 $(SLO
)$/instable.obj \
263 $(SLO
)$/insrule.obj \
264 $(SLO
)$/javaedit.obj \
265 $(SLO
)$/linenum.obj \
266 $(SLO
)$/mailmrge.obj \
267 $(SLO
)$/multmrk.obj \
268 $(SLO
)$/mergetbl.obj \
269 $(SLO
)$/outline.obj \
274 $(SLO
)$/uiregionsw.obj \
275 $(SLO
)$/optload.obj \
276 $(SLO
)$/optcomp.obj \
277 $(SLO
)$/optpage.obj \
278 $(SLO
)$/swuiccoll.obj \
279 $(SLO
)$/numpara.obj \
280 $(SLO
)$/swdialmgr.obj \
281 $(SLO
)$/swuiidxmrk.obj \
282 $(SLO
)$/DropDownFieldDialog.obj \
283 $(SLO
)$/macassgn.obj \
284 $(SLO
)$/wordcountdialog.obj \
285 $(SLO
)$/mailconfigpage.obj \
286 $(SLO
)$/addresslistdialog.obj \
287 $(SLO
)$/createaddresslistdialog.obj \
288 $(SLO
)$/customizeaddresslistdialog.obj \
289 $(SLO
)$/dbtablepreviewdialog.obj \
290 $(SLO
)$/mailmergewizard.obj \
291 $(SLO
)$/mmdocselectpage.obj \
292 $(SLO
)$/mmlayoutpage.obj \
293 $(SLO
)$/mmoutputpage.obj \
294 $(SLO
)$/mmoutputtypepage.obj \
295 $(SLO
)$/mmaddressblockpage.obj \
296 $(SLO
)$/mmgreetingspage.obj \
297 $(SLO
)$/mmmergepage.obj \
298 $(SLO
)$/mmpreparemergepage.obj \
299 $(SLO
)$/selectdbtabledialog.obj
301 .IF
"$(GUI)$(COM)" == "WNTMSC"
302 .IF
"$(ENABLE_PCH)" != "" && ( "$(PRJNAME)"!="sw" ||
"$(BUILD_SPECIAL)"!="TRUE" )
304 SHL1OBJS
+= $(SLO
)$/pchname.obj \
305 $(SLO
)$/pchname_ex.obj
307 SHL2OBJS
+= $(SLO
)$/pchname.obj \
308 $(SLO
)$/pchname_ex.obj
310 SHL3OBJS
+= $(SLO
)$/pchname.obj \
311 $(SLO
)$/pchname_ex.obj
312 .ENDIF
# "$(ENABLE_PCH)" != ""
313 .ENDIF
# "$(GUI)$(COM)" == "WNTMSC"
315 SHL4TARGET
=msword
$(DLLPOSTFIX
)
316 SHL4VERSIONMAP
=msword.map
317 SHL4LIBS
=$(SLB
)$/rtf.lib
$(SLB
)$/ww8.lib
318 SHL4DEPN
=$(SHL1TARGETN
)
319 SHL4DEF
=$(MISC
)$/$(SHL4TARGET
).def
320 DEF4NAME
=$(SHL4TARGET
)
348 SHL5TARGET
=$(TARGET_VBA
)$(DLLPOSTFIX
).uno
349 SHL5IMPLIB
= i
$(TARGET_VBA
)
351 SHL5VERSIONMAP
=$(TARGET_VBA
).map
352 SHL5DEF
=$(MISC
)$/$(SHL5TARGET
).def
353 DEF5NAME
=$(SHL5TARGET
)
376 SHL5DEPN
=$(SHL1TARGETN
)
377 SHL5LIBS
=$(SLB
)$/$(TARGET_VBA
).lib