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
,instsetoo_native
/setup
))
12 $(eval
$(call gb_CustomTarget_register_targets
,instsetoo_native
/setup
,\
18 $(call gb_CustomTarget_get_workdir
,instsetoo_native
/setup
)/ooenv
:
19 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),$(true
),ECH
,1)
21 echo
'java_path=`$(INSTDIR)/ure/bin/javaldx 2>/dev/null`' && \
22 echo
'export LD_LIBRARY_PATH="$(INSTDIR)/program:$$java_path$${LD_LIBRARY_PATH:+:$$LD_LIBRARY_PATH}"' && \
23 echo
'ulimit -c unlimited' && \
24 echo
'export PATH="$(INSTDIR)/program:$(INSTDIR)/ure/bin:$$PATH"' && \
25 echo
'export GNOME_DISABLE_CRASH_DIALOG=1' && \
26 echo
'# debugging assistance' && \
27 echo
'export SAL_DISABLE_FLOATGRAB=1' && \
28 echo
'export G_SLICE=always-malloc' && \
29 echo
'export MALLOC_CHECK_=2' && \
30 echo
'export MALLOC_PERTURB_=153' && \
31 echo
'export OOO_DISABLE_RECOVERY=1' \
34 $(call gb_CustomTarget_get_workdir
,instsetoo_native
/setup
)/ure-link
:
35 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),$(true
),LN
,1)
37 mkdir
-p
$(dir $@
)/ure
&& \
41 $(call gb_CustomTarget_get_workdir
,instsetoo_native
/setup
)/versionrc
:
42 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),$(true
),ECH
,1)
45 echo
'AllLanguages=en-US' && \
46 echo
'buildid=$(shell git log -1 --format=%H)' && \
47 echo
'ProductMajor=$(LIBO_VERSION_MAJOR)$(LIBO_VERSION_MINOR)$(LIBO_VERSION_MICRO)' && \
48 echo
'ProductMinor=$(LIBO_VERSION_PATCH)' \
51 # vim: set noet sw=4 ts=4: