[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.7 and 1.8

version 1.7, 2000/11/21 17:58:43 version 1.8, 2002/01/03 03:49:16
Line 1 
Line 1 
 #  #
 # Copyright (c) 1996, 1998-2000 Todd C. Miller <Todd.Miller@courtesan.com>  # Copyright (c) 1996, 1998-2001 Todd C. Miller <Todd.Miller@courtesan.com>
 # All rights reserved.  # All rights reserved.
 #  #
 # Redistribution and use in source and binary forms, with or without  # Redistribution and use in source and binary forms, with or without
Line 34 
Line 34 
 #  #
 # @configure_input@  # @configure_input@
 #  #
 # $Sudo: Makefile.in,v 1.200 2000/03/27 02:57:52 millert Exp $  # $Sudo: Makefile.in,v 1.218 2002/01/01 21:53:12 millert Exp $
 #  #
   
 #### Start of system configuration section. ####  #### Start of system configuration section. ####
Line 49 
Line 49 
 YACC = @YACC@  YACC = @YACC@
 NROFF = nroff  NROFF = nroff
   
 # Which install program?  # Our install program supports extra flags...
 INSTALL = $(SHELL) $(srcdir)/install-sh -c  INSTALL = $(SHELL) $(srcdir)/install-sh -c
   
 # Libraries  # Libraries
Line 109 
Line 109 
   
 PROGS = @PROGS@  PROGS = @PROGS@
   
 SRCS = alloc.c alloca.c check.c defaults.c fileops.c find_path.c fnmatch.c \  SRCS = alloc.c alloca.c check.c def_data.c defaults.c env.c fileops.c \
        getcwd.c getspwuid.c goodpath.c interfaces.c lex.yy.c lsearch.c \         find_path.c fnmatch.c getcwd.c getspwuid.c goodpath.c \
        logging.c parse.c parse.lex parse.yacc putenv.c snprintf.c strcasecmp.c \         interfaces.c lex.yy.c lsearch.c logging.c parse.c parse.lex \
        strerror.c sudo.c sudo.tab.c sudo_setenv.c testsudoers.c tgetpass.c \         parse.yacc set_perms.c sigaction.c snprintf.c strcasecmp.c strerror.c \
        utime.c visudo.c $(AUTH_SRCS)         sudo.c sudo.tab.c testsudoers.c tgetpass.c utime.c visudo.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/sia.c auth/sudo_auth.c              auth/secureware.c auth/securid.c auth/sia.c auth/sudo_auth.c
   
 HDRS = compat.h defaults.h ins_2001.h ins_classic.h ins_csops.h ins_goons.h \  HDRS = compat.h def_data.h defaults.h ins_2001.h ins_classic.h ins_csops.h \
        insults.h interfaces.h logging.h parse.h sudo.h sudo.tab.h version.h \         ins_goons.h insults.h interfaces.h logging.h parse.h sudo.h sudo.tab.h \
        auth/sudo_auth.h emul/fnmatch.h emul/search.h emul/utime.h         version.h auth/sudo_auth.h emul/fnmatch.h emul/search.h emul/utime.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  PARSEOBJS = sudo.tab.o lex.yy.o alloc.o defaults.o
   
 SUDOBJS = check.o getspwuid.o goodpath.o fileops.o find_path.o interfaces.o \  SUDOBJS = check.o env.o getspwuid.o goodpath.o fileops.o find_path.o \
           logging.o parse.o sudo.o sudo_setenv.o tgetpass.o \            interfaces.o logging.o parse.o set_perms.o sudo.o tgetpass.o \
           $(AUTH_OBJS) $(PARSEOBJS)            $(AUTH_OBJS) $(PARSEOBJS)
   
 VISUDOBJS = visudo.o fileops.o $(PARSEOBJS)  VISUDOBJS = visudo.o fileops.o goodpath.o find_path.o $(PARSEOBJS)
   
 TESTOBJS = interfaces.o testsudoers.o $(PARSEOBJS)  TESTOBJS = interfaces.o testsudoers.o $(PARSEOBJS)
   
 LIBOBJS = @LIBOBJS@ @ALLOCA@  LIBOBJS = @LIBOBJS@ @ALLOCA@
   
 VERSION = 1.6.3  VERSION = 1.6.4
   
 DISTFILES = $(SRCS) $(HDRS) BUGS CHANGES FAQ HISTORY INSTALL INSTALL.configure \  DISTFILES = $(SRCS) $(HDRS) BUGS CHANGES HISTORY INSTALL INSTALL.configure \
             LICENSE Makefile.in PORTING README RUNSON TODO TROUBLESHOOTING \              LICENSE Makefile.in PORTING README RUNSON TODO TROUBLESHOOTING \
             UPGRADE acsite.m4 aixcrypt.exp config.guess config.h.in config.sub \              UPGRADE aclocal.m4 aixcrypt.exp config.guess config.h.in \
             configure configure.in fnmatch.3 indent.pro install-sh \              config.sub configure configure.in def_data.in fnmatch.3 indent.pro \
             mkinstalldirs pathnames.h.in sample.pam sample.syslog.conf \              install-sh mkdefaults mkinstalldirs pathnames.h.in sample.pam \
             sample.sudoers sudo.cat sudo.man.in sudo.pod sudoers sudoers.cat \              sample.syslog.conf sample.sudoers sudo.cat sudo.man.in sudo.pod \
             sudoers.man.in sudoers.pod visudo.cat visudo.man.in visudo.pod \              sudoers sudoers.cat sudoers.man.in sudoers.pod visudo.cat \
             auth/API              visudo.man.in visudo.pod auth/API
   
 BINFILES= BUGS CHANGES HISTORY LICENSE README TODO TROUBLESHOOTING \  BINFILES= BUGS CHANGES HISTORY LICENSE README TODO TROUBLESHOOTING \
           UPGRADE install-sh mkinstalldirs sample.syslog.conf sample.sudoers \            UPGRADE install-sh mkinstalldirs sample.syslog.conf sample.sudoers \
Line 156 
Line 157 
 BINSPECIAL= INSTALL.binary Makefile.binary  BINSPECIAL= INSTALL.binary Makefile.binary
   
 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 pathnames.h            $(srcdir)/logging.h config.h def_data.h pathnames.h
   
 AUTHDEP = $(SUDODEP) $(authdir)/sudo_auth.h  AUTHDEP = $(SUDODEP) $(authdir)/sudo_auth.h
   
Line 196 
Line 197 
 @DEV@   rm -f lex.yy.c  @DEV@   rm -f lex.yy.c
 @DEV@   $(LEX) $(srcdir)/parse.lex  @DEV@   $(LEX) $(srcdir)/parse.lex
   
   # Uncomment the following if you intend to modify def_data.in
   @DEV@def_data.h def_data.c: 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)  alloc.o: alloc.c $(SUDODEP)
 check.o: check.c $(SUDODEP)  check.o: check.c $(SUDODEP)
   env.o: env.c $(SUDODEP)
 fileops.o: fileops.c $(SUDODEP)  fileops.o: fileops.c $(SUDODEP)
 find_path.o: find_path.c $(SUDODEP)  find_path.o: find_path.c $(SUDODEP)
 getspwuid.o: getspwuid.c $(SUDODEP)  getspwuid.o: getspwuid.c $(SUDODEP)
 goodpath.o: goodpath.c $(SUDODEP)  goodpath.o: goodpath.c $(SUDODEP)
 logging.o: logging.c $(SUDODEP)  logging.o: logging.c $(SUDODEP)
 sudo_setenv.o: sudo_setenv.c $(SUDODEP)  set_perms.o: set_perms.c $(SUDODEP)
 tgetpass.o: tgetpass.c $(SUDODEP)  tgetpass.o: tgetpass.c $(SUDODEP)
 visudo.o: visudo.c $(SUDODEP) version.h  visudo.o: visudo.c $(SUDODEP) version.h
 sudo.o: sudo.c $(SUDODEP) interfaces.h version.h  sudo.o: sudo.c $(SUDODEP) interfaces.h version.h
Line 212 
Line 218 
 testsudoers.o: testsudoers.c $(SUDODEP) parse.h interfaces.h  testsudoers.o: testsudoers.c $(SUDODEP) parse.h interfaces.h
 parse.o: parse.c $(SUDODEP) parse.h interfaces.h  parse.o: parse.c $(SUDODEP) parse.h interfaces.h
 lex.yy.o: lex.yy.c $(SUDODEP) parse.h sudo.tab.h  lex.yy.o: lex.yy.c $(SUDODEP) parse.h sudo.tab.h
 sudo.tab.o: sudo.tab.c $(SUDODEP) parse.h  sudo.tab.o: sudo.tab.c $(SUDODEP) parse.h sudo.tab.c sudo.tab.h
 defaults.o: defaults.c $(SUDODEP) auth/sudo_auth.h  defaults.o: defaults.c $(SUDODEP) def_data.c auth/sudo_auth.h
 fnmatch.o: fnmatch.c config.h compat.h emul/fnmatch.h  fnmatch.o: fnmatch.c config.h compat.h emul/fnmatch.h
 getcwd.o: getcwd.c config.h compat.h  getcwd.o: getcwd.c config.h compat.h
 lsearch.o: lsearch.c config.h compat.h emul/search.h  lsearch.o: lsearch.c config.h compat.h emul/search.h
 putenv.o: putenv.c config.h compat.h  
 snprintf.o: snprintf.c config.h compat.h  snprintf.o: snprintf.c config.h compat.h
 strcasecmp.o: strcasecmp.c config.h  strcasecmp.o: strcasecmp.c config.h
 strerror.o: strerror.c config.h  strerror.o: strerror.c config.h
Line 255 
Line 260 
   
 sudo.man.in: $(srcdir)/sudo.pod  sudo.man.in: $(srcdir)/sudo.pod
         @rm -f $(srcdir)/$@          @rm -f $(srcdir)/$@
         (cd $(srcdir); pod2man --section=`echo @MANSECTSU@|tr A-Z a-z` --release=$(VERSION) --center="MAINTENANCE COMMANDS" sudo.pod > $(srcdir)/$@)          ( cd $(srcdir); mansectsu=`echo @MANSECTSU@|tr A-Z a-z`; mansectform=`echo @MANSECTFORM@|tr A-Z a-z`; pod2man --quotes=none --date="`date '+%B %e, %Y'`" --section=$$mansectsu --release=$(VERSION) --center="MAINTENANCE COMMANDS" sudo.pod | sed -e "s/(5)/($$mansectform)/" -e "s/(8)/($$mansectsu)/" > $@ )
   
 sudo.man: sudo.man.in  sudo.man: sudo.man.in
         CONFIG_FILES=$@ CONFIG_HEADERS= sh ./config.status          CONFIG_FILES=$@ CONFIG_HEADERS= sh ./config.status
Line 264 
Line 269 
   
 visudo.man.in: $(srcdir)/visudo.pod  visudo.man.in: $(srcdir)/visudo.pod
         @rm -f $(srcdir)/$@          @rm -f $(srcdir)/$@
         (cd $(srcdir); pod2man --section=`echo @MANSECTSU@|tr A-Z a-z` --release=$(VERSION) --center="MAINTENANCE COMMANDS" visudo.pod > $(srcdir)/$@)          ( cd $(srcdir); mansectsu=`echo @MANSECTSU@|tr A-Z a-z`; mansectform=`echo @MANSECTFORM@|tr A-Z a-z`; pod2man --quotes=none --date="`date '+%B %e, %Y'`" --section=$$mansectsu --release=$(VERSION) --center="MAINTENANCE COMMANDS" visudo.pod | sed -e "s/(5)/($$mansectform)/" -e "s/(8)/($$mansectsu)/" > $@ )
   
 visudo.man: visudo.man.in  visudo.man: visudo.man.in
         CONFIG_FILES=$@ CONFIG_HEADERS= sh ./config.status          CONFIG_FILES=$@ CONFIG_HEADERS= sh ./config.status
Line 273 
Line 278 
   
 sudoers.man.in: $(srcdir)/sudoers.pod  sudoers.man.in: $(srcdir)/sudoers.pod
         @rm -f $(srcdir)/$@          @rm -f $(srcdir)/$@
         (cd $(srcdir); pod2man --section=`echo @MANSECTFORM@|tr A-Z a-z` --release=$(VERSION) --center="FILE FORMATS" sudoers.pod | sed 's/"\\f(CW""\\fR"/\\f(CW""\\fR/' > $(srcdir)/$@)          ( cd $(srcdir); mansectsu=`echo @MANSECTSU@|tr A-Z a-z`; mansectform=`echo @MANSECTFORM@|tr A-Z a-z`; pod2man --quotes=none --date="`date '+%B %e, %Y'`" --section=$$mansectform --release=$(VERSION) --center="MAINTENANCE COMMANDS" sudoers.pod | sed -e "s/(5)/($$mansectform)/" -e "s/(8)/($$mansectsu)/" > $@ )
   
 sudoers.man:: sudoers.man.in  sudoers.man:: sudoers.man.in
         CONFIG_FILES=$@ CONFIG_HEADERS= sh ./config.status          CONFIG_FILES=$@ CONFIG_HEADERS= sh ./config.status
Line 283 
Line 288 
 install: install-dirs install-binaries install-sudoers install-man  install: install-dirs install-binaries install-sudoers install-man
   
 install-dirs:  install-dirs:
         $(SHELL) $(srcdir)/mkinstalldirs $(sudodir) $(visudodir) $(sudoersdir) $(mandirsu) $(mandirform)          $(SHELL) $(srcdir)/mkinstalldirs $(DESTDIR)/$(sudodir) \
               $(DESTDIR)/$(visudodir) $(DESTDIR)/$(sudoersdir) \
               $(DESTDIR)/$(mandirsu) $(DESTDIR)/$(mandirform)
   
 install-binaries: $(PROGS)  install-binaries: $(PROGS)
         $(INSTALL) -o $(install_uid) -g $(install_gid) -m 4111 -s sudo $(sudodir)/sudo          $(INSTALL) -O $(install_uid) -G $(install_gid) -M 4111 -s sudo $(DESTDIR)/$(sudodir)/sudo
         $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0111 -s visudo $(visudodir)/visudo          $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0111 -s visudo $(DESTDIR)/$(visudodir)/visudo
   
 install-sudoers:  install-sudoers:
         @if [ -f $(sudoersdir)/sudoers ]; then \          test -f $(DESTDIR)/$(sudoersdir)/sudoers || \
             echo "Setting user/group and mode on existing $(sudoersdir)/sudoers file."; \              $(INSTALL) -O $(sudoers_uid) -G $(sudoers_gid) -M $(sudoers_mode) \
             chown $(sudoers_uid) $(sudoersdir)/sudoers; \                  $(srcdir)/sudoers $(DESTDIR)/$(sudoersdir)/sudoers
             chgrp $(sudoers_gid) $(sudoersdir)/sudoers; \  
             chmod $(sudoers_mode) $(sudoersdir)/sudoers; \  
         else \  
             $(INSTALL) -o $(sudoers_uid) -g $(sudoers_gid) -m $(sudoers_mode) \  
                 $(srcdir)/sudoers $(sudoersdir)/sudoers; \  
         fi  
   
 install-man:  install-man:
         $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0444 @mansrcdir@/sudo.$(mantype) $(mandirsu)/sudo.$(mansectsu)          $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0444 @mansrcdir@/sudo.$(mantype) $(DESTDIR)/$(mandirsu)/sudo.$(mansectsu)
         $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0444 @mansrcdir@/visudo.$(mantype) $(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) $(mandirform)/sudoers.$(mansectform)          $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0444 @mansrcdir@/sudoers.$(mantype) $(DESTDIR)/$(mandirform)/sudoers.$(mansectform)
 @MAN_POSTINSTALL@  @MAN_POSTINSTALL@
   
 check:  check:
Line 353 
Line 354 
               cp ../../$(srcdir)/$$i . ; \                cp ../../$(srcdir)/$$i . ; \
             fi ; \              fi ; \
           done ; \            done ; \
           ln -s TROUBLESHOOTING FAQ ; \            strip sudo ; \
           for i in $(BINSPECIAL) ; do \            strip visudo ; \
             if [ -f ../../$$i ]; then \  
               cp ../../$$i `basename $$i .binary` ; \  
             elif [ -f $(srcdir)/$$i ]; then \  
               cp $(srcdir)/$$i `basename $$i .binary` ; \  
             else \  
               cp ../../$(srcdir)/$$i `basename $$i .binary` ; \  
             fi ; \  
           done ; \  
           cd .. ; tar Ocf ../sudo-$(VERSION)-`arch -l`.tar sudo-$(VERSION) ; \            cd .. ; tar Ocf ../sudo-$(VERSION)-`arch -l`.tar sudo-$(VERSION) ; \
         )          )
         gzip --best sudo-$(VERSION)-`arch -l`.tar          gzip --best sudo-$(VERSION)-`arch -l`.tar

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8