xref: /aoo42x/main/scp2/util/makefile.mk (revision cdf0e10c)
1*cdf0e10cSrcweir#*************************************************************************
2*cdf0e10cSrcweir#
3*cdf0e10cSrcweir# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir#
5*cdf0e10cSrcweir# Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir#
7*cdf0e10cSrcweir# OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir#
9*cdf0e10cSrcweir# This file is part of OpenOffice.org.
10*cdf0e10cSrcweir#
11*cdf0e10cSrcweir# OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir# it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir# only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir#
15*cdf0e10cSrcweir# OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir# but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir# GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir# (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir#
21*cdf0e10cSrcweir# You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir# version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir# <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir# for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir#
26*cdf0e10cSrcweir#*************************************************************************
27*cdf0e10cSrcweirPRJ=..
28*cdf0e10cSrcweir
29*cdf0e10cSrcweirPRJNAME=scp2
30*cdf0e10cSrcweirTARGET=setup
31*cdf0e10cSrcweir
32*cdf0e10cSrcweir# --- Settings -----------------------------------------------------------
33*cdf0e10cSrcweir
34*cdf0e10cSrcweir.INCLUDE :  settings.mk
35*cdf0e10cSrcweir
36*cdf0e10cSrcweir# --- setup script -------------------------------------------------------
37*cdf0e10cSrcweir# SCPFLAGS= -w
38*cdf0e10cSrcweir
39*cdf0e10cSrcweir# ------------------------------------------------------------------------
40*cdf0e10cSrcweir# Office OSL
41*cdf0e10cSrcweir
42*cdf0e10cSrcweirSCP1LINK_PRODUCT_TYPE=osl
43*cdf0e10cSrcweirSCP1TARGET = setup_osl
44*cdf0e10cSrcweirSCP1FILES  = installation_ooo.par          \
45*cdf0e10cSrcweir             scpaction_ooo.par             \
46*cdf0e10cSrcweir             directory_ooo.par             \
47*cdf0e10cSrcweir             datacarrier_ooo.par           \
48*cdf0e10cSrcweir             file_ooo.par                  \
49*cdf0e10cSrcweir             file_extra_ooo.par            \
50*cdf0e10cSrcweir             file_font_ooo.par             \
51*cdf0e10cSrcweir             file_library_ooo.par          \
52*cdf0e10cSrcweir             file_resource_ooo.par         \
53*cdf0e10cSrcweir             shortcut_ooo.par              \
54*cdf0e10cSrcweir             module_ooo.par                \
55*cdf0e10cSrcweir             module_hidden_ooo.par         \
56*cdf0e10cSrcweir             module_langpack.par           \
57*cdf0e10cSrcweir             module_lang_template.par      \
58*cdf0e10cSrcweir             profile_ooo.par               \
59*cdf0e10cSrcweir             profileitem_ooo.par           \
60*cdf0e10cSrcweir             module_writer.par             \
61*cdf0e10cSrcweir             file_writer.par               \
62*cdf0e10cSrcweir             module_calc.par               \
63*cdf0e10cSrcweir             file_calc.par                 \
64*cdf0e10cSrcweir             module_draw.par               \
65*cdf0e10cSrcweir             file_draw.par                 \
66*cdf0e10cSrcweir             module_impress.par            \
67*cdf0e10cSrcweir             file_impress.par              \
68*cdf0e10cSrcweir             module_base.par               \
69*cdf0e10cSrcweir             file_base.par                 \
70*cdf0e10cSrcweir             canvascommons.par             \
71*cdf0e10cSrcweir             module_math.par               \
72*cdf0e10cSrcweir             file_math.par                 \
73*cdf0e10cSrcweir             module_systemint.par          \
74*cdf0e10cSrcweir             module_graphicfilter.par      \
75*cdf0e10cSrcweir             file_graphicfilter.par        \
76*cdf0e10cSrcweir             module_testtool.par           \
77*cdf0e10cSrcweir             file_testtool.par             \
78*cdf0e10cSrcweir             module_xsltfilter.par         \
79*cdf0e10cSrcweir             file_xsltfilter.par           \
80*cdf0e10cSrcweir             module_python.par             \
81*cdf0e10cSrcweir             module_python_mailmerge.par   \
82*cdf0e10cSrcweir             file_python.par               \
83*cdf0e10cSrcweir             profileitem_python.par        \
84*cdf0e10cSrcweir             ure_into_ooo.par              \
85*cdf0e10cSrcweir             ure.par                       \
86*cdf0e10cSrcweir             module_improvement.par        \
87*cdf0e10cSrcweir             file_improvement.par          \
88*cdf0e10cSrcweir             common_brand.par              \
89*cdf0e10cSrcweir             common_brand_readme.par       \
90*cdf0e10cSrcweir             ooo_brand.par
91*cdf0e10cSrcweir
92*cdf0e10cSrcweir.IF "$(OS)"=="MACOSX"
93*cdf0e10cSrcweirSCP1FILES +=                               \
94*cdf0e10cSrcweir             directory_ooo_macosx.par
95*cdf0e10cSrcweir.ENDIF
96*cdf0e10cSrcweir
97*cdf0e10cSrcweir.IF "$(WITH_BINFILTER)" != "NO"
98*cdf0e10cSrcweirSCP1FILES +=                               \
99*cdf0e10cSrcweir             module_binfilter.par          \
100*cdf0e10cSrcweir             registryitem_binfilter.par    \
101*cdf0e10cSrcweir             file_binfilter.par
102*cdf0e10cSrcweir.ENDIF
103*cdf0e10cSrcweir
104*cdf0e10cSrcweir.IF "$(ENABLE_OPENGL)" == "TRUE"
105*cdf0e10cSrcweirSCP1FILES +=                               \
106*cdf0e10cSrcweir             module_ogltrans.par
107*cdf0e10cSrcweir.ENDIF
108*cdf0e10cSrcweir
109*cdf0e10cSrcweir.IF "$(SOLAR_JAVA)"!=""
110*cdf0e10cSrcweirSCP1FILES +=                               \
111*cdf0e10cSrcweir             module_javafilter.par         \
112*cdf0e10cSrcweir             file_javafilter.par
113*cdf0e10cSrcweir.ENDIF
114*cdf0e10cSrcweir
115*cdf0e10cSrcweir.IF "$(SOLAR_JAVA)"!=""
116*cdf0e10cSrcweir.IF "$(GUI)"=="WNT"
117*cdf0e10cSrcweirSCP1FILES +=                               \
118*cdf0e10cSrcweir             registryitem_javafilter.par
119*cdf0e10cSrcweir.ENDIF
120*cdf0e10cSrcweir.ENDIF
121*cdf0e10cSrcweir
122*cdf0e10cSrcweir.IF "$(GUI)"=="WNT"
123*cdf0e10cSrcweirSCP1FILES +=                           \
124*cdf0e10cSrcweir             registryitem_ooo.par      \
125*cdf0e10cSrcweir             folder_ooo.par            \
126*cdf0e10cSrcweir             folderitem_ooo.par        \
127*cdf0e10cSrcweir             windowscustomaction_ooo.par \
128*cdf0e10cSrcweir             vc_redist.par             \
129*cdf0e10cSrcweir             registryitem_writer.par   \
130*cdf0e10cSrcweir             folderitem_writer.par     \
131*cdf0e10cSrcweir             registryitem_calc.par     \
132*cdf0e10cSrcweir             folderitem_calc.par       \
133*cdf0e10cSrcweir             registryitem_draw.par     \
134*cdf0e10cSrcweir             folderitem_draw.par       \
135*cdf0e10cSrcweir             registryitem_impress.par  \
136*cdf0e10cSrcweir             folderitem_impress.par    \
137*cdf0e10cSrcweir             registryitem_base.par     \
138*cdf0e10cSrcweir             folderitem_base.par       \
139*cdf0e10cSrcweir             registryitem_math.par     \
140*cdf0e10cSrcweir             folderitem_math.par       \
141*cdf0e10cSrcweir             module_quickstart.par     \
142*cdf0e10cSrcweir             file_quickstart.par       \
143*cdf0e10cSrcweir             registryitem_quickstart.par \
144*cdf0e10cSrcweir             module_winexplorerext.par \
145*cdf0e10cSrcweir             file_winexplorerext.par   \
146*cdf0e10cSrcweir             registryitem_winexplorerext.par
147*cdf0e10cSrcweir
148*cdf0e10cSrcweir.IF "$(ENABLE_DIRECTX)"!=""
149*cdf0e10cSrcweirSCP1FILES += directxcanvas.par
150*cdf0e10cSrcweir.ENDIF
151*cdf0e10cSrcweir
152*cdf0e10cSrcweir.IF "$(DISABLE_ACTIVEX)"==""
153*cdf0e10cSrcweirSCP1FILES +=                           \
154*cdf0e10cSrcweir             module_activex.par        \
155*cdf0e10cSrcweir             file_activex.par
156*cdf0e10cSrcweir.ENDIF
157*cdf0e10cSrcweir.ENDIF
158*cdf0e10cSrcweir
159*cdf0e10cSrcweir.IF "$(GUI)"=="UNX"
160*cdf0e10cSrcweir.IF "$(ENABLE_GCONF)"!="" || "$(ENABLE_GNOMEVFS)"!="" || "$(ENABLE_GIO)"!=""
161*cdf0e10cSrcweirSCP1FILES += \
162*cdf0e10cSrcweir             module_gnome.par   \
163*cdf0e10cSrcweir             file_gnome.par
164*cdf0e10cSrcweir.ENDIF
165*cdf0e10cSrcweir
166*cdf0e10cSrcweir.IF "$(ENABLE_KDE)" == "TRUE"
167*cdf0e10cSrcweirSCP1FILES += \
168*cdf0e10cSrcweir             module_kde.par     \
169*cdf0e10cSrcweir             file_kde.par
170*cdf0e10cSrcweir.ENDIF
171*cdf0e10cSrcweir.ENDIF
172*cdf0e10cSrcweir
173*cdf0e10cSrcweir.IF "$(ENABLE_CRASHDUMP)" != ""
174*cdf0e10cSrcweirSCP1FILES += \
175*cdf0e10cSrcweir             file_crashrep.par
176*cdf0e10cSrcweir.ENDIF
177*cdf0e10cSrcweir
178*cdf0e10cSrcweirSCP1FILES += \
179*cdf0e10cSrcweir             vclcanvas.par
180*cdf0e10cSrcweir
181*cdf0e10cSrcweir.IF "$(ENABLE_CAIRO)" == "TRUE"
182*cdf0e10cSrcweirSCP1FILES += cairocanvas.par
183*cdf0e10cSrcweir.ENDIF
184*cdf0e10cSrcweir
185*cdf0e10cSrcweir.IF "$(ENABLE_LAYOUT)" == "TRUE"
186*cdf0e10cSrcweirSCP1FILES += layout.par
187*cdf0e10cSrcweir.ENDIF # ENABLE_LAYOUT == TRUE
188*cdf0e10cSrcweir
189*cdf0e10cSrcweir.IF "$(BUILD_SPECIAL)"!=""
190*cdf0e10cSrcweirSCP1FILES += \
191*cdf0e10cSrcweir             module_onlineupdate.par   \
192*cdf0e10cSrcweir             file_onlineupdate.par
193*cdf0e10cSrcweir.ENDIF
194*cdf0e10cSrcweir
195*cdf0e10cSrcweir# ------------------------------------------------------------------------
196*cdf0e10cSrcweir# OpenOffice.org with JRE
197*cdf0e10cSrcweir
198*cdf0e10cSrcweirSCP2LINK_PRODUCT_TYPE=osl
199*cdf0e10cSrcweirSCP2TARGET = setup_osljre
200*cdf0e10cSrcweirSCP2FILES  = installation_ooo.par          \
201*cdf0e10cSrcweir             scpaction_ooo.par             \
202*cdf0e10cSrcweir             directory_ooo.par             \
203*cdf0e10cSrcweir             datacarrier_ooo.par           \
204*cdf0e10cSrcweir             file_ooo.par                  \
205*cdf0e10cSrcweir             file_extra_ooo.par            \
206*cdf0e10cSrcweir             file_font_ooo.par             \
207*cdf0e10cSrcweir             file_library_ooo.par          \
208*cdf0e10cSrcweir             file_resource_ooo.par         \
209*cdf0e10cSrcweir             shortcut_ooo.par              \
210*cdf0e10cSrcweir             module_ooo.par                \
211*cdf0e10cSrcweir             module_hidden_ooo.par         \
212*cdf0e10cSrcweir             module_langpack.par           \
213*cdf0e10cSrcweir             module_lang_template.par      \
214*cdf0e10cSrcweir             module_java.par               \
215*cdf0e10cSrcweir             profile_ooo.par               \
216*cdf0e10cSrcweir             profileitem_ooo.par           \
217*cdf0e10cSrcweir             module_writer.par             \
218*cdf0e10cSrcweir             file_writer.par               \
219*cdf0e10cSrcweir             module_calc.par               \
220*cdf0e10cSrcweir             file_calc.par                 \
221*cdf0e10cSrcweir             module_draw.par               \
222*cdf0e10cSrcweir             file_draw.par                 \
223*cdf0e10cSrcweir             module_impress.par            \
224*cdf0e10cSrcweir             file_impress.par              \
225*cdf0e10cSrcweir             module_base.par               \
226*cdf0e10cSrcweir             file_base.par                 \
227*cdf0e10cSrcweir             canvascommons.par             \
228*cdf0e10cSrcweir             module_math.par               \
229*cdf0e10cSrcweir             file_math.par                 \
230*cdf0e10cSrcweir             module_systemint.par          \
231*cdf0e10cSrcweir             module_graphicfilter.par      \
232*cdf0e10cSrcweir             file_graphicfilter.par        \
233*cdf0e10cSrcweir             module_testtool.par           \
234*cdf0e10cSrcweir             file_testtool.par             \
235*cdf0e10cSrcweir             module_xsltfilter.par         \
236*cdf0e10cSrcweir             file_xsltfilter.par           \
237*cdf0e10cSrcweir             module_python.par             \
238*cdf0e10cSrcweir             module_python_mailmerge.par   \
239*cdf0e10cSrcweir             file_python.par               \
240*cdf0e10cSrcweir             profileitem_python.par        \
241*cdf0e10cSrcweir             ure_into_ooo.par              \
242*cdf0e10cSrcweir             ure.par                       \
243*cdf0e10cSrcweir             module_improvement.par        \
244*cdf0e10cSrcweir             file_improvement.par          \
245*cdf0e10cSrcweir             common_brand.par              \
246*cdf0e10cSrcweir             common_brand_readme.par       \
247*cdf0e10cSrcweir             ooo_brand.par
248*cdf0e10cSrcweir
249*cdf0e10cSrcweir.IF "$(OS)"=="MACOSX"
250*cdf0e10cSrcweirSCP2FILES +=                               \
251*cdf0e10cSrcweir             directory_ooo_macosx.par
252*cdf0e10cSrcweir.ENDIF
253*cdf0e10cSrcweir
254*cdf0e10cSrcweir.IF "$(WITH_BINFILTER)" != "NO"
255*cdf0e10cSrcweirSCP2FILES +=                               \
256*cdf0e10cSrcweir             module_binfilter.par          \
257*cdf0e10cSrcweir             registryitem_binfilter.par    \
258*cdf0e10cSrcweir             file_binfilter.par
259*cdf0e10cSrcweir.ENDIF
260*cdf0e10cSrcweir
261*cdf0e10cSrcweir.IF "$(SOLAR_JAVA)"!=""
262*cdf0e10cSrcweirSCP2FILES +=                               \
263*cdf0e10cSrcweir             module_javafilter.par         \
264*cdf0e10cSrcweir             file_javafilter.par
265*cdf0e10cSrcweir.ENDIF
266*cdf0e10cSrcweir
267*cdf0e10cSrcweir.IF "$(SOLAR_JAVA)"!=""
268*cdf0e10cSrcweir.IF "$(GUI)"=="WNT"
269*cdf0e10cSrcweirSCP2FILES +=                               \
270*cdf0e10cSrcweir             registryitem_javafilter.par
271*cdf0e10cSrcweir.ENDIF
272*cdf0e10cSrcweir.ENDIF
273*cdf0e10cSrcweir
274*cdf0e10cSrcweir.IF "$(GUI)"=="WNT"
275*cdf0e10cSrcweirSCP2FILES +=                           \
276*cdf0e10cSrcweir             file_jre_ooo.par          \
277*cdf0e10cSrcweir             registryitem_ooo.par      \
278*cdf0e10cSrcweir             folder_ooo.par            \
279*cdf0e10cSrcweir             folderitem_ooo.par        \
280*cdf0e10cSrcweir             windowscustomaction_ooo.par \
281*cdf0e10cSrcweir             vc_redist.par             \
282*cdf0e10cSrcweir             registryitem_writer.par   \
283*cdf0e10cSrcweir             folderitem_writer.par     \
284*cdf0e10cSrcweir             registryitem_calc.par     \
285*cdf0e10cSrcweir             folderitem_calc.par       \
286*cdf0e10cSrcweir             registryitem_draw.par     \
287*cdf0e10cSrcweir             folderitem_draw.par       \
288*cdf0e10cSrcweir             registryitem_impress.par  \
289*cdf0e10cSrcweir             folderitem_impress.par    \
290*cdf0e10cSrcweir             registryitem_base.par     \
291*cdf0e10cSrcweir             folderitem_base.par       \
292*cdf0e10cSrcweir             registryitem_math.par     \
293*cdf0e10cSrcweir             folderitem_math.par       \
294*cdf0e10cSrcweir             module_quickstart.par     \
295*cdf0e10cSrcweir             file_quickstart.par       \
296*cdf0e10cSrcweir             registryitem_quickstart.par \
297*cdf0e10cSrcweir             module_winexplorerext.par \
298*cdf0e10cSrcweir             file_winexplorerext.par   \
299*cdf0e10cSrcweir             registryitem_winexplorerext.par
300*cdf0e10cSrcweir
301*cdf0e10cSrcweir.IF "$(ENABLE_DIRECTX)"!=""
302*cdf0e10cSrcweirSCP2FILES += directxcanvas.par
303*cdf0e10cSrcweir.ENDIF
304*cdf0e10cSrcweir
305*cdf0e10cSrcweir.IF "$(DISABLE_ACTIVEX)"==""
306*cdf0e10cSrcweirSCP2FILES +=                           \
307*cdf0e10cSrcweir             module_activex.par        \
308*cdf0e10cSrcweir             file_activex.par
309*cdf0e10cSrcweir.ENDIF
310*cdf0e10cSrcweir.ENDIF
311*cdf0e10cSrcweir
312*cdf0e10cSrcweir.IF "$(GUI)"=="UNX"
313*cdf0e10cSrcweir.IF "$(ENABLE_GCONF)"!="" || "$(ENABLE_GNOMEVFS)"!="" || "$(ENABLE_GIO)"!=""
314*cdf0e10cSrcweirSCP2FILES += \
315*cdf0e10cSrcweir             module_gnome.par   \
316*cdf0e10cSrcweir             file_gnome.par
317*cdf0e10cSrcweir.ENDIF
318*cdf0e10cSrcweir
319*cdf0e10cSrcweir.IF "$(ENABLE_KDE)" == "TRUE"
320*cdf0e10cSrcweirSCP2FILES += \
321*cdf0e10cSrcweir             module_kde.par     \
322*cdf0e10cSrcweir             file_kde.par
323*cdf0e10cSrcweir.ENDIF
324*cdf0e10cSrcweir.ENDIF
325*cdf0e10cSrcweir
326*cdf0e10cSrcweir.IF "$(ENABLE_CRASHDUMP)" != ""
327*cdf0e10cSrcweirSCP2FILES += \
328*cdf0e10cSrcweir             file_crashrep.par
329*cdf0e10cSrcweir.ENDIF
330*cdf0e10cSrcweir
331*cdf0e10cSrcweirSCP2FILES += \
332*cdf0e10cSrcweir             vclcanvas.par
333*cdf0e10cSrcweir
334*cdf0e10cSrcweir.IF "$(ENABLE_LAYOUT)" == "TRUE"
335*cdf0e10cSrcweirSCP2FILES += layout.par
336*cdf0e10cSrcweir.ENDIF # ENABLE_LAYOUT == TRUE
337*cdf0e10cSrcweir
338*cdf0e10cSrcweir.IF "$(BUILD_SPECIAL)"!=""
339*cdf0e10cSrcweirSCP2FILES += \
340*cdf0e10cSrcweir             module_onlineupdate.par   \
341*cdf0e10cSrcweir             file_onlineupdate.par
342*cdf0e10cSrcweir.ENDIF
343*cdf0e10cSrcweir
344*cdf0e10cSrcweir# ------------------------------------------------------------------------
345*cdf0e10cSrcweir# URE
346*cdf0e10cSrcweir
347*cdf0e10cSrcweir.IF "$(OS)" != "MACOSX"
348*cdf0e10cSrcweirSCP3LINK_PRODUCT_TYPE = osl
349*cdf0e10cSrcweirSCP3TARGET = ure
350*cdf0e10cSrcweirSCP3FILES = ure_standalone.par  \
351*cdf0e10cSrcweir            ure.par
352*cdf0e10cSrcweir.ENDIF
353*cdf0e10cSrcweir
354*cdf0e10cSrcweir# ------------------------------------------------------------------------
355*cdf0e10cSrcweir# SDK
356*cdf0e10cSrcweir
357*cdf0e10cSrcweirSCP4LINK_PRODUCT_TYPE = osl
358*cdf0e10cSrcweirSCP4TARGET = sdkoo
359*cdf0e10cSrcweirSCP4FILES = sdkoo.par
360*cdf0e10cSrcweir
361*cdf0e10cSrcweir# --- target -------------------------------------------------------------
362*cdf0e10cSrcweir.INCLUDE :  target.mk
363