cid#1500452 Using a moved object
[LibreOffice.git] / desktop / Executable_soffice_bin.mk
blob9c08a28361dffc23b09a73bc8907ee79bb4b292b
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_include,soffice_bin,\
13 $$(INCLUDE) \
14 -I$(SRCDIR)/desktop/source/inc \
17 $(eval $(call gb_Executable_use_libraries,soffice_bin,\
18 sal \
19 sofficeapp \
22 $(eval $(call gb_Executable_add_cobjects,soffice_bin,\
23 desktop/source/app/main \
26 ifeq ($(OS),WNT)
28 $(eval $(call gb_Executable_set_targettype_gui,soffice_bin,NO))
30 $(eval $(call gb_Executable_add_nativeres,soffice_bin,sofficebin/officeloader))
32 $(eval $(call gb_Executable_add_default_nativeres,soffice_bin,$(PRODUCTNAME)))
34 ifeq ($(COM),MSC)
36 $(eval $(call gb_Executable_add_ldflags,soffice_bin,\
37 /STACK:10000000 \
40 endif
42 endif
44 # vim: set ts=4 sw=4 et: