2011-08-09 12:12:48 -05:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
2012-01-24 15:48:30 -06:00
|
|
|
|
2012-02-14 16:36:57 -06:00
|
|
|
.PHONY : all bootstrap build check clean clean-build clean-host dev-install distclean distro-pack-install docs fetch findunusedcode id install subsequentcheck tags
|
2012-01-26 16:29:26 -06:00
|
|
|
|
|
|
|
ifeq ($(MAKECMDGOALS),)
|
|
|
|
MAKECMDGOALS:=all
|
|
|
|
endif
|
|
|
|
|
2012-01-24 15:48:30 -06:00
|
|
|
all: build
|
|
|
|
|
|
|
|
SHELL=/usr/bin/env bash
|
|
|
|
SRCDIR:=$(patsubst %/,%,$(dir $(realpath $(firstword $(MAKEFILE_LIST)))))
|
|
|
|
|
|
|
|
ifeq ($(gb_Side),)
|
|
|
|
gb_Side:=host
|
|
|
|
endif
|
|
|
|
|
|
|
|
include $(SRCDIR)/config_$(gb_Side).mk
|
|
|
|
|
2012-02-06 19:07:47 -06:00
|
|
|
ifeq ($(verbose),)
|
2012-01-24 15:48:30 -06:00
|
|
|
GMAKE_OPTIONS:=-rs
|
|
|
|
else
|
|
|
|
GMAKE_OPTIONS:=-r
|
|
|
|
endif
|
|
|
|
|
|
|
|
gbuild_modules:= \
|
|
|
|
MathMLDTD\
|
|
|
|
Mesa\
|
|
|
|
UnoControls\
|
|
|
|
accessibility\
|
|
|
|
animations\
|
2012-02-06 19:07:47 -06:00
|
|
|
apple_remote\
|
2012-01-24 15:48:30 -06:00
|
|
|
avmedia\
|
|
|
|
basctl\
|
|
|
|
basebmp\
|
|
|
|
basegfx\
|
|
|
|
basic\
|
|
|
|
bean\
|
|
|
|
binaryurp\
|
|
|
|
canvas\
|
|
|
|
chart2\
|
2012-02-23 06:58:52 -06:00
|
|
|
clucene\
|
2012-01-24 15:48:30 -06:00
|
|
|
comphelper\
|
|
|
|
configmgr\
|
|
|
|
cppcanvas\
|
|
|
|
cppu\
|
|
|
|
cppuhelper\
|
|
|
|
cui\
|
|
|
|
dbaccess\
|
|
|
|
desktop\
|
|
|
|
drawinglayer\
|
|
|
|
dtrans\
|
|
|
|
editeng\
|
2012-02-29 04:39:38 -06:00
|
|
|
embeddedobj\
|
2012-01-24 15:48:30 -06:00
|
|
|
eventattacher\
|
|
|
|
extensions\
|
|
|
|
fileaccess\
|
|
|
|
filter\
|
|
|
|
forms\
|
|
|
|
formula\
|
|
|
|
fpicker\
|
|
|
|
framework\
|
|
|
|
hwpfilter\
|
|
|
|
i18npool\
|
|
|
|
i18nutil\
|
|
|
|
idl\
|
2012-02-17 04:26:15 -06:00
|
|
|
javaunohelper\
|
|
|
|
jurt\
|
|
|
|
jvmaccess\
|
|
|
|
jvmfwk\
|
2012-01-24 15:48:30 -06:00
|
|
|
lingucomponent\
|
|
|
|
linguistic\
|
|
|
|
lotuswordpro\
|
|
|
|
nlpsolver\
|
|
|
|
np_sdk\
|
|
|
|
o3tl\
|
|
|
|
offapi\
|
|
|
|
officecfg\
|
|
|
|
oovbaapi\
|
|
|
|
oox\
|
|
|
|
package\
|
2012-02-16 13:18:13 -06:00
|
|
|
packimages\
|
2012-01-24 15:48:30 -06:00
|
|
|
padmin\
|
|
|
|
psprint_config\
|
|
|
|
qadevOOo\
|
|
|
|
regexp\
|
|
|
|
reportdesign\
|
2012-02-17 04:26:15 -06:00
|
|
|
ridljar\
|
2012-01-24 15:48:30 -06:00
|
|
|
rsc\
|
|
|
|
sal\
|
|
|
|
salhelper\
|
|
|
|
sane\
|
|
|
|
sax\
|
|
|
|
sc\
|
|
|
|
scaddins\
|
|
|
|
sccomp\
|
|
|
|
scripting\
|
|
|
|
sd\
|
2012-03-05 07:36:16 -06:00
|
|
|
sdext\
|
2012-01-24 15:48:30 -06:00
|
|
|
sfx2\
|
|
|
|
slideshow\
|
2012-02-12 06:39:52 -06:00
|
|
|
smoketest\
|
2012-01-24 15:48:30 -06:00
|
|
|
sot\
|
|
|
|
starmath\
|
|
|
|
svl\
|
|
|
|
svtools\
|
|
|
|
svx\
|
|
|
|
sw\
|
|
|
|
swext\
|
|
|
|
tail_build\
|
|
|
|
test\
|
|
|
|
toolkit\
|
|
|
|
tools\
|
2012-02-24 16:35:56 -06:00
|
|
|
translations\
|
2012-01-24 15:48:30 -06:00
|
|
|
twain\
|
|
|
|
ucb\
|
|
|
|
ucbhelper\
|
|
|
|
udkapi\
|
|
|
|
unixODBC\
|
2012-02-17 04:26:15 -06:00
|
|
|
unoil\
|
2012-02-09 17:16:55 -06:00
|
|
|
unotest\
|
2012-01-24 15:48:30 -06:00
|
|
|
unotools\
|
|
|
|
unoxml\
|
|
|
|
ure\
|
|
|
|
uui\
|
|
|
|
vbahelper\
|
|
|
|
vcl\
|
|
|
|
wizards\
|
|
|
|
writerfilter\
|
|
|
|
writerperfect\
|
|
|
|
xmerge\
|
|
|
|
xml2cmp\
|
|
|
|
xmloff\
|
|
|
|
xmlreader\
|
|
|
|
xmlscript\
|
|
|
|
xmlsecurity\
|
|
|
|
|
|
|
|
dmake_modules:=\
|
|
|
|
afms\
|
|
|
|
apache-commons\
|
|
|
|
autodoc\
|
|
|
|
beanshell\
|
|
|
|
berkeleydb\
|
|
|
|
binfilter \
|
|
|
|
boost\
|
|
|
|
bridges\
|
|
|
|
cairo\
|
|
|
|
cli_ure\
|
|
|
|
codemaker\
|
|
|
|
connectivity\
|
|
|
|
cosv\
|
|
|
|
cppunit\
|
|
|
|
cpputools\
|
|
|
|
crashrep\
|
|
|
|
ct2n\
|
|
|
|
curl\
|
|
|
|
dictionaries \
|
|
|
|
embedserv\
|
|
|
|
epm\
|
|
|
|
expat\
|
|
|
|
external\
|
|
|
|
extras\
|
|
|
|
fontconfig\
|
|
|
|
freetype\
|
|
|
|
gdk-pixbuf\
|
|
|
|
gettext\
|
|
|
|
glib\
|
|
|
|
graphite\
|
2012-02-06 12:12:02 -06:00
|
|
|
helpcontent2 \
|
2012-01-24 15:48:30 -06:00
|
|
|
hsqldb\
|
|
|
|
hunspell\
|
|
|
|
hyphen\
|
|
|
|
icc\
|
|
|
|
icu\
|
|
|
|
idlc\
|
|
|
|
instsetoo_native\
|
|
|
|
io\
|
|
|
|
jfreereport\
|
|
|
|
jpeg\
|
|
|
|
l10ntools\
|
|
|
|
languagetool\
|
|
|
|
libcdr\
|
|
|
|
libcmis\
|
|
|
|
libcroco\
|
|
|
|
libexttextcat\
|
|
|
|
libgsf\
|
|
|
|
libpng\
|
|
|
|
librsvg\
|
|
|
|
libvisio\
|
|
|
|
libwpd\
|
|
|
|
libwpg\
|
|
|
|
libwps\
|
|
|
|
libxml2\
|
|
|
|
libxmlsec\
|
|
|
|
libxslt\
|
2012-03-02 03:15:42 -06:00
|
|
|
lcms2\
|
2012-01-24 15:48:30 -06:00
|
|
|
lpsolve\
|
|
|
|
lucene\
|
|
|
|
mdds\
|
|
|
|
migrationanalysis\
|
|
|
|
more_fonts\
|
|
|
|
moz\
|
|
|
|
mysqlc\
|
|
|
|
mysqlcppconn\
|
|
|
|
mythes\
|
|
|
|
neon\
|
|
|
|
nss\
|
|
|
|
odk\
|
|
|
|
openssl\
|
|
|
|
pango\
|
|
|
|
postgresql\
|
|
|
|
postprocess\
|
|
|
|
python\
|
|
|
|
pyuno\
|
|
|
|
rdbmaker\
|
|
|
|
readlicense_oo\
|
|
|
|
redland\
|
|
|
|
registry\
|
|
|
|
remotebridges\
|
|
|
|
reportbuilder\
|
|
|
|
rhino\
|
|
|
|
saxon\
|
|
|
|
scp2\
|
|
|
|
setup_native\
|
|
|
|
shell\
|
|
|
|
solenv\
|
|
|
|
soltools\
|
|
|
|
stax\
|
|
|
|
stlport\
|
|
|
|
stoc\
|
|
|
|
store\
|
|
|
|
sysui\
|
2012-02-07 00:36:49 -06:00
|
|
|
testtools\
|
2012-01-24 15:48:30 -06:00
|
|
|
tomcat\
|
|
|
|
udm\
|
|
|
|
unodevtools\
|
|
|
|
vigra\
|
|
|
|
x11_extensions\
|
|
|
|
xmlhelp\
|
|
|
|
xpdf\
|
|
|
|
xsltml\
|
|
|
|
zlib\
|
|
|
|
|
|
|
|
define gbuild_module_rules
|
2012-02-08 08:10:44 -06:00
|
|
|
.PHONY: $(1) $(1).all $(1).clean $(1).deliver
|
2012-01-24 15:48:30 -06:00
|
|
|
|
|
|
|
$(1): bootstrap fetch
|
2012-02-06 19:07:47 -06:00
|
|
|
cd $(1) && $(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS) gb_PARTIALBUILD=T
|
2012-01-24 15:48:30 -06:00
|
|
|
|
2012-02-08 08:10:44 -06:00
|
|
|
$(1).all: bootstrap fetch
|
|
|
|
cd $(1) && unset MAKEFLAGS && \
|
|
|
|
$(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) --all -- -P$(GMAKE_PARALLELISM)
|
|
|
|
|
2012-01-24 15:48:30 -06:00
|
|
|
$(1).clean:
|
2012-02-06 19:07:47 -06:00
|
|
|
cd $(1) && $(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS) clean gb_PARTIALBUILD=T
|
|
|
|
|
|
|
|
$(1).deliver:
|
|
|
|
@true
|
2012-01-24 15:48:30 -06:00
|
|
|
|
|
|
|
endef
|
|
|
|
|
|
|
|
define gbuild_modules_rules
|
|
|
|
$(foreach m,$(1),$(call gbuild_module_rules,$(m)))
|
|
|
|
endef
|
|
|
|
|
|
|
|
define dmake_module_rules
|
|
|
|
.PHONY: $(1) $(1).all $(1).deliver $(1).clean
|
|
|
|
|
|
|
|
$(1): bootstrap fetch
|
2012-01-25 07:25:16 -06:00
|
|
|
cd $(1) && unset MAKEFLAGS && \
|
|
|
|
$(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) -- -P$(GMAKE_PARALLELISM)
|
2012-01-24 15:48:30 -06:00
|
|
|
|
|
|
|
$(1).all: bootstrap fetch
|
2012-01-25 07:25:16 -06:00
|
|
|
cd $(1) && unset MAKEFLAGS && \
|
|
|
|
$(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) --all -- -P$(GMAKE_PARALLELISM)
|
2012-01-24 15:48:30 -06:00
|
|
|
|
2012-02-13 09:33:32 -06:00
|
|
|
$(1).deliver: $(1)
|
2012-01-24 15:48:30 -06:00
|
|
|
cd $(1) && $(SOLARENV)/bin/deliver.pl
|
|
|
|
|
|
|
|
$(1).clean:
|
|
|
|
rm -fr $(1)/$(INPATH)
|
|
|
|
|
|
|
|
endef
|
|
|
|
|
|
|
|
define dmake_modules_rules
|
|
|
|
$(foreach m,$(1),$(call dmake_module_rules,$(m)))
|
|
|
|
endef
|
|
|
|
|
2010-04-17 05:41:17 -05:00
|
|
|
#
|
2012-01-24 15:48:30 -06:00
|
|
|
# Partial Build
|
2010-04-17 05:41:17 -05:00
|
|
|
#
|
2012-01-24 15:48:30 -06:00
|
|
|
$(eval $(call gbuild_modules_rules,$(gbuild_modules)))
|
|
|
|
|
|
|
|
$(eval $(call dmake_modules_rules,$(dmake_modules)))
|
|
|
|
|
2010-04-17 05:41:17 -05:00
|
|
|
#
|
2012-01-24 15:48:30 -06:00
|
|
|
# Clean
|
2010-04-17 05:41:17 -05:00
|
|
|
#
|
2012-01-24 15:48:30 -06:00
|
|
|
clean: clean-host clean-build
|
|
|
|
|
|
|
|
clean-host:
|
|
|
|
rm -fr $(SRCDIR)/*/$(INPATH)
|
|
|
|
rm -fr $(SRCDIR)/workdir/*
|
|
|
|
rm -fr $(SRCDIR)/solver/$(INPATH)
|
|
|
|
rm -fr install
|
|
|
|
|
|
|
|
clean-build:
|
|
|
|
ifeq ($(CROSS_COMPILING),YES)
|
|
|
|
rm -rf */$(INPATH_FOR_BUILD)
|
|
|
|
endif
|
|
|
|
|
2010-04-17 05:41:17 -05:00
|
|
|
#
|
2012-01-24 15:48:30 -06:00
|
|
|
# Distclean
|
2010-04-17 05:41:17 -05:00
|
|
|
#
|
2012-01-24 15:48:30 -06:00
|
|
|
distclean : clean
|
|
|
|
ifeq ($(BUILD_DMAKE),YES)
|
|
|
|
(if [ -f dmake/Makefile ] ; then $(GNUMAKE) -j $(GMAKE_PARALLELISM) -C dmake distclean; fi) && \
|
|
|
|
rm -f solenv/*/bin/dmake*
|
|
|
|
endif
|
|
|
|
rm -fr config_host.mk config_build.mk aclocal.m4 autom4te.cache \
|
|
|
|
bin/repo-list config.log config.status configure \
|
2012-02-07 07:55:19 -06:00
|
|
|
ooo.lst post_download post_download.log \
|
2012-01-24 15:48:30 -06:00
|
|
|
config_host.mk.last set_soenv.stamp src.downloaded warn
|
2010-04-17 05:41:17 -05:00
|
|
|
|
2012-01-25 17:22:58 -06:00
|
|
|
#
|
2012-02-10 10:06:24 -06:00
|
|
|
# custom command
|
2012-01-25 17:22:58 -06:00
|
|
|
#
|
|
|
|
ifneq ( $(MAKECMDGOALS),cmd)
|
|
|
|
cmd:
|
2012-02-10 10:06:24 -06:00
|
|
|
echo "custom cmd" && ( $(cmd) )
|
2012-01-25 05:35:29 -06:00
|
|
|
|
2012-01-25 17:22:58 -06:00
|
|
|
endif
|
2011-12-02 07:47:00 -06:00
|
|
|
|
2012-01-26 16:29:26 -06:00
|
|
|
ifneq ($(filter-out clean distclean,$(MAKECMDGOALS)),)
|
2012-01-26 14:26:49 -06:00
|
|
|
#
|
2012-02-16 10:39:26 -06:00
|
|
|
# Makefile
|
2012-01-26 14:26:49 -06:00
|
|
|
#
|
|
|
|
|
|
|
|
# I don't like to touch stuff that are supposed to be
|
|
|
|
# in the source tree, hence read-only
|
|
|
|
# but I couldn't find a way to get make to
|
|
|
|
# restart after an autogen. and we _have_ to
|
|
|
|
# restart since autogen can have changed
|
|
|
|
# config_host.k which is included in this
|
|
|
|
# Makefile
|
2012-02-26 12:53:09 -06:00
|
|
|
Makefile: $(SRCDIR)/config_host.mk
|
2012-01-26 14:26:49 -06:00
|
|
|
touch $@
|
|
|
|
|
2012-02-26 12:53:09 -06:00
|
|
|
$(SRCDIR)/config_host.mk : config_host.mk.in bin/repo-list.in ooo.lst.in configure.in autogen.lastrun
|
2012-01-26 14:26:49 -06:00
|
|
|
./autogen.sh
|
|
|
|
|
2012-02-26 12:53:09 -06:00
|
|
|
autogen.lastrun:
|
|
|
|
@true
|
|
|
|
|
2012-02-06 19:07:47 -06:00
|
|
|
#
|
|
|
|
# Fetch
|
|
|
|
#
|
|
|
|
fetch: src.downloaded
|
|
|
|
|
2012-02-16 10:39:26 -06:00
|
|
|
src.downloaded : Makefile ooo.lst download
|
2012-02-06 19:07:47 -06:00
|
|
|
ifeq ($(DO_FETCH_TARBALLS),YES)
|
|
|
|
@./download $(SRCDIR)/ooo.lst && touch $@
|
|
|
|
else
|
|
|
|
@echo "Automatic fetching of external tarballs is disabled."
|
|
|
|
endif
|
|
|
|
|
2012-01-24 15:48:30 -06:00
|
|
|
#
|
|
|
|
# Bootstap
|
|
|
|
#
|
2012-02-10 05:53:45 -06:00
|
|
|
ifeq ($(OS_FOR_BUILD),WNT)
|
|
|
|
WORKDIR_BOOTSTRAP=$(shell cygpath -u $(WORKDIR))/bootstrap
|
|
|
|
else
|
|
|
|
WORKDIR_BOOTSTRAP=$(WORKDIR)/bootstrap
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(WORKDIR_BOOTSTRAP):
|
2012-02-05 22:00:39 -06:00
|
|
|
@cd $(SRCDIR) && ./bootstrap
|
|
|
|
@mkdir -p $(dir $@) && touch $@
|
2012-01-24 15:48:30 -06:00
|
|
|
|
2012-02-10 05:53:45 -06:00
|
|
|
bootstrap: $(WORKDIR_BOOTSTRAP)
|
2012-01-24 15:48:30 -06:00
|
|
|
|
|
|
|
#
|
2012-02-06 19:07:47 -06:00
|
|
|
# Build
|
2012-01-24 15:48:30 -06:00
|
|
|
#
|
2012-02-06 19:07:47 -06:00
|
|
|
build: bootstrap fetch $(if $(filter $(INPATH),$(INPATH_FOR_BUILD)),,cross-toolset)
|
2012-02-27 08:31:42 -06:00
|
|
|
ifeq ($(DISABLE_SCRIPTING),TRUE)
|
2012-03-05 13:36:01 -06:00
|
|
|
# We must get the headers from vbahelper "delivered" because
|
|
|
|
# as we don't link to any libs from there they won't otherwise be, or
|
2012-02-23 12:25:45 -06:00
|
|
|
# something. And we still do include those headers always even if the
|
2012-02-27 08:31:42 -06:00
|
|
|
# libs aren't built in the --disable-scripting case. (Ifdefs for
|
|
|
|
# DISABLE_SCRIPTING will be added to the code later as necessary.)
|
2012-03-05 13:36:01 -06:00
|
|
|
$(GNUMAKE) vbahelper
|
2012-02-23 12:25:45 -06:00
|
|
|
endif
|
|
|
|
ifeq ($(DISABLE_DBCONNECTIVITY),TRUE)
|
|
|
|
# Ditto for dbconnectivity in the --disable-database-connectivity case
|
|
|
|
cd connectivity && sed -e 's/^\(export [A-Z0-9_]*=\)\(.*\)$$/\1"\2"/' <../config_host.mk >conftmp.sh && . conftmp.sh && rm conftmp.sh && $(SOLARENV)/bin/deliver.pl
|
|
|
|
endif
|
2012-02-20 05:17:22 -06:00
|
|
|
cd packimages && unset MAKEFLAGS && \
|
|
|
|
$(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) --all -- -P$(GMAKE_PARALLELISM)
|
|
|
|
ifeq ($(OS_FOR_BUILD),WNT)
|
|
|
|
cd instsetoo_native && unset MAKEFLAGS && $(SOLARENV)/bin/build.pl
|
|
|
|
else
|
2012-02-06 19:07:47 -06:00
|
|
|
cd instsetoo_native && unset MAKEFLAGS && \
|
2012-02-20 05:17:22 -06:00
|
|
|
$(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) -- -P$(GMAKE_PARALLELISM)
|
|
|
|
endif
|
2012-02-06 19:07:47 -06:00
|
|
|
|
|
|
|
cross-toolset: bootstrap fetch
|
|
|
|
cd cross_toolset && $(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS)
|
2011-12-02 07:47:00 -06:00
|
|
|
|
2011-11-29 10:07:57 -06:00
|
|
|
|
2012-01-24 15:48:30 -06:00
|
|
|
#
|
|
|
|
# Install
|
|
|
|
#
|
|
|
|
|
|
|
|
install:
|
|
|
|
echo "Installing in $(INSTALLDIR)..." && \
|
|
|
|
ooinstall "$(INSTALLDIR)" && \
|
|
|
|
echo "" && \
|
|
|
|
echo "Installation finished, you can now execute:" && \
|
|
|
|
echo "$(INSTALLDIR)/program/soffice"
|
|
|
|
|
2012-02-14 16:36:57 -06:00
|
|
|
dev-install: build
|
|
|
|
@rm -rf $(OUTDIR)/installation
|
|
|
|
@mkdir $(OUTDIR)/installation
|
|
|
|
ifeq ($(DISABLE_LINKOO),TRUE)
|
|
|
|
@ooinstall $(OUTDIR)/installation/opt
|
|
|
|
@install-gdb-printers -L
|
|
|
|
else
|
|
|
|
@ooinstall -l $(OUTDIR)/installation/opt
|
|
|
|
endif
|
2012-02-06 19:07:47 -06:00
|
|
|
@rm -f $(SRCDIR)/install && ln -s $(OUTDIR)/installation/opt/ $(SRCDIR)/install
|
|
|
|
|
2012-01-24 15:48:30 -06:00
|
|
|
distro-pack-install: install
|
|
|
|
$(SRCDIR)/bin/distro-install-clean-up
|
|
|
|
$(SRCDIR)/bin/distro-install-desktop-integration
|
|
|
|
$(SRCDIR)/bin/distro-install-sdk
|
|
|
|
$(SRCDIR)/bin/distro-install-file-lists
|
|
|
|
|
|
|
|
id:
|
|
|
|
@create-ids
|
|
|
|
|
|
|
|
tags:
|
|
|
|
@create-tags
|
|
|
|
|
|
|
|
docs:
|
|
|
|
@mkdocs.sh $(SRCDIR)/docs $(SOLARENV)/inc/doxygen.cfg
|
|
|
|
|
|
|
|
findunusedcode:
|
|
|
|
@which callcatcher > /dev/null 2>&1 || \
|
|
|
|
(echo "callcatcher not installed" && false)
|
|
|
|
@sed -e s,$$INPATH,callcatcher,g $(SRCDIR)/config_host.mk > $(SRCDIR)/config_host_callcatcher.mk
|
|
|
|
@mkdir -p $(SRCDIR)/solenv/callcatcher/bin && \
|
|
|
|
ln -sf $(SRCDIR)/solenv/$(INPATH)/bin/dmake \
|
|
|
|
$(SRCDIR)/solenv/callcatcher/bin/dmake
|
|
|
|
@$(GNUMAKE) -f $(SOLARENV)/bin/callcatcher.Makefile
|
2012-02-07 16:57:17 -06:00
|
|
|
@grep ::.*\( unusedcode.all \
|
2012-02-10 07:00:57 -06:00
|
|
|
| grep -v ^Atom \
|
2012-02-07 16:57:17 -06:00
|
|
|
| grep -v ^boost:: \
|
|
|
|
| grep -v ^CIcc \
|
2012-02-25 15:53:29 -06:00
|
|
|
| grep -v ^CLuceneError:: \
|
2012-02-10 07:00:57 -06:00
|
|
|
| grep -v ^cppu:: \
|
2012-02-10 08:49:53 -06:00
|
|
|
| grep -v ^Dde \
|
2012-02-25 15:53:29 -06:00
|
|
|
| grep -v ^graphite2:: \
|
|
|
|
| grep -v ^jvmaccess:: \
|
|
|
|
| grep -v ^libcdr:: \
|
|
|
|
| grep -v ^libcmis:: \
|
|
|
|
| grep -v ^libvisio:: \
|
|
|
|
| grep -v ^libwpg:: \
|
|
|
|
| grep -v ^lucene:: \
|
2012-02-10 07:00:57 -06:00
|
|
|
| grep -v ^salhelper:: \
|
2012-03-01 03:31:54 -06:00
|
|
|
| grep -v ^WP1 \
|
|
|
|
| grep -v ^WP3 \
|
|
|
|
| grep -v ^WP42 \
|
|
|
|
| grep -v ^WP6 \
|
|
|
|
| grep -v ^WPG \
|
|
|
|
| grep -v ^WPS \
|
2012-02-07 16:57:17 -06:00
|
|
|
> unusedcode.easy
|
2012-01-24 15:48:30 -06:00
|
|
|
|
2012-02-14 16:36:57 -06:00
|
|
|
check: subsequentcheck
|
2012-02-10 16:05:22 -06:00
|
|
|
|
2012-02-14 16:36:57 -06:00
|
|
|
subsequentcheck: dev-install
|
2012-02-26 12:37:49 -06:00
|
|
|
$(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS) -f Makefile.post $@
|
2012-02-06 19:07:47 -06:00
|
|
|
|
|
|
|
debugrun:
|
2012-02-26 12:37:49 -06:00
|
|
|
$(GNUMAKE) -j $(GMAKE_PARALLELISM) $(GMAKE_OPTIONS) -f Makefile.post $@
|
2012-02-10 16:05:22 -06:00
|
|
|
|
2012-01-26 16:29:26 -06:00
|
|
|
endif # not clean or distclean
|
|
|
|
|
|
|
|
|
2012-02-08 10:16:23 -06:00
|
|
|
#########################
|
|
|
|
# help
|
|
|
|
#
|
|
|
|
.PHONY: help
|
|
|
|
help:
|
|
|
|
@cat $(SRCDIR)/solenv/gbuild/gbuild.help.txt
|
|
|
|
@true
|
|
|
|
|
|
|
|
|
2010-04-17 05:41:17 -05:00
|
|
|
# vim: set noet sw=4 ts=4:
|