bump product version to 4.1.6.2
[LibreOffice.git] / desktop / Executable_soffice_bin.mk
blob53fc5515e81cd561c9b312642cba6b6b61cf987e
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 $(eval $(call gb_Executable_use_static_libraries,soffice_bin,\
30 ooopathutils \
31 winextendloaderenv \
34 ifeq ($(COM),MSC)
36 $(eval $(call gb_Executable_add_ldflags,soffice_bin,\
37 /STACK:10000000 \
40 # HACK: Copy manifest to $(OUTDIR)/bin under the right name. The
41 # executable is copied in Package_soffice_bin, but that does not work
42 # for the manifest, for some reason...
43 $(call gb_Module_get_target,desktop) : $(OUTDIR)/bin/soffice.bin.manifest
45 $(OUTDIR)/bin/soffice.bin.manifest : $(call gb_Executable_get_target,soffice_bin)
46 $(call gb_Executable_get_clean_target,soffice_bin) : $(WORKDIR)/Clean/OutDir/bin/soffice.bin.manifest
48 $(OUTDIR)/bin/soffice.bin.manifest : $(call gb_LinkTarget_get_target,$(call gb_Executable_get_linktargetname,soffice_bin))
49 $(call gb_Deliver_deliver,$<.manifest,$@)
51 .PHONY : $(WORKDIR)/Clean/OutDir/bin/soffice.bin.manifest
52 $(WORKDIR)/Clean/OutDir/bin/soffice.bin.manifest :
53 rm -f $(OUTDIR)/bin/soffice.bin.manifest
55 endif
57 $(eval $(call gb_Executable_add_nativeres,soffice_bin,sofficebin/officeloader))
59 # vim: set ts=4 sw=4 et: