File:  [MW Coherent from dump] / coherent / d / bin / Makefile.1
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:39 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
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) 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.