Version 4.2.0.1, tag libreoffice-4.2.0.1
[LibreOffice.git] / solenv / bin / callcatcher.Makefile
blob10b09e3a9d2bf86362aa0f75e1a87cc54ecb893e
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 .PHONY: all
12 include callcatcher/config_host.mk
14 export CC:=callcatcher $(CC)
15 export CXX:=callcatcher $(CXX)
16 ifeq ($(AR),)
17 export AR:=callarchive ar
18 else
19 export AR:=callarchive $(AR)
20 endif
21 export dbglevel:=2
23 include $(SRCDIR)/solenv/gbuild/gbuild.mk
25 findunusedcode:
26         $(GNUMAKE) BUILDDIR=callcatcher -j $(PARALLELISM) $(GMAKE_OPTIONS) -f Makefile.gbuild
27         $(GNUMAKE) BUILDDIR=callcatcher -j $(PARALLELISM) $(GMAKE_OPTIONS) -f Makefile.gbuild subsequentcheck
28         callanalyse \
29           $(INSTDIR)/program/* \
30           $(WORKDIR)/LinkTarget/*/* $(WORKDIR)/LinkTarget/*/*/* \
31           $(WORKDIR)/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit.so* \
32           > unusedcode.all
34 # vim: set noet sw=4 ts=4: