|
|
1.1 ! root 1: # CFLAGS are not needed for i8086 ! 2: CFLAGS= -O -DNEWTTYS ! 3: CMDS= login passwd su ! 4: UTILS= getty init enable ! 5: ! 6: all: $(CMDS) $(UTILS) ! 7: >all ! 8: # include file deftty.h defines the default ERASE, KILL and INTERRUPT ! 9: # characters for ttys. ! 10: getty: getty.c deftty.h ! 11: $(CC) $(CFLAGS) -s -n -i -o getty getty.c ! 12: ! 13: init: init.c ! 14: $(CC) $(CFLAGS) -s -n -i -o init init.c ! 15: ! 16: login: login.c deftty.h ! 17: $(CC) $(CFLAGS) -o login login.c ! 18: ! 19: passwd: passwd.c ! 20: $(CC) $(CFLAGS) -o passwd passwd.c ! 21: ! 22: su: su.c ! 23: $(CC) $(CFLAGS) -o su su.c ! 24: ! 25: nsu: nsu.c ! 26: $(CC) $(CFLAGS) -o nsu nsu.c ! 27: ! 28: enable: enable.c ! 29: $(CC) $(CFLAGS) -o enable enable.c ! 30: ! 31: ! 32: # install must be done by root ! 33: install: ! 34: chown root $(CMDS) $(UTILS) ! 35: cp $(CMDS) /bin ! 36: cp $(UTILS) /etc ! 37: chmod 4755 /bin/$(CMDS) ! 38: chmod 700 /etc/$(UTILS) ! 39: ln -f /etc/enable /etc/disable ! 40: ln -f /etc/enable /etc/ttystat ! 41: # rm $(CMDS) $(UTILS)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.