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 #*************************************************************************
41 # --- Settings -----------------------------------------------------
43 .INCLUDE
: settings.mk
46 LINKFLAGS
+=-Wl
,-LD_LAYOUT
:lgot_buffer
=30
49 RSCLOCINC
+=-I
$(PRJ
)$/source
$/svdraw
51 # --- Svx - DLL ----------
53 LIB1TARGET
= $(SLB
)$/$(TARGET
).lib
58 .IF
"(GUIBASE)" == "WIN"
59 LIB1FILES
+=$(SLB
)$/ibrwimp.lib
62 LIB2TARGET
= $(SLB
)$/$(TARGET
)_2.lib
66 $(SLB
)$/mnuctrls.lib \
68 $(SLB
)$/stbctrls.lib \
69 $(SLB
)$/tbxctrls.lib \
73 LIB3TARGET
= $(SLB
)$/$(TARGET
)_3.lib
76 $(SLB
)$/unogallery.lib\
77 $(SLB
)$/accessibility.lib \
78 $(SLB
)$/customshapes.lib
80 LIB4TARGET
= $(SLB
)$/$(TARGET
)_4.lib
83 $(SLB
)$/engine3d.lib \
86 # Objects needed for the svxcore library.
87 LIB5TARGET
= $(SLB
)$/$(TARGET
)_5.lib
89 $(SLB
)$/accessibility-core.lib \
90 $(SLB
)$/animation.lib \
91 $(SLB
)$/attribute.lib \
93 $(SLB
)$/customshapes-core.lib \
94 $(SLB
)$/dialogs-core.lib \
96 $(SLB
)$/engine3d-core.lib \
98 $(SLB
)$/fmcomp-core.lib \
99 $(SLB
)$/form-core.lib \
101 $(SLB
)$/items-core.lib \
102 $(SLB
)$/msfilter-core.lib \
103 $(SLB
)$/options-core.lib
105 LIB6TARGET
= $(SLB
)$/$(TARGET
)_6.lib
107 $(SLB
)$/outliner.lib \
108 $(SLB
)$/overlay.lib \
109 $(SLB
)$/primitive2d.lib \
110 $(SLB
)$/primitive3d.lib \
111 $(SLB
)$/properties.lib \
112 $(SLB
)$/svdraw-core.lib \
113 $(SLB
)$/svxlink.lib \
114 $(SLB
)$/svxrtf-core.lib \
115 $(SLB
)$/table-core.lib \
116 $(SLB
)$/tbxctrls-core.lib \
117 $(SLB
)$/toolbars.lib \
118 $(SLB
)$/unodraw-core.lib \
119 $(SLB
)$/unoedit-core.lib \
123 # Objects needed for the svxmsfilter library.
124 LIB7TARGET
= $(SLB
)$/$(TARGET
)_7.lib
126 $(SLB
)$/msfilter-msfilter.lib \
127 $(SLB
)$/svdraw-msfilter.lib \
130 HELPIDFILES
= ..
$/inc
$/helpid.hrc
133 SHL1TARGET
= svxcore
$(DLLPOSTFIX
)
136 SHL1LIBS
= $(LIB5TARGET
) $(LIB6TARGET
)
164 SHL1DEF
= $(MISC
)$/$(SHL1TARGET
).def
165 DEF1NAME
= $(SHL1TARGET
)
166 DEFLIB1NAME
=$(TARGET
)_5
169 SHL2TARGET
= svx
$(DLLPOSTFIX
)
170 SHL2IMPLIB
= i
$(TARGET
)
172 SHL2DEPN
=$(SHL1TARGETN
)
174 SHL2LIBS
= $(LIB1TARGET
) $(LIB2TARGET
) $(LIB3TARGET
) $(LIB4TARGET
)
201 SHL2STDLIBS
+=$(SHELLLIB
)
204 SHL2DEF
= $(MISC
)$/$(SHL2TARGET
).def
205 DEF2NAME
= $(SHL2TARGET
)
206 DEFLIB2NAME
=$(TARGET
) $(TARGET
)_2
$(TARGET
)_3
$(TARGET
)_4
209 SHL3TARGET
= cui
$(DLLPOSTFIX
)
210 SHL3VERSIONMAP
= cui.map
212 SHL3DEPN
=$(SHL2TARGETN
)
214 SHL3DEF
= $(MISC
)$/$(SHL3TARGET
).def
215 DEF3NAME
= $(SHL3TARGET
)
217 SHL3LIBS
= $(SLB
)$/cui.lib
243 .IF
"$(debug)$(dbgutil)"!=""
244 SHL2STDLIBS
+= $(CPPUHELPERLIB
)
245 .ENDIF
# "$(debug)$(dbgutil)"!=""
254 # svxmsfilter library
255 SHL4TARGET
= svxmsfilter
$(DLLPOSTFIX
)
256 SHL4IMPLIB
= isvxmsfilter
258 SHL4DEPN
=$(SHL1TARGETN
)
259 SHL4LIBS
= $(LIB7TARGET
)
281 SHL4DEF
= $(MISC
)$/$(SHL4TARGET
).def
282 DEF4NAME
= $(SHL4TARGET
)
283 DEFLIB4NAME
=$(TARGET
)_6
285 # ------------------------------------------------------------------------------
290 $(SRS
)$/editeng.srs \
291 $(SRS
)$/outliner.srs \
292 $(SRS
)$/dialogs.srs \
294 $(SRS
)$/drawdlgs.srs \
295 $(SRS
)$/cuidrawdlgs.srs \
296 $(SRS
)$/mnuctrls.srs \
297 $(SRS
)$/stbctrls.srs \
298 $(SRS
)$/tbxctrls.srs \
299 $(SRS
)$/options.srs \
300 $(SRS
)$/svxitems.srs \
303 $(SRS
)$/engine3d.srs \
304 $(SRS
)$/unodraw.srs \
305 $(SRS
)$/svxlink.srs \
306 $(SRS
)$/accessibility.srs \
308 $(SRS
)$/toolbars.srs \
309 $(SOLARCOMMONRESDIR
)$/sfx.srs
312 RESLIB1IMAGES
=$(PRJ
)$/res
$(PRJ
)$/source
/svdraw
313 RESLIB1SRSFILES
= $(SRSFILELIST
)
315 # --- Targets -------------------------------------------------------