We haven't needed -I$(top_srcdir) for a long time.

This commit is contained in:
Todd C. Miller
2019-11-02 12:00:04 -06:00
parent ac36cf2d4b
commit 655fdde22b
8 changed files with 24 additions and 25 deletions

View File

@@ -42,7 +42,7 @@ INSTALL_BACKUP = @INSTALL_BACKUP@
LIBS = $(top_builddir)/lib/util/libsudo_util.la
# C preprocessor flags
CPPFLAGS = -I$(incdir) -I$(top_builddir) -I$(top_srcdir) @CPPFLAGS@
CPPFLAGS = -I$(incdir) -I$(top_builddir) @CPPFLAGS@
# Usually -O and/or -g
CFLAGS = @CFLAGS@
@@ -163,10 +163,10 @@ uninstall:
rm -f $(DESTDIR)$(plugindir)/sample_plugin.so$(INSTALL_BACKUP)
splint:
splint $(SPLINT_OPTS) -I$(incdir) -I$(top_builddir) -I$(top_srcdir) $(srcdir)/*.c
splint $(SPLINT_OPTS) -I$(incdir) -I$(top_builddir) $(srcdir)/*.c
cppcheck:
cppcheck $(CPPCHECK_OPTS) -I$(incdir) -I$(top_builddir) -I$(top_srcdir) $(srcdir)/*.c
cppcheck $(CPPCHECK_OPTS) -I$(incdir) -I$(top_builddir) $(srcdir)/*.c
pvs-log-files: $(POBJS)