update dev300-m58
[ooovba.git] / svx / util / makefile.mk
blob20001a123f3850f05b3b08ceacc09c75145a67cd
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.61 $
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 #*************************************************************************
32 PRJ=..
34 PRJNAME=svx
35 TARGET=svx
36 GEN_HID=TRUE
37 GEN_HID_OTHER=TRUE
39 USE_DEFFILE=TRUE
41 # --- Settings -----------------------------------------------------
43 .INCLUDE : settings.mk
45 .IF "$(OS)"=="IRIX"
46 LINKFLAGS+=-Wl,-LD_LAYOUT:lgot_buffer=30
47 .ENDIF
49 RSCLOCINC+=-I$(PRJ)$/source$/svdraw
51 # --- Svx - DLL ----------
53 LIB1TARGET= $(SLB)$/$(TARGET).lib
54 LIB1FILES=\
55 $(SLB)$/svdraw.lib \
56 $(SLB)$/form.lib
58 .IF "(GUIBASE)" == "WIN"
59 LIB1FILES+=$(SLB)$/ibrwimp.lib
60 .ENDIF # (WIN)
62 LIB2TARGET= $(SLB)$/$(TARGET)_2.lib
63 LIB2FILES=\
64 $(SLB)$/items.lib \
65 $(SLB)$/dialogs.lib \
66 $(SLB)$/mnuctrls.lib \
67 $(SLB)$/options.lib \
68 $(SLB)$/stbctrls.lib \
69 $(SLB)$/tbxctrls.lib \
70 $(SLB)$/unoedit.lib \
71 $(SLB)$/smarttags.lib
73 LIB3TARGET= $(SLB)$/$(TARGET)_3.lib
74 LIB3FILES=\
75 $(SLB)$/unodraw.lib \
76 $(SLB)$/unogallery.lib\
77 $(SLB)$/accessibility.lib \
78 $(SLB)$/customshapes.lib
80 LIB4TARGET= $(SLB)$/$(TARGET)_4.lib
81 LIB4FILES=\
82 $(SLB)$/fmcomp.lib \
83 $(SLB)$/engine3d.lib \
84 $(SLB)$/table.lib
86 # Objects needed for the svxcore library.
87 LIB5TARGET= $(SLB)$/$(TARGET)_5.lib
88 LIB5FILES=\
89 $(SLB)$/accessibility-core.lib \
90 $(SLB)$/animation.lib \
91 $(SLB)$/attribute.lib \
92 $(SLB)$/contact.lib \
93 $(SLB)$/customshapes-core.lib \
94 $(SLB)$/dialogs-core.lib \
95 $(SLB)$/editeng.lib \
96 $(SLB)$/engine3d-core.lib \
97 $(SLB)$/event.lib \
98 $(SLB)$/fmcomp-core.lib \
99 $(SLB)$/form-core.lib \
100 $(SLB)$/gal.lib \
101 $(SLB)$/items-core.lib \
102 $(SLB)$/msfilter-core.lib \
103 $(SLB)$/options-core.lib
105 LIB6TARGET= $(SLB)$/$(TARGET)_6.lib
106 LIB6FILES=\
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 \
120 $(SLB)$/xml.lib \
121 $(SLB)$/xout.lib
123 # Objects needed for the svxmsfilter library.
124 LIB7TARGET= $(SLB)$/$(TARGET)_7.lib
125 LIB7FILES=\
126 $(SLB)$/msfilter-msfilter.lib \
127 $(SLB)$/svdraw-msfilter.lib \
128 $(SLB)$/svxrtf.lib
130 HELPIDFILES= ..$/inc$/helpid.hrc
132 # svxcore
133 SHL1TARGET= svxcore$(DLLPOSTFIX)
134 SHL1IMPLIB= isvxcore
135 SHL1USE_EXPORTS=name
136 SHL1LIBS= $(LIB5TARGET) $(LIB6TARGET)
138 SHL1STDLIBS= \
139 $(AVMEDIALIB) \
140 $(SFX2LIB) \
141 $(XMLOFFLIB) \
142 $(GOODIESLIB) \
143 $(BASEGFXLIB) \
144 $(DRAWINGLAYERLIB) \
145 $(LNGLIB) \
146 $(BASICLIB) \
147 $(SVTOOLLIB) \
148 $(TKLIB) \
149 $(VCLLIB) \
150 $(SVLLIB) \
151 $(SOTLIB) \
152 $(UNOTOOLSLIB) \
153 $(TOOLSLIB) \
154 $(I18NISOLANGLIB) \
155 $(I18NPAPERLIB) \
156 $(COMPHELPERLIB) \
157 $(UCBHELPERLIB) \
158 $(CPPUHELPERLIB) \
159 $(CPPULIB) \
160 $(VOSLIB) \
161 $(SALLIB) \
162 $(ICUUCLIB)
164 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
165 DEF1NAME= $(SHL1TARGET)
166 DEFLIB1NAME=$(TARGET)_5
168 # svx
169 SHL2TARGET= svx$(DLLPOSTFIX)
170 SHL2IMPLIB= i$(TARGET)
171 SHL2USE_EXPORTS=name
172 SHL2DEPN=$(SHL1TARGETN)
174 SHL2LIBS= $(LIB1TARGET) $(LIB2TARGET) $(LIB3TARGET) $(LIB4TARGET)
175 SHL2STDLIBS= \
176 $(SVXCORELIB) \
177 $(SFX2LIB) \
178 $(XMLOFFLIB) \
179 $(GOODIESLIB) \
180 $(BASEGFXLIB) \
181 $(DRAWINGLAYERLIB) \
182 $(BASICLIB) \
183 $(SVTOOLLIB) \
184 $(TKLIB) \
185 $(VCLLIB) \
186 $(SVLLIB) \
187 $(SOTLIB) \
188 $(UNOTOOLSLIB) \
189 $(TOOLSLIB) \
190 $(I18NISOLANGLIB) \
191 $(XMLSCRIPTLIB) \
192 $(COMPHELPERLIB) \
193 $(UCBHELPERLIB) \
194 $(CPPUHELPERLIB) \
195 $(CPPULIB) \
196 $(VOSLIB) \
197 $(SALLIB) \
198 $(ICUUCLIB)
200 .IF "$(GUI)"=="WNT"
201 SHL2STDLIBS+=$(SHELLLIB)
202 .ENDIF # WNT
204 SHL2DEF= $(MISC)$/$(SHL2TARGET).def
205 DEF2NAME= $(SHL2TARGET)
206 DEFLIB2NAME=$(TARGET) $(TARGET)_2 $(TARGET)_3 $(TARGET)_4
208 # cui
209 SHL3TARGET= cui$(DLLPOSTFIX)
210 SHL3VERSIONMAP= cui.map
211 SHL3IMPLIB=icui
212 SHL3DEPN=$(SHL2TARGETN)
214 SHL3DEF= $(MISC)$/$(SHL3TARGET).def
215 DEF3NAME= $(SHL3TARGET)
217 SHL3LIBS= $(SLB)$/cui.lib
219 SHL3STDLIBS= \
220 $(SVXCORELIB) \
221 $(SVXLIB) \
222 $(AVMEDIALIB) \
223 $(SFX2LIB) \
224 $(GOODIESLIB) \
225 $(BASEGFXLIB) \
226 $(BASICLIB) \
227 $(LNGLIB) \
228 $(SVTOOLLIB) \
229 $(TKLIB) \
230 $(VCLLIB) \
231 $(SVLLIB) \
232 $(UNOTOOLSLIB) \
233 $(TOOLSLIB) \
234 $(I18NISOLANGLIB) \
235 $(COMPHELPERLIB) \
236 $(UCBHELPERLIB) \
237 $(CPPULIB) \
238 $(VOSLIB) \
239 $(SALLIB) \
240 $(JVMFWKLIB) \
241 $(ICUUCLIB)
243 .IF "$(debug)$(dbgutil)"!=""
244 SHL2STDLIBS += $(CPPUHELPERLIB)
245 .ENDIF # "$(debug)$(dbgutil)"!=""
247 .IF "$(GUI)"=="WNT"
248 SHL3STDLIBS+= \
249 $(SHLWAPILIB) \
250 $(CPPUHELPERLIB) \
251 $(ADVAPI32LIB)
252 .ENDIF # WNT
254 # svxmsfilter library
255 SHL4TARGET= svxmsfilter$(DLLPOSTFIX)
256 SHL4IMPLIB= isvxmsfilter
257 SHL4USE_EXPORTS=name
258 SHL4DEPN=$(SHL1TARGETN)
259 SHL4LIBS= $(LIB7TARGET)
261 SHL4STDLIBS= \
262 $(SVXCORELIB) \
263 $(SFX2LIB) \
264 $(XMLOFFLIB) \
265 $(GOODIESLIB) \
266 $(BASEGFXLIB) \
267 $(BASICLIB) \
268 $(SVTOOLLIB) \
269 $(TKLIB) \
270 $(VCLLIB) \
271 $(SVLLIB) \
272 $(SOTLIB) \
273 $(UNOTOOLSLIB) \
274 $(TOOLSLIB) \
275 $(XMLSCRIPTLIB) \
276 $(COMPHELPERLIB) \
277 $(CPPUHELPERLIB) \
278 $(CPPULIB) \
279 $(SALLIB)
281 SHL4DEF= $(MISC)$/$(SHL4TARGET).def
282 DEF4NAME= $(SHL4TARGET)
283 DEFLIB4NAME=$(TARGET)_6
285 # ------------------------------------------------------------------------------
287 # Resource files
288 SRSFILELIST=\
289 $(SRS)$/svdstr.srs \
290 $(SRS)$/editeng.srs \
291 $(SRS)$/outliner.srs \
292 $(SRS)$/dialogs.srs \
293 $(SRS)$/cui.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 \
301 $(SRS)$/form.srs \
302 $(SRS)$/fmcomp.srs \
303 $(SRS)$/engine3d.srs \
304 $(SRS)$/unodraw.srs \
305 $(SRS)$/svxlink.srs \
306 $(SRS)$/accessibility.srs \
307 $(SRS)$/table.srs \
308 $(SRS)$/toolbars.srs \
309 $(SOLARCOMMONRESDIR)$/sfx.srs
311 RESLIB1NAME=svx
312 RESLIB1IMAGES=$(PRJ)$/res $(PRJ)$/source/svdraw
313 RESLIB1SRSFILES= $(SRSFILELIST)
315 # --- Targets -------------------------------------------------------
317 .INCLUDE : target.mk