summaryrefslogtreecommitdiff
path: root/external/libpng/Module_libpng.mk
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2013-10-12 03:26:01 +0200
committerBjörn Michaelsen <bjoern.michaelsen@canonical.com>2013-10-16 12:51:10 +0000
commit99f8cf1221b216c301e000eab88d75dbe9e9aa20 (patch)
treef97e135b7552fb5df16acec4f8a479a68be793af /external/libpng/Module_libpng.mk
parentca216af0fae6fa178c8d1debaabdeb2246bc8e63 (diff)
fdo#70393: move libpng to a subdir of external
Change-Id: Ia52da28fc6a979c4712fc191ab5e71c1926b0c93 Reviewed-on: https://gerrit.libreoffice.org/6231 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'external/libpng/Module_libpng.mk')
-rw-r--r--external/libpng/Module_libpng.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/external/libpng/Module_libpng.mk b/external/libpng/Module_libpng.mk
new file mode 100644
index 000000000000..d61375d18d05
--- /dev/null
+++ b/external/libpng/Module_libpng.mk
@@ -0,0 +1,21 @@
+# -*- 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_Module_Module,libpng))
+
+ifeq ($(SYSTEM_LIBPNG),NO)
+
+$(eval $(call gb_Module_add_targets,libpng,\
+ StaticLibrary_png \
+ UnpackedTarball_png \
+))
+
+endif
+
+# vim: set noet sw=4 ts=4: