|
|
coherent
# CFLAGS are not needed for i8086 CFLAGS= -O -DNEWTTYS CMDS= login passwd su UTILS= getty init enable all: $(CMDS) $(UTILS) >all # include file deftty.h defines the default ERASE, KILL and INTERRUPT # characters for ttys. getty: getty.c deftty.h $(CC) $(CFLAGS) -s -n -i -o getty getty.c init: init.c $(CC) $(CFLAGS) -s -n -i -o init init.c login: login.c deftty.h $(CC) $(CFLAGS) -o login login.c passwd: passwd.c $(CC) $(CFLAGS) -o passwd passwd.c su: su.c $(CC) $(CFLAGS) -o su su.c nsu: nsu.c $(CC) $(CFLAGS) -o nsu nsu.c enable: enable.c $(CC) $(CFLAGS) -o enable enable.c # install must be done by root install: chown root $(CMDS) $(UTILS) cp $(CMDS) /bin cp $(UTILS) /etc chmod 4755 /bin/$(CMDS) chmod 700 /etc/$(UTILS) ln -f /etc/enable /etc/disable ln -f /etc/enable /etc/ttystat # rm $(CMDS) $(UTILS)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.