summaryrefslogtreecommitdiff
path: root/odk/Package_lib.mk
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-04-21 16:08:16 +0200
committerFridrich Strba <fridrich@documentfoundation.org>2013-04-22 07:04:33 +0000
commit0d752247d882fd120a3f8d984c73c78e9d565e79 (patch)
tree1d1856aeb49b1e5ccd89e65480a8191ce69eb462 /odk/Package_lib.mk
parent1ea1818dd15bcfc1605764b237e6f71e8fcb5635 (diff)
replace CustomTarget_odk/odkcommon/lib by Package
Change-Id: I929384077255b2fd944abf2da573c66572dec62b Reviewed-on: https://gerrit.libreoffice.org/3532 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'odk/Package_lib.mk')
-rw-r--r--odk/Package_lib.mk28
1 files changed, 28 insertions, 0 deletions
diff --git a/odk/Package_lib.mk b/odk/Package_lib.mk
new file mode 100644
index 000000000000..4a3199cc40cf
--- /dev/null
+++ b/odk/Package_lib.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_Package_Package,odk_lib,$(OUTDIR)/lib))
+
+$(eval $(call gb_Package_set_outdir,odk_lib,$(INSTDIR)))
+
+$(eval $(call gb_Package_add_files,odk_lib,$(gb_Package_SDKDIRNAME)/lib,\
+ $(if $(filter MSC,$(COM)),\
+ $(foreach lib,\
+ cppu \
+ cppuhelper \
+ purpenvhelper \
+ sal \
+ salhelper \
+ ,$(notdir $(call gb_Library_get_target,$(lib))) \
+ ) \
+ ) \
+ $(if $(filter LINUX,$(OS)),$(notdir $(call gb_StaticLibrary_get_target,salcpprt))) \
+))
+
+# vim: set noet sw=4 ts=4: