Update ooo320-m1
[ooovba.git] / scp2 / util / makefile.mk
blobc4d5801c802f9135799e70591e5493f2eb1c9b0e
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.58 $
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=scp2
34 TARGET=setup
36 # --- Settings -----------------------------------------------------------
38 .INCLUDE : settings.mk
40 # --- setup script -------------------------------------------------------
41 # SCPFLAGS= -w
43 # ------------------------------------------------------------------------
44 # Office OSL
46 SCP1LINK_PRODUCT_TYPE=osl
47 SCP1TARGET = setup_osl
48 SCP1FILES = installation_ooo.par \
49 scpaction_ooo.par \
50 directory_ooo.par \
51 datacarrier_ooo.par \
52 file_ooo.par \
53 file_extra_ooo.par \
54 file_font_ooo.par \
55 file_library_ooo.par \
56 file_resource_ooo.par \
57 shortcut_ooo.par \
58 module_ooo.par \
59 module_hidden_ooo.par \
60 module_langpack.par \
61 module_lang_template.par \
62 profile_ooo.par \
63 profileitem_ooo.par \
64 module_writer.par \
65 file_writer.par \
66 module_calc.par \
67 file_calc.par \
68 module_draw.par \
69 file_draw.par \
70 module_impress.par \
71 file_impress.par \
72 module_base.par \
73 file_base.par \
74 canvascommons.par \
75 module_math.par \
76 file_math.par \
77 module_systemint.par \
78 module_graphicfilter.par \
79 file_graphicfilter.par \
80 module_testtool.par \
81 file_testtool.par \
82 module_xsltfilter.par \
83 file_xsltfilter.par \
84 module_python.par \
85 module_python_mailmerge.par \
86 file_python.par \
87 profileitem_python.par \
88 ure_into_ooo.par \
89 ure.par \
90 module_improvement.par \
91 file_improvement.par \
92 common_brand.par \
93 common_brand_readme.par \
94 ooo_brand.par
96 .IF "$(OS)"=="MACOSX"
97 SCP1FILES += \
98 directory_ooo_macosx.par
99 .ENDIF
101 .IF "$(WITH_BINFILTER)" != "NO"
102 SCP1FILES += \
103 module_binfilter.par \
104 registryitem_binfilter.par \
105 file_binfilter.par
106 .ENDIF
108 .IF "$(ENABLE_OPENGL)" == "TRUE"
109 SCP1FILES += \
110 module_ogltrans.par
111 .ENDIF
113 .IF "$(SOLAR_JAVA)"!=""
114 SCP1FILES += \
115 module_javafilter.par \
116 file_javafilter.par
117 .ENDIF
119 .IF "$(SOLAR_JAVA)"!=""
120 .IF "$(GUI)"=="WNT"
121 SCP1FILES += \
122 registryitem_javafilter.par
123 .ENDIF
124 .ENDIF
126 .IF "$(GUI)"=="WNT"
127 SCP1FILES += \
128 registryitem_ooo.par \
129 folder_ooo.par \
130 folderitem_ooo.par \
131 windowscustomaction_ooo.par \
132 mergemodules_ooo.par \
133 vc_redist.par \
134 registryitem_writer.par \
135 folderitem_writer.par \
136 registryitem_calc.par \
137 folderitem_calc.par \
138 registryitem_draw.par \
139 folderitem_draw.par \
140 registryitem_impress.par \
141 folderitem_impress.par \
142 registryitem_base.par \
143 folderitem_base.par \
144 registryitem_math.par \
145 folderitem_math.par \
146 module_quickstart.par \
147 file_quickstart.par \
148 registryitem_quickstart.par \
149 module_winexplorerext.par \
150 file_winexplorerext.par \
151 registryitem_winexplorerext.par
153 .IF "$(ENABLE_DIRECTX)"!=""
154 SCP1FILES += directxcanvas.par
155 .ENDIF
157 .IF "$(DISABLE_ACTIVEX)"==""
158 SCP1FILES += \
159 module_activex.par \
160 file_activex.par
161 .ENDIF
162 .ENDIF
164 .IF "$(GUI)"=="UNX"
165 .IF "$(ENABLE_GCONF)"!="" || "$(ENABLE_GNOMEVFS)"!="" || "$(ENABLE_GIO)"!=""
166 SCP1FILES += \
167 module_gnome.par \
168 file_gnome.par
169 .ENDIF
171 .IF "$(ENABLE_KDE)" == "TRUE"
172 SCP1FILES += \
173 module_kde.par \
174 file_kde.par
175 .ENDIF
176 .ENDIF
178 .IF "$(ENABLE_CRASHDUMP)" != ""
179 SCP1FILES += \
180 file_crashrep_dynamic.par
181 .ENDIF
183 SCP1FILES += \
184 vclcanvas.par \
185 mtfrenderer.par
187 .IF "$(ENABLE_CAIRO)" == "TRUE"
188 SCP1FILES += cairocanvas.par
189 .ENDIF
191 .IF "$(ENABLE_LAYOUT)" == "TRUE"
192 SCP1FILES += layout.par
193 .ENDIF # ENABLE_LAYOUT == TRUE
195 .IF "$(BUILD_SPECIAL)"!=""
196 SCP1FILES += \
197 module_onlineupdate.par \
198 file_onlineupdate.par
199 .ENDIF
201 # ------------------------------------------------------------------------
202 # OpenOffice.org with JRE
204 SCP2LINK_PRODUCT_TYPE=osl
205 SCP2TARGET = setup_osljre
206 SCP2FILES = installation_ooo.par \
207 scpaction_ooo.par \
208 directory_ooo.par \
209 datacarrier_ooo.par \
210 file_ooo.par \
211 file_extra_ooo.par \
212 file_font_ooo.par \
213 file_library_ooo.par \
214 file_resource_ooo.par \
215 shortcut_ooo.par \
216 module_ooo.par \
217 module_hidden_ooo.par \
218 module_langpack.par \
219 module_lang_template.par \
220 module_java.par \
221 profile_ooo.par \
222 profileitem_ooo.par \
223 module_writer.par \
224 file_writer.par \
225 module_calc.par \
226 file_calc.par \
227 module_draw.par \
228 file_draw.par \
229 module_impress.par \
230 file_impress.par \
231 module_base.par \
232 file_base.par \
233 canvascommons.par \
234 module_math.par \
235 file_math.par \
236 module_systemint.par \
237 module_graphicfilter.par \
238 file_graphicfilter.par \
239 module_testtool.par \
240 file_testtool.par \
241 module_xsltfilter.par \
242 file_xsltfilter.par \
243 module_python.par \
244 module_python_mailmerge.par \
245 file_python.par \
246 profileitem_python.par \
247 ure_into_ooo.par \
248 ure.par \
249 module_improvement.par \
250 file_improvement.par \
251 common_brand.par \
252 common_brand_readme.par \
253 ooo_brand.par
255 .IF "$(OS)"=="MACOSX"
256 SCP2FILES += \
257 directory_ooo_macosx.par
258 .ENDIF
260 .IF "$(WITH_BINFILTER)" != "NO"
261 SCP2FILES += \
262 module_binfilter.par \
263 registryitem_binfilter.par \
264 file_binfilter.par
265 .ENDIF
267 .IF "$(SOLAR_JAVA)"!=""
268 SCP2FILES += \
269 module_javafilter.par \
270 file_javafilter.par
271 .ENDIF
273 .IF "$(SOLAR_JAVA)"!=""
274 .IF "$(GUI)"=="WNT"
275 SCP2FILES += \
276 registryitem_javafilter.par
277 .ENDIF
278 .ENDIF
280 .IF "$(GUI)"=="WNT"
281 SCP2FILES += \
282 file_jre_ooo.par \
283 registryitem_ooo.par \
284 folder_ooo.par \
285 folderitem_ooo.par \
286 windowscustomaction_ooo.par \
287 mergemodules_ooo.par \
288 vc_redist.par \
289 registryitem_writer.par \
290 folderitem_writer.par \
291 registryitem_calc.par \
292 folderitem_calc.par \
293 registryitem_draw.par \
294 folderitem_draw.par \
295 registryitem_impress.par \
296 folderitem_impress.par \
297 registryitem_base.par \
298 folderitem_base.par \
299 registryitem_math.par \
300 folderitem_math.par \
301 module_quickstart.par \
302 file_quickstart.par \
303 registryitem_quickstart.par \
304 module_winexplorerext.par \
305 file_winexplorerext.par \
306 registryitem_winexplorerext.par
308 .IF "$(ENABLE_DIRECTX)"!=""
309 SCP2FILES += directxcanvas.par
310 .ENDIF
312 .IF "$(DISABLE_ACTIVEX)"==""
313 SCP2FILES += \
314 module_activex.par \
315 file_activex.par
316 .ENDIF
317 .ENDIF
319 .IF "$(GUI)"=="UNX"
320 .IF "$(ENABLE_GCONF)"!="" || "$(ENABLE_GNOMEVFS)"!="" || "$(ENABLE_GIO)"!=""
321 SCP2FILES += \
322 module_gnome.par \
323 file_gnome.par
324 .ENDIF
326 .IF "$(ENABLE_KDE)" == "TRUE"
327 SCP2FILES += \
328 module_kde.par \
329 file_kde.par
330 .ENDIF
331 .ENDIF
333 .IF "$(ENABLE_CRASHDUMP)" != ""
334 SCP2FILES += \
335 file_crashrep_dynamic.par
336 .ENDIF
338 SCP2FILES += \
339 vclcanvas.par
341 .IF "$(ENABLE_LAYOUT)" == "TRUE"
342 SCP2FILES += layout.par
343 .ENDIF # ENABLE_LAYOUT == TRUE
345 .IF "$(BUILD_SPECIAL)"!=""
346 SCP2FILES += \
347 module_onlineupdate.par \
348 file_onlineupdate.par
349 .ENDIF
351 # ------------------------------------------------------------------------
352 # URE
354 .IF "$(OS)" != "MACOSX"
355 SCP3LINK_PRODUCT_TYPE = osl
356 SCP3TARGET = ure
357 SCP3FILES = ure_standalone.par \
358 ure.par
359 .ENDIF
361 # ------------------------------------------------------------------------
362 # SDK
364 SCP4LINK_PRODUCT_TYPE = osl
365 SCP4TARGET = sdkoo
366 SCP4FILES = sdkoo.par
368 # --- target -------------------------------------------------------------
369 .INCLUDE : target.mk