# -*- 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))) \ )) ifneq (,$(filter-out MACOSX WNT,$(OS))) define odk_add_sybolic_link $(call gb_Package_add_symbolic_link,odk_lib,$(gb_Package_SDKDIRNAME)/lib/$(1),../../ure-link/lib/$(1).3) endef $(foreach lib,cppu cppuhelper purpenvhelper sal salhelper,\ $(eval $(call odk_add_sybolic_link,$(call gb_Library_get_runtime_filename,$(lib))))) endif # vim: set noet sw=4 ts=4: