50 null derefs seen in crashreporting report
[LibreOffice.git] / desktop / CustomTarget_soffice.mk
blob1fa356db16b31633c5a480f3e0e857e1def6a5a8
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 $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),SED)
20 ifneq ($(JITC_PROCESSOR_TYPE),)
21 sed -e "s/^#@JITC_PROCESSOR_TYPE_EXPORT@/export JITC_PROCESSOR_TYPE=$(JITC_PROCESSOR_TYPE)/" $< > $@
22 else
23 cp $< $@
24 endif
25 $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),SED)
27 # vim:set shiftwidth=4 tabstop=4 noexpandtab: