Update git submodules
[LibreOffice.git] / setup_native / Library_shlxtmsi.mk
blob63488e79a9893225d51ed43d38be4962ea3e4c50
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_Library_Library,shlxtmsi))
12 $(eval $(call gb_Library_use_external,shlxtmsi,boost_headers))
14 $(eval $(call gb_Library_add_defs,shlxtmsi,\
15 -U_DLL \
18 $(eval $(call gb_Library_add_cxxflags,shlxtmsi,\
19 $(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
20 $(if $(filter -fsanitize=%,$(CC)),,/fno-sanitize-address-vcasan-lib) \
23 $(eval $(call gb_Library_add_ldflags,shlxtmsi,\
24 /DEF:$(SRCDIR)/setup_native/source/win32/customactions/shellextensions/shlxtmsi.def \
25 /NODEFAULTLIB \
28 $(eval $(call gb_Library_add_exception_objects,shlxtmsi,\
29 setup_native/source/win32/customactions/shellextensions/startmenuicon \
30 setup_native/source/win32/customactions/shellextensions/upgrade \
31 setup_native/source/win32/customactions/shellextensions/migrateinstallpath \
32 setup_native/source/win32/customactions/shellextensions/completeinstallpath \
33 setup_native/source/win32/customactions/shellextensions/checkdirectory \
34 setup_native/source/win32/customactions/shellextensions/checkpatches \
37 $(eval $(call gb_Library_use_static_libraries,shlxtmsi,\
38 seterror \
41 $(eval $(call gb_Library_use_system_win32_libs,shlxtmsi,\
42 libcmt \
43 libcpmt \
44 libucrt \
45 libvcruntime \
46 msi \
47 kernel32 \
48 advapi32 \
49 shell32 \
50 psapi \
53 # vim: set noet sw=4 ts=4: