summaryrefslogtreecommitdiff
path: root/cppunit/UnpackedTarball_cppunit.mk
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2012-11-25 16:37:40 -0500
committerDavid Tardon <dtardon@redhat.com>2012-12-06 13:53:52 +0100
commit143835b928d00b922c29471bbeca4772237b4df9 (patch)
tree19ba402c86e31eabb86daa9440d075f5750ba203 /cppunit/UnpackedTarball_cppunit.mk
parent8cf32d61a75b1dbb496b38cd95c54b972aea183f (diff)
convert cppunit to gbuild
Change-Id: Idcba54973940b9f197f2fd84a906b50468d1b166
Diffstat (limited to 'cppunit/UnpackedTarball_cppunit.mk')
-rw-r--r--cppunit/UnpackedTarball_cppunit.mk33
1 files changed, 33 insertions, 0 deletions
diff --git a/cppunit/UnpackedTarball_cppunit.mk b/cppunit/UnpackedTarball_cppunit.mk
new file mode 100644
index 000000000000..c8cb69eafc09
--- /dev/null
+++ b/cppunit/UnpackedTarball_cppunit.mk
@@ -0,0 +1,33 @@
+# -*- 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,cppunit))
+
+$(eval $(call gb_UnpackedTarball_set_tarball,cppunit,$(CPPUNIT_TARBALL)))
+
+$(eval $(call gb_UnpackedTarball_add_patches,cppunit,\
+ cppunit/windows.patch \
+ cppunit/unix.patch \
+))
+ifeq ($(OS),ANDROID)
+$(eval $(call gb_UnpackedTarball_add_patches,cppunit,\
+ cppunit/android.patch \
+))
+else ifeq ($(OS),IOS)
+$(eval $(call gb_UnpackedTarball_add_patches,cppunit,\
+ cppunit/ios.patch \
+))
+endif
+ifeq ($(DISABLE_DYNLOADING),TRUE)
+$(eval $(call gb_UnpackedTarball_add_patches,cppunit,\
+ cppunit/disable-dynloading.patch \
+))
+endif
+
+# vim: set noet sw=4 ts=4: