xref: /aoo4110/main/scp2/util/makefile.mk (revision b1cdbd2c)
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_xsltfilter.par         \
73             file_xsltfilter.par           \
74             module_python.par             \
75             module_python_mailmerge.par   \
76             file_python.par               \
77             profileitem_python.par        \
78             ure_into_ooo.par              \
79             ure.par                       \
80             module_improvement.par        \
81             file_improvement.par          \
82             common_brand.par              \
83             common_brand_readme.par       \
84             ooo_brand.par
85
86.IF "$(OS)"=="MACOSX"
87SCP1FILES +=                               \
88             directory_ooo_macosx.par
89.ENDIF
90
91.IF "$(ENABLE_OPENGL)" == "TRUE"
92SCP1FILES +=                               \
93             module_ogltrans.par
94.ENDIF
95
96.IF "$(SOLAR_JAVA)"!=""
97SCP1FILES +=                               \
98             module_javafilter.par         \
99             file_javafilter.par
100.ENDIF
101
102.IF "$(SOLAR_JAVA)"!=""
103.IF "$(GUI)"=="WNT"
104SCP1FILES +=                               \
105             registryitem_javafilter.par
106.ENDIF
107.ENDIF
108
109.IF "$(GUI)"=="WNT"
110SCP1FILES +=                           \
111             registryitem_ooo.par      \
112             folder_ooo.par            \
113             folderitem_ooo.par        \
114             windowscustomaction_ooo.par \
115             vc_redist.par             \
116             registryitem_writer.par   \
117             folderitem_writer.par     \
118             registryitem_calc.par     \
119             folderitem_calc.par       \
120             registryitem_draw.par     \
121             folderitem_draw.par       \
122             registryitem_impress.par  \
123             folderitem_impress.par    \
124             registryitem_base.par     \
125             folderitem_base.par       \
126             registryitem_math.par     \
127             folderitem_math.par       \
128             module_quickstart.par     \
129             file_quickstart.par       \
130             registryitem_quickstart.par \
131             module_winexplorerext.par \
132             file_winexplorerext.par   \
133             registryitem_winexplorerext.par
134
135.IF "$(ENABLE_DIRECTX)"!=""
136SCP1FILES += directxcanvas.par
137.ENDIF
138
139.IF "$(DISABLE_ACTIVEX)"==""
140SCP1FILES +=                           \
141             module_activex.par        \
142             file_activex.par
143.ENDIF
144.ENDIF
145
146.IF "$(GUI)"=="UNX"
147.IF "$(ENABLE_GCONF)"!="" || "$(ENABLE_GNOMEVFS)"!="" || "$(ENABLE_GIO)"!=""
148SCP1FILES += \
149             module_gnome.par   \
150             file_gnome.par
151.ENDIF
152
153.IF "$(ENABLE_KDE)" == "TRUE"
154SCP1FILES += \
155             module_kde.par     \
156             file_kde.par
157.ENDIF
158.ENDIF
159
160.IF "$(ENABLE_CRASHDUMP)" != ""
161SCP1FILES += \
162             file_crashrep.par
163.ENDIF
164
165SCP1FILES += \
166             vclcanvas.par
167
168.IF "$(ENABLE_CAIRO_CANVAS)" == "TRUE"
169SCP1FILES += cairocanvas.par
170.ENDIF
171
172.IF "$(ENABLE_LAYOUT)" == "TRUE"
173SCP1FILES += layout.par
174.ENDIF # ENABLE_LAYOUT == TRUE
175
176.IF "$(ENABLE_ONLINE_UPDATE)" != ""
177SCP1FILES += \
178             module_onlineupdate.par   \
179             file_onlineupdate.par
180.ENDIF
181
182# ------------------------------------------------------------------------
183# Apache OpenOffice with JRE
184
185SCP2LINK_PRODUCT_TYPE=osl
186SCP2TARGET = setup_osljre
187SCP2FILES  = installation_ooo.par          \
188             scpaction_ooo.par             \
189             directory_ooo.par             \
190             datacarrier_ooo.par           \
191             file_ooo.par                  \
192             file_extra_ooo.par            \
193             file_font_ooo.par             \
194             file_library_ooo.par          \
195             file_resource_ooo.par         \
196             shortcut_ooo.par              \
197             module_ooo.par                \
198             module_hidden_ooo.par         \
199             module_langpack.par           \
200             module_lang_template.par      \
201             module_java.par               \
202             profile_ooo.par               \
203             profileitem_ooo.par           \
204             module_writer.par             \
205             file_writer.par               \
206             module_calc.par               \
207             file_calc.par                 \
208             module_draw.par               \
209             file_draw.par                 \
210             module_impress.par            \
211             file_impress.par              \
212             module_base.par               \
213             file_base.par                 \
214             canvascommons.par             \
215             module_math.par               \
216             file_math.par                 \
217             module_systemint.par          \
218             module_graphicfilter.par      \
219             file_graphicfilter.par        \
220             module_xsltfilter.par         \
221             file_xsltfilter.par           \
222             module_python.par             \
223             module_python_mailmerge.par   \
224             file_python.par               \
225             profileitem_python.par        \
226             ure_into_ooo.par              \
227             ure.par                       \
228             module_improvement.par        \
229             file_improvement.par          \
230             common_brand.par              \
231             common_brand_readme.par       \
232             ooo_brand.par
233
234.IF "$(OS)"=="MACOSX"
235SCP2FILES +=                               \
236             directory_ooo_macosx.par
237.ENDIF
238
239.IF "$(SOLAR_JAVA)"!=""
240SCP2FILES +=                               \
241             module_javafilter.par         \
242             file_javafilter.par
243.ENDIF
244
245.IF "$(SOLAR_JAVA)"!=""
246.IF "$(GUI)"=="WNT"
247SCP2FILES +=                               \
248             registryitem_javafilter.par
249.ENDIF
250.ENDIF
251
252.IF "$(GUI)"=="WNT"
253SCP2FILES +=                           \
254             file_jre_ooo.par          \
255             registryitem_ooo.par      \
256             folder_ooo.par            \
257             folderitem_ooo.par        \
258             windowscustomaction_ooo.par \
259             vc_redist.par             \
260             registryitem_writer.par   \
261             folderitem_writer.par     \
262             registryitem_calc.par     \
263             folderitem_calc.par       \
264             registryitem_draw.par     \
265             folderitem_draw.par       \
266             registryitem_impress.par  \
267             folderitem_impress.par    \
268             registryitem_base.par     \
269             folderitem_base.par       \
270             registryitem_math.par     \
271             folderitem_math.par       \
272             module_quickstart.par     \
273             file_quickstart.par       \
274             registryitem_quickstart.par \
275             module_winexplorerext.par \
276             file_winexplorerext.par   \
277             registryitem_winexplorerext.par
278
279.IF "$(ENABLE_DIRECTX)"!=""
280SCP2FILES += directxcanvas.par
281.ENDIF
282
283.IF "$(DISABLE_ACTIVEX)"==""
284SCP2FILES +=                           \
285             module_activex.par        \
286             file_activex.par
287.ENDIF
288.ENDIF
289
290.IF "$(GUI)"=="UNX"
291.IF "$(ENABLE_GCONF)"!="" || "$(ENABLE_GNOMEVFS)"!="" || "$(ENABLE_GIO)"!=""
292SCP2FILES += \
293             module_gnome.par   \
294             file_gnome.par
295.ENDIF
296
297.IF "$(ENABLE_KDE)" == "TRUE"
298SCP2FILES += \
299             module_kde.par     \
300             file_kde.par
301.ENDIF
302.ENDIF
303
304.IF "$(ENABLE_CRASHDUMP)" != ""
305SCP2FILES += \
306             file_crashrep.par
307.ENDIF
308
309SCP2FILES += \
310             vclcanvas.par
311
312.IF "$(ENABLE_LAYOUT)" == "TRUE"
313SCP2FILES += layout.par
314.ENDIF # ENABLE_LAYOUT == TRUE
315
316.IF "$(ENABLE_ONLINE_UPDATE)"!=""
317SCP2FILES += \
318             module_onlineupdate.par   \
319             file_onlineupdate.par
320.ENDIF
321
322# ------------------------------------------------------------------------
323# URE
324
325.IF "$(OS)" != "MACOSX"
326SCP3LINK_PRODUCT_TYPE = osl
327SCP3TARGET = ure
328SCP3FILES = ure_standalone.par  \
329            ure.par
330.ENDIF
331
332# ------------------------------------------------------------------------
333# SDK
334
335SCP4LINK_PRODUCT_TYPE = osl
336SCP4TARGET = sdkoo
337SCP4FILES = sdkoo.par
338
339# --- target -------------------------------------------------------------
340.INCLUDE :  target.mk
341