From 0d752247d882fd120a3f8d984c73c78e9d565e79 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Sun, 21 Apr 2013 16:08:16 +0200 Subject: replace CustomTarget_odk/odkcommon/lib by Package Change-Id: I929384077255b2fd944abf2da573c66572dec62b Reviewed-on: https://gerrit.libreoffice.org/3532 Reviewed-by: Fridrich Strba Tested-by: Fridrich Strba --- odk/Package_lib.mk | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 odk/Package_lib.mk (limited to 'odk/Package_lib.mk') 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: -- cgit