Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / odk / Package_unowinreg.mk
blob189967eac22bbead2beed2fc5027354092c5d551
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 ifneq ($(BUILD_UNOWINREG),)
11 ifeq ($(COM),MSC)
12 odk_unowinreg_DIR := $(WORKDIR)/LinkTarget/Library
13 else
14 odk_unowinreg_DIR := $(call gb_CustomTarget_get_workdir,odk/unowinreg)
15 endif
16 odk_unowinreg_FILE := unowinreg.dll
17 else # !BUILD_UNOWINREG
18 odk_unowinreg_DIR := $(TARFILE_LOCATION)
19 odk_unowinreg_FILE := $(UNOWINREG_DLL)
20 endif
22 $(eval $(call gb_Package_Package,odk_unowinreg,$(odk_unowinreg_DIR)))
24 $(eval $(call gb_Package_set_outdir,odk_unowinreg,$(INSTDIR)))
26 $(eval $(call gb_Package_add_file,odk_unowinreg,$(SDKDIRNAME)/classes/win/unowinreg.dll,$(odk_unowinreg_FILE)))
28 # vim: set noet sw=4 ts=4: