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/.
11 desktop_UNOPKGBIN
:= unopkg_bin
13 desktop_UNOPKGBIN
:= unopkg.bin
16 $(eval
$(call gb_Executable_Executable
,$(desktop_UNOPKGBIN
)))
18 $(eval
$(call gb_Executable_set_targettype_gui
,$(desktop_UNOPKGBIN
),YES
))
20 $(eval
$(call gb_Executable_set_include
,$(desktop_UNOPKGBIN
),\
22 -I
$(SRCDIR
)/desktop
/source
/inc \
25 $(eval
$(call gb_Executable_use_libraries
,$(desktop_UNOPKGBIN
),\
33 $(eval
$(call gb_Executable_add_cobjects
,$(desktop_UNOPKGBIN
),\
34 desktop
/source
/pkgchk
/unopkg
/unopkg_main \
39 # the resulting executable is called $(desktop_UNOPKGBIN).exe, copy it to $(desktop_UNOPKGBIN)
40 $(eval
$(call gb_Package_Package
,$(desktop_UNOPKGBIN
),$(OUTDIR
)/bin
))
41 $(eval
$(call gb_Package_add_file
,$(desktop_UNOPKGBIN
),bin
/unopkg.bin
,$(desktop_UNOPKGBIN
).exe
))
45 # vim: set ts=4 sw=4 et: