office-gobmx/Makefile.in
Tor Lillqvist 84fbaed77d More cross-compiling work
AC_SUBST also EXEEXT_FOR_BUILD and use that in Makefile.in.

As winemv.set.sh is now called WindowsMSVCEnv.Set.sh, with capital E
and S like all the others, we can simplify the glob pattern for the
Set.sh file.

Don't attempt to download and/or run unpackers for dependencies
relevant only when using MSVC if using MinGW.

Misc other Windows host vs. build fixes.
2011-05-17 02:22:19 +03:00

70 lines
1.6 KiB
Makefile

# @configure_input@
SHELL=/usr/bin/env bash
ifeq ($(USE_GMAKE),)
GBUILD_OPT:=
else
GBUILD_OPT:=--gmake
endif
all: Makefile dmake/dmake@EXEEXT_FOR_BUILD@ src.downloaded
@. ./*Env.Set.sh && \
cd instsetoo_native && \
build.pl $(GBUILD_OPT) -P@BUILD_NCPUS@ --all -- -P@BUILD_MAX_JOBS@
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 && \
ooinstall -l @abs_builddir@/install && \
echo "" && \
echo "Developer installation finished, you can now execute:" && \
echo "@abs_builddir@/install/program/soffice"
distclean: dmake/dmake@EXEEXT_FOR_BUILD@
@. ./*Env.Set.sh && \
dmake distclean
clean: dmake/dmake@EXEEXT_FOR_BUILD@
@. ./*Env.Set.sh && \
dmake clean && \
if [ -n "$$USE_GMAKE" ] ; then make -f GNUmakefile.mk -sr clean ; fi
dmake/dmake@EXEEXT_FOR_BUILD@:
@. ./*Env.Set.sh && \
./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@
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