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
),)
12 odk_unowinreg_DIR
:= $(WORKDIR
)/LinkTarget
/Library
14 odk_unowinreg_DIR
:= $(call gb_CustomTarget_get_workdir
,odk
/unowinreg
)
16 odk_unowinreg_FILE
:= unowinreg.dll
17 else # !BUILD_UNOWINREG
18 odk_unowinreg_DIR
:= $(TARFILE_LOCATION
)
19 odk_unowinreg_FILE
:= $(UNOWINREG_DLL
)
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: