diff options
author | David Tardon <dtardon@redhat.com> | 2013-04-10 16:50:00 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-04-10 17:05:44 +0200 |
commit | 19d263f095e7f4f4dc49092fe5cb5020eec136d3 (patch) | |
tree | 9f009f54fc7e433a57c2eaa06622239cd7aa2838 /external | |
parent | 339306ded9b25b26b952ef7d0aad9d7b38c7a012 (diff) |
one variable to rule them all
one variable to find them,
one variable to deliver them all and into filelist put them,
in $INSTDIR where the installer searches.
Change-Id: I989f578f0ed6f9ef9167522249b36d95c15bfd1b
Diffstat (limited to 'external')
-rw-r--r-- | external/Module_external.mk | 1 | ||||
-rw-r--r-- | external/Package_mingw_dlls.mk | 57 | ||||
-rw-r--r-- | external/Package_mingw_gccdlls.mk | 17 |
3 files changed, 21 insertions, 54 deletions
diff --git a/external/Module_external.mk b/external/Module_external.mk index 8bb0a4045df8..33453c4e697b 100644 --- a/external/Module_external.mk +++ b/external/Module_external.mk @@ -18,6 +18,7 @@ $(eval $(call gb_Module_add_targets,external,\ CustomTarget_wine \ Package_jawt \ Package_mingw_dlls \ + Package_mingw_gccdlls \ Package_wine \ )) endif diff --git a/external/Package_mingw_dlls.mk b/external/Package_mingw_dlls.mk index 50a8cda7f033..52eeed8a8178 100644 --- a/external/Package_mingw_dlls.mk +++ b/external/Package_mingw_dlls.mk @@ -9,61 +9,10 @@ $(eval $(call gb_Package_Package,mingw_dlls,$(MINGW_SYSROOT)/bin)) +$(eval $(call gb_Package_set_outdir,mingw_dlls,$(INSTDIR))) + $(eval $(call gb_Package_add_files,mingw_dlls,bin,\ - $(MINGW_BOOST_DATE_TIME_DLL) \ - $(MINGW_CAIRO_DLL) \ - $(MINGW_CRYPTO_DLL) \ - $(MINGW_CURL_DLL) \ - $(MINGW_EXPAT_DLL) \ - $(MINGW_FONTCONFIG_DLL) \ - $(MINGW_FREETYPE_DLL) \ - $(MINGW_GCRYPT_DLL) \ - $(MINGW_GLIB_DLL) \ - $(MINGW_GMODULE_DLL) \ - $(MINGW_GNUTLS_DLL) \ - $(MINGW_GPG_ERROR_DLL) \ - $(MINGW_GRAPHITE2_DLL) \ - $(MINGW_HUNSPELL_DLL) \ - $(MINGW_HYPHEN_DLL) \ - $(MINGW_ICONV_DLL) \ - $(MINGW_ICUDATA_DLL) \ - $(MINGW_ICUI18N_DLL) \ - $(MINGW_ICUUC_DLL) \ - $(MINGW_IDN_DLL) \ - $(MINGW_INTL_DLL) \ - $(MINGW_JPEG_DLL) \ - $(MINGW_LCMS2_DLL) \ - $(MINGW_LIBEXSLT_DLL) \ - $(MINGW_LIBLANGTAG_DLL) \ - $(MINGW_LIBXML_DLL) \ - $(MINGW_LIBXSLT_DLL) \ - $(MINGW_LPSOLVE_DLL) \ - $(MINGW_MYTHES_DLL) \ - $(MINGW_NEON_DLL) \ - $(MINGW_NSPR4_DLL) \ - $(MINGW_NSS3_DLL) \ - $(MINGW_NSSUTIL3_DLL) \ - $(MINGW_PIXMAN_DLL) \ - $(MINGW_PYTHON_DLL) \ - $(MINGW_PYTHON_EXE) \ - $(MINGW_PLC4_DLL) \ - $(MINGW_PLDS4_DLL) \ - $(MINGW_PNG15_DLL) \ - $(MINGW_POPPLER_DLL) \ - $(MINGW_RAPTOR_DLL) \ - $(MINGW_RASQAL_DLL) \ - $(MINGW_READLINE_DLL) \ - $(MINGW_REDLAND_DLL) \ - $(MINGW_SQLITE3_DLL) \ - $(MINGW_SMIME3_DLL) \ - $(MINGW_SSH2_DLL) \ - $(MINGW_SSL3_DLL) \ - $(MINGW_SSL_DLL) \ - $(MINGW_TASN1_DLL) \ - $(MINGW_TERMCAP_DLL) \ - $(MINGW_ZLIB_DLL) \ - $(if $(filter YES,$(MINGW_SHARED_GCCLIB)),$(MINGW_GCCDLL)) \ - $(if $(filter YES,$(MINGW_SHARED_GXXLIB)),$(MINGW_GXXDLL)) \ + $(sort $(MINGW_DLLS)) \ )) # vim:set shiftwidth=4 tabstop=4 noexpandtab: diff --git a/external/Package_mingw_gccdlls.mk b/external/Package_mingw_gccdlls.mk new file mode 100644 index 000000000000..521db37da155 --- /dev/null +++ b/external/Package_mingw_gccdlls.mk @@ -0,0 +1,17 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# 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/. +# + +$(eval $(call gb_Package_Package,mingw_gccdlls,$(MINGW_SYSROOT)/bin)) + +$(eval $(call gb_Package_add_files,mingw_gccdlls,bin,\ + $(if $(filter YES,$(MINGW_SHARED_GCCLIB)),$(MINGW_GCCDLL)) \ + $(if $(filter YES,$(MINGW_SHARED_GXXLIB)),$(MINGW_GXXDLL)) \ +)) + +# vim:set shiftwidth=4 tabstop=4 noexpandtab: |