Revert "tdf#127471 Remove font width scaling hack"
[LibreOffice.git] / onlineupdate / Executable_updater.mk
blobab15a94e4c600781c485211027b6170bb89f67df
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) \
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,\
23 libmar \
24 libmarverify \
25 updatehelper \
26 $(if $(filter WNT,$(OS)), \
27 windows_process )\
30 $(eval $(call gb_Executable_use_externals,updater,\
31 bzip2 \
34 ifeq ($(OS),WNT)
35 $(eval $(call gb_Executable_add_libs,updater,\
36 Ws2_32.lib \
37 Gdi32.lib \
38 Comctl32.lib \
39 Shell32.lib \
40 Shlwapi.lib \
41 Crypt32.lib \
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 \
56 else
58 $(eval $(call gb_Executable_add_defs,updater,\
59 -DVERIFY_MAR_SIGNATURE \
60 -DNSS3 \
63 $(eval $(call gb_Executable_use_externals,updater,\
64 nss3 \
67 $(eval $(call gb_Executable_add_libs,updater,\
68 $(GTK3_LIBS) \
71 endif
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: */