summaryrefslogtreecommitdiffstats
path: root/cppunit/UnpackedTarball_cppunit.mk
diff options
context:
space:
mode:
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: