summaryrefslogtreecommitdiff
path: root/external/cppunit/UnpackedTarball_cppunit.mk
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2013-10-17 01:32:29 +0200
committerBjörn Michaelsen <bjoern.michaelsen@canonical.com>2013-10-17 17:17:22 +0000
commit7223027a3a7e6599e387559d85f1eaebf3bbbd6c (patch)
tree10017f4f62c300eef573e6ac73dba9271c824855 /external/cppunit/UnpackedTarball_cppunit.mk
parent894f5e46a6d72d3cfc3731c49a5f01626c6b95db (diff)
fdo#70393: move cppunit to a subdir of external
Change-Id: I96ab796757af0c6c6741059b35fcaeefc2bf4507 Reviewed-on: https://gerrit.libreoffice.org/6286 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'external/cppunit/UnpackedTarball_cppunit.mk')
-rw-r--r--external/cppunit/UnpackedTarball_cppunit.mk34
1 files changed, 34 insertions, 0 deletions
diff --git a/external/cppunit/UnpackedTarball_cppunit.mk b/external/cppunit/UnpackedTarball_cppunit.mk
new file mode 100644
index 000000000000..e1a77a5ea327
--- /dev/null
+++ b/external/cppunit/UnpackedTarball_cppunit.mk
@@ -0,0 +1,34 @@
+# -*- 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),,cppunit))
+
+$(eval $(call gb_UnpackedTarball_add_patches,cppunit,\
+ external/cppunit/windows.patch \
+ external/cppunit/unix.patch \
+ external/cppunit/wundef.patch \
+))
+ifeq ($(OS),ANDROID)
+$(eval $(call gb_UnpackedTarball_add_patches,cppunit,\
+ external/cppunit/android.patch \
+))
+else ifeq ($(OS),IOS)
+$(eval $(call gb_UnpackedTarball_add_patches,cppunit,\
+ external/cppunit/ios.patch \
+))
+endif
+ifeq ($(DISABLE_DYNLOADING),TRUE)
+$(eval $(call gb_UnpackedTarball_add_patches,cppunit,\
+ external/cppunit/disable-dynloading.patch \
+))
+endif
+
+# vim: set noet sw=4 ts=4: