lok: vcl: fix multiple floatwin removal case more robustly.
[LibreOffice.git] / desktop / Executable_soffice_bin.mk
blob6db3c110cc1f134c31917cb01a9b3968bcb4e9fb
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,soffice_bin))
12 $(eval $(call gb_Executable_set_targettype_gui,soffice_bin,YES))
14 $(eval $(call gb_Executable_set_include,soffice_bin,\
15 $$(INCLUDE) \
16 -I$(SRCDIR)/desktop/source/inc \
19 $(eval $(call gb_Executable_use_libraries,soffice_bin,\
20 sal \
21 sofficeapp \
24 $(eval $(call gb_Executable_add_cobjects,soffice_bin,\
25 desktop/source/app/main \
28 ifeq ($(OS),MACOSX)
30 $(eval $(call gb_Executable_set_ldflags,\
31 $(filter-out -bind_at_load,$$(LDFLAGS)) \
34 endif
36 ifeq ($(OS),WNT)
38 $(eval $(call gb_Executable_set_targettype_gui,soffice_bin,YES))
40 $(eval $(call gb_Executable_add_nativeres,soffice_bin,sofficebin/officeloader))
42 ifeq ($(COM),MSC)
44 $(eval $(call gb_Executable_add_ldflags,soffice_bin,\
45 /STACK:10000000 \
48 endif
50 endif
52 # vim: set ts=4 sw=4 et: