2012-05-06 14:50:07 +02:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
|
|
#
|
2013-04-19 21:10:42 +01:00
|
|
|
# This file is part of the LibreOffice project.
|
2012-05-06 14:50:07 +02:00
|
|
|
#
|
2013-04-19 21:10:42 +01:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2012-05-06 14:50:07 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
$(eval $(call gb_InstallModule_InstallModule,scp2/ooo))
|
|
|
|
|
2013-10-12 19:03:31 +02:00
|
|
|
$(eval $(call gb_InstallModule_use_auto_install_libs,scp2/ooo,\
|
2014-10-28 22:11:00 +01:00
|
|
|
brand \
|
2013-10-12 19:03:31 +02:00
|
|
|
ooo \
|
|
|
|
ooobinarytable \
|
2014-03-18 21:54:33 +01:00
|
|
|
reportbuilder \
|
2014-07-18 18:01:54 +02:00
|
|
|
pdfimport \
|
2013-10-12 19:03:31 +02:00
|
|
|
))
|
2013-02-13 23:38:59 +01:00
|
|
|
|
2012-05-06 14:50:07 +02:00
|
|
|
$(eval $(call gb_InstallModule_define_if_set,scp2/ooo,\
|
|
|
|
ENABLE_GTK \
|
|
|
|
ENABLE_KDE \
|
2013-08-16 11:08:32 +03:00
|
|
|
ENABLE_MACOSX_SANDBOX \
|
2012-11-20 11:15:56 +01:00
|
|
|
ENABLE_NPAPI_FROM_BROWSER \
|
2012-05-06 14:50:07 +02:00
|
|
|
ENABLE_ONLINE_UPDATE \
|
2012-08-18 16:17:12 +02:00
|
|
|
ENABLE_TDE \
|
2012-05-06 14:50:07 +02:00
|
|
|
SYSTEM_CURL \
|
2012-05-29 20:21:51 +01:00
|
|
|
SYSTEM_HSQLDB \
|
2012-05-06 14:50:07 +02:00
|
|
|
SYSTEM_LIBXSLT \
|
|
|
|
SYSTEM_REDLAND \
|
2013-05-15 16:04:31 +02:00
|
|
|
WITH_GALLERY_BUILD \
|
2012-12-05 09:50:36 +01:00
|
|
|
WITH_MOZAB4WIN \
|
|
|
|
WITH_MYSPELL_DICTS \
|
2012-05-06 14:50:07 +02:00
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_InstallModule_define_value_if_set,scp2/ooo,\
|
|
|
|
MINGW_GCCDLL \
|
|
|
|
MINGW_GXXDLL \
|
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
|
2013-04-30 17:44:21 +02:00
|
|
|
$(if $(CUSTOM_BRAND_DIR),-DCUSTOM_BRANDING) \
|
2012-05-06 14:50:07 +02:00
|
|
|
$(if $(WINDOWS_SDK_HOME),\
|
|
|
|
-DHAVE_WINDOWS_SDK \
|
|
|
|
) \
|
2014-02-11 18:56:33 +01:00
|
|
|
$(if $(SYSTEM_HSQLDB),\
|
2012-05-06 14:50:07 +02:00
|
|
|
-DHSQLDB_JAR=\""$(call gb_Helper_make_path,$(HSQLDB_JAR))"\" \
|
|
|
|
) \
|
2014-05-15 19:53:07 +03:00
|
|
|
$(if $(MACOSX_SDK_VERSION),\
|
|
|
|
-DMACOSX_SDK_VERSION=$(MACOSX_SDK_VERSION) \
|
|
|
|
) \
|
adapt all externals to build against MSVC debug runtime
Add patches and/or tweaks to the following modules:
curl, cppunit, icu, lcms2, libxml2, libxslt, libxmlsec,
lpsolve, nss, openssl, python3
lcms2 has an inconsistency where the .lib and the .dll don't agree on
the .dll name.
openssl gets a honorable mention because apparently it's undocumented
custom build system can build with /MDd if one picks the right
configuration but i couldn't figure out how to do that in an hour of
trying, and just patched the release config instead.
Change-Id: I7854a0fc85247e398d561b4f513d09fe2d1ebb3c
2013-04-14 13:52:56 +02:00
|
|
|
$(if $(filter MSC,$(COM)),$(if $(MSVC_USE_DEBUG_RUNTIME),-DMSVC_PKG_DEBUG_RUNTIME)) \
|
2012-05-06 14:50:07 +02:00
|
|
|
))
|
|
|
|
|
2013-04-07 13:00:56 +02:00
|
|
|
ifeq ($(GUIBASE),unx)
|
|
|
|
$(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
|
|
|
|
-DGUIBASE_UNX \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter DBCONNECTIVITY,$(BUILD_TYPE)))
|
|
|
|
$(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
|
|
|
|
-DDBCONNECTIVITY \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2012-05-06 14:50:07 +02:00
|
|
|
ifeq ($(DISABLE_PYTHON),TRUE)
|
|
|
|
$(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
|
|
|
|
-DDISABLE_PYUNO \
|
|
|
|
))
|
2014-02-11 16:57:35 +01:00
|
|
|
else ifneq ($(SYSTEM_PYTHON),)
|
2012-05-06 14:50:07 +02:00
|
|
|
$(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
|
|
|
|
-DSYSTEM_PYTHON \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
|
|
|
|
-DICU_MAJOR=$(ICU_MAJOR) \
|
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_InstallModule_add_templates,scp2/ooo,\
|
|
|
|
scp2/source/templates/module_helppack \
|
|
|
|
scp2/source/templates/module_helppack_root \
|
|
|
|
scp2/source/templates/module_langpack \
|
|
|
|
scp2/source/templates/module_langpack_root \
|
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_InstallModule_add_scpfiles,scp2/ooo,\
|
|
|
|
scp2/source/ooo/common_brand \
|
|
|
|
scp2/source/ooo/common_brand_readme \
|
2012-08-30 21:28:21 +02:00
|
|
|
scp2/source/ooo/directory_ooo \
|
2012-05-06 14:50:07 +02:00
|
|
|
scp2/source/ooo/directory_ooo_macosx \
|
|
|
|
scp2/source/ooo/file_extra_ooo \
|
|
|
|
scp2/source/ooo/file_font_ooo \
|
|
|
|
scp2/source/ooo/file_library_ooo \
|
|
|
|
scp2/source/ooo/file_ooo \
|
|
|
|
scp2/source/ooo/file_resource_ooo \
|
|
|
|
scp2/source/ooo/installation_ooo \
|
|
|
|
scp2/source/ooo/module_help_template \
|
|
|
|
scp2/source/ooo/module_hidden_ooo \
|
|
|
|
scp2/source/ooo/module_lang_template \
|
|
|
|
scp2/source/ooo/profileitem_ooo \
|
|
|
|
scp2/source/ooo/scpaction_ooo \
|
2012-12-12 01:07:09 +02:00
|
|
|
$(if $(filter WNTGCC,$(OS)$(COM)),\
|
2012-05-06 14:50:07 +02:00
|
|
|
scp2/source/ooo/mingw_dlls \
|
|
|
|
) \
|
2014-04-15 09:35:28 +02:00
|
|
|
scp2/source/ooo/module_filter \
|
2012-05-06 14:50:07 +02:00
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_InstallModule_add_localized_scpfiles,scp2/ooo,\
|
|
|
|
scp2/source/ooo/module_helppack \
|
|
|
|
scp2/source/ooo/module_langpack \
|
|
|
|
scp2/source/ooo/module_ooo \
|
|
|
|
scp2/source/ooo/module_systemint \
|
|
|
|
))
|
|
|
|
|
2012-11-29 11:27:45 +01:00
|
|
|
ifeq ($(ENABLE_PDFIMPORT),TRUE)
|
|
|
|
$(eval $(call gb_InstallModule_add_scpfiles,scp2/ooo,\
|
|
|
|
scp2/source/ooo/module_pdfimport \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2013-03-13 22:45:02 +01:00
|
|
|
ifeq ($(ENABLE_REPORTBUILDER),TRUE)
|
2013-03-23 11:16:45 +01:00
|
|
|
$(eval $(call gb_InstallModule_add_localized_scpfiles,scp2/ooo,\
|
2013-03-13 22:45:02 +01:00
|
|
|
scp2/source/ooo/module_reportbuilder \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2012-05-06 14:50:07 +02:00
|
|
|
# vim: set shiftwidth=4 tabstop=4 noexpandtab:
|