[BACK]Return to Makefile.in CVS log [TXT][DIR] Up to [local] / src / usr.bin / sudo

Diff for /src/usr.bin/sudo/Attic/Makefile.in between version 1.41 and 1.42

version 1.41, 2008/07/31 16:44:03 version 1.42, 2008/11/14 11:53:05
Line 1 
Line 1 
 #  #
 # Copyright (c) 1996, 1998-2007 Todd C. Miller <Todd.Miller@courtesan.com>  # Copyright (c) 1996, 1998-2005, 2007-2008
   #       Todd C. Miller <Todd.Miller@courtesan.com>
 #  #
 # Permission to use, copy, modify, and distribute this software for any  # Permission to use, copy, modify, and distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above  # purpose with or without fee is hereby granted, provided that the above
Line 20 
Line 21 
 #  #
 # @configure_input@  # @configure_input@
 #  #
 # $Sudo: Makefile.in,v 1.246.2.32 2008/06/22 20:29:03 millert Exp $  # $Sudo: Makefile.in,v 1.325 2008/11/03 18:19:14 millert Exp $
 #  #
   
 #### Start of system configuration section. ####  #### Start of system configuration section. ####
   
 srcdir = @srcdir@  srcdir = @srcdir@
   devdir = @devdir@
 authdir = $(srcdir)/auth  authdir = $(srcdir)/auth
 top_builddir = .  top_builddir = .
 VPATH = @srcdir@  
   
 # Compiler & tools to use  # Compiler & tools to use
 CC = @CC@  CC = @CC@
 LEX = flex  LEX = flex
 YACC = @YACC@  YACC = @YACC@
 NROFF = nroff  NROFF = nroff -Tascii
 LIBTOOL = @LIBTOOL@  LIBTOOL = @LIBTOOL@
   
 # Our install program supports extra flags...  # Our install program supports extra flags...
Line 61 
Line 62 
 bindir = @bindir@  bindir = @bindir@
 sbindir = @sbindir@  sbindir = @sbindir@
 sysconfdir = @sysconfdir@  sysconfdir = @sysconfdir@
   libexecdir = @libexecdir@
   datarootdir = @datarootdir@
 mandir = @mandir@  mandir = @mandir@
 noexecfile = @NOEXECFILE@  noexecfile = @NOEXECFILE@
 noexecdir = @NOEXECDIR@  noexecdir = @NOEXECDIR@
 libexecdir = @libexecdir@  
 datarootdir = @datarootdir@  
   
 # Directory in which to install sudo.  # Directory in which to install sudo.
 sudodir = $(bindir)  sudodir = $(bindir)
Line 93 
Line 94 
 sudoers_mode = @SUDOERS_MODE@  sudoers_mode = @SUDOERS_MODE@
   
 # Pass in paths and uid/gid + OS dependent defined  # Pass in paths and uid/gid + OS dependent defined
 DEFS = @OSDEFS@ -D_PATH_SUDOERS=\"$(sudoersdir)/sudoers\" -D_PATH_SUDOERS_TMP=\"$(sudoersdir)/sudoers.tmp\" -DSUDOERS_UID=$(sudoers_uid) -DSUDOERS_GID=$(sudoers_gid) -DSUDOERS_MODE=$(sudoers_mode)  DEFS = @OSDEFS@ -D_PATH_SUDOERS=\"$(sudoersdir)/sudoers\" -DSUDOERS_UID=$(sudoers_uid) -DSUDOERS_GID=$(sudoers_gid) -DSUDOERS_MODE=$(sudoers_mode)
   
 #### End of system configuration section. ####  #### End of system configuration section. ####
   
Line 101 
Line 102 
   
 PROGS = @PROGS@  PROGS = @PROGS@
   
 SRCS = alloc.c alloca.c check.c closefrom.c def_data.c defaults.c env.c err.c \  SRCS = aix.c alias.c alloc.c check.c closefrom.c def_data.c defaults.c env.c \
        fileops.c find_path.c fnmatch.c getcwd.c getprogname.c getspwuid.c \         error.c fileops.c find_path.c fnmatch.c getcwd.c getprogname.c \
        gettime.c glob.c goodpath.c interfaces.c ldap.c lex.yy.c lsearch.c \         getspwuid.c gettime.c glob.c goodpath.c gram.c gram.y interfaces.c \
        logging.c memrchr.c mkstemp.c parse.c parse.lex parse.yacc set_perms.c \         isblank.c lbuf.c ldap.c list.c logging.c match.c mkstemp.c memrchr.c \
        sigaction.c snprintf.c strcasecmp.c strerror.c strlcat.c strlcpy.c \         parse.c pwutil.c  set_perms.c sigaction.c snprintf.c strcasecmp.c \
        sudo.c sudo_noexec.c sudo.tab.c sudo_edit.c testsudoers.c tgetpass.c \         strerror.c strlcat.c strlcpy.c sudo.c sudo_noexec.c sudo_edit.c \
        utimes.c visudo.c zero_bytes.c selinux.c sesh.c $(AUTH_SRCS)         sudo_nss.c testsudoers.c tgetpass.c toke.c toke.l tsgetgrpw.c utimes.c \
          visudo.c zero_bytes.c redblack.c selinux.c sesh.c $(AUTH_SRCS)
   
 AUTH_SRCS = auth/afs.c auth/aix_auth.c auth/bsdauth.c auth/dce.c auth/fwtk.c \  AUTH_SRCS = auth/afs.c auth/aix_auth.c auth/bsdauth.c auth/dce.c auth/fwtk.c \
             auth/kerb4.c auth/kerb5.c auth/pam.c auth/passwd.c auth/rfc1938.c \              auth/kerb4.c auth/kerb5.c auth/pam.c auth/passwd.c auth/rfc1938.c \
             auth/secureware.c auth/securid.c auth/securid5.c auth/sia.c \              auth/secureware.c auth/securid.c auth/securid5.c auth/sia.c \
             auth/sudo_auth.c              auth/sudo_auth.c
   
 HDRS = compat.h def_data.h defaults.h ins_2001.h ins_classic.h ins_csops.h \  HDRS = compat.h def_data.h defaults.h error.h ins_2001.h ins_classic.h \
        ins_goons.h insults.h interfaces.h logging.h parse.h sudo.h sudo.tab.h \         ins_csops.h ins_goons.h insults.h interfaces.h lbuf.h list.h \
        version.h auth/sudo_auth.h emul/err.h emul/fnmatch.h emul/search.h \         logging.h parse.h sudo.h sudo_nss.h gram.h version.h auth/sudo_auth.h \
        emul/utime.h emul/glob.h emul/timespec.h         emul/charclass.h emul/fnmatch.h emul/glob.h emul/timespec.h \
          emul/utime.h redblack.h
   
 AUTH_OBJS = sudo_auth.o @AUTH_OBJS@  AUTH_OBJS = sudo_auth.o @AUTH_OBJS@
   
 PARSEOBJS = sudo.tab.o lex.yy.o alloc.o defaults.o  # Note: gram.o must come first here
   COMMON_OBJS = gram.o alias.o alloc.o defaults.o error.o list.o match.o \
                 toke.o redblack.o zero_bytes.o
   
 SUDOBJS = check.o env.o getspwuid.o gettime.o goodpath.o fileops.o find_path.o \  SUDO_OBJS = $(COMMON_OBJS) $(AUTH_OBJS) @SUDO_OBJS@ check.o env.o \
           interfaces.o logging.o parse.o set_perms.o sudo.o sudo_edit.o \              getspwuid.o gettime.o goodpath.o fileops.o find_path.o \
           tgetpass.o zero_bytes.o @SUDO_OBJS@ $(AUTH_OBJS) $(PARSEOBJS)              interfaces.o lbuf.o logging.o parse.o pwutil.o set_perms.o \
               sudo.o sudo_edit.o sudo_nss.o tgetpass.o
   
 VISUDOBJS = visudo.o fileops.o gettime.o goodpath.o find_path.o $(PARSEOBJS)  VISUDO_OBJS = $(COMMON_OBJS) visudo.o fileops.o gettime.o goodpath.o \
                 find_path.o pwutil.o
   
 TESTOBJS = interfaces.o testsudoers.o $(PARSEOBJS)  TEST_OBJS = $(COMMON_OBJS) interfaces.o testsudoers.o tsgetgrpw.o tspwutil.o
   
 LIBOBJS = @LIBOBJS@ @ALLOCA@  LIB_OBJS = @LIBOBJS@
   
 VERSION = 1.6.9p17  VERSION = 1.7.0
   
 DISTFILES = $(SRCS) $(HDRS) BUGS CHANGES HISTORY INSTALL INSTALL.configure \  DISTFILES = $(SRCS) $(HDRS) ChangeLog HISTORY INSTALL INSTALL.configure \
             LICENSE Makefile.in PORTING README README.LDAP \              LICENSE Makefile.in PORTING README README.LDAP TROUBLESHOOTING \
             TROUBLESHOOTING UPGRADE aclocal.m4 acsite.m4 aixcrypt.exp \              UPGRADE WHATSNEW aclocal.m4 acsite.m4 aixcrypt.exp config.guess \
             config.guess config.h.in config.sub configure configure.in \              config.h.in config.sub configure configure.in def_data.in \
             def_data.in fnmatch.3 indent.pro install-sh ltmain.sh \              indent.pro install-sh ltmain.sh mkdefaults mkinstalldirs \
             mkdefaults mkinstalldirs pathnames.h.in sample.pam \              pathnames.h.in sample.pam sample.syslog.conf sample.sudoers \
             sample.syslog.conf sample.sudoers schema.OpenLDAP \              schema.ActiveDirectory schema.OpenLDAP schema.iPlanet sudo.cat \
             schema.iPlanet sudo.cat sudo.man.in sudo.pod sudoers \              sudo.man.in sudo.pod sudo.psf sudo_usage.h.in sudoers sudoers.cat \
             sudoers.cat sudoers.man.in sudoers.pod sudoers2ldif \              sudoers.man.in sudoers.pod sudoers.ldap.cat sudoers.ldap.man.in \
             visudo.cat visudo.man.in visudo.pod auth/API              sudoers.ldap.pod sudoers2ldif visudo.cat visudo.man.in visudo.pod \
               auth/API
   
 BINFILES= BUGS CHANGES HISTORY LICENSE README TROUBLESHOOTING \  BINFILES= ChangeLog HISTORY LICENSE README TROUBLESHOOTING \
           UPGRADE install-sh mkinstalldirs sample.syslog.conf sample.sudoers \            UPGRADE install-sh mkinstalldirs sample.syslog.conf sample.sudoers \
           sudo sudo.cat sudo.man sudo.pod sudoers sudoers.cat sudoers.man \            sudo sudo.cat sudo.man sudo.pod sudoers sudoers.cat sudoers.man \
           sudoers.pod visudo visudo.cat visudo.man visudo.pod            sudoers.pod visudo visudo.cat visudo.man visudo.pod
   
 BINSPECIAL= INSTALL.binary Makefile.binary libtool  BINSPECIAL= INSTALL.binary Makefile.binary.in libtool
   
 SUDODEP = $(srcdir)/sudo.h $(srcdir)/compat.h $(srcdir)/defaults.h \  SUDODEP = $(srcdir)/sudo.h $(srcdir)/compat.h $(srcdir)/defaults.h \
           $(srcdir)/logging.h config.h def_data.h pathnames.h            $(srcdir)/error.h $(srcdir)/list.h $(srcdir)/logging.h \
             $(srcdir)/sudo_nss.h $(devdir)/def_data.h pathnames.h config.h
   
 AUTHDEP = $(SUDODEP) $(authdir)/sudo_auth.h  AUTHDEP = $(SUDODEP) $(authdir)/sudo_auth.h
   
Line 163 
Line 172 
   
 all: $(PROGS)  all: $(PROGS)
   
 .SUFFIXES: .o .c .h .lex .yacc .man .cat .lo  .SUFFIXES: .o .c .h .l .y .man .cat .lo
   
 .c.o:  .c.o:
         $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $<          $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $<
Line 173 
Line 182 
   
 .man.cat:  .man.cat:
         @rm -f $(srcdir)/$@          @rm -f $(srcdir)/$@
         $(NROFF) -man $< > $(srcdir)/$@          sed '1s/^/.if n .ll 78n/' $< | $(NROFF) -man > $(srcdir)/$@
   
 sudo: $(SUDOBJS) $(LIBOBJS)  sudo: $(SUDO_OBJS) $(LIB_OBJS)
         $(CC) -o $@ $(SUDOBJS) $(LIBOBJS) $(SUDO_LDFLAGS) $(SUDO_LIBS)          $(CC) -o $@ $(SUDO_OBJS) $(LIB_OBJS) $(SUDO_LDFLAGS) $(SUDO_LIBS)
   
 visudo: $(VISUDOBJS) $(LIBOBJS)  visudo: $(VISUDO_OBJS) $(LIB_OBJS)
         $(CC) -o $@ $(VISUDOBJS) $(LIBOBJS) $(LDFLAGS) $(LIBS) $(NET_LIBS)          $(CC) -o $@ $(VISUDO_OBJS) $(LIB_OBJS) $(LDFLAGS) $(LIBS) $(NET_LIBS)
   
 testsudoers: $(TESTOBJS) $(LIBOBJS)  testsudoers: $(TEST_OBJS) $(LIB_OBJS)
         $(CC) -o $@ $(TESTOBJS) $(LIBOBJS) $(LDFLAGS) $(LIBS) $(NET_LIBS)          $(CC) -o $@ $(TEST_OBJS) $(LIB_OBJS) $(LDFLAGS) $(LIBS) $(NET_LIBS)
   
 sudo_noexec.lo: $(srcdir)/sudo_noexec.c  sudo_noexec.lo: $(srcdir)/sudo_noexec.c
         $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/sudo_noexec.c          $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/sudo_noexec.c
Line 191 
Line 200 
         $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ sudo_noexec.lo -avoid-version -rpath $(noexecdir)          $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ sudo_noexec.lo -avoid-version -rpath $(noexecdir)
   
 # Uncomment the following if you want "make distclean" to clean the parser  # Uncomment the following if you want "make distclean" to clean the parser
 @DEV@PARSESRCS = sudo.tab.h sudo.tab.c lex.yy.c def_data.c def_data.h  @DEV@GENERATED = gram.h gram.c toke.c def_data.c def_data.h
   
 # Uncomment the following if you intend to modify parse.yacc  # Uncomment the lines before -@true if you intend to modify gram.y
 @DEV@sudo.tab.c sudo.tab.h: parse.yacc  $(devdir)/gram.c: $(srcdir)/gram.y
 @DEV@   rm -f sudo.tab.h sudo.tab.c  @DEV@   $(YACC) -d $(srcdir)/gram.y
 @DEV@   $(YACC) -d -b sudo $(srcdir)/parse.yacc  @DEV@   mv -f y.tab.c gram.c
   @DEV@   if cmp -s y.tab.h gram.h; then rm -f y.tab.h; else mv -f y.tab.h gram.h; fi
           -@true
   
 # Uncomment the following if you intend to modify parse.lex  # Uncomment the lines before -@true if you intend to modify toke.l
 @DEV@lex.yy.c: parse.lex  $(devdir)/toke.c: $(srcdir)/toke.l
 @DEV@   rm -f lex.yy.c  @DEV@   $(LEX) $(srcdir)/toke.l
 @DEV@   $(LEX) $(srcdir)/parse.lex  @DEV@   mv -f lex.yy.c toke.c
           -@true
   
 # Uncomment the following if you intend to modify def_data.in  # Uncomment the following if you intend to modify def_data.in
 @DEV@def_data.h def_data.c: def_data.in  @DEV@$(devdir)/def_data.h $(devdir)/def_data.c: $(srcdir)/def_data.in
 @DEV@   perl $(srcdir)/mkdefaults -o def_data $(srcdir)/def_data.in  @DEV@   perl $(srcdir)/mkdefaults -o def_data $(srcdir)/def_data.in
   
 # Dependencies (not counting auth functions)  # Dependencies (not counting auth functions)
 alloc.o: alloc.c $(SUDODEP)  aix.o: $(srcdir)/aix.c
 check.o: check.c $(SUDODEP)          $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/aix.c
 closefrom.o: closefrom.c config.h  alias.o: $(srcdir)/alias.c $(SUDODEP) $(srcdir)/parse.h $(srcdir)/list.h $(srcdir)/redblack.h
 env.o: env.c $(SUDODEP)          $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/alias.c
 err.o: err.c config.h compat.h emul/err.h  alloc.o: $(srcdir)/alloc.c $(SUDODEP)
 fileops.o: fileops.c $(SUDODEP)          $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/alloc.c
 find_path.o: find_path.c $(SUDODEP)  check.o: $(srcdir)/check.c $(SUDODEP)
 getprogname.o: getprogname.c config.h          $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/check.c
 getspwuid.o: getspwuid.c $(SUDODEP)  closefrom.o: $(srcdir)/closefrom.c config.h
 goodpath.o: goodpath.c $(SUDODEP)          $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/closefrom.c
 logging.o: logging.c $(SUDODEP)  defaults.o: $(srcdir)/defaults.c $(SUDODEP) $(srcdir)/def_data.c $(authdir)/sudo_auth.h $(devdir)/gram.h
 set_perms.o: set_perms.c $(SUDODEP)          $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/defaults.c
 tgetpass.o: tgetpass.c $(SUDODEP)  env.o: $(srcdir)/env.c $(SUDODEP)
 visudo.o: visudo.c $(SUDODEP) version.h          $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/env.c
 sudo.o: sudo.c $(SUDODEP) interfaces.h version.h  error.o: $(srcdir)/error.c $(srcdir)/compat.h $(srcdir)/error.h config.h
 interfaces.o: interfaces.c $(SUDODEP) interfaces.h          $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/error.c
 testsudoers.o: testsudoers.c $(SUDODEP) parse.h interfaces.h  fileops.o: $(srcdir)/fileops.c $(SUDODEP)
 parse.o: parse.c $(SUDODEP) parse.h interfaces.h          $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/fileops.c
 lex.yy.o: lex.yy.c $(SUDODEP) parse.h sudo.tab.h  find_path.o: $(srcdir)/find_path.c $(SUDODEP)
 sudo.tab.o: sudo.tab.c $(SUDODEP) parse.h sudo.tab.c sudo.tab.h          $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/find_path.c
 defaults.o: defaults.c $(SUDODEP) def_data.c auth/sudo_auth.h  fnmatch.o: $(srcdir)/fnmatch.c $(srcdir)/emul/fnmatch.h $(srcdir)/compat.h config.h
 fnmatch.o: fnmatch.c config.h compat.h emul/fnmatch.h          $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/fnmatch.c
 getcwd.o: getcwd.c config.h compat.h  getcwd.o: $(srcdir)/getcwd.c $(srcdir)/compat.h config.h
 glob.o: glob.c config.h compat.h emul/glob.h          $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/getcwd.c
 lsearch.o: lsearch.c config.h compat.h emul/search.h  getprogname.o: $(srcdir)/getprogname.c config.h
 memrchr.o: memrchr.c config.h compat.h          $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/getprogname.c
 mkstemp.o: mkstemp.c config.h compat.h  getspwuid.o: $(srcdir)/getspwuid.c $(SUDODEP)
 selinux.o: selinux.c $(SUDODEP)          $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/getspwuid.c
 snprintf.o: snprintf.c config.h compat.h  gettime.o: $(srcdir)/gettime.c $(SUDODEP)
 strcasecmp.o: strcasecmp.c config.h          $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/gettime.c
 strlcat.o: strlcat.c config.h  glob.o: $(srcdir)/glob.c $(srcdir)/emul/glob.h $(srcdir)/compat.h config.h
 strlcpy.o: strlcpy.c config.h          $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/glob.c
 strerror.o: strerror.c config.h  goodpath.o: $(srcdir)/goodpath.c $(SUDODEP)
 utime.o: utime.c config.h pathnames.h compat.h emul/utime.h          $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/goodpath.c
 ldap.o: ldap.c $(SUDODEP) parse.h  gram.o: $(devdir)/gram.c $(SUDODEP) $(srcdir)/parse.h $(srcdir)/list.h $(devdir)/gram.h
 sudo_edit.o: sudo_edit.c $(SUDODEP)          $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(devdir)/gram.c
   interfaces.o: $(srcdir)/interfaces.c $(SUDODEP) $(srcdir)/interfaces.h
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/interfaces.c
   isblank.o: $(srcdir)/isblank.c $(srcdir)/compat.h config.h
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/isblank.c
   lbuf.o: $(srcdir)/lbuf.c $(SUDODEP)
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/lbuf.c
   ldap.o: $(srcdir)/ldap.c $(SUDODEP) $(srcdir)/parse.h $(srcdir)/list.h
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/ldap.c
   list.o: $(srcdir)/list.c $(SUDODEP)
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/list.c
   logging.o: $(srcdir)/logging.c $(SUDODEP)
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/logging.c
   match.o: $(srcdir)/match.c $(SUDODEP) $(srcdir)/parse.h $(srcdir)/list.h $(srcdir)/interfaces.h $(devdir)/gram.h
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/match.c
   memrchr.o: $(srcdir)/memrchr.c $(SUDODEP)
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/memrchr.c
   mkstemp.o: $(srcdir)/mkstemp.c $(SUDODEP)
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/mkstemp.c
   parse.o: $(srcdir)/parse.c $(SUDODEP) $(srcdir)/parse.h $(srcdir)/list.h $(devdir)/gram.h
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/parse.c
   pwutil.o: $(srcdir)/pwutil.c $(SUDODEP)
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/pwutil.c
   redblack.o: $(srcdir)/redblack.c $(SUDODEP) $(srcdir)/redblack.h
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/redblack.c
   set_perms.o: $(srcdir)/set_perms.c $(SUDODEP)
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/set_perms.c
   sigaction.o: $(srcdir)/sigaction.c $(srcdir)/compat.h
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/sigaction.c
   snprintf.o: $(srcdir)/snprintf.c $(srcdir)/compat.h config.h
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/snprintf.c
   strcasecmp.o: $(srcdir)/strcasecmp.c $(srcdir)/compat.h  config.h
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/strcasecmp.c
   strerror.o: $(srcdir)/strerror.c $(srcdir)/compat.h config.h
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/strerror.c
   strlcat.o: $(srcdir)/strlcat.c $(srcdir)/compat.h config.h
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/strlcat.c
   strlcpy.o: $(srcdir)/strlcpy.c $(srcdir)/compat.h config.h
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/strlcpy.c
   selinux.o: $(srcdir)/selinux.c $(SUDODEP)
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/selinux.c
   sudo.o: $(srcdir)/sudo.c $(SUDODEP) sudo_usage.h $(srcdir)/interfaces.h $(srcdir)/version.h
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/sudo.c
   sudo_edit.o: $(srcdir)/sudo_edit.c $(SUDODEP)
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/sudo_edit.c
   sudo_noexec.o: $(srcdir)/sudo_noexec.c $(srcdir)/compat.h config.h
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/sudo_noexec.c
   sudo_nss.o: $(srcdir)/sudo_nss.c $(SUDODEP)
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/sudo_nss.c
   testsudoers.o: $(srcdir)/testsudoers.c $(SUDODEP) $(srcdir)/parse.h $(srcdir)/list.h $(srcdir)/interfaces.h $(devdir)/gram.h
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/testsudoers.c
   tgetpass.o: $(srcdir)/tgetpass.c $(SUDODEP)
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/tgetpass.c
   toke.o: $(devdir)/toke.c $(SUDODEP) $(srcdir)/parse.h $(srcdir)/list.h $(devdir)/gram.h
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(devdir)/toke.c
   tsgetgrpw.o: $(srcdir)/tsgetgrpw.c $(SUDODEP)
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/tsgetgrpw.c
   utimes.o: $(srcdir)/utimes.c $(srcdir)/compat.h $(srcdir)/emul/utime.h config.h
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/utimes.c
   visudo.o: $(srcdir)/visudo.c $(SUDODEP) $(srcdir)/version.h $(devdir)/gram.h
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/visudo.c
   zero_bytes.o: $(srcdir)/zero_bytes.c $(srcdir)/compat.h config.h
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/zero_bytes.c
   
 # Authentication functions live in "auth" dir and so need extra care  # Private copy of pwutil.o with MYPW defined for testsudoers
   tspwutil.o: $(srcdir)/pwutil.c $(SUDODEP)
           $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) -DMYPW -o tspwutil.o $(srcdir)/pwutil.c
   
 sudo_auth.o: $(authdir)/sudo_auth.c $(AUTHDEP) $(INSDEP)  sudo_auth.o: $(authdir)/sudo_auth.c $(AUTHDEP) $(INSDEP)
         $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(authdir)/sudo_auth.c          $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(authdir)/sudo_auth.c
 afs.o: $(authdir)/afs.c $(AUTHDEP)  afs.o: $(authdir)/afs.c $(AUTHDEP)
Line 304 
Line 381 
   
 sudoers.cat: sudoers.man  sudoers.cat: sudoers.man
   
   sudoers.ldap.man.in: $(srcdir)/sudoers.ldap.pod
           @rm -f $(srcdir)/$@
           ( cd $(srcdir); mansectsu=`echo @MANSECTSU@|tr A-Z a-z`; mansectform=`echo @MANSECTFORM@|tr A-Z a-z`; sed -n -e '/^=pod/q' -e 's/^/.\\" /p' sudoers.ldap.pod > $@; pod2man --quotes=none --date="`date '+%B %e, %Y'`" --section=$$mansectform --release=$(VERSION) --center="MAINTENANCE COMMANDS" sudoers.ldap.pod | sed -e "s/(5)/($$mansectform)/" -e "s/(8)/($$mansectsu)/" >> $@ )
   
   sudoers.ldap.man:: sudoers.ldap.man.in
           CONFIG_FILES=$@ CONFIG_HEADERS= sh ./config.status
   
   sudoers.ldap.cat: sudoers.ldap.man
   
   @DEV@HISTORY: history.pod
   @DEV@   pod2text -l -i0 $> > $@
   @DEV@
   @DEV@LICENSE: license.pod
   @DEV@   pod2text -l -i0 $> | sed '1,2d' > $@
   
   ChangeLog:
           cvs2cl --follow-only trunk
   
 install: install-dirs install-binaries @INSTALL_NOEXEC@ install-sudoers install-man  install: install-dirs install-binaries @INSTALL_NOEXEC@ install-sudoers install-man
   
 install-dirs:  install-dirs:
Line 333 
Line 428 
         ln $(DESTDIR)$(mandirsu)/sudo.$(mansectsu) $(DESTDIR)$(mandirsu)/sudoedit.$(mansectsu)          ln $(DESTDIR)$(mandirsu)/sudo.$(mansectsu) $(DESTDIR)$(mandirsu)/sudoedit.$(mansectsu)
         $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0444 @mansrcdir@/visudo.$(mantype) $(DESTDIR)$(mandirsu)/visudo.$(mansectsu)          $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0444 @mansrcdir@/visudo.$(mantype) $(DESTDIR)$(mandirsu)/visudo.$(mansectsu)
         $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0444 @mansrcdir@/sudoers.$(mantype) $(DESTDIR)$(mandirform)/sudoers.$(mansectform)          $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0444 @mansrcdir@/sudoers.$(mantype) $(DESTDIR)$(mandirform)/sudoers.$(mansectform)
           @LDAP@$(INSTALL) -O $(install_uid) -G $(install_gid) -M 0444 @mansrcdir@/sudoers.ldap.$(mantype) $(DESTDIR)$(mandirform)/sudoers.ldap.$(mansectform)
 @MAN_POSTINSTALL@  @MAN_POSTINSTALL@
   
 check:  check:
         @echo nothing to check          @echo nothing to check
   
 tags: $(SRCS)  
         ctags $(SRCS)  
   
 TAGS: $(SRCS)  
         etags $(SRCS)  
   
 clean:  clean:
         -rm -f *.o $(PROGS) testsudoers core sudo.core visudo.core \          -rm -f *.o *.lo $(PROGS) testsudoers core sudo.core visudo.core \
                testsudoers.core                 testsudoers.core
   
 mostlyclean: clean  mostlyclean: clean
   
 distclean: clean  distclean: clean
         -rm -rf Makefile pathnames.h config.h config.status config.cache \          -rm -rf Makefile pathnames.h config.h config.status config.cache \
                 config.log libtool sudo_noexec.lo .libs $(PARSESRCS) \                  config.log libtool sudo_noexec.lo .libs $(GENERATED) \
                 sudo.man sudoers.man visudo.man                  sudo.man sudoers.man sudoers.ldap.man visudo.man sudo_usage.h \
                   Makefile.binary
   
 clobber: distclean  clobber: distclean
   
Line 394 
Line 485 
           fi ; \            fi ; \
           cp $(srcdir)/INSTALL.binary $$tdir/INSTALL ; \            cp $(srcdir)/INSTALL.binary $$tdir/INSTALL ; \
           sh ./config.status --file=Makefile.binary && cp Makefile.binary $$tdir/Makefile ; \            sh ./config.status --file=Makefile.binary && cp Makefile.binary $$tdir/Makefile ; \
           strip sudo ; \            strip $$tdir/sudo ; \
           strip visudo ; \            strip $$tdir/visudo ; \
           cd tmp.$$ARCH && tar Ocf ../sudo-$(VERSION)-$$ARCH.tar sudo-$(VERSION) && cd .. ; \            cd tmp.$$ARCH && tar Ocf ../sudo-$(VERSION)-$$ARCH.tar sudo-$(VERSION) && cd .. ; \
           gzip --best sudo-$(VERSION)-$$ARCH.tar ; \            gzip -f --best sudo-$(VERSION)-$$ARCH.tar ; \
           rm -rf tmp.$$ARCH ; \            rm -rf tmp.$$ARCH ; \
         )          )
   
   depot:
           ( \
             tdir=tmp.depot ; \
             mkdir $$tdir ; \
             for i in sudo visudo sudo.man visudo.man sudoers.man sudoers ChangeLog HISTORY LICENSE README TROUBLESHOOTING UPGRADE sample.syslog.conf sample.sudoers; do \
               if [ -f $$i ]; then \
                 cp $$i $$tdir ; \
               elif [ -f $(srcdir)/$$i ]; then \
                 cp $(srcdir)/$$i $$tdir ; \
               else \
                 echo cannot find $$i ; \
                 exit 1 ; \
               fi ; \
             done ; \
             if [ -f sudo_noexec.la ]; then \
               cp libtool $$tdir ; \
               $(LIBTOOL) --mode=install $(INSTALL) sudo_noexec.la `pwd`/$$tdir ; \
             fi ; \
             sed 's/@VERSION@/$(VERSION)/g' <$(srcdir)/sudo.psf >$$tdir/sudo.psf ; \
             printf '#!/sbin/sh\nrm -f /usr/local/bin/sudoedit\nln /usr/local/bin/sudo /usr/local/bin/sudoedit\n' > $$tdir/sudo-exec.postinstall ; \
             printf '#!/sbin/sh\nrm -f /usr/local/man/man1m/sudoedit.1m\nln /usr/local/man/man1m/sudo.1m /usr/local/man/man1m/sudoedit.1m\n' > $$tdir/sudo-man.postinstall ; \
             printf '#!/sbin/sh\nif [ ! -s /etc/sudoers ]; then\n\techo installing /usr/local/doc/sudo/sudoers as /etc/sudoers\n\techo use /usr/local/sbin/visudo to configure sudo\n\tcp /usr/local/doc/sudo/sudoers /etc/sudoers\n\tchmod 440 /etc/sudoers\n\tchown root:root /etc/sudoers\nfi\n' > $$tdir/sudo-config.postinstall ; \
             chmod 755 $$tdir/sudo-exec.postinstall $$tdir/sudo-man.postinstall $$tdir/sudo-config.postinstall ; \
             strip $$tdir/sudo ; \
             strip $$tdir/visudo ; \
             cd $$tdir ; \
             swpackage -x target_type=tape -d ../sudo-$(VERSION).depot -s sudo.psf ; \
             cd .. ; \
             gzip -f --best sudo-$(VERSION).depot; \
             rm -rf tmp.depot ; \
           )
   
   .PHONY: ChangeLog

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42