blob: 1abdfd83dfe523cb754ae97c06a150479bb9b03c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
|
# @configure_input@
SHELL=/usr/bin/env bash
ifeq ($(USE_GMAKE),)
GBUILD_OPT:=
else
GBUILD_OPT:=--gmake
endif
ifeq (@CROSS_COMPILING@,YES)
all: Makefile dmake/dmake@EXEEXT_FOR_BUILD@ src.downloaded cross-build-toolset
else
all: Makefile dmake/dmake@EXEEXT_FOR_BUILD@ src.downloaded
endif
@. ./*Env.Set.sh && \
cd instsetoo_native && \
build.pl $(GBUILD_OPT) -P@BUILD_NCPUS@ --all -- -P@BUILD_MAX_JOBS@
ifeq (@CROSS_COMPILING@,YES)
cross-build-toolset:
# Build necessary modules for the *build* platform, i.e. those needed
# by tools run at build time. Sure, in many of these modules only a
# part of the produced binaries are actually used then in the build.
# Once everything is handled by gbuild, this can hopefully be streamlined.
. ./Env.Build.sh && \
for D in \
solenv \
soltools \
boost \
external \
cppunit \
xml2cmp \
sal \
cosv \
udm \
autodoc \
store \
salhelper \
registry \
idlc \
icu \
udkapi \
expat \
libxml2 \
xml2cmp \
libxslt \
offapi \
oovbaapi \
codemaker \
offuh \
cppu \
cppuhelper \
rdbmaker \
cpputools \
xmlreader \
i18nutil \
ridljar \
jurt \
jvmaccess \
bridges \
ucbhelper \
comphelper \
jvmfwk \
regexp \
sax \
stoc \
i18npool \
unodevtools \
gettext \
dictionaries \
o3tl \
basegfx \
GBUILD:comphelper \
GBUILD:tools \
rsc; do \
case $$D in \
GBUILD:*) \
(cd $${D#*:} && make -r -j@BUILD_MAX_JOBS@) \
;; \
*) \
(cd $$D && build.pl $(GBUILD_OPT) -P@BUILD_NCPUS@ -- -P@BUILD_MAX_JOBS@ && deliver.pl) \
;; \
esac; \
done
endif
install:
@. ./*Env.Set.sh && \
echo "Installing in $${prefix:-@prefix@}..." && \
ooinstall "$${prefix:-@prefix@}" && \
echo "" && \
echo "Installation finished, you can now execute:" && \
echo "$${prefix:-@prefix@}/program/soffice"
dev-install:
@. ./*Env.Set.sh && \
cd smoketestoo_native && \
export SAL_USE_VCLPLUGIN="svp" && \
build.pl $(GBUILD_OPT) -P@BUILD_NCPUS@ --all -- -P@BUILD_MAX_JOBS@ && \
cd @abs_builddir@ && ln -s $$SOLARVER/$$INPATH/installation/opt/ install && \
echo "" && \
echo "Developer installation finished, you can now execute:"
@if test `uname -s` = Darwin; then \
echo open install/LibreOffice.app; \
else \
echo "cd @abs_builddir@/install/program" && \
echo ". ooenv" && \
echo "./soffice.bin"; \
fi
distclean:
-rm config.cache
-rm config.log
ifeq (@BUILD_DMAKE@,YES)
-$(GNUMAKE) -C dmake distclean
endif
clean:
. ./*Env.Set.sh && \
rm -rf */$$INPATH && \
rm -rf solver/*/$$INPATH && \
rm -rf install && \
$$GNUMAKE -C dmake clean && \
rm -f solenv/*/bin/dmake* && \
$$GNUMAKE -f GNUmakefile.mk -sr clean
ifeq (@CROSS_COMPILING@,YES)
. ./*Env.Set.sh && \
rm -rf */$$INPATH_FOR_BUILD && \
rm -rf solver/*/$$INPATH_FOR_BUILD
endif
dmake/dmake@EXEEXT_FOR_BUILD@:
./bootstrap
src.downloaded: ooo.lst download
@. ./*Env.Set.sh && \
$$SRC_ROOT/download $$SRC_ROOT/ooo.lst && touch $@
fetch: src.downloaded
Makefile: configure.in set_soenv.in Makefile.in
./autogen.sh
check: Makefile dmake/dmake@EXEEXT_FOR_BUILD@ fetch
@. ./*Env.Set.sh && \
cd smoketestoo_native && \
export SAL_USE_VCLPLUGIN="svp" && \
build.pl $(GBUILD_OPT) -P@BUILD_NCPUS@ --all -- -P@BUILD_MAX_JOBS@
@. ./*Env.Set.sh && $$SOLARENV/bin/subsequenttests
id:
@. ./*Env.Set.sh && \
create-ids
tags:
@. ./*Env.Set.sh && \
create-tags
docs:
@. ./*Env.Set.sh && \
mkdocs.sh $$SRC_ROOT/docs $$SOLARENV/inc/doxygen.cfg
|