Branch libreoffice-5-0-4
[LibreOffice.git] / setup_native / Library_shlxtmsi.mk
blobae619e6dd47cb66a01844bdcb8357e67942308f6
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) \
22 $(eval $(call gb_Library_add_ldflags,shlxtmsi,\
23 /DEF:$(SRCDIR)/setup_native/source/win32/customactions/shellextensions/shlxtmsi.def \
24 /NODEFAULTLIB \
27 $(eval $(call gb_Library_add_exception_objects,shlxtmsi,\
28 setup_native/source/win32/customactions/shellextensions/startmenuicon \
29 setup_native/source/win32/customactions/shellextensions/upgrade \
30 setup_native/source/win32/customactions/shellextensions/migrateinstallpath \
31 setup_native/source/win32/customactions/shellextensions/completeinstallpath \
32 setup_native/source/win32/customactions/shellextensions/checkdirectory \
33 setup_native/source/win32/customactions/shellextensions/vistaspecial \
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 msi \
45 kernel32 \
46 advapi32 \
47 shell32 \
48 psapi \
51 # vim: set noet sw=4 ts=4: