Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / desktop / Executable_soffice_bin.mk
blobcabd31af29f248946ae722fcc36e79c37baad25b
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),MACOSX)
28 $(eval $(call gb_Executable_set_ldflags,\
29 $(filter-out -bind_at_load,$$(LDFLAGS)) \
32 endif
34 ifeq ($(OS),WNT)
36 $(eval $(call gb_Executable_set_targettype_gui,soffice_bin,NO))
38 $(eval $(call gb_Executable_add_nativeres,soffice_bin,sofficebin/officeloader))
40 $(eval $(call gb_Executable_add_default_nativeres,soffice_bin,$(PRODUCTNAME)))
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: