bump product version to 4.1.6.2
[LibreOffice.git] / solenv / bin / callcatcher.Makefile
blob9ea7ea5e668e47ac2bf575e4be1e7dd7966f7bdd
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 config_host_callcatcher.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 $(SOLARENV)/gbuild/gbuild.mk
25 findunusedcode:
26         $(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) -f Makefile.gbuild
27         ooinstall -l $(DEVINSTALLDIR)/opt
28         $(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) -f Makefile.gbuild subsequentcheck
29         callanalyse $(WORKDIR)/LinkTarget/*/* $(WORKDIR)/LinkTarget/*/*/* \
30           $(WORKDIR)/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit.so* \
31           > unusedcode.all
33 # vim: set noet sw=4 ts=4: