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