summaryrefslogtreecommitdiff
path: root/zlib/Module_zlib.mk
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-10-26 15:33:26 +0200
committerDavid Tardon <dtardon@redhat.com>2012-10-26 17:33:30 +0200
commitcb2762360fc6edb6afe52759550979ce5068b9b0 (patch)
tree1c54a88a91458f94cdde87a70312021f235643b6 /zlib/Module_zlib.mk
parentb4b5376afc9d8bb9299ed267db2c4177e4b10969 (diff)
gbuildify zlib
Change-Id: I702c044fdf510c67364f2fc32889ca394583edf6
Diffstat (limited to 'zlib/Module_zlib.mk')
-rw-r--r--zlib/Module_zlib.mk28
1 files changed, 28 insertions, 0 deletions
diff --git a/zlib/Module_zlib.mk b/zlib/Module_zlib.mk
new file mode 100644
index 000000000000..446e07edc24c
--- /dev/null
+++ b/zlib/Module_zlib.mk
@@ -0,0 +1,28 @@
+# -*- 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/.
+#
+
+ifneq ($(SYSTEM_ZLIB),YES)
+
+$(eval $(call gb_Module_Module,zlib))
+
+$(eval $(call gb_Module_add_targets,zlib,\
+ ExternalPackage_zlib \
+ StaticLibrary_zlib \
+ UnpackedTarball_zlib \
+))
+
+ifeq ($(BUILD_X64),TRUE)
+$(eval $(call gb_Module_add_targets,zlib,\
+ StaticLibrary_zlib_x64 \
+))
+endif
+
+endif
+
+# vim: set noet sw=4 ts=4: