]> granicus.if.org Git - sudo/blob - lib/util/Makefile.in
27b110f65ac21a27b09a0af44ad317ac5d27b114
[sudo] / lib / util / Makefile.in
1 #
2 # Copyright (c) 2011-2018 Todd C. Miller <Todd.Miller@sudo.ws>
3 #
4 # Permission to use, copy, modify, and distribute this software for any
5 # purpose with or without fee is hereby granted, provided that the above
6 # copyright notice and this permission notice appear in all copies.
7 #
8 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 #
16 # @configure_input@
17 #
18
19 #### Start of system configuration section. ####
20
21 srcdir = @srcdir@
22 devdir = @devdir@
23 top_builddir = @top_builddir@
24 top_srcdir = @top_srcdir@
25 incdir = $(top_srcdir)/include
26 cross_compiling = @CROSS_COMPILING@
27
28 # Where to install things...
29 prefix = @prefix@
30 exec_prefix = @exec_prefix@
31 bindir = @bindir@
32 sbindir = @sbindir@
33 sysconfdir = @sysconfdir@
34 libexecdir = @libexecdir@
35 datarootdir = @datarootdir@
36 localstatedir = @localstatedir@
37
38 # File extension, mode and map file to use for shared libraries/objects
39 shlib_enable = @SHLIB_ENABLE@
40 shlib_mode = @SHLIB_MODE@
41 shlib_exp = ./util.exp
42 shlib_map = util.map
43 shlib_opt = util.opt
44
45 # Compiler & tools to use
46 CC = @CC@
47 LIBTOOL = @LIBTOOL@
48 SED = @SED@
49 AWK = @AWK@
50
51 # Our install program supports extra flags...
52 INSTALL = $(SHELL) $(top_srcdir)/install-sh -c
53 INSTALL_OWNER = -o $(install_uid) -g $(install_gid)
54 INSTALL_BACKUP = @INSTALL_BACKUP@
55
56 # C preprocessor defines
57 CPPDEFS = -D_PATH_SUDO_CONF=\"$(sysconfdir)/sudo.conf\"
58
59 # C preprocessor flags
60 CPPFLAGS = -I$(incdir) -I$(top_builddir) -I$(srcdir) -I$(top_srcdir) $(CPPDEFS) @CPPFLAGS@
61
62 # Usually -O and/or -g
63 CFLAGS = @CFLAGS@
64
65 # Flags to pass to the link stage
66 LDFLAGS = @LDFLAGS@
67 LT_LDFLAGS = @LIBUTIL_LDFLAGS@ @LT_LDFLAGS@ @LT_LDEXPORTS@
68
69 # Flags to pass to libtool
70 LTFLAGS = @LT_STATIC@
71
72 # Address sanitizer flags
73 ASAN_CFLAGS = @ASAN_CFLAGS@
74 ASAN_LDFLAGS = @ASAN_LDFLAGS@
75
76 # PIE flags
77 PIE_CFLAGS = @PIE_CFLAGS@
78 PIE_LDFLAGS = @PIE_LDFLAGS@
79
80 # Stack smashing protection flags
81 SSP_CFLAGS = @SSP_CFLAGS@
82 SSP_LDFLAGS = @SSP_LDFLAGS@
83
84 # Libtool style shared library version
85 SHLIB_VERSION = 0:0:0
86
87 # cppcheck options, usually set in the top-level Makefile
88 CPPCHECK_OPTS = -q --force --enable=warning,performance,portability --suppress=constStatement --error-exitcode=1 --inline-suppr -Dva_copy=va_copy -U__cplusplus -UQUAD_MAX -UQUAD_MIN -UUQUAD_MAX -U_POSIX_HOST_NAME_MAX -U_POSIX_PATH_MAX -U__NBBY -DNSIG=64
89
90 # splint options, usually set in the top-level Makefile
91 SPLINT_OPTS = -D__restrict= -checks
92
93 # PVS-studio options
94 PVS_CFG = $(top_srcdir)/PVS-Studio.cfg
95 PVS_IGNORE = 'V707,V011,V002,V536'
96 PVS_LOG_OPTS = -a 'GA:1,2' -e -t errorfile -d $(PVS_IGNORE)
97
98 # Regression tests
99 TEST_PROGS = atofoo_test conf_test hltq_test parseln_test progname_test \
100              strsplit_test parse_gids_test getgrouplist_test @COMPAT_TEST_PROGS@
101 TEST_LIBS = @LIBS@
102 TEST_LDFLAGS = @LDFLAGS@
103
104 # User and group ids the installed files should be "owned" by
105 install_uid = 0
106 install_gid = 0
107
108 # Set to non-empty for development mode
109 DEVEL = @DEVEL@
110
111 #### End of system configuration section. ####
112
113 SHELL = @SHELL@
114
115 LTOBJS = @DIGEST@ event.lo fatal.lo key_val.lo gethostname.lo gettime.lo \
116          getgrouplist.lo gidlist.lo lbuf.lo locking.lo parseln.lo progname.lo \
117          secure_path.lo setgroups.lo strsplit.lo strtobool.lo strtoid.lo \
118          strtomode.lo sudo_conf.lo sudo_debug.lo sudo_dso.lo term.lo \
119          ttyname_dev.lo ttysize.lo @COMMON_OBJS@ @LTLIBOBJS@
120
121 IOBJS = $(LTOBJS:.lo=.i)
122
123 POBJS = $(IOBJS:.i=.plog)
124
125 ATOFOO_TEST_OBJS = atofoo_test.lo
126
127 MKTEMP_TEST_OBJS = mktemp_test.lo
128
129 PARSELN_TEST_OBJS = parseln_test.lo
130
131 PROGNAME_TEST_OBJS = progname_test.lo progname.lo
132
133 CONF_TEST_OBJS = conf_test.lo
134
135 HLTQ_TEST_OBJS = hltq_test.lo
136
137 FNM_TEST_OBJS = fnm_test.lo
138
139 GLOBTEST_OBJS = globtest.lo
140
141 GETDELIM_TEST_OBJS = getdelim_test.lo
142
143 STRSPLIT_TEST_OBJS = strsplit_test.lo
144
145 PARSE_GIDS_TEST_OBJS = parse_gids_test.lo
146
147 GETGROUPLIST_TEST_OBJS = getgrouplist_test.lo
148
149 VSYSLOG_TEST_OBJS = vsyslog_test.lo vsyslog.lo
150
151 all: libsudo_util.la
152
153 pvs-log-files: $(POBJS)
154
155 pvs-studio: $(POBJS)
156         plog-converter $(PVS_LOG_OPTS) $(POBJS)
157
158 Makefile: $(srcdir)/Makefile.in
159         cd $(top_builddir) && ./config.status --file lib/util/Makefile
160
161 .SUFFIXES: .c .h .i .lo .plog
162
163 .c.lo:
164         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $<
165
166 .c.i:
167         $(CC) -E -o $@ $(CPPFLAGS) $<
168
169 .i.plog:
170         ifile=$<; rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $${ifile%i}c --i-file $< --output-file $@
171
172 $(shlib_map): $(shlib_exp)
173         @$(AWK) 'BEGIN { print "{\n\tglobal:" } { print "\t\t"$$0";" } END { print "\tlocal:\n\t\t*;\n};" }' $(shlib_exp) > $@
174
175 $(shlib_opt): $(shlib_exp)
176         @$(SED) 's/^/+e /' $(shlib_exp) > $@
177
178 libsudo_util.la: $(LTOBJS) @LT_LDDEP@
179         case "$(LT_LDFLAGS)" in \
180         *-no-install*) \
181             $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(LDFLAGS) $(LT_LDFLAGS) $(LTOBJS) @LIBINTL@ @LIBMD@ @LIBPTHREAD@ @LIBDL@ @LIBRT@;; \
182         *) \
183             $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(LDFLAGS) $(ASAN_LDFLAGS) $(SSP_LDFLAGS) $(LT_LDFLAGS) $(LTOBJS) -version-info $(SHLIB_VERSION) -rpath $(libexecdir)/sudo @LT_DEP_LIBS@ @LIBINTL@ @LIBMD@ @LIBPTHREAD@ @LIBDL@ @LIBRT@;; \
184         esac
185
186 siglist.c: mksiglist
187         ./mksiglist > $@
188
189 signame.c: mksigname
190         ./mksigname > $@
191
192 mksiglist: $(srcdir)/mksiglist.c $(srcdir)/mksiglist.h $(incdir)/sudo_compat.h $(top_builddir)/config.h
193         $(CC) $(CPPFLAGS) $(CFLAGS) $(srcdir)/mksiglist.c -o $@
194
195 mksigname: $(srcdir)/mksigname.c $(srcdir)/mksigname.h $(incdir)/sudo_compat.h $(top_builddir)/config.h
196         $(CC) $(CPPFLAGS) $(CFLAGS) $(srcdir)/mksigname.c -o $@
197
198 $(srcdir)/mksiglist.h: $(srcdir)/siglist.in
199         @if [ -n "$(DEVEL)" ]; then \
200             $(AWK) 'BEGIN {print "/* public domain */\n"} /^    [A-Z]/ {printf("#ifdef SIG%s\n    if (sudo_sys_siglist[SIG%s] == NULL)\n\tsudo_sys_siglist[SIG%s] = \"%s\";\n#endif\n", $$1, $$1, $$1, substr($$0, 13))}' < $(srcdir)/siglist.in > $@; \
201         fi
202
203 $(srcdir)/mksigname.h: $(srcdir)/siglist.in
204         @if [ -n "$(DEVEL)" ]; then \
205             $(AWK) 'BEGIN {print "/* public domain */\n"} /^    [A-Z]/ {printf("#ifdef SIG%s\n    if (sudo_sys_signame[SIG%s] == NULL)\n\tsudo_sys_signame[SIG%s] = \"%s\";\n#endif\n", $$1, $$1, $$1, $$1)}' < $(srcdir)/siglist.in > $@; \
206         fi
207
208 atofoo_test: $(ATOFOO_TEST_OBJS) libsudo_util.la
209         $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(ATOFOO_TEST_OBJS) libsudo_util.la $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(SSP_LDFLAGS) $(TEST_LDFLAGS) $(TEST_LIBS)
210
211 conf_test: $(CONF_TEST_OBJS) libsudo_util.la
212         $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(CONF_TEST_OBJS) libsudo_util.la $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(SSP_LDFLAGS) $(TEST_LDFLAGS) $(TEST_LIBS)
213
214 fnm_test: $(FNM_TEST_OBJS) libsudo_util.la
215         $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(FNM_TEST_OBJS) libsudo_util.la $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(SSP_LDFLAGS) $(TEST_LDFLAGS) $(TEST_LIBS)
216
217 globtest: $(GLOBTEST_OBJS) libsudo_util.la
218         $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(GLOBTEST_OBJS) libsudo_util.la $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(SSP_LDFLAGS) $(TEST_LDFLAGS) $(TEST_LIBS)
219
220 getdelim_test: $(GETDELIM_TEST_OBJS) libsudo_util.la
221         $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(GETDELIM_TEST_OBJS) libsudo_util.la $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(SSP_LDFLAGS) $(TEST_LDFLAGS) $(TEST_LIBS)
222
223 hltq_test: $(HLTQ_TEST_OBJS) libsudo_util.la
224         $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(HLTQ_TEST_OBJS) libsudo_util.la $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(SSP_LDFLAGS) $(TEST_LDFLAGS) $(TEST_LIBS)
225
226 mktemp_test: $(MKTEMP_TEST_OBJS) libsudo_util.la
227         $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(MKTEMP_TEST_OBJS) libsudo_util.la $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(SSP_LDFLAGS) $(TEST_LDFLAGS) $(TEST_LIBS)
228
229 parseln_test: $(PARSELN_TEST_OBJS) libsudo_util.la
230         $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(PARSELN_TEST_OBJS) libsudo_util.la $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(SSP_LDFLAGS) $(TEST_LDFLAGS) $(TEST_LIBS)
231
232 progname_test: $(PROGNAME_TEST_OBJS)
233         $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(PROGNAME_TEST_OBJS) $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(SSP_LDFLAGS) $(TEST_LDFLAGS) $(TEST_LIBS)
234
235 parse_gids_test: $(PARSE_GIDS_TEST_OBJS) libsudo_util.la
236         $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(PARSE_GIDS_TEST_OBJS) libsudo_util.la $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(SSP_LDFLAGS) $(TEST_LDFLAGS) $(TEST_LIBS)
237
238 getgrouplist_test: $(GETGROUPLIST_TEST_OBJS) libsudo_util.la
239         $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(GETGROUPLIST_TEST_OBJS) libsudo_util.la $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(SSP_LDFLAGS) $(TEST_LDFLAGS) $(TEST_LIBS)
240
241 strsplit_test: $(STRSPLIT_TEST_OBJS) libsudo_util.la
242         $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(STRSPLIT_TEST_OBJS) libsudo_util.la $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(SSP_LDFLAGS) $(TEST_LDFLAGS) $(TEST_LIBS)
243
244 vsyslog_test: $(VSYSLOG_TEST_OBJS) libsudo_util.la
245         $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(VSYSLOG_TEST_OBJS) libsudo_util.la $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(SSP_LDFLAGS) $(TEST_LDFLAGS) $(TEST_LIBS)
246
247 pre-install:
248
249 install: install-dirs
250         case "$(LT_LDFLAGS)" in \
251         *-no-install*) ;; \
252         *)  if [ X"$(shlib_enable)" = X"yes" ]; then \
253                 INSTALL_BACKUP='$(INSTALL_BACKUP)' $(LIBTOOL) $(LTFLAGS) --quiet --mode=install $(INSTALL) $(INSTALL_OWNER) libsudo_util.la $(DESTDIR)$(libexecdir)/sudo; \
254             fi;; \
255         esac
256
257 install-dirs:
258         $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(libexecdir)/sudo
259
260 install-binaries:
261
262 install-includes:
263
264 install-doc:
265
266 install-plugin:
267
268 uninstall:
269         $(LIBTOOL) $(LTFLAGS) --mode=uninstall rm -f $(DESTDIR)$(libexecdir)/sudo/libsudo_util.la
270         -test -z "$(INSTALL_BACKUP)" || \
271             rf -f $(DESTDIR)$(libexecdir)/sudo/libsudo_util.*~
272
273 splint:
274         splint $(SPLINT_OPTS) -I$(incdir) -I$(top_builddir) -I$(top_srcdir) $(srcdir)/*.c
275
276 cppcheck:
277         cppcheck $(CPPCHECK_OPTS) -I$(incdir) -I$(top_builddir) -I$(top_srcdir) $(srcdir)/*.c
278
279 pvs-log-files: $(POBJS)
280
281 # Note: some regress checks are run from srcdir for consistent error messages
282 check: $(TEST_PROGS)
283         @if test X"$(cross_compiling)" != X"yes"; then \
284             rval=0; \
285             if test -f parse_gids_test; then \
286                 ./parse_gids_test || rval=`expr $$rval + $$?`; \
287             fi; \
288             if test -f strsplit_test; then \
289                 ./strsplit_test || rval=`expr $$rval + $$?`; \
290             fi; \
291             if test -f fnm_test; then \
292                 ./fnm_test $(srcdir)/regress/fnmatch/fnm_test.in || rval=`expr $$rval + $$?`; \
293             fi; \
294             if test -f globtest; then \
295                 mkdir -p `$(SED) 's@/[^/]*$$@@' $(srcdir)/regress/glob/files | sort -u`; \
296                 touch `cat $(srcdir)/regress/glob/files`; \
297                 chmod 0755 `grep '/r[^/]*$$' $(srcdir)/regress/glob/files`; \
298                 chmod 0444 `grep '/s[^/]*$$' $(srcdir)/regress/glob/files`; \
299                 chmod 0711 `grep '/t[^/]*$$' $(srcdir)/regress/glob/files`; \
300                 ./globtest $(srcdir)/regress/glob/globtest.in || rval=`expr $$rval + $$?`; \
301                 rm -rf fake; \
302             fi; \
303             if test -f getdelim_test; then \
304                 ./getdelim_test || rval=`expr $$rval + $$?`; \
305             fi; \
306             if test -f mktemp_test; then \
307                 ./mktemp_test || rval=`expr $$rval + $$?`; \
308             fi; \
309             ./getgrouplist_test || rval=`expr $$rval + $$?`; \
310             ./atofoo_test || rval=`expr $$rval + $$?`; \
311             ./hltq_test || rval=`expr $$rval + $$?`; \
312             ./progname_test || rval=`expr $$rval + $$?`; \
313             rm -f ./progname_test2; ln -s ./progname_test ./progname_test2; \
314             ./progname_test2 || rval=`expr $$rval + $$?`; \
315             rm -f ./progname_test2; \
316             if test -f vsyslog_test; then \
317                 ./vsyslog_test || rval=`expr $$rval + $$?`; \
318             fi; \
319             build_dir=`pwd`; \
320             cd $(srcdir); \
321             for dir in sudo_conf sudo_parseln; do \
322                 passed=0; failed=0; total=0; \
323                 mkdir -p $$build_dir/regress/$$dir; \
324                 for t in regress/$$dir/*.in; do \
325                     base=`basename $$t .in`; \
326                     out="$$build_dir/regress/$$dir/$${base}.out"; \
327                     out_ok="regress/$$dir/$${base}.out.ok"; \
328                     err="$$build_dir/regress/$$dir/$${base}.err"; \
329                     err_ok="regress/$$dir/$${base}.err.ok"; \
330                     if test "$$dir" = "sudo_conf"; then \
331                         $$build_dir/conf_test $$t >$$out 2>$$err; \
332                     else \
333                         $$build_dir/parseln_test <$$t >$$out 2>$$err; \
334                     fi; \
335                     if cmp $$out $$out_ok >/dev/null; then \
336                         passed=`expr $$passed + 1`; \
337                         echo "$$dir/$$base: OK"; \
338                     else \
339                         failed=`expr $$failed + 1`; \
340                         echo "$$dir/$$base: FAIL"; \
341                         diff $$out $$out_ok || true; \
342                     fi; \
343                     total=`expr $$total + 1`; \
344                     if test -s $$err_ok; then \
345                         if cmp $$err $$err_ok >/dev/null; then \
346                             passed=`expr $$passed + 1`; \
347                             echo "$$dir/$$base (stderr): OK"; \
348                         else \
349                             failed=`expr $$failed + 1`; \
350                             echo "$$dir/$$base (stderr): FAIL"; \
351                             diff $$err $$err_ok || true; \
352                         fi; \
353                         total=`expr $$total + 1`; \
354                     elif test -s $$err; then \
355                         failed=`expr $$failed + 1`; \
356                         echo "$$dir/$$base (stderr): FAIL"; \
357                         cat $$err 1>&2; \
358                     fi; \
359                 done; \
360                 if test $$failed -ne 0; then \
361                     rval=`expr $$rval + $$failed`; \
362                 fi; \
363                 echo "$$dir: $$passed/$$total tests passed; $$failed/$$total tests failed"; \
364             done; \
365             exit $$rval; \
366         fi
367
368 clean:
369         -$(LIBTOOL) $(LTFLAGS) --mode=clean rm -f $(TEST_PROGS) *.lo *.o \
370             *.la *.a *.i *.plog stamp-* core *.core core.* regress/*/*.out \
371             regress/*/*.err
372
373 mostlyclean: clean
374
375 distclean: clean
376         -rm -rf Makefile mksiglist siglist.c mksigname signame.c .libs \
377             $(shlib_exp) $(shlib_map) $(shlib_opt)
378
379 clobber: distclean
380
381 realclean: distclean
382         rm -f TAGS tags
383
384 cleandir: realclean
385
386 # Autogenerated dependencies, do not modify
387 aix.lo: $(srcdir)/aix.c $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
388         $(incdir)/sudo_debug.h $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \
389         $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(top_builddir)/config.h
390         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/aix.c
391 aix.i: $(srcdir)/aix.c $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
392         $(incdir)/sudo_debug.h $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \
393         $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(top_builddir)/config.h
394         $(CC) -E -o $@ $(CPPFLAGS) $<
395 aix.plog: aix.i
396         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/aix.c --i-file $< --output-file $@
397 arc4random.lo: $(srcdir)/arc4random.c $(incdir)/sudo_compat.h \
398                $(incdir)/sudo_rand.h $(srcdir)/arc4random.h \
399                $(srcdir)/chacha_private.h $(top_builddir)/config.h
400         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/arc4random.c
401 arc4random.i: $(srcdir)/arc4random.c $(incdir)/sudo_compat.h \
402                $(incdir)/sudo_rand.h $(srcdir)/arc4random.h \
403                $(srcdir)/chacha_private.h $(top_builddir)/config.h
404         $(CC) -E -o $@ $(CPPFLAGS) $<
405 arc4random.plog: arc4random.i
406         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/arc4random.c --i-file $< --output-file $@
407 arc4random_uniform.lo: $(srcdir)/arc4random_uniform.c $(incdir)/sudo_compat.h \
408                        $(incdir)/sudo_rand.h $(top_builddir)/config.h
409         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/arc4random_uniform.c
410 arc4random_uniform.i: $(srcdir)/arc4random_uniform.c $(incdir)/sudo_compat.h \
411                        $(incdir)/sudo_rand.h $(top_builddir)/config.h
412         $(CC) -E -o $@ $(CPPFLAGS) $<
413 arc4random_uniform.plog: arc4random_uniform.i
414         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/arc4random_uniform.c --i-file $< --output-file $@
415 atofoo_test.lo: $(srcdir)/regress/atofoo/atofoo_test.c \
416                 $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
417                 $(incdir)/sudo_fatal.h $(incdir)/sudo_util.h \
418                 $(top_builddir)/config.h
419         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/regress/atofoo/atofoo_test.c
420 atofoo_test.i: $(srcdir)/regress/atofoo/atofoo_test.c \
421                 $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
422                 $(incdir)/sudo_fatal.h $(incdir)/sudo_util.h \
423                 $(top_builddir)/config.h
424         $(CC) -E -o $@ $(CPPFLAGS) $<
425 atofoo_test.plog: atofoo_test.i
426         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/atofoo/atofoo_test.c --i-file $< --output-file $@
427 closefrom.lo: $(srcdir)/closefrom.c $(incdir)/sudo_compat.h \
428               $(top_builddir)/config.h $(top_builddir)/pathnames.h
429         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/closefrom.c
430 closefrom.i: $(srcdir)/closefrom.c $(incdir)/sudo_compat.h \
431               $(top_builddir)/config.h $(top_builddir)/pathnames.h
432         $(CC) -E -o $@ $(CPPFLAGS) $<
433 closefrom.plog: closefrom.i
434         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/closefrom.c --i-file $< --output-file $@
435 conf_test.lo: $(srcdir)/regress/sudo_conf/conf_test.c \
436               $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
437               $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \
438               $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
439               $(top_builddir)/config.h
440         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/regress/sudo_conf/conf_test.c
441 conf_test.i: $(srcdir)/regress/sudo_conf/conf_test.c \
442               $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
443               $(incdir)/sudo_conf.h $(incdir)/sudo_debug.h \
444               $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
445               $(top_builddir)/config.h
446         $(CC) -E -o $@ $(CPPFLAGS) $<
447 conf_test.plog: conf_test.i
448         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/sudo_conf/conf_test.c --i-file $< --output-file $@
449 digest.lo: $(srcdir)/digest.c $(incdir)/compat/sha2.h \
450            $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
451            $(incdir)/sudo_debug.h $(incdir)/sudo_digest.h \
452            $(incdir)/sudo_queue.h $(top_builddir)/config.h
453         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/digest.c
454 digest.i: $(srcdir)/digest.c $(incdir)/compat/sha2.h \
455            $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
456            $(incdir)/sudo_debug.h $(incdir)/sudo_digest.h \
457            $(incdir)/sudo_queue.h $(top_builddir)/config.h
458         $(CC) -E -o $@ $(CPPFLAGS) $<
459 digest.plog: digest.i
460         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/digest.c --i-file $< --output-file $@
461 digest_gcrypt.lo: $(srcdir)/digest_gcrypt.c $(incdir)/compat/stdbool.h \
462                   $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
463                   $(incdir)/sudo_digest.h $(incdir)/sudo_queue.h \
464                   $(top_builddir)/config.h
465         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/digest_gcrypt.c
466 digest_gcrypt.i: $(srcdir)/digest_gcrypt.c $(incdir)/compat/stdbool.h \
467                   $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
468                   $(incdir)/sudo_digest.h $(incdir)/sudo_queue.h \
469                   $(top_builddir)/config.h
470         $(CC) -E -o $@ $(CPPFLAGS) $<
471 digest_gcrypt.plog: digest_gcrypt.i
472         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/digest_gcrypt.c --i-file $< --output-file $@
473 digest_openssl.lo: $(srcdir)/digest_openssl.c $(incdir)/compat/stdbool.h \
474                    $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
475                    $(incdir)/sudo_digest.h $(incdir)/sudo_queue.h \
476                    $(top_builddir)/config.h
477         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/digest_openssl.c
478 digest_openssl.i: $(srcdir)/digest_openssl.c $(incdir)/compat/stdbool.h \
479                    $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
480                    $(incdir)/sudo_digest.h $(incdir)/sudo_queue.h \
481                    $(top_builddir)/config.h
482         $(CC) -E -o $@ $(CPPFLAGS) $<
483 digest_openssl.plog: digest_openssl.i
484         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/digest_openssl.c --i-file $< --output-file $@
485 event.lo: $(srcdir)/event.c $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
486           $(incdir)/sudo_debug.h $(incdir)/sudo_event.h $(incdir)/sudo_fatal.h \
487           $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(top_builddir)/config.h
488         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/event.c
489 event.i: $(srcdir)/event.c $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
490           $(incdir)/sudo_debug.h $(incdir)/sudo_event.h $(incdir)/sudo_fatal.h \
491           $(incdir)/sudo_queue.h $(incdir)/sudo_util.h $(top_builddir)/config.h
492         $(CC) -E -o $@ $(CPPFLAGS) $<
493 event.plog: event.i
494         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/event.c --i-file $< --output-file $@
495 event_poll.lo: $(srcdir)/event_poll.c $(incdir)/compat/stdbool.h \
496                $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
497                $(incdir)/sudo_event.h $(incdir)/sudo_fatal.h \
498                $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
499                $(top_builddir)/config.h
500         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/event_poll.c
501 event_poll.i: $(srcdir)/event_poll.c $(incdir)/compat/stdbool.h \
502                $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
503                $(incdir)/sudo_event.h $(incdir)/sudo_fatal.h \
504                $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
505                $(top_builddir)/config.h
506         $(CC) -E -o $@ $(CPPFLAGS) $<
507 event_poll.plog: event_poll.i
508         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/event_poll.c --i-file $< --output-file $@
509 event_select.lo: $(srcdir)/event_select.c $(incdir)/compat/stdbool.h \
510                  $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
511                  $(incdir)/sudo_event.h $(incdir)/sudo_fatal.h \
512                  $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
513                  $(top_builddir)/config.h
514         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/event_select.c
515 event_select.i: $(srcdir)/event_select.c $(incdir)/compat/stdbool.h \
516                  $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
517                  $(incdir)/sudo_event.h $(incdir)/sudo_fatal.h \
518                  $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
519                  $(top_builddir)/config.h
520         $(CC) -E -o $@ $(CPPFLAGS) $<
521 event_select.plog: event_select.i
522         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/event_select.c --i-file $< --output-file $@
523 fatal.lo: $(srcdir)/fatal.c $(incdir)/compat/getaddrinfo.h \
524           $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
525           $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \
526           $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
527           $(top_builddir)/config.h
528         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/fatal.c
529 fatal.i: $(srcdir)/fatal.c $(incdir)/compat/getaddrinfo.h \
530           $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
531           $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \
532           $(incdir)/sudo_plugin.h $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
533           $(top_builddir)/config.h
534         $(CC) -E -o $@ $(CPPFLAGS) $<
535 fatal.plog: fatal.i
536         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/fatal.c --i-file $< --output-file $@
537 fnm_test.lo: $(srcdir)/regress/fnmatch/fnm_test.c $(incdir)/compat/fnmatch.h \
538              $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
539              $(incdir)/sudo_util.h $(top_builddir)/config.h
540         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/regress/fnmatch/fnm_test.c
541 fnm_test.i: $(srcdir)/regress/fnmatch/fnm_test.c $(incdir)/compat/fnmatch.h \
542              $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
543              $(incdir)/sudo_util.h $(top_builddir)/config.h
544         $(CC) -E -o $@ $(CPPFLAGS) $<
545 fnm_test.plog: fnm_test.i
546         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/fnmatch/fnm_test.c --i-file $< --output-file $@
547 fnmatch.lo: $(srcdir)/fnmatch.c $(incdir)/compat/charclass.h \
548             $(incdir)/compat/fnmatch.h $(incdir)/sudo_compat.h \
549             $(top_builddir)/config.h
550         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/fnmatch.c
551 fnmatch.i: $(srcdir)/fnmatch.c $(incdir)/compat/charclass.h \
552             $(incdir)/compat/fnmatch.h $(incdir)/sudo_compat.h \
553             $(top_builddir)/config.h
554         $(CC) -E -o $@ $(CPPFLAGS) $<
555 fnmatch.plog: fnmatch.i
556         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/fnmatch.c --i-file $< --output-file $@
557 getaddrinfo.lo: $(srcdir)/getaddrinfo.c $(incdir)/compat/getaddrinfo.h \
558                 $(incdir)/sudo_compat.h $(top_builddir)/config.h
559         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/getaddrinfo.c
560 getaddrinfo.i: $(srcdir)/getaddrinfo.c $(incdir)/compat/getaddrinfo.h \
561                 $(incdir)/sudo_compat.h $(top_builddir)/config.h
562         $(CC) -E -o $@ $(CPPFLAGS) $<
563 getaddrinfo.plog: getaddrinfo.i
564         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/getaddrinfo.c --i-file $< --output-file $@
565 getcwd.lo: $(srcdir)/getcwd.c $(incdir)/sudo_compat.h $(top_builddir)/config.h
566         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/getcwd.c
567 getcwd.i: $(srcdir)/getcwd.c $(incdir)/sudo_compat.h $(top_builddir)/config.h
568         $(CC) -E -o $@ $(CPPFLAGS) $<
569 getcwd.plog: getcwd.i
570         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/getcwd.c --i-file $< --output-file $@
571 getdelim.lo: $(srcdir)/getdelim.c $(incdir)/sudo_compat.h \
572              $(top_builddir)/config.h
573         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/getdelim.c
574 getdelim.i: $(srcdir)/getdelim.c $(incdir)/sudo_compat.h \
575              $(top_builddir)/config.h
576         $(CC) -E -o $@ $(CPPFLAGS) $<
577 getdelim.plog: getdelim.i
578         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/getdelim.c --i-file $< --output-file $@
579 getdelim_test.lo: $(srcdir)/regress/getdelim/getdelim_test.c \
580                   $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
581                   $(incdir)/sudo_fatal.h $(incdir)/sudo_util.h \
582                   $(top_builddir)/config.h
583         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/regress/getdelim/getdelim_test.c
584 getdelim_test.i: $(srcdir)/regress/getdelim/getdelim_test.c \
585                   $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
586                   $(incdir)/sudo_fatal.h $(incdir)/sudo_util.h \
587                   $(top_builddir)/config.h
588         $(CC) -E -o $@ $(CPPFLAGS) $<
589 getdelim_test.plog: getdelim_test.i
590         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/getdelim/getdelim_test.c --i-file $< --output-file $@
591 getentropy.lo: $(srcdir)/getentropy.c $(incdir)/sudo_compat.h \
592                $(incdir)/sudo_digest.h $(incdir)/sudo_rand.h \
593                $(top_builddir)/config.h
594         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/getentropy.c
595 getentropy.i: $(srcdir)/getentropy.c $(incdir)/sudo_compat.h \
596                $(incdir)/sudo_digest.h $(incdir)/sudo_rand.h \
597                $(top_builddir)/config.h
598         $(CC) -E -o $@ $(CPPFLAGS) $<
599 getentropy.plog: getentropy.i
600         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/getentropy.c --i-file $< --output-file $@
601 getgrouplist.lo: $(srcdir)/getgrouplist.c $(incdir)/compat/nss_dbdefs.h \
602                  $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
603                  $(incdir)/sudo_util.h $(top_builddir)/config.h
604         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/getgrouplist.c
605 getgrouplist.i: $(srcdir)/getgrouplist.c $(incdir)/compat/nss_dbdefs.h \
606                  $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
607                  $(incdir)/sudo_util.h $(top_builddir)/config.h
608         $(CC) -E -o $@ $(CPPFLAGS) $<
609 getgrouplist.plog: getgrouplist.i
610         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/getgrouplist.c --i-file $< --output-file $@
611 getgrouplist_test.lo: $(srcdir)/regress/getgrouplist/getgrouplist_test.c \
612                       $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
613                       $(incdir)/sudo_fatal.h $(incdir)/sudo_util.h \
614                       $(top_builddir)/config.h
615         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/regress/getgrouplist/getgrouplist_test.c
616 getgrouplist_test.i: $(srcdir)/regress/getgrouplist/getgrouplist_test.c \
617                       $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
618                       $(incdir)/sudo_fatal.h $(incdir)/sudo_util.h \
619                       $(top_builddir)/config.h
620         $(CC) -E -o $@ $(CPPFLAGS) $<
621 getgrouplist_test.plog: getgrouplist_test.i
622         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/getgrouplist/getgrouplist_test.c --i-file $< --output-file $@
623 gethostname.lo: $(srcdir)/gethostname.c $(incdir)/compat/stdbool.h \
624                 $(incdir)/sudo_compat.h $(incdir)/sudo_util.h \
625                 $(top_builddir)/config.h
626         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/gethostname.c
627 gethostname.i: $(srcdir)/gethostname.c $(incdir)/compat/stdbool.h \
628                 $(incdir)/sudo_compat.h $(incdir)/sudo_util.h \
629                 $(top_builddir)/config.h
630         $(CC) -E -o $@ $(CPPFLAGS) $<
631 gethostname.plog: gethostname.i
632         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/gethostname.c --i-file $< --output-file $@
633 getopt_long.lo: $(srcdir)/getopt_long.c $(incdir)/compat/getopt.h \
634                 $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
635                 $(incdir)/sudo_fatal.h $(top_builddir)/config.h
636         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/getopt_long.c
637 getopt_long.i: $(srcdir)/getopt_long.c $(incdir)/compat/getopt.h \
638                 $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
639                 $(incdir)/sudo_fatal.h $(top_builddir)/config.h
640         $(CC) -E -o $@ $(CPPFLAGS) $<
641 getopt_long.plog: getopt_long.i
642         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/getopt_long.c --i-file $< --output-file $@
643 gettime.lo: $(srcdir)/gettime.c $(incdir)/compat/stdbool.h \
644             $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
645             $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
646             $(top_builddir)/config.h
647         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/gettime.c
648 gettime.i: $(srcdir)/gettime.c $(incdir)/compat/stdbool.h \
649             $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
650             $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
651             $(top_builddir)/config.h
652         $(CC) -E -o $@ $(CPPFLAGS) $<
653 gettime.plog: gettime.i
654         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/gettime.c --i-file $< --output-file $@
655 gidlist.lo: $(srcdir)/gidlist.c $(incdir)/compat/stdbool.h \
656             $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
657             $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \
658             $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
659             $(top_builddir)/config.h
660         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/gidlist.c
661 gidlist.i: $(srcdir)/gidlist.c $(incdir)/compat/stdbool.h \
662             $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
663             $(incdir)/sudo_fatal.h $(incdir)/sudo_gettext.h \
664             $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
665             $(top_builddir)/config.h
666         $(CC) -E -o $@ $(CPPFLAGS) $<
667 gidlist.plog: gidlist.i
668         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/gidlist.c --i-file $< --output-file $@
669 glob.lo: $(srcdir)/glob.c $(incdir)/compat/charclass.h $(incdir)/compat/glob.h \
670          $(incdir)/sudo_compat.h $(top_builddir)/config.h
671         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/glob.c
672 glob.i: $(srcdir)/glob.c $(incdir)/compat/charclass.h $(incdir)/compat/glob.h \
673          $(incdir)/sudo_compat.h $(top_builddir)/config.h
674         $(CC) -E -o $@ $(CPPFLAGS) $<
675 glob.plog: glob.i
676         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/glob.c --i-file $< --output-file $@
677 globtest.lo: $(srcdir)/regress/glob/globtest.c $(incdir)/compat/glob.h \
678              $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
679              $(incdir)/sudo_util.h $(top_builddir)/config.h
680         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/regress/glob/globtest.c
681 globtest.i: $(srcdir)/regress/glob/globtest.c $(incdir)/compat/glob.h \
682              $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
683              $(incdir)/sudo_util.h $(top_builddir)/config.h
684         $(CC) -E -o $@ $(CPPFLAGS) $<
685 globtest.plog: globtest.i
686         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/glob/globtest.c --i-file $< --output-file $@
687 hltq_test.lo: $(srcdir)/regress/tailq/hltq_test.c $(incdir)/compat/stdbool.h \
688               $(incdir)/sudo_compat.h $(incdir)/sudo_fatal.h \
689               $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
690               $(top_builddir)/config.h
691         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/regress/tailq/hltq_test.c
692 hltq_test.i: $(srcdir)/regress/tailq/hltq_test.c $(incdir)/compat/stdbool.h \
693               $(incdir)/sudo_compat.h $(incdir)/sudo_fatal.h \
694               $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
695               $(top_builddir)/config.h
696         $(CC) -E -o $@ $(CPPFLAGS) $<
697 hltq_test.plog: hltq_test.i
698         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/tailq/hltq_test.c --i-file $< --output-file $@
699 inet_pton.lo: $(srcdir)/inet_pton.c $(incdir)/sudo_compat.h \
700               $(top_builddir)/config.h
701         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/inet_pton.c
702 inet_pton.i: $(srcdir)/inet_pton.c $(incdir)/sudo_compat.h \
703               $(top_builddir)/config.h
704         $(CC) -E -o $@ $(CPPFLAGS) $<
705 inet_pton.plog: inet_pton.i
706         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/inet_pton.c --i-file $< --output-file $@
707 isblank.lo: $(srcdir)/isblank.c $(incdir)/sudo_compat.h $(top_builddir)/config.h
708         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/isblank.c
709 isblank.i: $(srcdir)/isblank.c $(incdir)/sudo_compat.h $(top_builddir)/config.h
710         $(CC) -E -o $@ $(CPPFLAGS) $<
711 isblank.plog: isblank.i
712         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/isblank.c --i-file $< --output-file $@
713 key_val.lo: $(srcdir)/key_val.c $(incdir)/compat/stdbool.h \
714             $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
715             $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
716             $(top_builddir)/config.h
717         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/key_val.c
718 key_val.i: $(srcdir)/key_val.c $(incdir)/compat/stdbool.h \
719             $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
720             $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
721             $(top_builddir)/config.h
722         $(CC) -E -o $@ $(CPPFLAGS) $<
723 key_val.plog: key_val.i
724         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/key_val.c --i-file $< --output-file $@
725 lbuf.lo: $(srcdir)/lbuf.c $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
726          $(incdir)/sudo_debug.h $(incdir)/sudo_lbuf.h $(incdir)/sudo_queue.h \
727          $(top_builddir)/config.h
728         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/lbuf.c
729 lbuf.i: $(srcdir)/lbuf.c $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
730          $(incdir)/sudo_debug.h $(incdir)/sudo_lbuf.h $(incdir)/sudo_queue.h \
731          $(top_builddir)/config.h
732         $(CC) -E -o $@ $(CPPFLAGS) $<
733 lbuf.plog: lbuf.i
734         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/lbuf.c --i-file $< --output-file $@
735 locking.lo: $(srcdir)/locking.c $(incdir)/compat/stdbool.h \
736             $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
737             $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
738             $(top_builddir)/config.h
739         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/locking.c
740 locking.i: $(srcdir)/locking.c $(incdir)/compat/stdbool.h \
741             $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
742             $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
743             $(top_builddir)/config.h
744         $(CC) -E -o $@ $(CPPFLAGS) $<
745 locking.plog: locking.i
746         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/locking.c --i-file $< --output-file $@
747 memrchr.lo: $(srcdir)/memrchr.c $(incdir)/sudo_compat.h $(top_builddir)/config.h
748         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/memrchr.c
749 memrchr.i: $(srcdir)/memrchr.c $(incdir)/sudo_compat.h $(top_builddir)/config.h
750         $(CC) -E -o $@ $(CPPFLAGS) $<
751 memrchr.plog: memrchr.i
752         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/memrchr.c --i-file $< --output-file $@
753 memset_s.lo: $(srcdir)/memset_s.c $(incdir)/sudo_compat.h \
754              $(top_builddir)/config.h
755         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/memset_s.c
756 memset_s.i: $(srcdir)/memset_s.c $(incdir)/sudo_compat.h \
757              $(top_builddir)/config.h
758         $(CC) -E -o $@ $(CPPFLAGS) $<
759 memset_s.plog: memset_s.i
760         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/memset_s.c --i-file $< --output-file $@
761 mksiglist.lo: $(srcdir)/mksiglist.c $(incdir)/sudo_compat.h \
762               $(srcdir)/mksiglist.h $(top_builddir)/config.h
763         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/mksiglist.c
764 mksiglist.i: $(srcdir)/mksiglist.c $(incdir)/sudo_compat.h \
765               $(srcdir)/mksiglist.h $(top_builddir)/config.h
766         $(CC) -E -o $@ $(CPPFLAGS) $<
767 mksiglist.plog: mksiglist.i
768         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/mksiglist.c --i-file $< --output-file $@
769 mksigname.lo: $(srcdir)/mksigname.c $(incdir)/sudo_compat.h \
770               $(srcdir)/mksigname.h $(top_builddir)/config.h
771         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/mksigname.c
772 mksigname.i: $(srcdir)/mksigname.c $(incdir)/sudo_compat.h \
773               $(srcdir)/mksigname.h $(top_builddir)/config.h
774         $(CC) -E -o $@ $(CPPFLAGS) $<
775 mksigname.plog: mksigname.i
776         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/mksigname.c --i-file $< --output-file $@
777 mktemp.lo: $(srcdir)/mktemp.c $(incdir)/sudo_compat.h $(incdir)/sudo_rand.h \
778            $(top_builddir)/config.h $(top_builddir)/pathnames.h
779         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/mktemp.c
780 mktemp.i: $(srcdir)/mktemp.c $(incdir)/sudo_compat.h $(incdir)/sudo_rand.h \
781            $(top_builddir)/config.h $(top_builddir)/pathnames.h
782         $(CC) -E -o $@ $(CPPFLAGS) $<
783 mktemp.plog: mktemp.i
784         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/mktemp.c --i-file $< --output-file $@
785 mktemp_test.lo: $(srcdir)/regress/mktemp/mktemp_test.c \
786                 $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
787                 $(incdir)/sudo_fatal.h $(incdir)/sudo_util.h \
788                 $(top_builddir)/config.h
789         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/regress/mktemp/mktemp_test.c
790 mktemp_test.i: $(srcdir)/regress/mktemp/mktemp_test.c \
791                 $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
792                 $(incdir)/sudo_fatal.h $(incdir)/sudo_util.h \
793                 $(top_builddir)/config.h
794         $(CC) -E -o $@ $(CPPFLAGS) $<
795 mktemp_test.plog: mktemp_test.i
796         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/mktemp/mktemp_test.c --i-file $< --output-file $@
797 nanosleep.lo: $(srcdir)/nanosleep.c $(incdir)/compat/stdbool.h \
798               $(incdir)/sudo_compat.h $(incdir)/sudo_util.h \
799               $(top_builddir)/config.h
800         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/nanosleep.c
801 nanosleep.i: $(srcdir)/nanosleep.c $(incdir)/compat/stdbool.h \
802               $(incdir)/sudo_compat.h $(incdir)/sudo_util.h \
803               $(top_builddir)/config.h
804         $(CC) -E -o $@ $(CPPFLAGS) $<
805 nanosleep.plog: nanosleep.i
806         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/nanosleep.c --i-file $< --output-file $@
807 parse_gids_test.lo: $(srcdir)/regress/parse_gids/parse_gids_test.c \
808                     $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
809                     $(incdir)/sudo_fatal.h $(incdir)/sudo_util.h \
810                     $(top_builddir)/config.h
811         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/regress/parse_gids/parse_gids_test.c
812 parse_gids_test.i: $(srcdir)/regress/parse_gids/parse_gids_test.c \
813                     $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
814                     $(incdir)/sudo_fatal.h $(incdir)/sudo_util.h \
815                     $(top_builddir)/config.h
816         $(CC) -E -o $@ $(CPPFLAGS) $<
817 parse_gids_test.plog: parse_gids_test.i
818         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/parse_gids/parse_gids_test.c --i-file $< --output-file $@
819 parseln.lo: $(srcdir)/parseln.c $(incdir)/compat/stdbool.h \
820             $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
821             $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
822             $(top_builddir)/config.h
823         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/parseln.c
824 parseln.i: $(srcdir)/parseln.c $(incdir)/compat/stdbool.h \
825             $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
826             $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
827             $(top_builddir)/config.h
828         $(CC) -E -o $@ $(CPPFLAGS) $<
829 parseln.plog: parseln.i
830         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/parseln.c --i-file $< --output-file $@
831 parseln_test.lo: $(srcdir)/regress/sudo_parseln/parseln_test.c \
832                  $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
833                  $(incdir)/sudo_util.h $(top_builddir)/config.h
834         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/regress/sudo_parseln/parseln_test.c
835 parseln_test.i: $(srcdir)/regress/sudo_parseln/parseln_test.c \
836                  $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
837                  $(incdir)/sudo_util.h $(top_builddir)/config.h
838         $(CC) -E -o $@ $(CPPFLAGS) $<
839 parseln_test.plog: parseln_test.i
840         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/sudo_parseln/parseln_test.c --i-file $< --output-file $@
841 pipe2.lo: $(srcdir)/pipe2.c $(incdir)/sudo_compat.h $(top_builddir)/config.h
842         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/pipe2.c
843 pipe2.i: $(srcdir)/pipe2.c $(incdir)/sudo_compat.h $(top_builddir)/config.h
844         $(CC) -E -o $@ $(CPPFLAGS) $<
845 pipe2.plog: pipe2.i
846         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/pipe2.c --i-file $< --output-file $@
847 progname.lo: $(srcdir)/progname.c $(incdir)/compat/stdbool.h \
848              $(incdir)/sudo_compat.h $(incdir)/sudo_util.h \
849              $(top_builddir)/config.h
850         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/progname.c
851 progname.i: $(srcdir)/progname.c $(incdir)/compat/stdbool.h \
852              $(incdir)/sudo_compat.h $(incdir)/sudo_util.h \
853              $(top_builddir)/config.h
854         $(CC) -E -o $@ $(CPPFLAGS) $<
855 progname.plog: progname.i
856         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/progname.c --i-file $< --output-file $@
857 progname_test.lo: $(srcdir)/regress/progname/progname_test.c \
858                   $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
859                   $(incdir)/sudo_util.h $(top_builddir)/config.h
860         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/regress/progname/progname_test.c
861 progname_test.i: $(srcdir)/regress/progname/progname_test.c \
862                   $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
863                   $(incdir)/sudo_util.h $(top_builddir)/config.h
864         $(CC) -E -o $@ $(CPPFLAGS) $<
865 progname_test.plog: progname_test.i
866         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/progname/progname_test.c --i-file $< --output-file $@
867 pw_dup.lo: $(srcdir)/pw_dup.c $(incdir)/sudo_compat.h $(top_builddir)/config.h
868         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/pw_dup.c
869 pw_dup.i: $(srcdir)/pw_dup.c $(incdir)/sudo_compat.h $(top_builddir)/config.h
870         $(CC) -E -o $@ $(CPPFLAGS) $<
871 pw_dup.plog: pw_dup.i
872         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/pw_dup.c --i-file $< --output-file $@
873 reallocarray.lo: $(srcdir)/reallocarray.c $(incdir)/sudo_compat.h \
874                  $(top_builddir)/config.h
875         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/reallocarray.c
876 reallocarray.i: $(srcdir)/reallocarray.c $(incdir)/sudo_compat.h \
877                  $(top_builddir)/config.h
878         $(CC) -E -o $@ $(CPPFLAGS) $<
879 reallocarray.plog: reallocarray.i
880         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/reallocarray.c --i-file $< --output-file $@
881 secure_path.lo: $(srcdir)/secure_path.c $(incdir)/compat/stdbool.h \
882                 $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
883                 $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
884                 $(top_builddir)/config.h
885         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/secure_path.c
886 secure_path.i: $(srcdir)/secure_path.c $(incdir)/compat/stdbool.h \
887                 $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
888                 $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
889                 $(top_builddir)/config.h
890         $(CC) -E -o $@ $(CPPFLAGS) $<
891 secure_path.plog: secure_path.i
892         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/secure_path.c --i-file $< --output-file $@
893 setgroups.lo: $(srcdir)/setgroups.c $(incdir)/compat/stdbool.h \
894               $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
895               $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
896               $(top_builddir)/config.h
897         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/setgroups.c
898 setgroups.i: $(srcdir)/setgroups.c $(incdir)/compat/stdbool.h \
899               $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
900               $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
901               $(top_builddir)/config.h
902         $(CC) -E -o $@ $(CPPFLAGS) $<
903 setgroups.plog: setgroups.i
904         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/setgroups.c --i-file $< --output-file $@
905 sha2.lo: $(srcdir)/sha2.c $(incdir)/compat/endian.h $(incdir)/compat/sha2.h \
906          $(incdir)/sudo_compat.h $(top_builddir)/config.h
907         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/sha2.c
908 sha2.i: $(srcdir)/sha2.c $(incdir)/compat/endian.h $(incdir)/compat/sha2.h \
909          $(incdir)/sudo_compat.h $(top_builddir)/config.h
910         $(CC) -E -o $@ $(CPPFLAGS) $<
911 sha2.plog: sha2.i
912         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/sha2.c --i-file $< --output-file $@
913 sig2str.lo: $(srcdir)/sig2str.c $(incdir)/sudo_compat.h $(top_builddir)/config.h
914         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/sig2str.c
915 sig2str.i: $(srcdir)/sig2str.c $(incdir)/sudo_compat.h $(top_builddir)/config.h
916         $(CC) -E -o $@ $(CPPFLAGS) $<
917 sig2str.plog: sig2str.i
918         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/sig2str.c --i-file $< --output-file $@
919 siglist.lo: siglist.c $(incdir)/sudo_compat.h $(top_builddir)/config.h
920         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) siglist.c
921 siglist.i: siglist.c $(incdir)/sudo_compat.h $(top_builddir)/config.h
922         $(CC) -E -o $@ $(CPPFLAGS) $<
923 siglist.plog: siglist.i
924         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file siglist.c --i-file $< --output-file $@
925 signame.lo: signame.c $(incdir)/sudo_compat.h $(top_builddir)/config.h
926         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) signame.c
927 signame.i: signame.c $(incdir)/sudo_compat.h $(top_builddir)/config.h
928         $(CC) -E -o $@ $(CPPFLAGS) $<
929 signame.plog: signame.i
930         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file signame.c --i-file $< --output-file $@
931 snprintf.lo: $(srcdir)/snprintf.c $(incdir)/sudo_compat.h \
932              $(top_builddir)/config.h
933         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/snprintf.c
934 snprintf.i: $(srcdir)/snprintf.c $(incdir)/sudo_compat.h \
935              $(top_builddir)/config.h
936         $(CC) -E -o $@ $(CPPFLAGS) $<
937 snprintf.plog: snprintf.i
938         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/snprintf.c --i-file $< --output-file $@
939 strlcat.lo: $(srcdir)/strlcat.c $(incdir)/sudo_compat.h $(top_builddir)/config.h
940         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/strlcat.c
941 strlcat.i: $(srcdir)/strlcat.c $(incdir)/sudo_compat.h $(top_builddir)/config.h
942         $(CC) -E -o $@ $(CPPFLAGS) $<
943 strlcat.plog: strlcat.i
944         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/strlcat.c --i-file $< --output-file $@
945 strlcpy.lo: $(srcdir)/strlcpy.c $(incdir)/sudo_compat.h $(top_builddir)/config.h
946         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/strlcpy.c
947 strlcpy.i: $(srcdir)/strlcpy.c $(incdir)/sudo_compat.h $(top_builddir)/config.h
948         $(CC) -E -o $@ $(CPPFLAGS) $<
949 strlcpy.plog: strlcpy.i
950         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/strlcpy.c --i-file $< --output-file $@
951 strndup.lo: $(srcdir)/strndup.c $(incdir)/sudo_compat.h $(top_builddir)/config.h
952         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/strndup.c
953 strndup.i: $(srcdir)/strndup.c $(incdir)/sudo_compat.h $(top_builddir)/config.h
954         $(CC) -E -o $@ $(CPPFLAGS) $<
955 strndup.plog: strndup.i
956         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/strndup.c --i-file $< --output-file $@
957 strnlen.lo: $(srcdir)/strnlen.c $(incdir)/sudo_compat.h $(top_builddir)/config.h
958         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/strnlen.c
959 strnlen.i: $(srcdir)/strnlen.c $(incdir)/sudo_compat.h $(top_builddir)/config.h
960         $(CC) -E -o $@ $(CPPFLAGS) $<
961 strnlen.plog: strnlen.i
962         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/strnlen.c --i-file $< --output-file $@
963 strsignal.lo: $(srcdir)/strsignal.c $(incdir)/sudo_compat.h \
964               $(incdir)/sudo_gettext.h $(top_builddir)/config.h
965         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/strsignal.c
966 strsignal.i: $(srcdir)/strsignal.c $(incdir)/sudo_compat.h \
967               $(incdir)/sudo_gettext.h $(top_builddir)/config.h
968         $(CC) -E -o $@ $(CPPFLAGS) $<
969 strsignal.plog: strsignal.i
970         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/strsignal.c --i-file $< --output-file $@
971 strsplit.lo: $(srcdir)/strsplit.c $(incdir)/compat/stdbool.h \
972              $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
973              $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
974              $(top_builddir)/config.h
975         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/strsplit.c
976 strsplit.i: $(srcdir)/strsplit.c $(incdir)/compat/stdbool.h \
977              $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
978              $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
979              $(top_builddir)/config.h
980         $(CC) -E -o $@ $(CPPFLAGS) $<
981 strsplit.plog: strsplit.i
982         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/strsplit.c --i-file $< --output-file $@
983 strsplit_test.lo: $(srcdir)/regress/strsplit/strsplit_test.c \
984                   $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
985                   $(incdir)/sudo_fatal.h $(incdir)/sudo_util.h \
986                   $(top_builddir)/config.h
987         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/regress/strsplit/strsplit_test.c
988 strsplit_test.i: $(srcdir)/regress/strsplit/strsplit_test.c \
989                   $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
990                   $(incdir)/sudo_fatal.h $(incdir)/sudo_util.h \
991                   $(top_builddir)/config.h
992         $(CC) -E -o $@ $(CPPFLAGS) $<
993 strsplit_test.plog: strsplit_test.i
994         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/strsplit/strsplit_test.c --i-file $< --output-file $@
995 strtobool.lo: $(srcdir)/strtobool.c $(incdir)/compat/stdbool.h \
996               $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
997               $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
998               $(top_builddir)/config.h
999         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/strtobool.c
1000 strtobool.i: $(srcdir)/strtobool.c $(incdir)/compat/stdbool.h \
1001               $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
1002               $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
1003               $(top_builddir)/config.h
1004         $(CC) -E -o $@ $(CPPFLAGS) $<
1005 strtobool.plog: strtobool.i
1006         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/strtobool.c --i-file $< --output-file $@
1007 strtoid.lo: $(srcdir)/strtoid.c $(incdir)/compat/stdbool.h \
1008             $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
1009             $(incdir)/sudo_gettext.h $(incdir)/sudo_queue.h \
1010             $(incdir)/sudo_util.h $(top_builddir)/config.h
1011         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/strtoid.c
1012 strtoid.i: $(srcdir)/strtoid.c $(incdir)/compat/stdbool.h \
1013             $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
1014             $(incdir)/sudo_gettext.h $(incdir)/sudo_queue.h \
1015             $(incdir)/sudo_util.h $(top_builddir)/config.h
1016         $(CC) -E -o $@ $(CPPFLAGS) $<
1017 strtoid.plog: strtoid.i
1018         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/strtoid.c --i-file $< --output-file $@
1019 strtomode.lo: $(srcdir)/strtomode.c $(incdir)/compat/stdbool.h \
1020               $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
1021               $(incdir)/sudo_gettext.h $(incdir)/sudo_queue.h \
1022               $(incdir)/sudo_util.h $(top_builddir)/config.h
1023         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/strtomode.c
1024 strtomode.i: $(srcdir)/strtomode.c $(incdir)/compat/stdbool.h \
1025               $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
1026               $(incdir)/sudo_gettext.h $(incdir)/sudo_queue.h \
1027               $(incdir)/sudo_util.h $(top_builddir)/config.h
1028         $(CC) -E -o $@ $(CPPFLAGS) $<
1029 strtomode.plog: strtomode.i
1030         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/strtomode.c --i-file $< --output-file $@
1031 strtonum.lo: $(srcdir)/strtonum.c $(incdir)/sudo_compat.h \
1032              $(incdir)/sudo_gettext.h $(top_builddir)/config.h
1033         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/strtonum.c
1034 strtonum.i: $(srcdir)/strtonum.c $(incdir)/sudo_compat.h \
1035              $(incdir)/sudo_gettext.h $(top_builddir)/config.h
1036         $(CC) -E -o $@ $(CPPFLAGS) $<
1037 strtonum.plog: strtonum.i
1038         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/strtonum.c --i-file $< --output-file $@
1039 sudo_conf.lo: $(srcdir)/sudo_conf.c $(incdir)/compat/stdbool.h \
1040               $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \
1041               $(incdir)/sudo_debug.h $(incdir)/sudo_fatal.h \
1042               $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \
1043               $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
1044               $(top_builddir)/config.h $(top_builddir)/pathnames.h
1045         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/sudo_conf.c
1046 sudo_conf.i: $(srcdir)/sudo_conf.c $(incdir)/compat/stdbool.h \
1047               $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \
1048               $(incdir)/sudo_debug.h $(incdir)/sudo_fatal.h \
1049               $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \
1050               $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
1051               $(top_builddir)/config.h $(top_builddir)/pathnames.h
1052         $(CC) -E -o $@ $(CPPFLAGS) $<
1053 sudo_conf.plog: sudo_conf.i
1054         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/sudo_conf.c --i-file $< --output-file $@
1055 sudo_debug.lo: $(srcdir)/sudo_debug.c $(incdir)/compat/stdbool.h \
1056                $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \
1057                $(incdir)/sudo_debug.h $(incdir)/sudo_fatal.h \
1058                $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \
1059                $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
1060                $(top_builddir)/config.h
1061         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/sudo_debug.c
1062 sudo_debug.i: $(srcdir)/sudo_debug.c $(incdir)/compat/stdbool.h \
1063                $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \
1064                $(incdir)/sudo_debug.h $(incdir)/sudo_fatal.h \
1065                $(incdir)/sudo_gettext.h $(incdir)/sudo_plugin.h \
1066                $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
1067                $(top_builddir)/config.h
1068         $(CC) -E -o $@ $(CPPFLAGS) $<
1069 sudo_debug.plog: sudo_debug.i
1070         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/sudo_debug.c --i-file $< --output-file $@
1071 sudo_dso.lo: $(srcdir)/sudo_dso.c $(incdir)/sudo_compat.h $(incdir)/sudo_dso.h \
1072              $(top_builddir)/config.h
1073         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/sudo_dso.c
1074 sudo_dso.i: $(srcdir)/sudo_dso.c $(incdir)/sudo_compat.h $(incdir)/sudo_dso.h \
1075              $(top_builddir)/config.h
1076         $(CC) -E -o $@ $(CPPFLAGS) $<
1077 sudo_dso.plog: sudo_dso.i
1078         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/sudo_dso.c --i-file $< --output-file $@
1079 term.lo: $(srcdir)/term.c $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
1080          $(incdir)/sudo_debug.h $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
1081          $(top_builddir)/config.h
1082         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/term.c
1083 term.i: $(srcdir)/term.c $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
1084          $(incdir)/sudo_debug.h $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
1085          $(top_builddir)/config.h
1086         $(CC) -E -o $@ $(CPPFLAGS) $<
1087 term.plog: term.i
1088         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/term.c --i-file $< --output-file $@
1089 ttyname_dev.lo: $(srcdir)/ttyname_dev.c $(incdir)/compat/stdbool.h \
1090                 $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \
1091                 $(incdir)/sudo_debug.h $(incdir)/sudo_queue.h \
1092                 $(incdir)/sudo_util.h $(top_builddir)/config.h \
1093                 $(top_builddir)/pathnames.h
1094         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/ttyname_dev.c
1095 ttyname_dev.i: $(srcdir)/ttyname_dev.c $(incdir)/compat/stdbool.h \
1096                 $(incdir)/sudo_compat.h $(incdir)/sudo_conf.h \
1097                 $(incdir)/sudo_debug.h $(incdir)/sudo_queue.h \
1098                 $(incdir)/sudo_util.h $(top_builddir)/config.h \
1099                 $(top_builddir)/pathnames.h
1100         $(CC) -E -o $@ $(CPPFLAGS) $<
1101 ttyname_dev.plog: ttyname_dev.i
1102         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/ttyname_dev.c --i-file $< --output-file $@
1103 ttysize.lo: $(srcdir)/ttysize.c $(incdir)/compat/stdbool.h \
1104             $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
1105             $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
1106             $(top_builddir)/config.h
1107         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/ttysize.c
1108 ttysize.i: $(srcdir)/ttysize.c $(incdir)/compat/stdbool.h \
1109             $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
1110             $(incdir)/sudo_queue.h $(incdir)/sudo_util.h \
1111             $(top_builddir)/config.h
1112         $(CC) -E -o $@ $(CPPFLAGS) $<
1113 ttysize.plog: ttysize.i
1114         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/ttysize.c --i-file $< --output-file $@
1115 utimens.lo: $(srcdir)/utimens.c $(incdir)/compat/stdbool.h \
1116             $(incdir)/sudo_compat.h $(incdir)/sudo_util.h \
1117             $(top_builddir)/config.h
1118         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/utimens.c
1119 utimens.i: $(srcdir)/utimens.c $(incdir)/compat/stdbool.h \
1120             $(incdir)/sudo_compat.h $(incdir)/sudo_util.h \
1121             $(top_builddir)/config.h
1122         $(CC) -E -o $@ $(CPPFLAGS) $<
1123 utimens.plog: utimens.i
1124         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/utimens.c --i-file $< --output-file $@
1125 vsyslog.lo: $(srcdir)/vsyslog.c $(incdir)/sudo_compat.h $(top_builddir)/config.h
1126         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/vsyslog.c
1127 vsyslog.i: $(srcdir)/vsyslog.c $(incdir)/sudo_compat.h $(top_builddir)/config.h
1128         $(CC) -E -o $@ $(CPPFLAGS) $<
1129 vsyslog.plog: vsyslog.i
1130         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/vsyslog.c --i-file $< --output-file $@
1131 vsyslog_test.lo: $(srcdir)/regress/vsyslog/vsyslog_test.c \
1132                  $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
1133                  $(incdir)/sudo_fatal.h $(incdir)/sudo_util.h \
1134                  $(top_builddir)/config.h
1135         $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/regress/vsyslog/vsyslog_test.c
1136 vsyslog_test.i: $(srcdir)/regress/vsyslog/vsyslog_test.c \
1137                  $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
1138                  $(incdir)/sudo_fatal.h $(incdir)/sudo_util.h \
1139                  $(top_builddir)/config.h
1140         $(CC) -E -o $@ $(CPPFLAGS) $<
1141 vsyslog_test.plog: vsyslog_test.i
1142         rm -f $@; pvs-studio --cfg $(PVS_CFG) --sourcetree-root $(top_srcdir) --skip-cl-exe yes --source-file $(srcdir)/regress/vsyslog/vsyslog_test.c --i-file $< --output-file $@