2010-11-11 01:42:52 -06:00
|
|
|
# @configure_input@
|
2010-08-18 10:48:07 -05:00
|
|
|
|
2010-12-07 03:30:05 -06:00
|
|
|
SHELL=/usr/bin/env bash
|
2010-08-18 10:48:07 -05:00
|
|
|
|
2011-01-10 01:05:38 -06:00
|
|
|
ifeq ($(USE_GMAKE),)
|
|
|
|
GBUILD_OPT:=
|
|
|
|
else
|
|
|
|
GBUILD_OPT:=--gmake
|
|
|
|
endif
|
|
|
|
|
2011-01-08 11:45:25 -06:00
|
|
|
all: Makefile dmake/dmake@EXEEXT@ src.downloaded
|
2011-01-10 01:05:38 -06:00
|
|
|
|
2010-10-23 12:27:08 -05:00
|
|
|
@. ./*[Ee]nv.[Ss]et.sh && \
|
2010-11-11 01:42:52 -06:00
|
|
|
cd instsetoo_native && \
|
2011-01-10 01:05:38 -06:00
|
|
|
build.pl $(GBUILD_OPT) -P@BUILD_NCPUS@ --all -- -P@BUILD_MAX_JOBS@
|
2010-08-18 10:48:07 -05:00
|
|
|
|
2010-12-01 03:47:46 -06:00
|
|
|
install:
|
2010-10-23 12:27:08 -05:00
|
|
|
@. ./*[Ee]nv.[Ss]et.sh && \
|
2010-12-07 14:05:41 -06:00
|
|
|
echo "Installing in $${prefix:-@prefix@}..." && \
|
2010-12-01 03:47:46 -06:00
|
|
|
ooinstall "$${prefix:-@prefix@}" && \
|
|
|
|
echo "" && \
|
|
|
|
echo "Installation finished, you can now execute:" && \
|
|
|
|
echo "$${prefix:-@prefix@}/program/soffice"
|
2010-09-16 13:40:40 -05:00
|
|
|
|
2010-08-20 09:43:34 -05:00
|
|
|
dev-install:
|
2010-10-23 12:27:08 -05:00
|
|
|
@. ./*[Ee]nv.[Ss]et.sh && \
|
2010-11-11 01:42:52 -06:00
|
|
|
ooinstall -l @abs_builddir@/install && \
|
|
|
|
echo "" && \
|
|
|
|
echo "Developer installation finished, you can now execute:" && \
|
|
|
|
echo "@abs_builddir@/install/program/soffice"
|
2010-12-01 03:47:46 -06:00
|
|
|
|
|
|
|
distclean: dmake/dmake@EXEEXT@
|
|
|
|
@. ./*[Ee]nv.[Ss]et.sh && \
|
|
|
|
dmake distclean
|
|
|
|
|
|
|
|
clean: dmake/dmake@EXEEXT@
|
|
|
|
@. ./*[Ee]nv.[Ss]et.sh && \
|
2011-01-10 01:05:38 -06:00
|
|
|
dmake clean && \
|
|
|
|
if [ -n "$$USE_GMAKE" ] ; then make -f GNUmakefile.mk -sr clean ; fi
|
2010-12-01 03:47:46 -06:00
|
|
|
|
|
|
|
dmake/dmake@EXEEXT@:
|
|
|
|
@. ./*[Ee]nv.[Ss]et.sh && \
|
|
|
|
./bootstrap
|
2010-12-02 04:47:13 -06:00
|
|
|
|
2011-01-08 11:45:25 -06:00
|
|
|
src.downloaded: ooo.lst download
|
2010-12-02 04:47:13 -06:00
|
|
|
@. ./*[Ee]nv.[Ss]et.sh && \
|
|
|
|
$$SRC_ROOT/download $$SRC_ROOT/ooo.lst && touch $@
|
|
|
|
|
2011-01-08 11:45:25 -06:00
|
|
|
fetch: src.downloaded
|
2010-12-02 08:06:21 -06:00
|
|
|
|
2010-12-16 04:17:30 -06:00
|
|
|
Makefile: configure.in set_soenv.in Makefile.in
|
|
|
|
./autogen.sh
|
|
|
|
|
2010-12-21 07:16:49 -06:00
|
|
|
check: Makefile dmake/dmake@EXEEXT@ fetch
|
2010-12-02 08:06:21 -06:00
|
|
|
@. ./*[Ee]nv.[Ss]et.sh && \
|
|
|
|
cd smoketestoo_native && \
|
|
|
|
export SAL_USE_VCLPLUGIN="svp" && \
|
2011-01-10 01:05:38 -06:00
|
|
|
build.pl $(GBUILD_OPT) -P@BUILD_NCPUS@ --all -- -P@BUILD_MAX_JOBS@
|
2010-12-13 15:47:09 -06:00
|
|
|
|
|
|
|
id:
|
|
|
|
@. ./*[Ee]nv.[Ss]et.sh && \
|
|
|
|
create-ids
|
|
|
|
|
|
|
|
tags:
|
|
|
|
@. ./*[Ee]nv.[Ss]et.sh && \
|
|
|
|
create-tags
|
|
|
|
|
|
|
|
docs:
|
|
|
|
@. ./*[Ee]nv.[Ss]et.sh && \
|
|
|
|
mkdocs.sh $$SRC_ROOT/docs $$SOLARENV/inc/doxygen.cfg
|