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