summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-30 10:05:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-30 13:04:31 +0000
commitbc340ff02dcc519dc4fa7770c3da6140048108c8 (patch)
treea34347b152a135a0627c9282d21ca9ae1d840a41 /solenv
parent51bd0803b34565ee68d8be62e4076cb581785b06 (diff)
get findunusedcode target working
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/extensions/post_BuildplTargets.mk16
1 files changed, 8 insertions, 8 deletions
diff --git a/solenv/gbuild/extensions/post_BuildplTargets.mk b/solenv/gbuild/extensions/post_BuildplTargets.mk
index a053420cd126..7e9b898a55ec 100644
--- a/solenv/gbuild/extensions/post_BuildplTargets.mk
+++ b/solenv/gbuild/extensions/post_BuildplTargets.mk
@@ -1,4 +1,4 @@
-# -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
@@ -74,17 +74,18 @@ cross_toolset: $(WORKDIR)/bootstrap $(SRCDIR)/src.downloaded
findunusedcode:
@which callcatcher > /dev/null 2>&1 || \
(echo "callcatcher not installed" && false)
+ @sed -e s,$(INPATH),callcatcher,g $(SRCDIR)/Env.Host.sh > $(SRCDIR)/Env.callcatcher.sh
@mkdir -p $(SRCDIR)/solenv/callcatcher/bin && \
ln -sf $(SRCDIR)/solenv/$(INPATH)/bin/dmake \
$(SRCDIR)/solenv/callcatcher/bin/dmake && \
- source <(sed -e s,$(INPATH),callcatcher,g $(SRCDIR)/Env.Host.sh) && \
+ source $(SRCDIR)/Env.callcatcher.sh && \
source $(SRCDIR)/solenv/bin/callcatchEnv.Set.sh && \
$(call gb_BuildplTarget_command,instsetoo_native,--all)
- @source <(sed -e s,$(INPATH),callcatcher,g $(SRCDIR)/Env.Host.sh) && \
+ @source $(SRCDIR)/Env.callcatcher.sh && \
callanalyse \
- $(WORKDIR)/LinkTarget/*/* \
- */$(OUTPATH)/bin/* \
- */$(OUTPATH)/lib/* > unusedcode.all
+ $$WORKDIR/LinkTarget/*/* \
+ */$$OUTPATH/bin/* \
+ */$$OUTPATH/lib/* > unusedcode.all
#because non-c++ symbols could be dlsymed lets make a list of class level
#unused methods which don't require much effort to determine if they need
#to be just removed, or put behind appropiate platform or debug level ifdefs
@@ -98,5 +99,4 @@ build: instsetoo_native
endif # gb_PARTIALBUILD
-# vim:set shiftwidth=4 softtabstop=4 noexpandtab:
-
+# vim: set noet sw=4: