tdf#121388 : Disable threading and dep evaluation for IF...
[LibreOffice.git] / desktop / CustomTarget_soffice.mk
blob2fbd54b682c0eaddac9da71b3c418dafc675e09c
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_CustomTarget_CustomTarget,desktop/soffice))
12 $(call gb_CustomTarget_get_target,desktop/soffice) : \
13 $(call gb_CustomTarget_get_workdir,desktop/soffice)/soffice.sh
15 $(call gb_CustomTarget_get_workdir,desktop/soffice)/soffice.sh : \
16 $(SRCDIR)/desktop/scripts/soffice.sh \
17 | $(call gb_CustomTarget_get_workdir,desktop/soffice)/.dir
18 $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),SED,1)
19 ifneq ($(JITC_PROCESSOR_TYPE),)
20 sed -e "s/^#@JITC_PROCESSOR_TYPE_EXPORT@/export JITC_PROCESSOR_TYPE=$(JITC_PROCESSOR_TYPE)/" $< > $@
21 else
22 cp $< $@
23 endif
25 # vim:set shiftwidth=4 tabstop=4 noexpandtab: