xref: /aoo42x/main/scp2/util/makefile.mk (revision 35779863)
17871dc3eSAndrew Rist#**************************************************************
27871dc3eSAndrew Rist#
37871dc3eSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
47871dc3eSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
57871dc3eSAndrew Rist#  distributed with this work for additional information
67871dc3eSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
77871dc3eSAndrew Rist#  to you under the Apache License, Version 2.0 (the
87871dc3eSAndrew Rist#  "License"); you may not use this file except in compliance
97871dc3eSAndrew Rist#  with the License.  You may obtain a copy of the License at
107871dc3eSAndrew Rist#
117871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
127871dc3eSAndrew Rist#
137871dc3eSAndrew Rist#  Unless required by applicable law or agreed to in writing,
147871dc3eSAndrew Rist#  software distributed under the License is distributed on an
157871dc3eSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
167871dc3eSAndrew Rist#  KIND, either express or implied.  See the License for the
177871dc3eSAndrew Rist#  specific language governing permissions and limitations
187871dc3eSAndrew Rist#  under the License.
197871dc3eSAndrew Rist#
207871dc3eSAndrew Rist#**************************************************************
217871dc3eSAndrew Rist
227871dc3eSAndrew Rist
23cdf0e10cSrcweirPRJ=..
24cdf0e10cSrcweir
25cdf0e10cSrcweirPRJNAME=scp2
26cdf0e10cSrcweirTARGET=setup
27cdf0e10cSrcweir
28cdf0e10cSrcweir# --- Settings -----------------------------------------------------------
29cdf0e10cSrcweir
30cdf0e10cSrcweir.INCLUDE :  settings.mk
31cdf0e10cSrcweir
32cdf0e10cSrcweir# --- setup script -------------------------------------------------------
33cdf0e10cSrcweir# SCPFLAGS= -w
34cdf0e10cSrcweir
35cdf0e10cSrcweir# ------------------------------------------------------------------------
36cdf0e10cSrcweir# Office OSL
37cdf0e10cSrcweir
38cdf0e10cSrcweirSCP1LINK_PRODUCT_TYPE=osl
39cdf0e10cSrcweirSCP1TARGET = setup_osl
40cdf0e10cSrcweirSCP1FILES  = installation_ooo.par          \
41cdf0e10cSrcweir             scpaction_ooo.par             \
42cdf0e10cSrcweir             directory_ooo.par             \
43cdf0e10cSrcweir             datacarrier_ooo.par           \
44cdf0e10cSrcweir             file_ooo.par                  \
45cdf0e10cSrcweir             file_extra_ooo.par            \
46cdf0e10cSrcweir             file_font_ooo.par             \
47cdf0e10cSrcweir             file_library_ooo.par          \
48cdf0e10cSrcweir             file_resource_ooo.par         \
49cdf0e10cSrcweir             shortcut_ooo.par              \
50cdf0e10cSrcweir             module_ooo.par                \
51cdf0e10cSrcweir             module_hidden_ooo.par         \
52cdf0e10cSrcweir             module_langpack.par           \
53cdf0e10cSrcweir             module_lang_template.par      \
54cdf0e10cSrcweir             profile_ooo.par               \
55cdf0e10cSrcweir             profileitem_ooo.par           \
56cdf0e10cSrcweir             module_writer.par             \
57cdf0e10cSrcweir             file_writer.par               \
58cdf0e10cSrcweir             module_calc.par               \
59cdf0e10cSrcweir             file_calc.par                 \
60cdf0e10cSrcweir             module_draw.par               \
61cdf0e10cSrcweir             file_draw.par                 \
62cdf0e10cSrcweir             module_impress.par            \
63cdf0e10cSrcweir             file_impress.par              \
64cdf0e10cSrcweir             module_base.par               \
65cdf0e10cSrcweir             file_base.par                 \
66cdf0e10cSrcweir             canvascommons.par             \
67cdf0e10cSrcweir             module_math.par               \
68cdf0e10cSrcweir             file_math.par                 \
69cdf0e10cSrcweir             module_systemint.par          \
70cdf0e10cSrcweir             module_graphicfilter.par      \
71cdf0e10cSrcweir             file_graphicfilter.par        \
72cdf0e10cSrcweir             module_testtool.par           \
73cdf0e10cSrcweir             file_testtool.par             \
74cdf0e10cSrcweir             module_xsltfilter.par         \
75cdf0e10cSrcweir             file_xsltfilter.par           \
76cdf0e10cSrcweir             module_python.par             \
77cdf0e10cSrcweir             module_python_mailmerge.par   \
78cdf0e10cSrcweir             file_python.par               \
79cdf0e10cSrcweir             profileitem_python.par        \
80cdf0e10cSrcweir             ure_into_ooo.par              \
81cdf0e10cSrcweir             ure.par                       \
82cdf0e10cSrcweir             module_improvement.par        \
83cdf0e10cSrcweir             file_improvement.par          \
84cdf0e10cSrcweir             common_brand.par              \
85cdf0e10cSrcweir             common_brand_readme.par       \
86cdf0e10cSrcweir             ooo_brand.par
87cdf0e10cSrcweir
88cdf0e10cSrcweir.IF "$(OS)"=="MACOSX"
89cdf0e10cSrcweirSCP1FILES +=                               \
90cdf0e10cSrcweir             directory_ooo_macosx.par
91cdf0e10cSrcweir.ENDIF
92cdf0e10cSrcweir
93cdf0e10cSrcweir.IF "$(WITH_BINFILTER)" != "NO"
94cdf0e10cSrcweirSCP1FILES +=                               \
95cdf0e10cSrcweir             module_binfilter.par          \
96cdf0e10cSrcweir             registryitem_binfilter.par    \
97cdf0e10cSrcweir             file_binfilter.par
98cdf0e10cSrcweir.ENDIF
99cdf0e10cSrcweir
100cdf0e10cSrcweir.IF "$(ENABLE_OPENGL)" == "TRUE"
101cdf0e10cSrcweirSCP1FILES +=                               \
102cdf0e10cSrcweir             module_ogltrans.par
103cdf0e10cSrcweir.ENDIF
104cdf0e10cSrcweir
105cdf0e10cSrcweir.IF "$(SOLAR_JAVA)"!=""
106cdf0e10cSrcweirSCP1FILES +=                               \
107cdf0e10cSrcweir             module_javafilter.par         \
108cdf0e10cSrcweir             file_javafilter.par
109cdf0e10cSrcweir.ENDIF
110cdf0e10cSrcweir
111cdf0e10cSrcweir.IF "$(SOLAR_JAVA)"!=""
112cdf0e10cSrcweir.IF "$(GUI)"=="WNT"
113cdf0e10cSrcweirSCP1FILES +=                               \
114cdf0e10cSrcweir             registryitem_javafilter.par
115cdf0e10cSrcweir.ENDIF
116cdf0e10cSrcweir.ENDIF
117cdf0e10cSrcweir
118cdf0e10cSrcweir.IF "$(GUI)"=="WNT"
119cdf0e10cSrcweirSCP1FILES +=                           \
120cdf0e10cSrcweir             registryitem_ooo.par      \
121cdf0e10cSrcweir             folder_ooo.par            \
122cdf0e10cSrcweir             folderitem_ooo.par        \
123cdf0e10cSrcweir             windowscustomaction_ooo.par \
124cdf0e10cSrcweir             vc_redist.par             \
125cdf0e10cSrcweir             registryitem_writer.par   \
126cdf0e10cSrcweir             folderitem_writer.par     \
127cdf0e10cSrcweir             registryitem_calc.par     \
128cdf0e10cSrcweir             folderitem_calc.par       \
129cdf0e10cSrcweir             registryitem_draw.par     \
130cdf0e10cSrcweir             folderitem_draw.par       \
131cdf0e10cSrcweir             registryitem_impress.par  \
132cdf0e10cSrcweir             folderitem_impress.par    \
133cdf0e10cSrcweir             registryitem_base.par     \
134cdf0e10cSrcweir             folderitem_base.par       \
135cdf0e10cSrcweir             registryitem_math.par     \
136cdf0e10cSrcweir             folderitem_math.par       \
137cdf0e10cSrcweir             module_quickstart.par     \
138cdf0e10cSrcweir             file_quickstart.par       \
139cdf0e10cSrcweir             registryitem_quickstart.par \
140cdf0e10cSrcweir             module_winexplorerext.par \
141cdf0e10cSrcweir             file_winexplorerext.par   \
142cdf0e10cSrcweir             registryitem_winexplorerext.par
143cdf0e10cSrcweir
144cdf0e10cSrcweir.IF "$(ENABLE_DIRECTX)"!=""
145cdf0e10cSrcweirSCP1FILES += directxcanvas.par
146cdf0e10cSrcweir.ENDIF
147cdf0e10cSrcweir
148cdf0e10cSrcweir.IF "$(DISABLE_ACTIVEX)"==""
149cdf0e10cSrcweirSCP1FILES +=                           \
150cdf0e10cSrcweir             module_activex.par        \
151cdf0e10cSrcweir             file_activex.par
152cdf0e10cSrcweir.ENDIF
153cdf0e10cSrcweir.ENDIF
154cdf0e10cSrcweir
155cdf0e10cSrcweir.IF "$(GUI)"=="UNX"
156cdf0e10cSrcweir.IF "$(ENABLE_GCONF)"!="" || "$(ENABLE_GNOMEVFS)"!="" || "$(ENABLE_GIO)"!=""
157cdf0e10cSrcweirSCP1FILES += \
158cdf0e10cSrcweir             module_gnome.par   \
159cdf0e10cSrcweir             file_gnome.par
160cdf0e10cSrcweir.ENDIF
161cdf0e10cSrcweir
162cdf0e10cSrcweir.IF "$(ENABLE_KDE)" == "TRUE"
163cdf0e10cSrcweirSCP1FILES += \
164cdf0e10cSrcweir             module_kde.par     \
165cdf0e10cSrcweir             file_kde.par
166cdf0e10cSrcweir.ENDIF
167cdf0e10cSrcweir.ENDIF
168cdf0e10cSrcweir
169cdf0e10cSrcweir.IF "$(ENABLE_CRASHDUMP)" != ""
170cdf0e10cSrcweirSCP1FILES += \
171cdf0e10cSrcweir             file_crashrep.par
172cdf0e10cSrcweir.ENDIF
173cdf0e10cSrcweir
174cdf0e10cSrcweirSCP1FILES += \
175cdf0e10cSrcweir             vclcanvas.par
176cdf0e10cSrcweir
17746dacce6SMichael Stahl.IF "$(ENABLE_CAIRO_CANVAS)" == "TRUE"
178cdf0e10cSrcweirSCP1FILES += cairocanvas.par
179cdf0e10cSrcweir.ENDIF
180cdf0e10cSrcweir
181cdf0e10cSrcweir.IF "$(ENABLE_LAYOUT)" == "TRUE"
182cdf0e10cSrcweirSCP1FILES += layout.par
183cdf0e10cSrcweir.ENDIF # ENABLE_LAYOUT == TRUE
184cdf0e10cSrcweir
185*35779863SAriel Constenla-Haile.IF "$(ENABLE_ONLINE_UPDATE)" != ""
186cdf0e10cSrcweirSCP1FILES += \
187cdf0e10cSrcweir             module_onlineupdate.par   \
188cdf0e10cSrcweir             file_onlineupdate.par
189cdf0e10cSrcweir.ENDIF
190cdf0e10cSrcweir
191cdf0e10cSrcweir# ------------------------------------------------------------------------
192cdf0e10cSrcweir# OpenOffice.org with JRE
193cdf0e10cSrcweir
194cdf0e10cSrcweirSCP2LINK_PRODUCT_TYPE=osl
195cdf0e10cSrcweirSCP2TARGET = setup_osljre
196cdf0e10cSrcweirSCP2FILES  = installation_ooo.par          \
197cdf0e10cSrcweir             scpaction_ooo.par             \
198cdf0e10cSrcweir             directory_ooo.par             \
199cdf0e10cSrcweir             datacarrier_ooo.par           \
200cdf0e10cSrcweir             file_ooo.par                  \
201cdf0e10cSrcweir             file_extra_ooo.par            \
202cdf0e10cSrcweir             file_font_ooo.par             \
203cdf0e10cSrcweir             file_library_ooo.par          \
204cdf0e10cSrcweir             file_resource_ooo.par         \
205cdf0e10cSrcweir             shortcut_ooo.par              \
206cdf0e10cSrcweir             module_ooo.par                \
207cdf0e10cSrcweir             module_hidden_ooo.par         \
208cdf0e10cSrcweir             module_langpack.par           \
209cdf0e10cSrcweir             module_lang_template.par      \
210cdf0e10cSrcweir             module_java.par               \
211cdf0e10cSrcweir             profile_ooo.par               \
212cdf0e10cSrcweir             profileitem_ooo.par           \
213cdf0e10cSrcweir             module_writer.par             \
214cdf0e10cSrcweir             file_writer.par               \
215cdf0e10cSrcweir             module_calc.par               \
216cdf0e10cSrcweir             file_calc.par                 \
217cdf0e10cSrcweir             module_draw.par               \
218cdf0e10cSrcweir             file_draw.par                 \
219cdf0e10cSrcweir             module_impress.par            \
220cdf0e10cSrcweir             file_impress.par              \
221cdf0e10cSrcweir             module_base.par               \
222cdf0e10cSrcweir             file_base.par                 \
223cdf0e10cSrcweir             canvascommons.par             \
224cdf0e10cSrcweir             module_math.par               \
225cdf0e10cSrcweir             file_math.par                 \
226cdf0e10cSrcweir             module_systemint.par          \
227cdf0e10cSrcweir             module_graphicfilter.par      \
228cdf0e10cSrcweir             file_graphicfilter.par        \
229cdf0e10cSrcweir             module_testtool.par           \
230cdf0e10cSrcweir             file_testtool.par             \
231cdf0e10cSrcweir             module_xsltfilter.par         \
232cdf0e10cSrcweir             file_xsltfilter.par           \
233cdf0e10cSrcweir             module_python.par             \
234cdf0e10cSrcweir             module_python_mailmerge.par   \
235cdf0e10cSrcweir             file_python.par               \
236cdf0e10cSrcweir             profileitem_python.par        \
237cdf0e10cSrcweir             ure_into_ooo.par              \
238cdf0e10cSrcweir             ure.par                       \
239cdf0e10cSrcweir             module_improvement.par        \
240cdf0e10cSrcweir             file_improvement.par          \
241cdf0e10cSrcweir             common_brand.par              \
242cdf0e10cSrcweir             common_brand_readme.par       \
243cdf0e10cSrcweir             ooo_brand.par
244cdf0e10cSrcweir
245cdf0e10cSrcweir.IF "$(OS)"=="MACOSX"
246cdf0e10cSrcweirSCP2FILES +=                               \
247cdf0e10cSrcweir             directory_ooo_macosx.par
248cdf0e10cSrcweir.ENDIF
249cdf0e10cSrcweir
250cdf0e10cSrcweir.IF "$(WITH_BINFILTER)" != "NO"
251cdf0e10cSrcweirSCP2FILES +=                               \
252cdf0e10cSrcweir             module_binfilter.par          \
253cdf0e10cSrcweir             registryitem_binfilter.par    \
254cdf0e10cSrcweir             file_binfilter.par
255cdf0e10cSrcweir.ENDIF
256cdf0e10cSrcweir
257cdf0e10cSrcweir.IF "$(SOLAR_JAVA)"!=""
258cdf0e10cSrcweirSCP2FILES +=                               \
259cdf0e10cSrcweir             module_javafilter.par         \
260cdf0e10cSrcweir             file_javafilter.par
261cdf0e10cSrcweir.ENDIF
262cdf0e10cSrcweir
263cdf0e10cSrcweir.IF "$(SOLAR_JAVA)"!=""
264cdf0e10cSrcweir.IF "$(GUI)"=="WNT"
265cdf0e10cSrcweirSCP2FILES +=                               \
266cdf0e10cSrcweir             registryitem_javafilter.par
267cdf0e10cSrcweir.ENDIF
268cdf0e10cSrcweir.ENDIF
269cdf0e10cSrcweir
270cdf0e10cSrcweir.IF "$(GUI)"=="WNT"
271cdf0e10cSrcweirSCP2FILES +=                           \
272cdf0e10cSrcweir             file_jre_ooo.par          \
273cdf0e10cSrcweir             registryitem_ooo.par      \
274cdf0e10cSrcweir             folder_ooo.par            \
275cdf0e10cSrcweir             folderitem_ooo.par        \
276cdf0e10cSrcweir             windowscustomaction_ooo.par \
277cdf0e10cSrcweir             vc_redist.par             \
278cdf0e10cSrcweir             registryitem_writer.par   \
279cdf0e10cSrcweir             folderitem_writer.par     \
280cdf0e10cSrcweir             registryitem_calc.par     \
281cdf0e10cSrcweir             folderitem_calc.par       \
282cdf0e10cSrcweir             registryitem_draw.par     \
283cdf0e10cSrcweir             folderitem_draw.par       \
284cdf0e10cSrcweir             registryitem_impress.par  \
285cdf0e10cSrcweir             folderitem_impress.par    \
286cdf0e10cSrcweir             registryitem_base.par     \
287cdf0e10cSrcweir             folderitem_base.par       \
288cdf0e10cSrcweir             registryitem_math.par     \
289cdf0e10cSrcweir             folderitem_math.par       \
290cdf0e10cSrcweir             module_quickstart.par     \
291cdf0e10cSrcweir             file_quickstart.par       \
292cdf0e10cSrcweir             registryitem_quickstart.par \
293cdf0e10cSrcweir             module_winexplorerext.par \
294cdf0e10cSrcweir             file_winexplorerext.par   \
295cdf0e10cSrcweir             registryitem_winexplorerext.par
296cdf0e10cSrcweir
297cdf0e10cSrcweir.IF "$(ENABLE_DIRECTX)"!=""
298cdf0e10cSrcweirSCP2FILES += directxcanvas.par
299cdf0e10cSrcweir.ENDIF
300cdf0e10cSrcweir
301cdf0e10cSrcweir.IF "$(DISABLE_ACTIVEX)"==""
302cdf0e10cSrcweirSCP2FILES +=                           \
303cdf0e10cSrcweir             module_activex.par        \
304cdf0e10cSrcweir             file_activex.par
305cdf0e10cSrcweir.ENDIF
306cdf0e10cSrcweir.ENDIF
307cdf0e10cSrcweir
308cdf0e10cSrcweir.IF "$(GUI)"=="UNX"
309cdf0e10cSrcweir.IF "$(ENABLE_GCONF)"!="" || "$(ENABLE_GNOMEVFS)"!="" || "$(ENABLE_GIO)"!=""
310cdf0e10cSrcweirSCP2FILES += \
311cdf0e10cSrcweir             module_gnome.par   \
312cdf0e10cSrcweir             file_gnome.par
313cdf0e10cSrcweir.ENDIF
314cdf0e10cSrcweir
315cdf0e10cSrcweir.IF "$(ENABLE_KDE)" == "TRUE"
316cdf0e10cSrcweirSCP2FILES += \
317cdf0e10cSrcweir             module_kde.par     \
318cdf0e10cSrcweir             file_kde.par
319cdf0e10cSrcweir.ENDIF
320cdf0e10cSrcweir.ENDIF
321cdf0e10cSrcweir
322cdf0e10cSrcweir.IF "$(ENABLE_CRASHDUMP)" != ""
323cdf0e10cSrcweirSCP2FILES += \
324cdf0e10cSrcweir             file_crashrep.par
325cdf0e10cSrcweir.ENDIF
326cdf0e10cSrcweir
327cdf0e10cSrcweirSCP2FILES += \
328cdf0e10cSrcweir             vclcanvas.par
329cdf0e10cSrcweir
330cdf0e10cSrcweir.IF "$(ENABLE_LAYOUT)" == "TRUE"
331cdf0e10cSrcweirSCP2FILES += layout.par
332cdf0e10cSrcweir.ENDIF # ENABLE_LAYOUT == TRUE
333cdf0e10cSrcweir
334cdf0e10cSrcweir.IF "$(BUILD_SPECIAL)"!=""
335cdf0e10cSrcweirSCP2FILES += \
336cdf0e10cSrcweir             module_onlineupdate.par   \
337cdf0e10cSrcweir             file_onlineupdate.par
338cdf0e10cSrcweir.ENDIF
339cdf0e10cSrcweir
340cdf0e10cSrcweir# ------------------------------------------------------------------------
341cdf0e10cSrcweir# URE
342cdf0e10cSrcweir
343cdf0e10cSrcweir.IF "$(OS)" != "MACOSX"
344cdf0e10cSrcweirSCP3LINK_PRODUCT_TYPE = osl
345cdf0e10cSrcweirSCP3TARGET = ure
346cdf0e10cSrcweirSCP3FILES = ure_standalone.par  \
347cdf0e10cSrcweir            ure.par
348cdf0e10cSrcweir.ENDIF
349cdf0e10cSrcweir
350cdf0e10cSrcweir# ------------------------------------------------------------------------
351cdf0e10cSrcweir# SDK
352cdf0e10cSrcweir
353cdf0e10cSrcweirSCP4LINK_PRODUCT_TYPE = osl
354cdf0e10cSrcweirSCP4TARGET = sdkoo
355cdf0e10cSrcweirSCP4FILES = sdkoo.par
356cdf0e10cSrcweir
357cdf0e10cSrcweir# --- target -------------------------------------------------------------
358cdf0e10cSrcweir.INCLUDE :  target.mk
359