3 SHELL
=/usr
/bin
/env bash
5 ifeq (@CROSS_COMPILING@
,YES
)
6 CROSS_TOOLSET_RULE
:=cross-build-toolset
11 all: Makefile dmake
/dmake@EXEEXT_FOR_BUILD@ src.downloaded
$(CROSS_TOOLSET_RULE
)
13 cd instsetoo_native
&& \
14 build.pl
-P@BUILD_NCPUS@
--all -- -P@BUILD_MAX_JOBS@
17 @. .
/Env.Build.sh
&& \
19 build.pl
-P@BUILD_NCPUS@
--all -- -P@BUILD_MAX_JOBS@
23 echo
"Installing in @PREFIXDIR@..." && \
24 ooinstall
"@PREFIXDIR@" && \
26 echo
"Installation finished, you can now execute:" && \
27 echo
"@PREFIXDIR@/program/soffice" && \
28 install-gdb-printers
-a
"@PREFIXDIR@"
30 distro-pack-install
: install
31 .
/bin
/distro-install-clean-up
32 .
/bin
/distro-install-desktop-integration
33 .
/bin
/distro-install-sdk
34 .
/bin
/distro-install-file-lists
38 cd smoketestoo_native
&& \
39 export SAL_USE_VCLPLUGIN
="svp" && \
40 build.pl
-P@BUILD_NCPUS@
--all:instsetoo_native
-- -P@BUILD_MAX_JOBS@
&& \
41 cd @abs_builddir@
&& ln
-s
$$SOLARVER/$$INPATH/installation
/opt
/ install && \
43 $$SOLARENV/bin
/linkoo
$$SRC_ROOT/install $$SRC_ROOT && \
44 install-gdb-printers
-a
"$$SOLARVER/$$INPATH/installation/opt" -L
&& \
45 echo
&& echo
"Developer installation finished, you can now execute:" && echo
&& \
46 if
test `uname -s` = Darwin
; then \
47 echo open
install/LibreOffice.app
; \
49 echo
"cd @abs_builddir@/install/program" && \
51 echo
"./soffice.bin"; \
57 ifeq (@BUILD_DMAKE@
,YES
)
58 -$(GNUMAKE
) -C dmake
distclean
63 rm -rf
*/$$INPATH && \
64 rm -rf solver
/$$INPATH && \
67 ifeq (@BUILD_DMAKE@
,YES
)
69 (if
[ -f dmake
/Makefile
] ; then
$$GNUMAKE -C dmake
clean; fi
) && \
70 rm -f solenv
/*/bin
/dmake
*
72 ifeq (@CROSS_COMPILING@
,YES
)
74 rm -rf
*/$$INPATH_FOR_BUILD && \
75 rm -rf solver
/$$INPATH_FOR_BUILD
78 dmake
/dmake@EXEEXT_FOR_BUILD@
:
81 src.downloaded
: ooo.lst download
82 ifeq (@DO_FETCH_TARBALLS@
,YES
)
84 $$SRC_ROOT/download
$$SRC_ROOT/ooo.lst
&& touch
$@
86 @echo
"Automatic fetching of external tarballs is disabled."
91 Makefile
: autogen.lastrun configure.in ooo.lst.in set_soenv.in Makefile.in
94 check: Makefile dmake
/dmake@EXEEXT_FOR_BUILD@ fetch
96 cd smoketestoo_native
&& \
97 export SAL_USE_VCLPLUGIN
="svp" && \
98 build.pl
-P@BUILD_NCPUS@
--all -- -P@BUILD_MAX_JOBS@
99 @. .
/Env.Host.sh
&& $$SOLARENV/bin
/subsequenttests
102 @. .
/Env.Host.sh
&& \
106 @. .
/Env.Host.sh
&& \
110 @. .
/Env.Host.sh
&& \
111 mkdocs.sh
$$SRC_ROOT/docs
$$SOLARENV/inc
/doxygen.cfg
114 # experimental callcatcher target
115 # http://www.skynet.ie/~caolan/Packages/callcatcher.html
116 @which callcatcher
> /dev
/null
2>&1 || \
117 (echo
"callcatcher not installed" && false
)
118 @. .
/Env.Host.sh
&& \
119 source
<(sed
-e s
,$$INPATH,callcatcher
,g .
/Env.Host.sh
) && \
120 . .
/solenv
/bin
/callcatchEnv.Set.sh
&& \
121 cd instsetoo_native
&& \
122 build.pl
-P@BUILD_NCPUS@
--all -- -P@BUILD_MAX_JOBS@
123 @. .
/Env.Host.sh
&& \
124 source
<(sed
-e s
,$$INPATH,callcatcher
,g .
/Env.Host.sh
) && \
126 $$WORKDIR/LinkTarget
/*/* \
128 */$$OUTPATH/lib
/* > unusedcode.
all
129 #because non-c++ symbols could be dlsymed lets make a list of class level
130 #unused methods which don't require much effort to determine if they need
131 #to be just removed, or put behind appropiate platform or debug level ifdefs
132 @grep
::.
*\
( unusedcode.
all | grep
-v cppu
::bootstrap
> unusedcode.easy