summaryrefslogtreecommitdiff
path: root/liborcus/ExternalPackage_liborcus.mk
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2013-03-16 09:52:43 -0400
committerPeter Foley <pefoley2@verizon.net>2013-03-16 14:09:27 -0400
commit82c4b9491aa9a9d20eede8184e5bd1f7b04efee4 (patch)
tree2a6d8ffe0f162968c7895c2eaaa550699e040295 /liborcus/ExternalPackage_liborcus.mk
parent7cb699394616b9641fb746429401b36f031391e3 (diff)
move liborcus to gcc-wrapper
Change-Id: I9d3ba7b142ec230d11af59f9eb21d203b0473dc8
Diffstat (limited to 'liborcus/ExternalPackage_liborcus.mk')
-rw-r--r--liborcus/ExternalPackage_liborcus.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/liborcus/ExternalPackage_liborcus.mk b/liborcus/ExternalPackage_liborcus.mk
new file mode 100644
index 000000000000..159faac67c68
--- /dev/null
+++ b/liborcus/ExternalPackage_liborcus.mk
@@ -0,0 +1,20 @@
+# -*- 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,liborcus,orcus))
+
+$(eval $(call gb_ExternalPackage_use_external_project,liborcus,liborcus))
+
+ifeq ($(OS)$(COM),WNTMSC)
+$(eval $(call gb_ExternalPackage_add_file,liborcus,lib/orcus.lib,src/liborcus/.libs/liborcus-0.4.lib))
+else
+$(eval $(call gb_ExternalPackage_add_file,liborcus,lib/liborcus.a,src/liborcus/.libs/liborcus-0.4.a))
+endif
+
+# vim: set noet sw=4 ts=4: