diff options
author | Peter Foley <pefoley2@verizon.net> | 2012-11-11 16:02:36 -0500 |
---|---|---|
committer | Peter Foley <pefoley2@verizon.net> | 2012-11-11 19:03:15 -0500 |
commit | 782151a79153195f3391cfff0d685cd4968063b8 (patch) | |
tree | f3388a43c05232140d380bd0b26675ef446122d3 /liblangtag/UnpackedTarball_langtag.mk | |
parent | fix libexttextcat for windows (diff) | |
download | core-782151a79153195f3391cfff0d685cd4968063b8.tar.gz core-782151a79153195f3391cfff0d685cd4968063b8.zip |
convert liblangtag to gbuild
Change-Id: Ib019e248b16a39ea058cdebeaa1f37a967a00d6c
Diffstat (limited to 'liblangtag/UnpackedTarball_langtag.mk')
-rw-r--r-- | liblangtag/UnpackedTarball_langtag.mk | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/liblangtag/UnpackedTarball_langtag.mk b/liblangtag/UnpackedTarball_langtag.mk new file mode 100644 index 000000000000..1deea1327665 --- /dev/null +++ b/liblangtag/UnpackedTarball_langtag.mk @@ -0,0 +1,48 @@ +# -*- 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_UnpackedTarball_UnpackedTarball,langtag)) + +$(eval $(call gb_UnpackedTarball_set_tarball,langtag,$(LIBLANGTAG_TARBALL))) + +ifeq ($(OS),MACOSX) +$(eval $(call gb_UnpackedTarball_add_patches,langtag,\ + liblangtag/liblangtag-0.4.0-mac.patch \ + liblangtag/liblangtag-0.4.0-configure-atomic-cflag-pollution.patch \ +)) +else +$(eval $(call gb_UnpackedTarball_add_patches,langtag,\ + liblangtag/liblangtag-0.4.0-msvc-warning.patch \ + liblangtag/liblangtag-0.4.0-configure-atomic-cflag-pollution.patch \ + liblangtag/liblangtag-0.4.0-windows.patch \ + liblangtag/liblangtag-0.4.0-reg2xml-encoding-problem.patch \ + liblangtag/liblangtag-0.4.0-windows2.patch \ + liblangtag/liblangtag-0.4.0-msvcprojects.patch \ +)) +endif + +ifeq ($(CROSS_COMPILING),YES) +$(eval $(call gb_UnpackedTarball_add_patches,langtag,\ + liblangtag/liblangtag-0.4.0-cross.patch \ +)) +endif + +ifeq ($(GUI),WNT) +ifeq ($(COM),GCC) +$(eval $(call gb_UnpackedTarball_add_patches,langtag,\ + liblangtag/liblangtag-0.4.0-mingw.patch \ +)) +else +$(eval $(call gb_UnpackedTarball_add_patches,langtag,\ + liblangtag/liblangtag-0.4.0-msc-configure.patch \ + liblangtag/liblangtag-0.4.0-cross.patch \ +)) +endif +endif +# vim: set noet sw=4 ts=4: |