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
,updater
))
12 $(eval
$(call gb_Executable_set_include
,updater
,\
13 -I
$(SRCDIR
)/onlineupdate
/inc \
14 -I
$(SRCDIR
)/onlineupdate
/source
/update
/common \
15 -I
$(SRCDIR
)/onlineupdate
/source
/update
/updater
/xpcom
/glue \
17 $(if
$(filter-out WNT
,$(OS
)),$$(GTK3_CFLAGS
) ) \
20 $(eval
$(call gb_Executable_use_custom_headers
,updater
,onlineupdate
/generated
))
22 $(eval
$(call gb_Executable_use_static_libraries
,updater
,\
26 $(if
$(filter WNT
,$(OS
)), \
30 $(eval
$(call gb_Executable_use_externals
,updater
,\
35 $(eval
$(call gb_Executable_add_libs
,updater
,\
44 $(eval
$(call gb_Executable_set_targettype_gui
,updater
,YES
))
46 $(eval
$(call gb_Executable_add_nativeres
,updater
,updaterres
))
48 $(eval
$(call gb_Executable_add_ldflags
,updater
,\
49 /ENTRY
:wmainCRTStartup \
52 $(eval
$(call gb_Executable_add_defs
,updater
,\
53 -DVERIFY_MAR_SIGNATURE \
58 $(eval
$(call gb_Executable_add_defs
,updater
,\
59 -DVERIFY_MAR_SIGNATURE \
63 $(eval
$(call gb_Executable_use_externals
,updater
,\
67 $(eval
$(call gb_Executable_add_libs
,updater
,\
73 $(eval
$(call gb_Executable_add_exception_objects
,updater
,\
74 onlineupdate
/source
/update
/updater
/xpcom
/glue
/nsVersionComparator \
75 onlineupdate
/source
/update
/updater
/archivereader \
76 onlineupdate
/source
/update
/updater
/bspatch \
77 onlineupdate
/source
/update
/updater
/progressui_gtk \
78 onlineupdate
/source
/update
/updater
/updater \
79 $(if
$(filter WNT
,$(OS
)),\
80 onlineupdate
/source
/update
/updater
/loaddlls \
81 onlineupdate
/source
/update
/updater
/progressui_win \
82 onlineupdate
/source
/update
/updater
/win_dirent
)\
85 # vim:set shiftwidth=4 tabstop=4 noexpandtab: */