/etc/adlint/conf.d/noarch/GNUmakefile.erb is in adlint 3.2.14-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | # ___ ____ __ ___ _________
# / | / _ |/ / / / | / /__ __/ Source Code Static Analyzer
# / /| | / / / / / / / |/ / / / AdLint - Advanced Lint
# / __ |/ /_/ / /___/ / /| / / /
# /_/ |_|_____/_____/_/_/ |_/ /_/ Copyright (C) 2010-2014, OGIS-RI Co.,Ltd.
#
# GNUmakefile generated by adlintize <%= AdLint::SHORT_VERSION %> at <%= Time.now %>.
#
# How...
# - to validate configuration files
# % make check
# - to analyze whole project with compiler like messages
# % make all
# - to do only single module analyses with compiler like messages
# % make sma-only
# - to analyze whole project with progress report
# % make verbose-all
# - to do only single module analyses with progress report
# % make verbose-sma-only
# - to do only cross module analysis with progress report
# % make verbose-cma-only
# - to analyze whole project *FAST* on 4-core processor machine
# % make -j 4 all
# - to analyze whole project *FAST* and silently with elapsed time
# % time make -j 4 all 2>/dev/null
# - to delete all result files
# % make clean
#
PROJECT = <%= project_name %>
SOURCES = \
<%= Dir.glob("**/*.c").join(" \\\n ") %>
VPATH = <%= vpath %>
VPATH_COMPONENTS = <%= vpath.components.size %>
RUBY = ruby
ADLINT = adlint
ADLINT_FLAGS = -t <%= traits_fpath.basename %> -o . -p $(VPATH_COMPONENTS)
ADLINT_SMA = adlint_sma
ADLINT_SMA_FLAGS = -t <%= traits_fpath.basename %> -o . -p $(VPATH_COMPONENTS)
ADLINT_CMA = adlint_cma
ADLINT_CMA_FLAGS = -t <%= traits_fpath.basename %> -o .
ADLINT_CHK = adlint_chk
ADLINT_CHK_FLAGS = -t <%= traits_fpath.basename %> -o . -p $(VPATH_COMPONENTS)
RM = $(RUBY) -r fileutils -e 'FileUtils.rm_f(ARGV)'
VPATHED_SOURCES = $(addprefix $(VPATH)/, $(SOURCES))
SMA_MSG_FILES = $(addsuffix .msg.csv, $(SOURCES))
SMA_MET_FILES = $(addsuffix .met.csv, $(SOURCES))
SMA_I_FILES = $(addsuffix .i, $(basename $(SOURCES)))
SMA_LOG_FILES = $(addsuffix .log, $(SOURCES))
CMA_MSG_FILE = $(PROJECT).msg.csv
CMA_MET_FILE = $(PROJECT).met.csv
CMA_LOG_FILE = $(PROJECT).log
.SUFFIXES:
%.c.msg.csv %.c.met.csv : %.c
$(ADLINT_SMA) $(ADLINT_SMA_FLAGS) $<
$(CMA_MET_FILE) : $(SMA_MET_FILES)
$(ADLINT_CMA) $(ADLINT_CMA_FLAGS) $^
.PHONY: adlint_sma-all
adlint_sma-all : $(SMA_MET_FILES)
.PHONY: adlint_cma-all
adlint_cma-all : $(CMA_MET_FILE)
.PHONY: adlint_chk-all
adlint_chk-all :
$(ADLINT_CHK) $(ADLINT_CHK_FLAGS) -v $(VPATHED_SOURCES)
.PHONY: adlint_verbose-all
adlint_verbose-all :
$(ADLINT) $(ADLINT_FLAGS) -v $(VPATHED_SOURCES)
.PHONY: adlint_verbose-sma-only
adlint_verbose-sma-only :
$(ADLINT_SMA) $(ADLINT_SMA_FLAGS) -v $(VPATHED_SOURCES)
.PHONY: adlint_verbose-cma-only
adlint_verbose-cma-only : $(SMA_MET_FILES)
$(ADLINT_CMA) $(ADLINT_CMA_FLAGS) -v $^
.PHONY: adlint_clean
adlint_clean :
@$(RM) $(SMA_MSG_FILES) $(SMA_MET_FILES) $(SMA_I_FILES) \
$(SMA_LOG_FILES) $(CMA_MSG_FILE) $(CMA_MET_FILE) $(CMA_LOG_FILE)
.PHONY: all
all : adlint_cma-all
.PHONY: sma-only
sma-only : adlint_sma-all
.PHONY: verbose-all
verbose-all : adlint_verbose-all
.PHONY: verbose-sma-only
verbose-sma-only : adlint_verbose-sma-only
.PHONY: verbose-cma-only
verbose-cma-only : adlint_verbose-cma-only
.PHONY: check
check : adlint_chk-all
.PHONY: clean
clean : adlint_clean
|