]> granicus.if.org Git - sudo/commitdiff
Move mksiglist.h and mksigname.h to lib/util where they belong.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 14 Jul 2014 15:46:17 +0000 (09:46 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 14 Jul 2014 15:46:17 +0000 (09:46 -0600)
MANIFEST
lib/util/Makefile.in
lib/util/mksiglist.c
lib/util/mksiglist.h [moved from include/compat/mksiglist.h with 100% similarity]
lib/util/mksigname.c
lib/util/mksigname.h [moved from include/compat/mksigname.h with 100% similarity]

index 90709633ba80e3cbfeb3a7707de2318b9f22f024..3807f2c099d32bef072eaef65d64822d0575b635 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -50,19 +50,17 @@ doc/visudo.cat
 doc/visudo.man.in
 doc/visudo.mdoc.in
 include/Makefile.in
-include/compat/charclass.h/
-include/compat/endian.h/
-include/compat/fnmatch.h/
-include/compat/getaddrinfo.h/
-include/compat/getopt.h/
-include/compat/glob.h/
-include/compat/mksiglist.h/
-include/compat/mksigname.h/
-include/compat/nss_dbdefs.h/
-include/compat/sha2.h/
-include/compat/stdbool.h/
-include/compat/timespec.h/
-include/compat/utime.h/
+include/compat/charclass.h
+include/compat/endian.h
+include/compat/fnmatch.h
+include/compat/getaddrinfo.h
+include/compat/getopt.h
+include/compat/glob.h
+include/compat/nss_dbdefs.h
+include/compat/sha2.h
+include/compat/stdbool.h
+include/compat/timespec.h
+include/compat/utime.h
 include/fatal.h
 include/gettext.h
 include/missing.h
@@ -105,7 +103,9 @@ lib/util/locking.c
 lib/util/memrchr.c
 lib/util/memset_s.c
 lib/util/mksiglist.c
+lib/util/mksiglist.h
 lib/util/mksigname.c
+lib/util/mksigname.h
 lib/util/mktemp.c
 lib/util/parseln.c
 lib/util/progname.c
index b2e0ad0a55628bd5f25b046887e65d9d8ce0313e..87ee735dd469d790c918d37d68fb0ddb028b4be4 100644 (file)
@@ -53,7 +53,7 @@ INSTALL = $(SHELL) $(top_srcdir)/install-sh -c
 INSTALL_OWNER = -o $(install_uid) -g $(install_gid)
 
 # C preprocessor flags
-CPPFLAGS = -I$(incdir) -I$(top_builddir) -I$(top_srcdir) @CPPFLAGS@
+CPPFLAGS = -I$(incdir) -I$(top_builddir) -I$(srcdir) -I$(top_srcdir) @CPPFLAGS@
 
 # Usually -O and/or -g
 CFLAGS = @CFLAGS@
@@ -383,11 +383,11 @@ memrchr.lo: $(srcdir)/memrchr.c $(incdir)/missing.h $(top_builddir)/config.h
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/memrchr.c
 memset_s.lo: $(srcdir)/memset_s.c $(incdir)/missing.h $(top_builddir)/config.h
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/memset_s.c
-mksiglist.lo: $(srcdir)/mksiglist.c $(incdir)/compat/mksiglist.h \
-              $(incdir)/missing.h $(top_builddir)/config.h
+mksiglist.lo: $(srcdir)/mksiglist.c $(incdir)/missing.h $(srcdir)/mksiglist.h \
+              $(top_builddir)/config.h
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/mksiglist.c
-mksigname.lo: $(srcdir)/mksigname.c $(incdir)/compat/mksigname.h \
-              $(incdir)/missing.h $(top_builddir)/config.h
+mksigname.lo: $(srcdir)/mksigname.c $(incdir)/missing.h $(srcdir)/mksigname.h \
+              $(top_builddir)/config.h
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/mksigname.c
 mktemp.lo: $(srcdir)/mktemp.c $(incdir)/missing.h $(top_builddir)/config.h
        $(LIBTOOL) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/mktemp.c
index 56729a8f3ae8d4bd897fd0091b24ad2840268276..56df089b9c3e1003178fca93f89de5235e3c2fcd 100644 (file)
@@ -40,7 +40,7 @@ main(int argc, char *argv[])
     static char *sudo_sys_siglist[NSIG];
     int i;
 
-#include "compat/mksiglist.h"
+#include "mksiglist.h"
 
     printf("#include <config.h>\n");
     printf("#include <signal.h>\n");
index 10b63246470cd359d76cbb9e6e8697ed170967ad..13d8e0022f7ee1c3f57d246638975662e6c599fb 100644 (file)
@@ -40,7 +40,7 @@ main(int argc, char *argv[])
     static char *sudo_sys_signame[NSIG];
     int i;
 
-#include "compat/mksigname.h"
+#include "mksigname.h"
 
     printf("#include <config.h>\n");
     printf("#include <signal.h>\n");