summaryrefslogtreecommitdiff
path: root/poppler/Module_poppler.mk
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2012-11-10 15:16:14 -0500
committerTor Lillqvist <tml@iki.fi>2012-11-13 07:29:34 +0000
commita6e9bb4c7bad649cb44efaeef67fa18090348c53 (patch)
tree9988224bcfa074fd8665d19052fe145800474742 /poppler/Module_poppler.mk
parenta2b3ee4abf39e47037fa9adbf44a8742379098f7 (diff)
fdo#38878 upgrade xpdf to poppler
Change-Id: Ib908a3acba1faabeb411b4d1459968a362ee8029 Reviewed-on: https://gerrit.libreoffice.org/1036 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
Diffstat (limited to 'poppler/Module_poppler.mk')
-rw-r--r--poppler/Module_poppler.mk28
1 files changed, 28 insertions, 0 deletions
diff --git a/poppler/Module_poppler.mk b/poppler/Module_poppler.mk
new file mode 100644
index 000000000000..95a9eb6fcc5d
--- /dev/null
+++ b/poppler/Module_poppler.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/.
+#
+
+$(eval $(call gb_Module_Module,poppler))
+
+ifeq ($(SYSTEM_POPPLER),NO)
+$(eval $(call gb_Module_add_targets,poppler,\
+ UnpackedTarball_poppler \
+ ExternalPackage_poppler \
+))
+ifeq ($(COM),MSC)
+$(eval $(call gb_Module_add_targets,poppler,\
+ StaticLibrary_poppler \
+))
+else
+$(eval $(call gb_Module_add_targets,poppler,\
+ ExternalProject_poppler \
+))
+endif
+endif
+
+# vim: set noet sw=4 ts=4: