Improve FN AutoText for ne
[LibreOffice.git] / onlineupdate / Executable_updater.mk
blob7c24b7beb3bb2ae998e28b451ad8f618003333f6
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 \
16 $$(INCLUDE) \
19 $(eval $(call gb_Executable_use_custom_headers,updater,onlineupdate/generated))
21 $(eval $(call gb_Executable_use_static_libraries,updater,\
22 libmar \
23 libmarverify \
24 updatehelper \
25 $(if $(filter WNT,$(OS)), \
26 windows_process )\
29 $(eval $(call gb_Executable_use_externals,updater,\
30 bzip2 \
33 ifeq ($(OS),WNT)
34 $(eval $(call gb_Executable_add_libs,updater,\
35 Ws2_32.lib \
36 Gdi32.lib \
37 Comctl32.lib \
38 Shell32.lib \
39 Shlwapi.lib \
40 Crypt32.lib \
43 $(eval $(call gb_Executable_set_targettype_gui,updater,YES))
45 $(eval $(call gb_Executable_add_nativeres,updater,updaterres))
47 $(eval $(call gb_Executable_add_ldflags,updater,\
48 /ENTRY:wmainCRTStartup \
51 $(eval $(call gb_Executable_add_defs,updater,\
52 -DVERIFY_MAR_SIGNATURE \
55 else
57 $(eval $(call gb_Executable_add_defs,updater,\
58 -DVERIFY_MAR_SIGNATURE \
59 -DNSS3 \
62 $(eval $(call gb_Executable_use_externals,updater,\
63 nss3 \
64 gtk \
67 $(eval $(call gb_Executable_add_libs,updater,\
68 -lX11 \
69 -lXext \
70 -lXrender \
71 -lSM \
72 -lICE \
74 endif
76 $(eval $(call gb_Executable_add_exception_objects,updater,\
77 onlineupdate/source/update/updater/xpcom/glue/nsVersionComparator \
78 onlineupdate/source/update/updater/archivereader \
79 onlineupdate/source/update/updater/bspatch \
80 onlineupdate/source/update/updater/progressui_gtk \
81 onlineupdate/source/update/updater/updater \
82 $(if $(filter WNT,$(OS)),\
83 onlineupdate/source/update/updater/loaddlls \
84 onlineupdate/source/update/updater/progressui_win \
85 onlineupdate/source/update/updater/win_dirent )\
88 # vim:set shiftwidth=4 tabstop=4 noexpandtab: */