bump product version to 5.0.4.1
[LibreOffice.git] / desktop / Executable_soffice_bin.mk
blobf18e9dcd1fd81c409fe42fd5273452fd2ae2c260
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 \
22 $(gb_UWINAPI) \
25 $(eval $(call gb_Executable_add_cobjects,soffice_bin,\
26 desktop/source/app/main \
29 ifeq ($(OS),MACOSX)
31 $(eval $(call gb_Executable_set_ldflags,\
32 $(filter-out -bind_at_load,$$(LDFLAGS)) \
35 endif
37 ifeq ($(OS),WNT)
39 $(eval $(call gb_Executable_set_targettype_gui,soffice_bin,YES))
41 $(eval $(call gb_Executable_add_nativeres,soffice_bin,sofficebin/officeloader))
43 ifeq ($(COM),MSC)
45 $(eval $(call gb_Executable_add_ldflags,soffice_bin,\
46 /STACK:10000000 \
49 endif
51 endif
53 # vim: set ts=4 sw=4 et: