dr78: #i26822# remove draw shell if selected object is removed by undo
[LibreOffice.git] / desktop / Executable_loader2.mk
blob7fd87557cfc095583ab8cb3de6dbd49cf16718f3
1 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
3 # The contents of this file are subject to the Mozilla Public License Version
4 # 1.1 (the "License"); you may not use this file except in compliance with
5 # the License or as specified alternatively below. You may obtain a copy of
6 # the License at http://www.mozilla.org/MPL/
8 # Software distributed under the License is distributed on an "AS IS" basis,
9 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
10 # for the specific language governing rights and limitations under the
11 # License.
13 # Major Contributor(s):
14 # Copyright (C) 2011 David Tardon, Red Hat Inc. <dtardon@redhat.com> (initial developer)
16 # All Rights Reserved.
18 # For minor contributions see the git repository.
20 # Alternatively, the contents of this file may be used under the terms of
21 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
22 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
23 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
24 # instead of those above.
26 $(eval $(call gb_Executable_Executable,loader2))
28 $(eval $(call gb_Executable_set_targettype_gui,loader2,YES))
30 $(eval $(call gb_Executable_set_include,loader2,\
31 $$(INCLUDE) \
34 $(eval $(call gb_Executable_add_linked_libs,loader2,\
35 advapi32 \
36 gdi32 \
37 msi \
38 shell32 \
41 ifeq ($(COM),MSC)
42 ifeq ($(gb_PRODUCT),)
43 $(eval $(call gb_Executable_add_linked_libs,loader2,\
44 libcmtd \
46 else
47 $(eval $(call gb_Executable_add_linked_libs,loader2,\
48 libcmt \
50 endif
51 endif
53 $(foreach file, \
54 desktop/win32/source/setup/setup_main \
55 desktop/win32/source/setup/setup_w, \
56 $(eval $(call gb_Executable_add_exception_objects,loader2,$(file)))\
57 $(eval $(call gb_CxxObject_get_target,$(file)) : DEFS := $(filter-out -D_DLL,$(gb_LinkTarget_DEFAULTDEFS) $(CPPFLAGS)))\
58 $(eval $(call gb_CxxObject_get_target,$(file)) : T_CXXFLAGS := -MT $(filter-out -MD,$(gb_LinkTarget_EXCEPTIONFLAGS) $(gb_LinkTarget_CXXFLAGS)))\
61 # vim: set ts=4 sw=4 et: