2010-12-12 09:46:59 +01:00
|
|
|
# This file is generated by tools/dmake, do not edit.
|
|
|
|
|
2022-09-09 15:06:40 +02:00
|
|
|
ifndef VERBOSE
|
|
|
|
VERBOSE=
|
|
|
|
endif
|
2011-10-17 20:18:36 +02:00
|
|
|
# To compile with rules, use 'make HAVE_RULES=yes'
|
2011-08-19 00:28:31 +02:00
|
|
|
ifndef HAVE_RULES
|
2011-10-17 20:18:36 +02:00
|
|
|
HAVE_RULES=no
|
2011-08-19 00:28:31 +02:00
|
|
|
endif
|
2011-04-19 20:53:40 +02:00
|
|
|
|
2022-09-09 15:06:40 +02:00
|
|
|
ifdef SRCDIR
|
|
|
|
$(error Usage of SRCDIR to activate match compiler has been removed. Use MATCHCOMPILER=yes instead.)
|
|
|
|
endif
|
|
|
|
ifndef MATCHCOMPILER
|
|
|
|
MATCHCOMPILER=
|
2019-06-23 13:43:09 +02:00
|
|
|
endif
|
2022-09-09 15:06:40 +02:00
|
|
|
# use match compiler
|
2019-06-23 13:43:09 +02:00
|
|
|
ifeq ($(MATCHCOMPILER),yes)
|
2019-10-08 10:55:40 +02:00
|
|
|
# Find available Python interpreter
|
2022-05-22 15:27:32 +02:00
|
|
|
ifeq ($(PYTHON_INTERPRETER),)
|
2022-02-16 07:06:04 +01:00
|
|
|
PYTHON_INTERPRETER := $(shell which python3)
|
|
|
|
endif
|
2022-05-22 15:27:32 +02:00
|
|
|
ifeq ($(PYTHON_INTERPRETER),)
|
2022-02-11 19:37:32 +01:00
|
|
|
PYTHON_INTERPRETER := $(shell which python)
|
2019-10-08 10:55:40 +02:00
|
|
|
endif
|
2022-05-22 15:27:32 +02:00
|
|
|
ifeq ($(PYTHON_INTERPRETER),)
|
2019-10-08 10:55:40 +02:00
|
|
|
$(error Did not find a Python interpreter)
|
|
|
|
endif
|
2013-05-15 13:04:19 +02:00
|
|
|
ifdef VERIFY
|
2019-10-08 10:55:40 +02:00
|
|
|
matchcompiler_S := $(shell $(PYTHON_INTERPRETER) tools/matchcompiler.py --verify)
|
2013-05-15 13:04:19 +02:00
|
|
|
else
|
2019-10-08 10:55:40 +02:00
|
|
|
matchcompiler_S := $(shell $(PYTHON_INTERPRETER) tools/matchcompiler.py)
|
2013-05-15 13:04:19 +02:00
|
|
|
endif
|
2019-06-23 13:43:09 +02:00
|
|
|
libcppdir:=build
|
|
|
|
else
|
|
|
|
libcppdir:=lib
|
2012-12-02 12:36:55 +01:00
|
|
|
endif
|
|
|
|
|
2022-09-09 15:06:40 +02:00
|
|
|
ifndef CPPFLAGS
|
|
|
|
CPPFLAGS=
|
|
|
|
endif
|
|
|
|
|
2019-08-17 10:53:07 +02:00
|
|
|
ifdef FILESDIR
|
2022-09-09 15:06:40 +02:00
|
|
|
CPPFLAGS+=-DFILESDIR=\"$(FILESDIR)\"
|
2013-12-28 12:15:08 +01:00
|
|
|
endif
|
|
|
|
|
2014-03-30 20:50:03 +02:00
|
|
|
RDYNAMIC=-rdynamic
|
2012-02-12 03:30:58 +01:00
|
|
|
# Set the CPPCHK_GLIBCXX_DEBUG flag. This flag is not used in release Makefiles.
|
2012-02-17 20:12:41 +01:00
|
|
|
# The _GLIBCXX_DEBUG define doesn't work in Cygwin or other Win32 systems.
|
2012-02-11 08:27:10 +01:00
|
|
|
ifndef COMSPEC
|
2022-09-09 15:06:40 +02:00
|
|
|
ifeq ($(VERBOSE),1)
|
|
|
|
$(info COMSPEC not found)
|
|
|
|
endif
|
2012-02-11 08:27:10 +01:00
|
|
|
ifdef ComSpec
|
2022-09-09 15:06:40 +02:00
|
|
|
ifeq ($(VERBOSE),1)
|
|
|
|
$(info ComSpec found)
|
|
|
|
endif
|
2012-02-11 08:27:10 +01:00
|
|
|
#### ComSpec is defined on some WIN32's.
|
2022-02-16 07:06:04 +01:00
|
|
|
WINNT=1
|
|
|
|
|
2022-09-09 15:06:40 +02:00
|
|
|
ifeq ($(VERBOSE),1)
|
|
|
|
$(info PATH=$(PATH))
|
|
|
|
endif
|
|
|
|
|
2022-02-16 07:06:04 +01:00
|
|
|
ifneq (,$(findstring /cygdrive/,$(PATH)))
|
2022-09-09 15:06:40 +02:00
|
|
|
ifeq ($(VERBOSE),1)
|
|
|
|
$(info /cygdrive/ found in PATH)
|
|
|
|
endif
|
2022-02-16 07:06:04 +01:00
|
|
|
CYGWIN=1
|
|
|
|
endif # CYGWIN
|
2012-02-11 08:27:10 +01:00
|
|
|
endif # ComSpec
|
|
|
|
endif # COMSPEC
|
|
|
|
|
2022-02-16 07:06:04 +01:00
|
|
|
ifdef WINNT
|
2022-09-09 15:06:40 +02:00
|
|
|
ifeq ($(VERBOSE),1)
|
|
|
|
$(info WINNT found)
|
|
|
|
endif
|
2012-02-11 08:27:10 +01:00
|
|
|
#### Maybe Windows
|
|
|
|
ifndef CPPCHK_GLIBCXX_DEBUG
|
|
|
|
CPPCHK_GLIBCXX_DEBUG=
|
|
|
|
endif # !CPPCHK_GLIBCXX_DEBUG
|
2013-02-08 11:32:06 +01:00
|
|
|
|
2022-09-09 15:06:40 +02:00
|
|
|
ifeq ($(VERBOSE),1)
|
|
|
|
$(info MSYSTEM=$(MSYSTEM))
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(MSYSTEM),MINGW32 MINGW64)
|
|
|
|
RDYNAMIC=
|
2013-02-08 11:32:06 +01:00
|
|
|
endif
|
2022-09-09 15:06:40 +02:00
|
|
|
|
|
|
|
LDFLAGS+=-lshlwapi
|
2022-02-16 07:06:04 +01:00
|
|
|
else # !WINNT
|
2022-09-09 15:06:40 +02:00
|
|
|
ifeq ($(VERBOSE),1)
|
|
|
|
$(info WINNT not found)
|
|
|
|
endif
|
|
|
|
|
2012-02-11 08:27:10 +01:00
|
|
|
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
|
|
|
|
|
2022-09-09 15:06:40 +02:00
|
|
|
ifeq ($(VERBOSE),1)
|
|
|
|
$(info uname_S=$(uname_S))
|
|
|
|
endif
|
|
|
|
|
2012-02-11 08:27:10 +01:00
|
|
|
ifeq ($(uname_S),Linux)
|
|
|
|
ifndef CPPCHK_GLIBCXX_DEBUG
|
|
|
|
CPPCHK_GLIBCXX_DEBUG=-D_GLIBCXX_DEBUG
|
|
|
|
endif # !CPPCHK_GLIBCXX_DEBUG
|
|
|
|
endif # Linux
|
|
|
|
|
|
|
|
ifeq ($(uname_S),GNU/kFreeBSD)
|
|
|
|
ifndef CPPCHK_GLIBCXX_DEBUG
|
|
|
|
CPPCHK_GLIBCXX_DEBUG=-D_GLIBCXX_DEBUG
|
|
|
|
endif # !CPPCHK_GLIBCXX_DEBUG
|
|
|
|
endif # GNU/kFreeBSD
|
|
|
|
|
2022-09-09 15:06:40 +02:00
|
|
|
LDFLAGS+=-pthread
|
2022-07-08 16:42:57 +02:00
|
|
|
|
2022-02-16 07:06:04 +01:00
|
|
|
endif # WINNT
|
2012-02-11 08:27:10 +01:00
|
|
|
|
2022-02-16 07:06:04 +01:00
|
|
|
ifdef CYGWIN
|
2022-09-09 15:06:40 +02:00
|
|
|
ifeq ($(VERBOSE),1)
|
|
|
|
$(info CYGWIN found)
|
|
|
|
endif
|
|
|
|
|
|
|
|
# Set the flag to address compile time warnings
|
2022-02-16 07:06:04 +01:00
|
|
|
# with tinyxml2 and Cygwin.
|
2022-09-09 15:06:40 +02:00
|
|
|
CPPFLAGS+=-U__STRICT_ANSI__
|
2022-02-16 07:06:04 +01:00
|
|
|
|
|
|
|
# Increase stack size for Cygwin builds to avoid segmentation fault in limited recursive tests.
|
|
|
|
CXXFLAGS+=-Wl,--stack,8388608
|
|
|
|
endif # CYGWIN
|
2014-04-24 22:22:43 +02:00
|
|
|
|
2015-10-05 04:51:06 +02:00
|
|
|
ifndef CXX
|
|
|
|
CXX=g++
|
|
|
|
endif
|
|
|
|
|
2017-06-16 12:56:29 +02:00
|
|
|
ifeq (clang++, $(findstring clang++,$(CXX)))
|
2015-10-05 04:51:06 +02:00
|
|
|
CPPCHK_GLIBCXX_DEBUG=
|
|
|
|
endif
|
2010-09-20 13:21:33 +02:00
|
|
|
ifndef CXXFLAGS
|
2022-02-05 13:04:30 +01:00
|
|
|
CXXFLAGS=-pedantic -Wall -Wextra -Wcast-qual -Wno-deprecated-declarations -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-shadow -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar $(CPPCHK_GLIBCXX_DEBUG) -g
|
2015-11-10 21:07:06 +01:00
|
|
|
endif
|
|
|
|
|
2017-06-16 12:56:29 +02:00
|
|
|
ifeq (g++, $(findstring g++,$(CXX)))
|
2022-08-16 22:12:01 +02:00
|
|
|
override CXXFLAGS += -std=gnu++0x -pipe
|
2017-06-16 12:56:29 +02:00
|
|
|
else ifeq (clang++, $(findstring clang++,$(CXX)))
|
2015-11-10 21:07:06 +01:00
|
|
|
override CXXFLAGS += -std=c++0x
|
2015-11-14 07:53:34 +01:00
|
|
|
else ifeq ($(CXX), c++)
|
|
|
|
ifeq ($(shell uname -s), Darwin)
|
|
|
|
override CXXFLAGS += -std=c++0x
|
|
|
|
endif
|
2011-04-19 20:53:40 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(HAVE_RULES),yes)
|
2022-11-25 15:11:57 +01:00
|
|
|
PCRE_CONFIG = $(shell which pcre-config)
|
|
|
|
ifeq ($(PCRE_CONFIG),)
|
|
|
|
$(error Did not find pcre-config)
|
|
|
|
endif
|
|
|
|
override CXXFLAGS += -DHAVE_RULES -DTIXML_USE_STL $(shell $(PCRE_CONFIG) --cflags)
|
2011-06-19 19:56:12 +02:00
|
|
|
ifdef LIBS
|
2022-11-25 15:11:57 +01:00
|
|
|
LIBS += $(shell $(PCRE_CONFIG) --libs)
|
2011-04-22 01:07:49 +02:00
|
|
|
else
|
2022-11-25 15:11:57 +01:00
|
|
|
LIBS=$(shell $(PCRE_CONFIG) --libs)
|
2011-04-19 20:53:40 +02:00
|
|
|
endif
|
2010-09-20 13:21:33 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifndef PREFIX
|
|
|
|
PREFIX=/usr
|
|
|
|
endif
|
|
|
|
|
2011-02-10 21:35:48 +01:00
|
|
|
ifndef INCLUDE_FOR_LIB
|
2020-11-16 09:11:08 +01:00
|
|
|
INCLUDE_FOR_LIB=-Ilib -isystem externals -isystem externals/picojson -isystem externals/simplecpp -isystem externals/tinyxml2
|
2011-02-10 21:35:48 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifndef INCLUDE_FOR_CLI
|
2020-11-16 09:11:08 +01:00
|
|
|
INCLUDE_FOR_CLI=-Ilib -isystem externals/simplecpp -isystem externals/tinyxml2
|
2011-02-10 21:35:48 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifndef INCLUDE_FOR_TEST
|
2020-11-16 09:11:08 +01:00
|
|
|
INCLUDE_FOR_TEST=-Ilib -Icli -isystem externals/simplecpp -isystem externals/tinyxml2
|
2011-02-10 21:35:48 +01:00
|
|
|
endif
|
|
|
|
|
2010-09-20 13:21:33 +02:00
|
|
|
BIN=$(DESTDIR)$(PREFIX)/bin
|
|
|
|
|
|
|
|
# For 'make man': sudo apt-get install xsltproc docbook-xsl docbook-xml on Linux
|
2015-08-17 17:32:56 +02:00
|
|
|
DB2MAN?=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
|
2010-02-23 18:38:18 +01:00
|
|
|
XP=xsltproc -''-nonet -''-param man.charmap.use.subset "0"
|
|
|
|
MAN_SOURCE=man/cppcheck.1.xml
|
|
|
|
|
|
|
|
|
|
|
|
###### Object Files
|
|
|
|
|
2023-09-11 20:22:07 +02:00
|
|
|
LIBOBJ = $(libcppdir)/valueflow.o \
|
|
|
|
$(libcppdir)/tokenize.o \
|
|
|
|
$(libcppdir)/symboldatabase.o \
|
|
|
|
$(libcppdir)/analyzerinfo.o \
|
2019-06-23 13:43:09 +02:00
|
|
|
$(libcppdir)/astutils.o \
|
|
|
|
$(libcppdir)/check.o \
|
|
|
|
$(libcppdir)/check64bit.o \
|
|
|
|
$(libcppdir)/checkassert.o \
|
|
|
|
$(libcppdir)/checkautovariables.o \
|
|
|
|
$(libcppdir)/checkbool.o \
|
|
|
|
$(libcppdir)/checkboost.o \
|
|
|
|
$(libcppdir)/checkbufferoverrun.o \
|
|
|
|
$(libcppdir)/checkclass.o \
|
|
|
|
$(libcppdir)/checkcondition.o \
|
2023-08-31 18:28:47 +02:00
|
|
|
$(libcppdir)/checkersreport.o \
|
2019-06-23 13:43:09 +02:00
|
|
|
$(libcppdir)/checkexceptionsafety.o \
|
|
|
|
$(libcppdir)/checkfunctions.o \
|
|
|
|
$(libcppdir)/checkinternal.o \
|
|
|
|
$(libcppdir)/checkio.o \
|
|
|
|
$(libcppdir)/checkleakautovar.o \
|
|
|
|
$(libcppdir)/checkmemoryleak.o \
|
|
|
|
$(libcppdir)/checknullpointer.o \
|
|
|
|
$(libcppdir)/checkother.o \
|
|
|
|
$(libcppdir)/checkpostfixoperator.o \
|
|
|
|
$(libcppdir)/checksizeof.o \
|
|
|
|
$(libcppdir)/checkstl.o \
|
|
|
|
$(libcppdir)/checkstring.o \
|
|
|
|
$(libcppdir)/checktype.o \
|
|
|
|
$(libcppdir)/checkuninitvar.o \
|
|
|
|
$(libcppdir)/checkunusedfunctions.o \
|
|
|
|
$(libcppdir)/checkunusedvar.o \
|
|
|
|
$(libcppdir)/checkvaarg.o \
|
2021-04-30 16:47:02 +02:00
|
|
|
$(libcppdir)/clangimport.o \
|
2021-07-08 21:21:35 +02:00
|
|
|
$(libcppdir)/color.o \
|
2019-06-23 13:43:09 +02:00
|
|
|
$(libcppdir)/cppcheck.o \
|
|
|
|
$(libcppdir)/ctu.o \
|
|
|
|
$(libcppdir)/errorlogger.o \
|
2020-05-23 07:16:49 +02:00
|
|
|
$(libcppdir)/errortypes.o \
|
2020-02-13 16:27:06 +01:00
|
|
|
$(libcppdir)/forwardanalyzer.o \
|
2022-12-13 22:29:23 +01:00
|
|
|
$(libcppdir)/fwdanalysis.o \
|
2019-06-23 13:43:09 +02:00
|
|
|
$(libcppdir)/importproject.o \
|
2021-10-09 16:19:06 +02:00
|
|
|
$(libcppdir)/infer.o \
|
2023-02-24 21:43:27 +01:00
|
|
|
$(libcppdir)/keywords.o \
|
2019-06-23 13:43:09 +02:00
|
|
|
$(libcppdir)/library.o \
|
|
|
|
$(libcppdir)/mathlib.o \
|
|
|
|
$(libcppdir)/path.o \
|
2019-10-30 18:38:37 +01:00
|
|
|
$(libcppdir)/pathanalysis.o \
|
2019-06-23 13:43:09 +02:00
|
|
|
$(libcppdir)/pathmatch.o \
|
|
|
|
$(libcppdir)/platform.o \
|
|
|
|
$(libcppdir)/preprocessor.o \
|
2019-10-30 18:38:37 +01:00
|
|
|
$(libcppdir)/programmemory.o \
|
2020-11-10 16:00:55 +01:00
|
|
|
$(libcppdir)/reverseanalyzer.o \
|
2019-06-23 13:43:09 +02:00
|
|
|
$(libcppdir)/settings.o \
|
2020-12-20 19:53:58 +01:00
|
|
|
$(libcppdir)/summaries.o \
|
2019-06-23 13:43:09 +02:00
|
|
|
$(libcppdir)/suppressions.o \
|
|
|
|
$(libcppdir)/templatesimplifier.o \
|
|
|
|
$(libcppdir)/timer.o \
|
|
|
|
$(libcppdir)/token.o \
|
|
|
|
$(libcppdir)/tokenlist.o \
|
2020-05-19 10:11:56 +02:00
|
|
|
$(libcppdir)/utils.o \
|
2023-01-26 22:23:22 +01:00
|
|
|
$(libcppdir)/vfvalue.o
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2016-07-20 12:21:00 +02:00
|
|
|
EXTOBJ = externals/simplecpp/simplecpp.o \
|
2020-11-16 09:11:08 +01:00
|
|
|
externals/tinyxml2/tinyxml2.o
|
2016-07-20 12:21:00 +02:00
|
|
|
|
2011-01-31 08:18:35 +01:00
|
|
|
CLIOBJ = cli/cmdlineparser.o \
|
2010-09-05 10:47:31 +02:00
|
|
|
cli/cppcheckexecutor.o \
|
2022-08-16 22:03:44 +02:00
|
|
|
cli/cppcheckexecutorseh.o \
|
|
|
|
cli/cppcheckexecutorsig.o \
|
2022-07-08 16:42:57 +02:00
|
|
|
cli/executor.o \
|
2011-01-18 18:37:15 +01:00
|
|
|
cli/filelister.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
cli/main.o \
|
2022-07-08 16:42:57 +02:00
|
|
|
cli/processexecutor.o \
|
2023-04-08 18:06:38 +02:00
|
|
|
cli/singleexecutor.o \
|
2022-08-16 22:03:44 +02:00
|
|
|
cli/stacktrace.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
cli/threadexecutor.o
|
|
|
|
|
2023-01-27 08:18:32 +01:00
|
|
|
TESTOBJ = test/fixture.o \
|
2023-02-07 22:02:12 +01:00
|
|
|
test/helpers.o \
|
2023-01-27 08:18:32 +01:00
|
|
|
test/main.o \
|
|
|
|
test/options.o \
|
2011-07-06 08:55:17 +02:00
|
|
|
test/test64bit.o \
|
2022-07-12 22:58:52 +02:00
|
|
|
test/testanalyzerinformation.o \
|
2013-05-07 21:35:16 +02:00
|
|
|
test/testassert.o \
|
2016-01-16 19:08:51 +01:00
|
|
|
test/testastutils.o \
|
2010-09-26 05:29:23 +02:00
|
|
|
test/testautovariables.o \
|
2013-05-05 09:22:04 +02:00
|
|
|
test/testbool.o \
|
2011-10-23 13:07:43 +02:00
|
|
|
test/testboost.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
test/testbufferoverrun.o \
|
|
|
|
test/testcharvar.o \
|
2023-08-07 20:49:10 +02:00
|
|
|
test/testcheck.o \
|
2021-04-30 16:47:02 +02:00
|
|
|
test/testclangimport.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
test/testclass.o \
|
2010-09-06 21:45:29 +02:00
|
|
|
test/testcmdlineparser.o \
|
2023-04-08 22:19:52 +02:00
|
|
|
test/testcolor.o \
|
2014-08-29 18:32:50 +02:00
|
|
|
test/testcondition.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
test/testconstructors.o \
|
|
|
|
test/testcppcheck.o \
|
2010-12-05 22:06:36 +01:00
|
|
|
test/testerrorlogger.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
test/testexceptionsafety.o \
|
2011-04-07 17:36:42 +02:00
|
|
|
test/testfilelister.o \
|
2015-11-22 10:40:48 +01:00
|
|
|
test/testfunctions.o \
|
2014-09-24 13:50:57 +02:00
|
|
|
test/testgarbage.o \
|
2016-08-13 10:50:03 +02:00
|
|
|
test/testimportproject.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
test/testincompletestatement.o \
|
2011-10-28 22:39:46 +02:00
|
|
|
test/testinternal.o \
|
2012-05-20 22:19:10 +02:00
|
|
|
test/testio.o \
|
2012-05-26 08:53:46 +02:00
|
|
|
test/testleakautovar.o \
|
2013-10-27 17:10:43 +01:00
|
|
|
test/testlibrary.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
test/testmathlib.o \
|
|
|
|
test/testmemleak.o \
|
2010-10-31 11:51:25 +01:00
|
|
|
test/testnullpointer.o \
|
2010-09-26 05:29:23 +02:00
|
|
|
test/testoptions.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
test/testother.o \
|
2010-10-29 22:11:41 +02:00
|
|
|
test/testpath.o \
|
2011-02-01 12:34:05 +01:00
|
|
|
test/testpathmatch.o \
|
2018-04-18 16:12:35 +02:00
|
|
|
test/testplatform.o \
|
2010-10-16 23:57:25 +02:00
|
|
|
test/testpostfixoperator.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
test/testpreprocessor.o \
|
2022-07-08 16:42:57 +02:00
|
|
|
test/testprocessexecutor.o \
|
2023-01-21 10:39:44 +01:00
|
|
|
test/testsettings.o \
|
2014-09-24 13:50:57 +02:00
|
|
|
test/testsimplifytemplate.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
test/testsimplifytokens.o \
|
2014-09-24 13:50:57 +02:00
|
|
|
test/testsimplifytypedef.o \
|
2019-02-05 08:52:23 +01:00
|
|
|
test/testsimplifyusing.o \
|
2023-04-08 18:06:38 +02:00
|
|
|
test/testsingleexecutor.o \
|
2013-05-05 09:22:04 +02:00
|
|
|
test/testsizeof.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
test/teststl.o \
|
2014-08-27 09:45:50 +02:00
|
|
|
test/teststring.o \
|
2020-12-20 19:53:58 +01:00
|
|
|
test/testsummaries.o \
|
2011-05-03 12:18:05 +02:00
|
|
|
test/testsuppressions.o \
|
2010-12-30 09:46:44 +01:00
|
|
|
test/testsymboldatabase.o \
|
2010-06-14 22:18:09 +02:00
|
|
|
test/testthreadexecutor.o \
|
2012-09-15 19:49:48 +02:00
|
|
|
test/testtimer.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
test/testtoken.o \
|
|
|
|
test/testtokenize.o \
|
2015-06-13 18:08:13 +02:00
|
|
|
test/testtokenlist.o \
|
2021-06-14 07:39:23 +02:00
|
|
|
test/testtokenrange.o \
|
2014-09-11 18:10:19 +02:00
|
|
|
test/testtype.o \
|
2010-10-31 12:31:11 +01:00
|
|
|
test/testuninitvar.o \
|
2010-02-23 18:38:18 +01:00
|
|
|
test/testunusedfunctions.o \
|
|
|
|
test/testunusedprivfunc.o \
|
2014-01-04 20:57:02 +01:00
|
|
|
test/testunusedvar.o \
|
2020-01-26 08:23:15 +01:00
|
|
|
test/testutils.o \
|
2014-08-06 14:25:49 +02:00
|
|
|
test/testvaarg.o \
|
2014-09-24 13:50:57 +02:00
|
|
|
test/testvalueflow.o \
|
|
|
|
test/testvarid.o
|
2010-12-12 11:56:22 +01:00
|
|
|
|
2017-05-20 22:27:49 +02:00
|
|
|
.PHONY: run-dmake tags
|
2014-03-31 13:56:07 +02:00
|
|
|
|
2011-02-09 00:06:51 +01:00
|
|
|
|
2010-02-23 18:38:18 +01:00
|
|
|
###### Targets
|
|
|
|
|
2023-09-11 20:22:07 +02:00
|
|
|
cppcheck: $(EXTOBJ) $(LIBOBJ) $(CLIOBJ)
|
2017-08-22 23:01:18 +02:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -o $@ $^ $(LIBS) $(LDFLAGS) $(RDYNAMIC)
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2011-01-31 08:18:35 +01:00
|
|
|
all: cppcheck testrunner
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-09-11 20:22:07 +02:00
|
|
|
testrunner: $(EXTOBJ) $(TESTOBJ) $(LIBOBJ) cli/executor.o cli/processexecutor.o cli/singleexecutor.o cli/threadexecutor.o cli/cmdlineparser.o cli/cppcheckexecutor.o cli/cppcheckexecutorseh.o cli/cppcheckexecutorsig.o cli/stacktrace.o cli/filelister.o
|
2017-08-22 23:01:18 +02:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -o $@ $^ $(LIBS) $(LDFLAGS) $(RDYNAMIC)
|
2010-02-23 18:38:18 +01:00
|
|
|
|
|
|
|
test: all
|
|
|
|
./testrunner
|
|
|
|
|
2010-09-26 05:29:23 +02:00
|
|
|
check: all
|
2017-01-29 15:41:26 +01:00
|
|
|
./testrunner -q
|
2010-09-26 05:29:23 +02:00
|
|
|
|
2019-01-05 11:12:32 +01:00
|
|
|
checkcfg: cppcheck validateCFG
|
2015-01-27 19:31:41 +01:00
|
|
|
./test/cfg/runtests.sh
|
|
|
|
|
2020-05-19 20:14:29 +02:00
|
|
|
dmake: tools/dmake.o cli/filelister.o $(libcppdir)/pathmatch.o $(libcppdir)/path.o $(libcppdir)/utils.o externals/simplecpp/simplecpp.o
|
2017-08-22 23:01:18 +02:00
|
|
|
$(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
|
2015-09-05 17:12:15 +02:00
|
|
|
|
|
|
|
run-dmake: dmake
|
2014-03-31 13:56:07 +02:00
|
|
|
./dmake
|
2010-07-27 15:25:03 +02:00
|
|
|
|
2010-02-23 18:38:18 +01:00
|
|
|
clean:
|
2022-05-22 15:27:32 +02:00
|
|
|
rm -f build/*.cpp build/*.o lib/*.o cli/*.o test/*.o tools/*.o externals/*/*.o testrunner dmake cppcheck cppcheck.exe cppcheck.1
|
2010-09-22 20:25:27 +02:00
|
|
|
|
|
|
|
man: man/cppcheck.1
|
|
|
|
|
|
|
|
man/cppcheck.1: $(MAN_SOURCE)
|
2010-02-23 18:38:18 +01:00
|
|
|
|
|
|
|
$(XP) $(DB2MAN) $(MAN_SOURCE)
|
|
|
|
|
2010-10-12 14:04:06 +02:00
|
|
|
tags:
|
2022-12-18 19:36:37 +01:00
|
|
|
ctags -R --exclude=doxyoutput --exclude=test/cfg cli externals gui lib test
|
2010-10-12 14:04:06 +02:00
|
|
|
|
2011-01-31 08:18:35 +01:00
|
|
|
install: cppcheck
|
2010-02-23 18:38:18 +01:00
|
|
|
install -d ${BIN}
|
|
|
|
install cppcheck ${BIN}
|
2013-10-07 21:36:34 +02:00
|
|
|
install htmlreport/cppcheck-htmlreport ${BIN}
|
2019-08-17 10:53:07 +02:00
|
|
|
ifdef FILESDIR
|
|
|
|
install -d ${DESTDIR}${FILESDIR}
|
|
|
|
install -d ${DESTDIR}${FILESDIR}/addons
|
|
|
|
install -m 644 addons/*.py ${DESTDIR}${FILESDIR}/addons
|
|
|
|
install -d ${DESTDIR}${FILESDIR}/cfg
|
|
|
|
install -m 644 cfg/*.cfg ${DESTDIR}${FILESDIR}/cfg
|
|
|
|
install -d ${DESTDIR}${FILESDIR}/platforms
|
|
|
|
install -m 644 platforms/*.xml ${DESTDIR}${FILESDIR}/platforms
|
|
|
|
else
|
|
|
|
$(error FILESDIR must be set!)
|
2014-05-17 11:05:42 +02:00
|
|
|
endif
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2018-10-19 09:49:44 +02:00
|
|
|
uninstall:
|
|
|
|
@if test -d ${BIN}; then \
|
2019-08-17 10:53:07 +02:00
|
|
|
files="cppcheck cppcheck-htmlreport"; \
|
2018-10-19 09:49:44 +02:00
|
|
|
echo '(' cd ${BIN} '&&' rm -f $$files ')'; \
|
|
|
|
( cd ${BIN} && rm -f $$files ); \
|
|
|
|
fi
|
2019-08-17 10:53:07 +02:00
|
|
|
ifdef FILESDIR
|
|
|
|
@if test -d ${DESTDIR}${FILESDIR}; then \
|
|
|
|
echo rm -rf ${DESTDIR}${FILESDIR}; \
|
|
|
|
rm -rf ${DESTDIR}${FILESDIR}; \
|
|
|
|
fi
|
|
|
|
endif
|
2018-10-19 09:49:44 +02:00
|
|
|
ifdef CFGDIR
|
|
|
|
@if test -d ${DESTDIR}${CFGDIR}; then \
|
|
|
|
files="`cd cfg 2>/dev/null && ls`"; \
|
|
|
|
if test -n "$$files"; then \
|
|
|
|
echo '(' cd ${DESTDIR}${CFGDIR} '&&' rm -f $$files ')'; \
|
|
|
|
( cd ${DESTDIR}${CFGDIR} && rm -f $$files ); \
|
|
|
|
fi; \
|
|
|
|
fi
|
|
|
|
endif
|
|
|
|
|
2017-05-24 00:24:06 +02:00
|
|
|
# Validation of library files:
|
|
|
|
ConfigFiles := $(wildcard cfg/*.cfg)
|
|
|
|
ConfigFilesCHECKED := $(patsubst %.cfg,%.checked,$(ConfigFiles))
|
|
|
|
.PHONY: validateCFG
|
|
|
|
%.checked:%.cfg
|
|
|
|
xmllint --noout --relaxng cfg/cppcheck-cfg.rng $<
|
|
|
|
validateCFG: ${ConfigFilesCHECKED}
|
2019-11-17 16:25:10 +01:00
|
|
|
xmllint --noout cfg/cppcheck-cfg.rng
|
2017-05-24 00:24:06 +02:00
|
|
|
|
2018-02-15 20:35:12 +01:00
|
|
|
# Validation of platforms files:
|
|
|
|
PlatformFiles := $(wildcard platforms/*.xml)
|
|
|
|
PlatformFilesCHECKED := $(patsubst %.xml,%.checked,$(PlatformFiles))
|
|
|
|
.PHONY: validatePlatforms
|
|
|
|
%.checked:%.xml
|
|
|
|
xmllint --noout --relaxng platforms/cppcheck-platforms.rng $<
|
|
|
|
validatePlatforms: ${PlatformFilesCHECKED}
|
2022-08-06 19:56:32 +02:00
|
|
|
xmllint --noout platforms/cppcheck-platforms.rng
|
2018-02-15 20:35:12 +01:00
|
|
|
|
2018-05-17 12:46:15 +02:00
|
|
|
# Validate XML output (to detect regressions)
|
|
|
|
/tmp/errorlist.xml: cppcheck
|
2018-09-24 13:16:20 +02:00
|
|
|
./cppcheck --errorlist >$@
|
2018-05-24 16:12:43 +02:00
|
|
|
/tmp/example.xml: cppcheck
|
2020-05-15 17:17:22 +02:00
|
|
|
./cppcheck --xml --enable=all --inconclusive --max-configs=1 samples 2>/tmp/example.xml
|
2018-05-24 16:12:43 +02:00
|
|
|
createXMLExamples:/tmp/errorlist.xml /tmp/example.xml
|
2018-06-06 15:25:09 +02:00
|
|
|
.PHONY: validateXML
|
|
|
|
validateXML: createXMLExamples
|
2019-12-02 22:03:59 +01:00
|
|
|
xmllint --noout cppcheck-errors.rng
|
2018-06-06 15:25:09 +02:00
|
|
|
xmllint --noout --relaxng cppcheck-errors.rng /tmp/errorlist.xml
|
|
|
|
xmllint --noout --relaxng cppcheck-errors.rng /tmp/example.xml
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2018-10-22 13:14:48 +02:00
|
|
|
checkCWEEntries: /tmp/errorlist.xml
|
2022-05-22 15:27:32 +02:00
|
|
|
$(eval PYTHON_INTERPRETER := $(if $(PYTHON_INTERPRETER),$(PYTHON_INTERPRETER),$(shell which python3)))
|
|
|
|
$(eval PYTHON_INTERPRETER := $(if $(PYTHON_INTERPRETER),$(PYTHON_INTERPRETER),$(shell which python)))
|
|
|
|
$(eval PYTHON_INTERPRETER := $(if $(PYTHON_INTERPRETER),$(PYTHON_INTERPRETER),$(error Did not find a Python interpreter)))
|
|
|
|
$(PYTHON_INTERPRETER) tools/listErrorsWithoutCWE.py -F /tmp/errorlist.xml
|
2019-09-21 20:33:48 +02:00
|
|
|
.PHONY: validateRules
|
|
|
|
validateRules:
|
2022-06-22 00:03:18 +02:00
|
|
|
xmllint --noout rules/*.xml
|
2019-08-14 20:53:51 +02:00
|
|
|
|
2010-02-23 18:38:18 +01:00
|
|
|
###### Build
|
|
|
|
|
2023-09-11 20:22:07 +02:00
|
|
|
$(libcppdir)/valueflow.o: lib/valueflow.cpp lib/analyzer.h lib/astutils.h lib/calculate.h lib/check.h lib/checkuninitvar.h lib/color.h lib/config.h lib/ctu.h lib/errorlogger.h lib/errortypes.h lib/forwardanalyzer.h lib/importproject.h lib/infer.h lib/library.h lib/mathlib.h lib/path.h lib/platform.h lib/programmemory.h lib/reverseanalyzer.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/timer.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/valueflow.h lib/valueptr.h lib/vfvalue.h
|
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/valueflow.cpp
|
|
|
|
|
|
|
|
$(libcppdir)/tokenize.o: lib/tokenize.cpp externals/simplecpp/simplecpp.h lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/preprocessor.h lib/settings.h lib/sourcelocation.h lib/standards.h lib/summaries.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/timer.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/valueflow.h lib/vfvalue.h
|
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/tokenize.cpp
|
|
|
|
|
|
|
|
$(libcppdir)/symboldatabase.o: lib/symboldatabase.cpp lib/astutils.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/keywords.h lib/library.h lib/mathlib.h lib/path.h lib/platform.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/valueflow.h lib/vfvalue.h
|
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/symboldatabase.cpp
|
|
|
|
|
2023-08-18 11:55:23 +02:00
|
|
|
$(libcppdir)/analyzerinfo.o: lib/analyzerinfo.cpp externals/tinyxml2/tinyxml2.h lib/analyzerinfo.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/path.h lib/platform.h lib/utils.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/analyzerinfo.cpp
|
2016-10-29 12:18:11 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/astutils.o: lib/astutils.cpp lib/astutils.h lib/check.h lib/checkclass.h lib/config.h lib/errortypes.h lib/importproject.h lib/infer.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/valueflow.h lib/valueptr.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/astutils.cpp
|
2015-08-02 21:57:32 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/check.o: lib/check.cpp lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/check.cpp
|
2014-05-24 12:54:16 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/check64bit.o: lib/check64bit.cpp lib/check.h lib/check64bit.h lib/config.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/check64bit.cpp
|
2011-07-06 08:55:17 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/checkassert.o: lib/checkassert.cpp lib/check.h lib/checkassert.h lib/config.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checkassert.cpp
|
2013-05-07 21:35:16 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/checkautovariables.o: lib/checkautovariables.cpp lib/astutils.h lib/check.h lib/checkautovariables.h lib/config.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/valueflow.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checkautovariables.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/checkbool.o: lib/checkbool.cpp lib/astutils.h lib/check.h lib/checkbool.h lib/config.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checkbool.cpp
|
2013-05-05 09:22:04 +02:00
|
|
|
|
2023-01-26 22:23:22 +01:00
|
|
|
$(libcppdir)/checkboost.o: lib/checkboost.cpp lib/check.h lib/checkboost.h lib/config.h lib/errortypes.h lib/library.h lib/mathlib.h lib/sourcelocation.h lib/standards.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checkboost.cpp
|
2011-10-23 13:07:43 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/checkbufferoverrun.o: lib/checkbufferoverrun.cpp externals/tinyxml2/tinyxml2.h lib/astutils.h lib/check.h lib/checkbufferoverrun.h lib/color.h lib/config.h lib/ctu.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/valueflow.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checkbufferoverrun.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/checkclass.o: lib/checkclass.cpp externals/tinyxml2/tinyxml2.h lib/astutils.h lib/check.h lib/checkclass.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checkclass.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/checkcondition.o: lib/checkcondition.cpp lib/astutils.h lib/check.h lib/checkcondition.h lib/checkother.h lib/config.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checkcondition.cpp
|
2014-08-29 18:32:50 +02:00
|
|
|
|
2023-08-31 18:28:47 +02:00
|
|
|
$(libcppdir)/checkersreport.o: lib/checkersreport.cpp lib/checkers.h lib/checkersreport.h lib/config.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/utils.h
|
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checkersreport.cpp
|
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/checkexceptionsafety.o: lib/checkexceptionsafety.cpp lib/check.h lib/checkexceptionsafety.h lib/config.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checkexceptionsafety.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/checkfunctions.o: lib/checkfunctions.cpp lib/astutils.h lib/check.h lib/checkfunctions.h lib/config.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/valueflow.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checkfunctions.cpp
|
2015-11-22 10:40:48 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/checkinternal.o: lib/checkinternal.cpp lib/astutils.h lib/check.h lib/checkinternal.h lib/config.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checkinternal.cpp
|
2011-10-28 22:39:46 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/checkio.o: lib/checkio.cpp lib/check.h lib/checkio.h lib/config.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checkio.cpp
|
2012-05-20 12:04:47 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/checkleakautovar.o: lib/checkleakautovar.cpp lib/astutils.h lib/check.h lib/checkleakautovar.h lib/checkmemoryleak.h lib/checknullpointer.h lib/color.h lib/config.h lib/ctu.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checkleakautovar.cpp
|
2012-05-26 08:53:46 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/checkmemoryleak.o: lib/checkmemoryleak.cpp lib/astutils.h lib/check.h lib/checkmemoryleak.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checkmemoryleak.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/checknullpointer.o: lib/checknullpointer.cpp lib/astutils.h lib/check.h lib/checknullpointer.h lib/color.h lib/config.h lib/ctu.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/valueflow.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checknullpointer.cpp
|
2010-10-31 11:51:25 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/checkother.o: lib/checkother.cpp lib/astutils.h lib/check.h lib/checkother.h lib/config.h lib/errortypes.h lib/fwdanalysis.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/valueflow.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checkother.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/checkpostfixoperator.o: lib/checkpostfixoperator.cpp lib/check.h lib/checkpostfixoperator.h lib/config.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checkpostfixoperator.cpp
|
2010-10-16 23:57:25 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/checksizeof.o: lib/checksizeof.cpp lib/check.h lib/checksizeof.h lib/config.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checksizeof.cpp
|
2013-05-05 09:22:04 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/checkstl.o: lib/checkstl.cpp lib/astutils.h lib/check.h lib/checknullpointer.h lib/checkstl.h lib/color.h lib/config.h lib/ctu.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/pathanalysis.h lib/platform.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/valueflow.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checkstl.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/checkstring.o: lib/checkstring.cpp lib/astutils.h lib/check.h lib/checkstring.h lib/config.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checkstring.cpp
|
2014-08-27 09:45:50 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/checktype.o: lib/checktype.cpp lib/check.h lib/checktype.h lib/config.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/valueflow.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checktype.cpp
|
2014-09-11 18:10:19 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/checkuninitvar.o: lib/checkuninitvar.cpp lib/astutils.h lib/check.h lib/checknullpointer.h lib/checkuninitvar.h lib/color.h lib/config.h lib/ctu.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checkuninitvar.cpp
|
2010-10-31 12:31:11 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/checkunusedfunctions.o: lib/checkunusedfunctions.cpp externals/tinyxml2/tinyxml2.h lib/astutils.h lib/check.h lib/checkunusedfunctions.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checkunusedfunctions.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/checkunusedvar.o: lib/checkunusedvar.cpp externals/simplecpp/simplecpp.h lib/astutils.h lib/check.h lib/checkunusedvar.h lib/config.h lib/errortypes.h lib/fwdanalysis.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/preprocessor.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/valueflow.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checkunusedvar.cpp
|
2011-08-19 20:35:25 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/checkvaarg.o: lib/checkvaarg.cpp lib/astutils.h lib/check.h lib/checkvaarg.h lib/config.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checkvaarg.cpp
|
2014-08-06 14:25:49 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/clangimport.o: lib/clangimport.cpp lib/clangimport.h lib/config.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/clangimport.cpp
|
2021-04-30 16:47:02 +02:00
|
|
|
|
2021-07-16 21:55:12 +02:00
|
|
|
$(libcppdir)/color.o: lib/color.cpp lib/color.h lib/config.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/color.cpp
|
2021-07-08 21:21:35 +02:00
|
|
|
|
2023-08-16 19:35:53 +02:00
|
|
|
$(libcppdir)/cppcheck.o: lib/cppcheck.cpp externals/picojson/picojson.h externals/simplecpp/simplecpp.h externals/tinyxml2/tinyxml2.h lib/analyzerinfo.h lib/check.h lib/checkunusedfunctions.h lib/clangimport.h lib/color.h lib/config.h lib/cppcheck.h lib/ctu.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/json.h lib/library.h lib/mathlib.h lib/path.h lib/platform.h lib/preprocessor.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/timer.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/valueflow.h lib/version.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/cppcheck.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/ctu.o: lib/ctu.cpp externals/tinyxml2/tinyxml2.h lib/astutils.h lib/check.h lib/color.h lib/config.h lib/ctu.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/ctu.cpp
|
2018-12-25 21:11:23 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/errorlogger.o: lib/errorlogger.cpp externals/tinyxml2/tinyxml2.h lib/analyzerinfo.h lib/check.h lib/color.h lib/config.h lib/cppcheck.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/path.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenlist.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/errorlogger.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2020-05-23 07:16:49 +02:00
|
|
|
$(libcppdir)/errortypes.o: lib/errortypes.cpp lib/config.h lib/errortypes.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/errortypes.cpp
|
2020-05-23 07:16:49 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/forwardanalyzer.o: lib/forwardanalyzer.cpp lib/analyzer.h lib/astutils.h lib/config.h lib/errortypes.h lib/forwardanalyzer.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/utils.h lib/valueptr.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/forwardanalyzer.cpp
|
2020-02-13 16:27:06 +01:00
|
|
|
|
2023-01-26 22:23:22 +01:00
|
|
|
$(libcppdir)/fwdanalysis.o: lib/fwdanalysis.cpp lib/astutils.h lib/config.h lib/errortypes.h lib/fwdanalysis.h lib/library.h lib/mathlib.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/utils.h lib/vfvalue.h
|
2022-12-13 22:29:23 +01:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/fwdanalysis.cpp
|
|
|
|
|
2023-08-16 19:35:53 +02:00
|
|
|
$(libcppdir)/importproject.o: lib/importproject.cpp externals/picojson/picojson.h externals/simplecpp/simplecpp.h externals/tinyxml2/tinyxml2.h lib/config.h lib/errortypes.h lib/importproject.h lib/json.h lib/library.h lib/mathlib.h lib/path.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/importproject.cpp
|
2016-08-13 10:50:03 +02:00
|
|
|
|
2023-01-26 22:23:22 +01:00
|
|
|
$(libcppdir)/infer.o: lib/infer.cpp lib/calculate.h lib/config.h lib/errortypes.h lib/infer.h lib/mathlib.h lib/valueptr.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/infer.cpp
|
2021-10-09 16:19:06 +02:00
|
|
|
|
2023-02-24 21:43:27 +01:00
|
|
|
$(libcppdir)/keywords.o: lib/keywords.cpp lib/config.h lib/keywords.h lib/standards.h lib/utils.h
|
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/keywords.cpp
|
|
|
|
|
2023-01-26 22:23:22 +01:00
|
|
|
$(libcppdir)/library.o: lib/library.cpp externals/tinyxml2/tinyxml2.h lib/astutils.h lib/config.h lib/errortypes.h lib/library.h lib/mathlib.h lib/path.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenlist.h lib/utils.h lib/valueflow.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/library.cpp
|
2013-07-08 18:26:18 +02:00
|
|
|
|
2021-05-02 13:43:56 +02:00
|
|
|
$(libcppdir)/mathlib.o: lib/mathlib.cpp externals/simplecpp/simplecpp.h lib/config.h lib/errortypes.h lib/mathlib.h lib/utils.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/mathlib.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2019-09-19 09:26:59 +02:00
|
|
|
$(libcppdir)/path.o: lib/path.cpp externals/simplecpp/simplecpp.h lib/config.h lib/path.h lib/utils.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/path.cpp
|
2010-07-17 16:38:36 +02:00
|
|
|
|
2023-01-26 22:23:22 +01:00
|
|
|
$(libcppdir)/pathanalysis.o: lib/pathanalysis.cpp lib/astutils.h lib/config.h lib/errortypes.h lib/library.h lib/mathlib.h lib/pathanalysis.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/pathanalysis.cpp
|
2019-10-30 18:38:37 +01:00
|
|
|
|
2019-09-19 09:26:59 +02:00
|
|
|
$(libcppdir)/pathmatch.o: lib/pathmatch.cpp lib/config.h lib/path.h lib/pathmatch.h lib/utils.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/pathmatch.cpp
|
2016-10-02 12:38:44 +02:00
|
|
|
|
2022-02-11 19:44:08 +01:00
|
|
|
$(libcppdir)/platform.o: lib/platform.cpp externals/tinyxml2/tinyxml2.h lib/config.h lib/path.h lib/platform.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/platform.cpp
|
2016-08-13 10:50:03 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/preprocessor.o: lib/preprocessor.cpp externals/simplecpp/simplecpp.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/path.h lib/platform.h lib/preprocessor.h lib/settings.h lib/standards.h lib/suppressions.h lib/utils.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/preprocessor.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/programmemory.o: lib/programmemory.cpp lib/astutils.h lib/calculate.h lib/config.h lib/errortypes.h lib/importproject.h lib/infer.h lib/library.h lib/mathlib.h lib/platform.h lib/programmemory.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/utils.h lib/valueflow.h lib/valueptr.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/programmemory.cpp
|
2019-10-30 18:38:37 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/reverseanalyzer.o: lib/reverseanalyzer.cpp lib/analyzer.h lib/astutils.h lib/config.h lib/errortypes.h lib/forwardanalyzer.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/reverseanalyzer.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/utils.h lib/valueptr.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/reverseanalyzer.cpp
|
2020-11-10 16:00:55 +01:00
|
|
|
|
2023-08-16 19:35:53 +02:00
|
|
|
$(libcppdir)/settings.o: lib/settings.cpp externals/picojson/picojson.h lib/config.h lib/errortypes.h lib/importproject.h lib/json.h lib/library.h lib/mathlib.h lib/path.h lib/platform.h lib/settings.h lib/standards.h lib/summaries.h lib/suppressions.h lib/timer.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/settings.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/summaries.o: lib/summaries.cpp lib/analyzerinfo.h lib/config.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/sourcelocation.h lib/standards.h lib/summaries.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/summaries.cpp
|
2020-12-20 19:53:58 +01:00
|
|
|
|
2023-01-26 22:23:22 +01:00
|
|
|
$(libcppdir)/suppressions.o: lib/suppressions.cpp externals/tinyxml2/tinyxml2.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/mathlib.h lib/path.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/suppressions.cpp
|
2011-08-22 18:54:23 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/templatesimplifier.o: lib/templatesimplifier.cpp lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/templatesimplifier.cpp
|
2012-01-01 21:55:05 +01:00
|
|
|
|
2023-09-08 19:30:25 +02:00
|
|
|
$(libcppdir)/timer.o: lib/timer.cpp lib/config.h lib/timer.h lib/utils.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/timer.cpp
|
2010-08-31 22:22:48 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/token.o: lib/token.cpp lib/astutils.h lib/config.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenlist.h lib/tokenrange.h lib/utils.h lib/valueflow.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/token.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
$(libcppdir)/tokenlist.o: lib/tokenlist.cpp externals/simplecpp/simplecpp.h lib/astutils.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/keywords.h lib/library.h lib/mathlib.h lib/path.h lib/platform.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenlist.h lib/utils.h lib/vfvalue.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/tokenlist.cpp
|
2012-05-05 18:39:29 +02:00
|
|
|
|
2020-05-19 10:11:56 +02:00
|
|
|
$(libcppdir)/utils.o: lib/utils.cpp lib/config.h lib/utils.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/utils.cpp
|
2020-05-19 10:11:56 +02:00
|
|
|
|
2023-01-26 22:23:22 +01:00
|
|
|
$(libcppdir)/vfvalue.o: lib/vfvalue.cpp lib/config.h lib/errortypes.h lib/mathlib.h lib/templatesimplifier.h lib/token.h lib/utils.h lib/vfvalue.h
|
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/vfvalue.cpp
|
|
|
|
|
2022-02-23 09:04:35 +01:00
|
|
|
cli/cmdlineparser.o: cli/cmdlineparser.cpp cli/cmdlineparser.h cli/cppcheckexecutor.h cli/filelister.h externals/tinyxml2/tinyxml2.h lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/path.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/timer.h lib/utils.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_CLI} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ cli/cmdlineparser.cpp
|
2010-09-05 10:47:31 +02:00
|
|
|
|
2023-08-31 18:28:47 +02:00
|
|
|
cli/cppcheckexecutor.o: cli/cppcheckexecutor.cpp cli/cmdlineparser.h cli/cppcheckexecutor.h cli/cppcheckexecutorseh.h cli/cppcheckexecutorsig.h cli/executor.h cli/filelister.h cli/processexecutor.h cli/singleexecutor.h cli/threadexecutor.h lib/analyzerinfo.h lib/check.h lib/checkers.h lib/checkersreport.h lib/checkunusedfunctions.h lib/color.h lib/config.h lib/cppcheck.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/path.h lib/pathmatch.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/utils.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_CLI} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ cli/cppcheckexecutor.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-08-18 11:55:23 +02:00
|
|
|
cli/cppcheckexecutorseh.o: cli/cppcheckexecutorseh.cpp cli/cppcheckexecutor.h cli/cppcheckexecutorseh.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/utils.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_CLI} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ cli/cppcheckexecutorseh.cpp
|
2022-08-16 22:03:44 +02:00
|
|
|
|
2023-08-18 11:55:23 +02:00
|
|
|
cli/cppcheckexecutorsig.o: cli/cppcheckexecutorsig.cpp cli/cppcheckexecutor.h cli/cppcheckexecutorsig.h cli/stacktrace.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_CLI} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ cli/cppcheckexecutorsig.cpp
|
2022-08-16 22:03:44 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
cli/executor.o: cli/executor.cpp cli/executor.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/utils.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_CLI} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ cli/executor.cpp
|
2022-07-08 16:42:57 +02:00
|
|
|
|
2019-09-19 09:26:59 +02:00
|
|
|
cli/filelister.o: cli/filelister.cpp cli/filelister.h lib/config.h lib/path.h lib/pathmatch.h lib/utils.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_CLI} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ cli/filelister.cpp
|
2011-01-18 18:37:15 +01:00
|
|
|
|
2023-08-18 11:55:23 +02:00
|
|
|
cli/main.o: cli/main.cpp cli/cppcheckexecutor.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_CLI} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ cli/main.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
cli/processexecutor.o: cli/processexecutor.cpp cli/cppcheckexecutor.h cli/executor.h cli/processexecutor.h lib/analyzerinfo.h lib/check.h lib/color.h lib/config.h lib/cppcheck.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/utils.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_CLI} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ cli/processexecutor.cpp
|
2022-07-08 16:42:57 +02:00
|
|
|
|
2023-04-08 18:06:38 +02:00
|
|
|
cli/singleexecutor.o: cli/singleexecutor.cpp cli/executor.h cli/singleexecutor.h lib/analyzerinfo.h lib/check.h lib/color.h lib/config.h lib/cppcheck.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/utils.h
|
|
|
|
$(CXX) ${INCLUDE_FOR_CLI} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ cli/singleexecutor.cpp
|
|
|
|
|
2022-08-16 22:03:44 +02:00
|
|
|
cli/stacktrace.o: cli/stacktrace.cpp cli/stacktrace.h lib/config.h lib/utils.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_CLI} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ cli/stacktrace.cpp
|
2022-08-16 22:03:44 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
cli/threadexecutor.o: cli/threadexecutor.cpp cli/cppcheckexecutor.h cli/executor.h cli/threadexecutor.h lib/analyzerinfo.h lib/check.h lib/color.h lib/config.h lib/cppcheck.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/utils.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_CLI} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ cli/threadexecutor.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-08-02 10:36:17 +02:00
|
|
|
test/fixture.o: test/fixture.cpp externals/tinyxml2/tinyxml2.h lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/utils.h test/fixture.h test/options.h test/redirect.h
|
2023-01-27 08:18:32 +01:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/fixture.cpp
|
|
|
|
|
2023-08-22 15:25:28 +02:00
|
|
|
test/helpers.o: test/helpers.cpp cli/filelister.h externals/simplecpp/simplecpp.h lib/config.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/path.h lib/pathmatch.h lib/platform.h lib/preprocessor.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/helpers.h
|
2023-02-07 22:02:12 +01:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/helpers.cpp
|
|
|
|
|
2023-05-02 11:48:24 +02:00
|
|
|
test/main.o: test/main.cpp externals/simplecpp/simplecpp.h lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/preprocessor.h lib/settings.h lib/standards.h lib/suppressions.h lib/utils.h test/fixture.h test/options.h
|
2023-01-27 08:18:32 +01:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/main.cpp
|
|
|
|
|
2018-04-09 22:28:41 +02:00
|
|
|
test/options.o: test/options.cpp test/options.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/options.cpp
|
2010-09-26 05:29:23 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/test64bit.o: test/test64bit.cpp lib/check.h lib/check64bit.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/test64bit.cpp
|
2011-07-06 08:55:17 +02:00
|
|
|
|
2023-05-02 11:48:24 +02:00
|
|
|
test/testanalyzerinformation.o: test/testanalyzerinformation.cpp lib/analyzerinfo.h lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/utils.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testanalyzerinformation.cpp
|
2022-07-12 22:58:52 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testassert.o: test/testassert.cpp lib/check.h lib/checkassert.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testassert.cpp
|
2013-05-07 21:35:16 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testastutils.o: test/testastutils.cpp lib/astutils.h lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testastutils.cpp
|
2016-01-16 19:08:51 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testautovariables.o: test/testautovariables.cpp lib/check.h lib/checkautovariables.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testautovariables.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testbool.o: test/testbool.cpp lib/check.h lib/checkbool.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testbool.cpp
|
2013-05-05 09:22:04 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testboost.o: test/testboost.cpp lib/check.h lib/checkboost.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testboost.cpp
|
2011-10-23 13:07:43 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testbufferoverrun.o: test/testbufferoverrun.cpp externals/simplecpp/simplecpp.h lib/check.h lib/checkbufferoverrun.h lib/color.h lib/config.h lib/ctu.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testbufferoverrun.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testcharvar.o: test/testcharvar.cpp lib/check.h lib/checkother.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testcharvar.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-08-07 20:49:10 +02:00
|
|
|
test/testcheck.o: test/testcheck.cpp lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/utils.h test/fixture.h
|
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testcheck.cpp
|
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testclangimport.o: test/testclangimport.cpp lib/check.h lib/clangimport.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testclangimport.cpp
|
2021-04-30 16:47:02 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testclass.o: test/testclass.cpp externals/simplecpp/simplecpp.h lib/check.h lib/checkclass.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/preprocessor.h lib/settings.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testclass.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-08-14 11:37:59 +02:00
|
|
|
test/testcmdlineparser.o: test/testcmdlineparser.cpp cli/cmdlineparser.h cli/cppcheckexecutor.h lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/timer.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h test/helpers.h test/redirect.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testcmdlineparser.cpp
|
2010-09-06 21:45:29 +02:00
|
|
|
|
2023-05-02 11:48:24 +02:00
|
|
|
test/testcolor.o: test/testcolor.cpp lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/utils.h test/fixture.h
|
2023-04-08 22:19:52 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testcolor.cpp
|
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testcondition.o: test/testcondition.cpp externals/simplecpp/simplecpp.h lib/check.h lib/checkcondition.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/preprocessor.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testcondition.cpp
|
2014-08-29 18:32:50 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testconstructors.o: test/testconstructors.cpp lib/check.h lib/checkclass.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testconstructors.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testcppcheck.o: test/testcppcheck.cpp lib/analyzerinfo.h lib/check.h lib/color.h lib/config.h lib/cppcheck.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/utils.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testcppcheck.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testerrorlogger.o: test/testerrorlogger.cpp externals/tinyxml2/tinyxml2.h lib/analyzerinfo.h lib/check.h lib/color.h lib/config.h lib/cppcheck.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/utils.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testerrorlogger.cpp
|
2010-12-05 22:06:36 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testexceptionsafety.o: test/testexceptionsafety.cpp lib/check.h lib/checkexceptionsafety.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testexceptionsafety.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-08-23 11:22:41 +02:00
|
|
|
test/testfilelister.o: test/testfilelister.cpp cli/filelister.h lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/path.h lib/pathmatch.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/utils.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testfilelister.cpp
|
2010-12-26 10:53:09 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testfunctions.o: test/testfunctions.cpp lib/check.h lib/checkfunctions.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testfunctions.cpp
|
2015-11-22 10:40:48 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testgarbage.o: test/testgarbage.cpp externals/simplecpp/simplecpp.h lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/preprocessor.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testgarbage.cpp
|
2014-09-24 13:50:57 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testimportproject.o: test/testimportproject.cpp lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/utils.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testimportproject.cpp
|
2016-08-13 10:50:03 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testincompletestatement.o: test/testincompletestatement.cpp externals/simplecpp/simplecpp.h lib/check.h lib/checkother.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testincompletestatement.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testinternal.o: test/testinternal.cpp lib/check.h lib/checkinternal.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testinternal.cpp
|
2011-10-28 22:39:46 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testio.o: test/testio.cpp lib/check.h lib/checkio.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testio.cpp
|
2012-05-20 22:19:10 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testleakautovar.o: test/testleakautovar.cpp externals/simplecpp/simplecpp.h lib/check.h lib/checkleakautovar.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testleakautovar.cpp
|
2012-05-26 08:53:46 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testlibrary.o: test/testlibrary.cpp externals/tinyxml2/tinyxml2.h lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h test/helpers.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testlibrary.cpp
|
2013-10-27 17:10:43 +01:00
|
|
|
|
2023-05-02 11:48:24 +02:00
|
|
|
test/testmathlib.o: test/testmathlib.cpp lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/utils.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testmathlib.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testmemleak.o: test/testmemleak.cpp lib/check.h lib/checkmemoryleak.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testmemleak.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testnullpointer.o: test/testnullpointer.cpp externals/simplecpp/simplecpp.h lib/check.h lib/checknullpointer.h lib/color.h lib/config.h lib/ctu.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testnullpointer.cpp
|
2010-10-31 11:51:25 +01:00
|
|
|
|
2023-05-02 11:48:24 +02:00
|
|
|
test/testoptions.o: test/testoptions.cpp lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/utils.h test/fixture.h test/options.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testoptions.cpp
|
2010-09-26 05:29:23 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testother.o: test/testother.cpp externals/simplecpp/simplecpp.h lib/check.h lib/checkother.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/preprocessor.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testother.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-08-23 11:22:41 +02:00
|
|
|
test/testpath.o: test/testpath.cpp lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/path.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h test/helpers.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testpath.cpp
|
2010-10-29 22:11:41 +02:00
|
|
|
|
2023-05-02 11:48:24 +02:00
|
|
|
test/testpathmatch.o: test/testpathmatch.cpp lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/pathmatch.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/utils.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testpathmatch.cpp
|
2011-02-01 12:34:05 +01:00
|
|
|
|
2023-05-02 11:48:24 +02:00
|
|
|
test/testplatform.o: test/testplatform.cpp externals/tinyxml2/tinyxml2.h lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/utils.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testplatform.cpp
|
2018-04-18 16:12:35 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testpostfixoperator.o: test/testpostfixoperator.cpp lib/check.h lib/checkpostfixoperator.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testpostfixoperator.cpp
|
2010-10-16 23:57:25 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testpreprocessor.o: test/testpreprocessor.cpp externals/simplecpp/simplecpp.h lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/path.h lib/platform.h lib/preprocessor.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h test/helpers.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testpreprocessor.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-01-29 17:23:03 +01:00
|
|
|
test/testprocessexecutor.o: test/testprocessexecutor.cpp cli/executor.h cli/processexecutor.h lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/timer.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h test/helpers.h test/redirect.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testprocessexecutor.cpp
|
2022-07-08 16:42:57 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testsettings.o: test/testsettings.cpp lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/utils.h test/fixture.h
|
2023-01-21 10:39:44 +01:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testsettings.cpp
|
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testsimplifytemplate.o: test/testsimplifytemplate.cpp lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testsimplifytemplate.cpp
|
2014-09-24 13:50:57 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testsimplifytokens.o: test/testsimplifytokens.cpp lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testsimplifytokens.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testsimplifytypedef.o: test/testsimplifytypedef.cpp externals/simplecpp/simplecpp.h lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testsimplifytypedef.cpp
|
2014-09-24 13:50:57 +02:00
|
|
|
|
2023-04-28 08:26:35 +02:00
|
|
|
test/testsimplifyusing.o: test/testsimplifyusing.cpp externals/simplecpp/simplecpp.h lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testsimplifyusing.cpp
|
2019-02-05 08:52:23 +01:00
|
|
|
|
2023-04-08 18:06:38 +02:00
|
|
|
test/testsingleexecutor.o: test/testsingleexecutor.cpp cli/executor.h cli/singleexecutor.h lib/analyzerinfo.h lib/check.h lib/color.h lib/config.h lib/cppcheck.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/timer.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h test/helpers.h test/redirect.h
|
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testsingleexecutor.cpp
|
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testsizeof.o: test/testsizeof.cpp externals/simplecpp/simplecpp.h lib/check.h lib/checksizeof.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testsizeof.cpp
|
2013-05-05 09:22:04 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/teststl.o: test/teststl.cpp lib/check.h lib/checkstl.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/teststl.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-08-22 19:33:24 +02:00
|
|
|
test/teststring.o: test/teststring.cpp externals/simplecpp/simplecpp.h lib/check.h lib/checkstring.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/teststring.cpp
|
2014-08-27 09:45:50 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testsummaries.o: test/testsummaries.cpp lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/summaries.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testsummaries.cpp
|
2020-12-20 19:53:58 +01:00
|
|
|
|
2023-04-28 12:41:53 +02:00
|
|
|
test/testsuppressions.o: test/testsuppressions.cpp cli/cppcheckexecutor.h cli/executor.h cli/processexecutor.h cli/singleexecutor.h cli/threadexecutor.h lib/analyzerinfo.h lib/check.h lib/color.h lib/config.h lib/cppcheck.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h test/helpers.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testsuppressions.cpp
|
2011-05-03 12:18:05 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testsymboldatabase.o: test/testsymboldatabase.cpp lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h test/helpers.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testsymboldatabase.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-01-29 17:23:03 +01:00
|
|
|
test/testthreadexecutor.o: test/testthreadexecutor.cpp cli/executor.h cli/threadexecutor.h lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/timer.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h test/helpers.h test/redirect.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testthreadexecutor.cpp
|
2010-06-14 22:18:09 +02:00
|
|
|
|
2023-05-02 11:48:24 +02:00
|
|
|
test/testtimer.o: test/testtimer.cpp lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/timer.h lib/utils.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testtimer.cpp
|
2012-09-15 19:49:48 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testtoken.o: test/testtoken.cpp lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h test/helpers.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testtoken.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-04-22 10:22:00 +02:00
|
|
|
test/testtokenize.o: test/testtokenize.cpp externals/simplecpp/simplecpp.h lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/preprocessor.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h test/helpers.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testtokenize.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testtokenlist.o: test/testtokenlist.cpp lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testtokenlist.cpp
|
2015-06-13 18:08:13 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testtokenrange.o: test/testtokenrange.cpp lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/tokenrange.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testtokenrange.cpp
|
2021-06-14 07:39:23 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testtype.o: test/testtype.cpp lib/check.h lib/checktype.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testtype.cpp
|
2014-09-11 18:10:19 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testuninitvar.o: test/testuninitvar.cpp lib/check.h lib/checkuninitvar.h lib/color.h lib/config.h lib/ctu.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testuninitvar.cpp
|
2010-10-31 12:31:11 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testunusedfunctions.o: test/testunusedfunctions.cpp lib/check.h lib/checkunusedfunctions.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testunusedfunctions.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testunusedprivfunc.o: test/testunusedprivfunc.cpp externals/simplecpp/simplecpp.h lib/check.h lib/checkclass.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testunusedprivfunc.cpp
|
2010-02-23 18:38:18 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testunusedvar.o: test/testunusedvar.cpp externals/simplecpp/simplecpp.h lib/check.h lib/checkunusedvar.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/preprocessor.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testunusedvar.cpp
|
2010-05-13 22:14:29 +02:00
|
|
|
|
2023-08-02 10:36:17 +02:00
|
|
|
test/testutils.o: test/testutils.cpp lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/utils.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testutils.cpp
|
2020-01-26 08:23:15 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testvaarg.o: test/testvaarg.cpp lib/check.h lib/checkvaarg.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testvaarg.cpp
|
2014-08-06 14:25:49 +02:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testvalueflow.o: test/testvalueflow.cpp externals/simplecpp/simplecpp.h lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testvalueflow.cpp
|
2014-01-04 20:57:02 +01:00
|
|
|
|
2023-04-08 16:08:47 +02:00
|
|
|
test/testvarid.o: test/testvarid.cpp lib/check.h lib/color.h lib/config.h lib/errorlogger.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h test/fixture.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_TEST} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ test/testvarid.cpp
|
2014-09-24 13:50:57 +02:00
|
|
|
|
2018-04-09 22:28:41 +02:00
|
|
|
externals/simplecpp/simplecpp.o: externals/simplecpp/simplecpp.cpp externals/simplecpp/simplecpp.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -w -c -o $@ externals/simplecpp/simplecpp.cpp
|
2016-07-20 12:21:00 +02:00
|
|
|
|
2020-11-16 09:11:08 +01:00
|
|
|
externals/tinyxml2/tinyxml2.o: externals/tinyxml2/tinyxml2.cpp externals/tinyxml2/tinyxml2.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -w -c -o $@ externals/tinyxml2/tinyxml2.cpp
|
2014-01-17 22:52:05 +01:00
|
|
|
|
2022-12-17 09:13:31 +01:00
|
|
|
tools/dmake.o: tools/dmake.cpp cli/filelister.h lib/config.h lib/pathmatch.h lib/utils.h
|
2022-09-09 15:06:40 +02:00
|
|
|
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ tools/dmake.cpp
|
2014-05-03 18:54:48 +02:00
|
|
|
|