Branch libreoffice-5-0-4
[LibreOffice.git] / odk / Executable_unoapploader.mk
blob3128a3ba4ca6782036b2083109b761d3a9d76920
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 $(eval $(call gb_Executable_Executable,unoapploader))
12 $(eval $(call gb_Executable_use_static_libraries,unoapploader,\
13 findsofficepath \
16 ifeq ($(OS),WNT)
17 $(eval $(call gb_Executable_set_targettype_gui,unoapploader,YES))
19 $(eval $(call gb_Executable_add_cobjects,unoapploader,\
20 odk/source/unoapploader/win/unoapploader \
23 $(eval $(call gb_Executable_use_system_win32_libs,unoapploader,\
24 advapi32 \
26 else
27 $(eval $(call gb_Executable_add_cobjects,unoapploader,\
28 odk/source/unoapploader/unx/unoapploader \
31 $(eval $(call gb_Executable_add_libs,unoapploader,\
32 $(if $(filter-out FREEBSD NETBSD DRAGONFLY,$(OS)),-ldl) \
34 endif
36 # vim: set ts=4 sw=4 et: