summaryrefslogtreecommitdiff
path: root/xpdf/ExternalPackage_xpdf.mk
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2013-02-17 09:26:01 -0500
committerPeter Foley <pefoley2@verizon.net>2013-02-17 16:47:39 +0000
commitfb1d11d9a54738562994ee6f7a5875f7a62d5863 (patch)
tree2c86879b5e934836e1b8cb0a52ce76d36345e351 /xpdf/ExternalPackage_xpdf.mk
parentc21916ad8a315a9dd7f23bf9aef0576975470a5a (diff)
convert xpdf to gbuild and add to tail_build
Change-Id: Ie85f8092e0c37124508123a1d2f942f50f0740da Reviewed-on: https://gerrit.libreoffice.org/2197 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Peter Foley <pefoley2@verizon.net>
Diffstat (limited to 'xpdf/ExternalPackage_xpdf.mk')
-rw-r--r--xpdf/ExternalPackage_xpdf.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/xpdf/ExternalPackage_xpdf.mk b/xpdf/ExternalPackage_xpdf.mk
new file mode 100644
index 000000000000..fd0a6117b294
--- /dev/null
+++ b/xpdf/ExternalPackage_xpdf.mk
@@ -0,0 +1,24 @@
+# -*- 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_ExternalPackage_ExternalPackage,xpdf,xpdf))
+
+$(eval $(call gb_ExternalPackage_use_external_project,xpdf,xpdf))
+
+ifeq ($(COM),MSC)
+$(eval $(call gb_ExternalPackage_add_file,xpdf,lib/fofi.lib,fofi/fofi.lib))
+$(eval $(call gb_ExternalPackage_add_file,xpdf,lib/Goo.lib,goo/Goo.lib))
+$(eval $(call gb_ExternalPackage_add_file,xpdf,lib/xpdf.lib,xpdf/xpdf.lib))
+else
+$(eval $(call gb_ExternalPackage_add_file,xpdf,lib/libfofi.a,fofi/libfofi.a))
+$(eval $(call gb_ExternalPackage_add_file,xpdf,lib/libGoo.a,goo/libGoo.a))
+$(eval $(call gb_ExternalPackage_add_file,xpdf,lib/libxpdf.a,xpdf/libxpdf.a))
+endif
+
+# vim: set noet sw=4 ts=4: