We haven't needed -I$(top_srcdir) for a long time.
This commit is contained in:
@@ -48,7 +48,7 @@ LT_LIBS = $(top_builddir)/lib/util/libsudo_util.la
|
|||||||
LIBS = @LIBS@ @ZLIB@ $(LT_LIBS)
|
LIBS = @LIBS@ @ZLIB@ $(LT_LIBS)
|
||||||
|
|
||||||
# C preprocessor flags
|
# C preprocessor flags
|
||||||
CPPFLAGS = -I$(incdir) -I$(top_builddir) -I$(srcdir) -I$(top_srcdir) @CPPFLAGS@
|
CPPFLAGS = -I$(incdir) -I$(top_builddir) -I$(srcdir) @CPPFLAGS@
|
||||||
|
|
||||||
# Usually -O and/or -g
|
# Usually -O and/or -g
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
@@ -149,10 +149,10 @@ install-plugin:
|
|||||||
uninstall:
|
uninstall:
|
||||||
|
|
||||||
splint:
|
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 $(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)
|
pvs-log-files: $(POBJS)
|
||||||
|
|
||||||
|
@@ -59,7 +59,7 @@ INSTALL_BACKUP = @INSTALL_BACKUP@
|
|||||||
CPPDEFS = -D_PATH_SUDO_CONF=\"$(sysconfdir)/sudo.conf\"
|
CPPDEFS = -D_PATH_SUDO_CONF=\"$(sysconfdir)/sudo.conf\"
|
||||||
|
|
||||||
# C preprocessor flags
|
# C preprocessor flags
|
||||||
CPPFLAGS = -I$(incdir) -I$(top_builddir) -I$(srcdir) -I$(top_srcdir) $(CPPDEFS) @CPPFLAGS@
|
CPPFLAGS = -I$(incdir) -I$(top_builddir) -I$(srcdir) $(CPPDEFS) @CPPFLAGS@
|
||||||
|
|
||||||
# Usually -O and/or -g
|
# Usually -O and/or -g
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
@@ -301,10 +301,10 @@ uninstall:
|
|||||||
rf -f $(DESTDIR)$(libexecdir)/sudo/libsudo_util.*~
|
rf -f $(DESTDIR)$(libexecdir)/sudo/libsudo_util.*~
|
||||||
|
|
||||||
splint:
|
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 $(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)
|
pvs-log-files: $(POBJS)
|
||||||
|
|
||||||
|
@@ -48,7 +48,7 @@ CPPDEFS = -D_PATH_SUDO_LOGSRVD_CONF=\"$(sysconfdir)/sudo_logsrvd.conf\" \
|
|||||||
|
|
||||||
# C preprocessor flags
|
# C preprocessor flags
|
||||||
CPPFLAGS = -I$(incdir) -I$(top_builddir) -I$(devdir) -I$(srcdir) \
|
CPPFLAGS = -I$(incdir) -I$(top_builddir) -I$(devdir) -I$(srcdir) \
|
||||||
-I$(top_srcdir) $(CPPDEFS) @CPPFLAGS@
|
$(CPPDEFS) @CPPFLAGS@
|
||||||
|
|
||||||
# Usually -O and/or -g
|
# Usually -O and/or -g
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
@@ -178,10 +178,10 @@ uninstall:
|
|||||||
$(DESTDIR)$(sbindir)/sudo_sendlog$(INSTALL_BACKUP)
|
$(DESTDIR)$(sbindir)/sudo_sendlog$(INSTALL_BACKUP)
|
||||||
|
|
||||||
splint:
|
splint:
|
||||||
splint $(SPLINT_OPTS) -I$(incdir) -I$(top_builddir) -I. -I$(srcdir) -I$(top_srcdir) $(srcdir)/*.c
|
splint $(SPLINT_OPTS) -I$(incdir) -I$(top_builddir) -I. -I$(srcdir) $(srcdir)/*.c
|
||||||
|
|
||||||
cppcheck:
|
cppcheck:
|
||||||
cppcheck $(CPPCHECK_OPTS) -I$(incdir) -I$(top_builddir) -I. -I$(srcdir) -I$(top_srcdir) $(srcdir)/*.c
|
cppcheck $(CPPCHECK_OPTS) -I$(incdir) -I$(top_builddir) -I. -I$(srcdir) $(srcdir)/*.c
|
||||||
|
|
||||||
pvs-log-files: $(POBJS)
|
pvs-log-files: $(POBJS)
|
||||||
|
|
||||||
|
@@ -43,7 +43,7 @@ LT_LIBS = $(top_builddir)/lib/util/libsudo_util.la
|
|||||||
LIBS = $(LT_LIBS)
|
LIBS = $(LT_LIBS)
|
||||||
|
|
||||||
# C preprocessor flags
|
# 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
|
# Usually -O and/or -g
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
@@ -168,10 +168,10 @@ uninstall:
|
|||||||
rm -f $(DESTDIR)$(plugindir)/group_file.so$(INSTALL_BACKUP)
|
rm -f $(DESTDIR)$(plugindir)/group_file.so$(INSTALL_BACKUP)
|
||||||
|
|
||||||
splint:
|
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 $(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)
|
pvs-log-files: $(POBJS)
|
||||||
|
|
||||||
|
@@ -42,7 +42,7 @@ INSTALL_BACKUP = @INSTALL_BACKUP@
|
|||||||
LIBS = $(top_builddir)/lib/util/libsudo_util.la
|
LIBS = $(top_builddir)/lib/util/libsudo_util.la
|
||||||
|
|
||||||
# C preprocessor flags
|
# 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
|
# Usually -O and/or -g
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
@@ -163,10 +163,10 @@ uninstall:
|
|||||||
rm -f $(DESTDIR)$(plugindir)/sample_plugin.so$(INSTALL_BACKUP)
|
rm -f $(DESTDIR)$(plugindir)/sample_plugin.so$(INSTALL_BACKUP)
|
||||||
|
|
||||||
splint:
|
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 $(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)
|
pvs-log-files: $(POBJS)
|
||||||
|
|
||||||
|
@@ -71,7 +71,7 @@ CPPDEFS = -DLIBDIR=\"$(libdir)\" -DLOCALEDIR=\"$(localedir)\" \
|
|||||||
|
|
||||||
# C preprocessor flags
|
# C preprocessor flags
|
||||||
CPPFLAGS = -I$(incdir) -I$(top_builddir) -I$(devdir) -I$(srcdir) \
|
CPPFLAGS = -I$(incdir) -I$(top_builddir) -I$(devdir) -I$(srcdir) \
|
||||||
-I$(top_srcdir) $(CPPDEFS) @CPPFLAGS@
|
$(CPPDEFS) @CPPFLAGS@
|
||||||
|
|
||||||
# Usually -O and/or -g
|
# Usually -O and/or -g
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
@@ -432,10 +432,10 @@ uninstall:
|
|||||||
-rm -f $(DESTDIR)$(sudoersdir)/sudoers.dist
|
-rm -f $(DESTDIR)$(sudoersdir)/sudoers.dist
|
||||||
|
|
||||||
splint:
|
splint:
|
||||||
splint $(SPLINT_OPTS) -I$(incdir) -I$(top_builddir) -I$(devdir) -I$(srcdir) -I$(top_srcdir) $(srcdir)/*.c $(srcdir)/auth/*.c
|
splint $(SPLINT_OPTS) -I$(incdir) -I$(top_builddir) -I$(devdir) -I$(srcdir) $(srcdir)/*.c $(srcdir)/auth/*.c
|
||||||
|
|
||||||
cppcheck:
|
cppcheck:
|
||||||
cppcheck $(CPPCHECK_OPTS) -I$(incdir) -I$(top_builddir) -I$(devdir) -I$(srcdir) -I$(top_srcdir) $(srcdir)/*.c $(srcdir)/auth/*.c
|
cppcheck $(CPPCHECK_OPTS) -I$(incdir) -I$(top_builddir) -I$(devdir) -I$(srcdir) $(srcdir)/*.c $(srcdir)/auth/*.c
|
||||||
|
|
||||||
pvs-log-files: $(POBJS)
|
pvs-log-files: $(POBJS)
|
||||||
|
|
||||||
|
@@ -43,7 +43,7 @@ LT_LIBS = $(top_builddir)/lib/util/libsudo_util.la
|
|||||||
LIBS = $(LT_LIBS)
|
LIBS = $(LT_LIBS)
|
||||||
|
|
||||||
# C preprocessor flags
|
# 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
|
# Usually -O and/or -g
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
@@ -168,10 +168,10 @@ uninstall:
|
|||||||
rm -f $(DESTDIR)$(plugindir)/system_group.so$(INSTALL_BACKUP)
|
rm -f $(DESTDIR)$(plugindir)/system_group.so$(INSTALL_BACKUP)
|
||||||
|
|
||||||
splint:
|
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 $(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)
|
pvs-log-files: $(POBJS)
|
||||||
|
|
||||||
|
@@ -47,8 +47,7 @@ CPPDEFS = -D_PATH_SUDO_CONF=\"$(sysconfdir)/sudo.conf\" \
|
|||||||
-DLOCALEDIR=\"$(localedir)\"
|
-DLOCALEDIR=\"$(localedir)\"
|
||||||
|
|
||||||
# C preprocessor flags
|
# C preprocessor flags
|
||||||
CPPFLAGS = -I$(incdir) -I$(top_builddir) -I. -I$(srcdir) -I$(top_srcdir) \
|
CPPFLAGS = -I$(incdir) -I$(top_builddir) -I. -I$(srcdir) $(CPPDEFS) @CPPFLAGS@
|
||||||
$(CPPDEFS) @CPPFLAGS@
|
|
||||||
|
|
||||||
# Usually -O and/or -g
|
# Usually -O and/or -g
|
||||||
CFLAGS = @CFLAGS@
|
CFLAGS = @CFLAGS@
|
||||||
@@ -249,10 +248,10 @@ uninstall:
|
|||||||
rm -f $(DESTDIR)$(RC_LINK) $(DESTDIR)$(INIT_DIR)/sudo
|
rm -f $(DESTDIR)$(RC_LINK) $(DESTDIR)$(INIT_DIR)/sudo
|
||||||
|
|
||||||
splint:
|
splint:
|
||||||
splint $(SPLINT_OPTS) -I$(incdir) -I$(top_builddir) -I. -I$(srcdir) -I$(top_srcdir) $(srcdir)/*.c
|
splint $(SPLINT_OPTS) -I$(incdir) -I$(top_builddir) -I. -I$(srcdir) $(srcdir)/*.c
|
||||||
|
|
||||||
cppcheck:
|
cppcheck:
|
||||||
cppcheck $(CPPCHECK_OPTS) -I$(incdir) -I$(top_builddir) -I. -I$(srcdir) -I$(top_srcdir) $(srcdir)/*.c
|
cppcheck $(CPPCHECK_OPTS) -I$(incdir) -I$(top_builddir) -I. -I$(srcdir) $(srcdir)/*.c
|
||||||
|
|
||||||
pvs-log-files: $(POBJS)
|
pvs-log-files: $(POBJS)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user