CFLAGS = -O
I = /usr/include

nothing:
	@echo specify what to make

ar:		ar.o
	cc -n $(CFLAGS) -o ar ar.o; rm ar.o
ar.o:		ar.c		$I/stdio.h $I/sys/types.h $I/sys/stat.h \
				$I/ar.h $I/signal.h 
/bin/ar:	ar
	/etc/instcmd ar /bin/ar

archive:	archive.o
	cc -n $(CFLAGS) -o archive archive.o; rm archive.o
archive.o:	archive.c	$I/stdio.h $I/sys/types.h $I/sys/stat.h \
				$I/pwd.h 
/bin/archive:	archive
	/etc/instcmd -m 4755 -o bin archive /bin/archive

ascii:		ascii.o
	cc -n $(CFLAGS) -o ascii ascii.o; rm ascii.o
ascii.o:	ascii.c		$I/stdio.h 
/bin/ascii:	ascii
	/etc/instcmd ascii /bin/ascii

at:		at.o
	cc -n $(CFLAGS) -o at at.o; rm at.o
at.o:		at.c		$I/stdio.h $I/ctype.h $I/time.h \
				$I/signal.h 
/bin/at:	at
	/etc/instcmd at /bin/at

back:		back.o
	cc -n $(CFLAGS) -o back back.o; rm back.o
back.o:		back.c		$I/stdio.h $I/sys/times.h $I/signal.h 
/bin/back:	back
	/etc/instcmd back /bin/back

basename:	basename.o
	cc -n $(CFLAGS) -o basename basename.o; rm basename.o
basename.o:	basename.c	$I/stdio.h 
/bin/basename:	basename
	/etc/instcmd basename /bin/basename

bc:		bc.o
	cc -n $(CFLAGS) -o bc bc.o; rm bc.o
bc.o:		bc.y		$I/stdio.h 
	yacc bc.y
	cc -c $(CFLAGS) -TR2 -DR2 y.tab.c
	rm y.tab.c
	mv y.tab.o bc.o
/bin/bc:	bc
	/etc/instcmd bc /bin/bc

binno:		binno.o
	cc -n $(CFLAGS) -o binno binno.o; rm binno.o
binno.o:	binno.c		$I/stdio.h $I/pwd.h 
/bin/binno:	binno
	/etc/instcmd binno /bin/binno

cal:		cal.o
	cc -n $(CFLAGS) -o cal cal.o; rm cal.o
cal.o:		cal.c		$I/stdio.h $I/time.h $I/sys/types.h 
/bin/cal:	cal
	/etc/instcmd cal /bin/cal

cat:		cat.o
	cc -n $(CFLAGS) -o cat cat.o; rm cat.o
cat.o:		cat.c		$I/stdio.h $I/sys/types.h $I/sys/stat.h 
/bin/cat:	cat
	/etc/instcmd cat /bin/cat

cb:		cb.o
	cc -n $(CFLAGS) -o cb cb.o; rm cb.o
cb.o:		cb.c		$I/stdio.h 
/bin/cb:	cb
	/etc/instcmd cb /bin/cb

cc:		cc.o
	cc -n $(CFLAGS) -o cc cc.o; rm cc.o
cc.o:		cc.c		$I/stdio.h $I/signal.h $I/sys/times.h 
	cc -c $(CFLAGS) -TR2 cc.c
/bin/cc:	cc
	/etc/instcmd cc /bin/cc

chmod:		chmod.o
	cc -n $(CFLAGS) -o chmod chmod.o; rm chmod.o
chmod.o:	chmod.c		$I/stdio.h $I/sys/types.h $I/sys/stat.h \
				$I/errno.h 
/bin/chmod:	chmod
	/etc/instcmd chmod /bin/chmod

cmp:		cmp.o
	cc -n $(CFLAGS) -o cmp cmp.o; rm cmp.o
cmp.o:		cmp.c		$I/stdio.h $I/ctype.h 
/bin/cmp:	cmp
	/etc/instcmd cmp /bin/cmp

com:		com.o
	cc -n $(CFLAGS) -o com com.o; rm com.o
com.o:		com.c		$I/stdio.h $I/ctype.h $I/pwd.h 
/bin/com:	com
	/etc/instcmd com /bin/com

comm:		comm.o
	cc -n $(CFLAGS) -o comm comm.o; rm comm.o
comm.o:		comm.c		$I/stdio.h $I/ctype.h 
/bin/comm:	comm
	/etc/instcmd comm /bin/comm

cp:		cp.o
	cc -n $(CFLAGS) -o cp cp.o; rm cp.o
cp.o:		cp.c		$I/stdio.h $I/sys/types.h $I/sys/stat.h 
/bin/cp:	cp
	/etc/instcmd cp /bin/cp

cprf:           oprf
/bin/cprf:      /bin/oprf

crypt:		crypt.o
	cc -n $(CFLAGS) -o crypt crypt.o; rm crypt.o
crypt.o:	crypt.c		$I/stdio.h 
/bin/crypt:	crypt
	/etc/instcmd crypt /bin/crypt

date:		date.o
	cc -n $(CFLAGS) -o date date.o; rm date.o
date.o:		date.c		$I/time.h $I/sys/types.h $I/sys/timeb.h 
/bin/date:	date
	/etc/instcmd date /bin/date

dd:		dd.o
	cc -n $(CFLAGS) -o dd dd.o; rm dd.o
dd.o:		dd.c		$I/stdio.h $I/signal.h 
/bin/dd:	dd
	/etc/instcmd dd /bin/dd

dept:		dept.o
	cc -n $(CFLAGS) -o dept dept.o; rm dept.o
dept.o:		dept.c		$I/stdio.h $I/sys/types.h $I/sys/stat.h \
				$I/ctype.h $I/pwd.h 
/bin/dept:	dept
	/etc/instcmd dept /bin/dept

deroff:		deroff.o
	cc -n $(CFLAGS) -o deroff deroff.o; rm deroff.o
deroff.o:	deroff.c	$I/stdio.h 
	cc -c -TR6 deroff.c
/bin/deroff:	deroff
	/etc/instcmd deroff /bin/deroff

df:		df.o
	cc -n $(CFLAGS) -o df df.o; rm df.o
df.o:		df.c		$I/stdio.h $I/sys/param.h $I/sys/filsys.h \
				$I/sys/fblk.h 
/bin/df:	df
	/etc/instcmd df /bin/df

diff:		diff.o
	cc -n $(CFLAGS) -o diff diff.o; rm diff.o
diff.o:		diff.c		$I/stdio.h $I/ctype.h $I/sys/types.h \
				$I/sys/stat.h $I/signal.h 
/bin/diff:	diff
	/etc/instcmd diff /bin/diff

disku:		disku.o
	cc -n $(CFLAGS) -o disku disku.o; rm disku.o
disku.o:	disku.c		$I/sys/param.h $I/sys/ino.h $I/sys/filsys.h \
				$I/pwd.h $I/stdio.h 
/bin/disku:	disku
	/etc/instcmd disku /bin/disku

du:		du.o
	cc -n $(CFLAGS) -o du du.o; rm du.o
du.o:		du.c		$I/stdio.h $I/sys/param.h $I/sys/stat.h \
				$I/sys/dir.h 
/bin/du:	du
	/etc/instcmd du /bin/du

echo:		echo.o
	cc -n $(CFLAGS) -o echo echo.o; rm echo.o
echo.o:		echo.c		$I/stdio.h 
/bin/echo:	echo
	/etc/instcmd echo /bin/echo

ed:		ed.o
	cc -n $(CFLAGS) -o ed ed.o; rm ed.o
ed.o:		ed.c		$I/signal.h $I/sgtty.h $I/setjmp.h 
/bin/ed:	ed
	/etc/instcmd ed /bin/ed

egrep:		egrep.o
	cc -n $(CFLAGS) -o egrep egrep.o -ly; rm egrep.o
egrep.o:	egrep.y		$I/stdio.h 
/bin/egrep:	egrep
	/etc/instcmd egrep /bin/egrep

ended:		ended.o
	cc -n $(CFLAGS) -o ended ended.o; rm ended.o
ended.o:	ended.c		$I/stdio.h 
/bin/ended:	ended
	/etc/instcmd -m 4755 -o root ended /bin/ended

expr:		expr.o
	cc -n $(CFLAGS) -o expr expr.o; rm expr.o
expr.o:		expr.y		$I/stdio.h 
/bin/expr:	expr
	/etc/instcmd expr /bin/expr

false:		false.o
	cc -n $(CFLAGS) -o false false.o; rm false.o
false.o:	false.c		
/bin/false:	false
	/etc/instcmd false /bin/false

fetch:		fetch.o
	cc -n $(CFLAGS) -o fetch fetch.o; rm fetch.o
fetch.o:	fetch.c		$I/stdio.h 
/bin/fetch:	fetch
	/etc/instcmd fetch /bin/fetch

fgrep:		fgrep.o
	cc -n $(CFLAGS) -o fgrep fgrep.o; rm fgrep.o
fgrep.o:	fgrep.c		$I/stdio.h 
/bin/fgrep:	fgrep
	/etc/instcmd fgrep /bin/fgrep

file:		file.o
	cc -n $(CFLAGS) -o file file.o; rm file.o
file.o:		file.c		$I/sys/param.h $I/sys/stat.h $I/stdio.h \
				$I/ctype.h 
/bin/file:	file
	/etc/instcmd file /bin/file

find:		find.o
	cc -n $(CFLAGS) -o find find.o; rm find.o
find.o:		find.c		$I/stdio.h $I/sys/types.h $I/sys/dir.h \
				$I/sys/stat.h 
/bin/find:	find
	/etc/instcmd find /bin/find

findarch:	findarch.o
	cc -n $(CFLAGS) -o findarch findarch.o; rm findarch.o
findarch.o:	findarch.c	$I/stdio.h $I/sys/types.h $I/time.h \
				$I/pwd.h 
/bin/findarch:	findarch
	/etc/instcmd findarch /bin/findarch

fortune:	fortune.o
	cc -n $(CFLAGS) -o fortune fortune.o; rm fortune.o
fortune.o:	fortune.c	$I/stdio.h $I/sys/types.h $I/sys/stat.h 
/bin/fortune:	fortune
	/etc/instcmd fortune /bin/fortune

grep:		grep.o
	cc -n $(CFLAGS) -o grep grep.o; rm grep.o
grep.o:		grep.c		$I/stdio.h $I/ctype.h $I/sys/param.h 
/bin/grep:	grep
	/etc/instcmd grep /bin/grep

group:		group.o
	cc -n $(CFLAGS) -o group group.o; rm group.o
group.o:	group.c		$I/stdio.h $I/signal.h $I/grp.h \
				$I/pwd.h 
/bin/group:	group
	/etc/instcmd -m 4755 -o root group /bin/group 

hed:            hed.q           $I/stdio.h $I/sys/types.h $I/sys/stat.h \
				$I/signal.h $I/ctype.h 
	qs -n $(CFLAGS) -TR2 -o hed hed.q -lq
/bin/hed:	hed
	/etc/instcmd hed /bin/hed

hup:		hup.o
	cc -n $(CFLAGS) -o hup hup.o; rm hup.o
hup.o:		hup.c		$I/stdio.h $I/signal.h 
/bin/hup:	hup
	/etc/instcmd hup /bin/hup

ident:		ident.o
	cc -n $(CFLAGS) -o ident ident.o; rm ident.o
ident.o:	ident.c		$I/stdio.h $I/pwd.h $I/signal.h \
				$I/ctype.h 
/bin/ident:	ident
	/etc/instcmd -m 4755 -o root ident /bin/ident

join:		join.o
	cc -n $(CFLAGS) -o join join.o; rm join.o
join.o:		join.c		$I/stdio.h 
/bin/join:	join
	/etc/instcmd join /bin/join

kill:		kill.o
	cc -n $(CFLAGS) -o kill kill.o; rm kill.o
kill.o:		kill.c		$I/stdio.h $I/signal.h 
/bin/kill:	kill
	/etc/instcmd kill /bin/kill

ld:		ld.o
	cc -n $(CFLAGS) -o ld ld.o; rm ld.o
ld.o:		ld.c		$I/stdio.h $I/signal.h $I/a.out.h \
				$I/sys/types.h $I/sys/stat.h 
/bin/ld:	ld
	/etc/instcmd ld /bin/ld

ln:		ln.o
	cc -n $(CFLAGS) -o ln ln.o; rm ln.o
ln.o:		ln.c		$I/sys/types.h $I/sys/stat.h $I/stdio.h 
/bin/ln:	ln
	/etc/instcmd ln /bin/ln

logname:	logname.o
	cc -n $(CFLAGS) -o logname logname.o; rm logname.o
logname.o:	logname.c	$I/stdio.h $I/pwd.h 
/bin/logname:	logname
	/etc/instcmd logname /bin/logname

logoff:		logoff.o
	cc -n $(CFLAGS) -o logoff logoff.o; rm logoff.o
logoff.o:	logoff.c	$I/sgtty.h 
/bin/logoff:	logoff
	/etc/instcmd logoff /bin/logoff

look:		look.o
	cc -n $(CFLAGS) -o look look.o; rm look.o
look.o:		look.c		$I/stdio.h $I/ctype.h 
/bin/look:	look
	/etc/instcmd look /bin/look

ls:		ls.o
	cc -n $(CFLAGS) -o ls ls.o; rm ls.o
ls.o:		ls.c		$I/sys/param.h $I/sys/stat.h $I/sys/dir.h \
				$I/stdio.h 
/bin/ls:	ls
	/etc/instcmd ls /bin/ls

mail:		mail.o
	cc -n $(CFLAGS) -o mail mail.o; rm mail.o
mail.o:		mail.c		$I/stdio.h $I/pwd.h $I/grp.h \
				$I/utmp.h $I/signal.h $I/sys/types.h \
				$I/sys/stat.h $I/setjmp.h $I/ctype.h 
	cc -c $(CFLAGS) -DR2 mail.c
/bin/mail \
/usr/spool/bin/rmail:      mail
	/etc/instcmd -m 4755 -o root mail /bin/mail /usr/spool/bin/rmail

man:		man.o
	cc -n $(CFLAGS) -o man man.o; rm man.o
man.o:		man.c		$I/stdio.h $I/ctype.h $I/sys/types.h \
				$I/sys/dir.h $I/sys/stat.h $I/sgtty.h 
/bin/man:	man
	/etc/instcmd man /bin/man

mcc:		mcc.o
	cc -n $(CFLAGS) -o mcc mcc.o; rm mcc.o
mcc.o:		mcc.c		$I/stdio.h $I/ctype.h $I/signal.h \
				$I/sys/types.h $I/sys/stat.h 
/bin/mqs \
/bin/mcc:	mcc
	/etc/instcmd mcc /bin/mcc /bin/mqs

mer:		mer.o
	cc -n $(CFLAGS) -o mer mer.o; rm mer.o
mer.o:		mer.c		$I/stdio.h 
/bin/mer:	mer
	/etc/instcmd mer /bin/mer

mesg:		mesg.o
	cc -n $(CFLAGS) -o mesg mesg.o; rm mesg.o
mesg.o:		mesg.c		$I/stdio.h $I/sys/types.h $I/sys/stat.h 
/bin/mesg:	mesg
	/etc/instcmd mesg /bin/mesg

mkdir:		mkdir.o
	cc -n $(CFLAGS) -o mkdir mkdir.o; rm mkdir.o
mkdir.o:	mkdir.c		$I/signal.h $I/stdio.h 
/bin/mkdir:	mkdir
	/etc/instcmd -m 4755 -o root mkdir /bin/mkdir 

mkmk:		mkmk.o
	cc -n $(CFLAGS) -o mkmk mkmk.o; rm mkmk.o
mkmk.o:		mkmk.c		$I/stdio.h $I/ctype.h $I/sys/types.h \
				$I/sys/stat.h 
/bin/mkmk:	mkmk
	/etc/instcmd mkmk /bin/mkmk

mlint:		mlint.o
	cc -n $(CFLAGS) -o mlint mlint.o; rm mlint.o
mlint.o:	mlint.c		$I/stdio.h $I/sys/types.h $I/sys/stat.h \
				$I/signal.h $I/ctype.h 
/bin/mlint:	mlint
	/etc/instcmd mlint /bin/mlint

moduser:	moduser.o
	cc -n $(CFLAGS) -o moduser moduser.o -lq; rm moduser.o
moduser.o:	moduser.q	$I/stdio.h $I/sys/types.h $I/sys/stat.h \
				$I/signal.h $I/pwd.h $I/grp.h 
/bin/moduser:	moduser
	/etc/instcmd -m 4755 -o root moduser /bin/moduser

mon:		mon.o
	cc -n $(CFLAGS) -o mon mon.o; rm mon.o
mon.o:		mon.c		$I/stdio.h $I/signal.h $I/sys/pstate.h \
				$I/sys/param.h $I/sys/times.h $I/a.out.h 
/bin/mon:	mon
	/etc/instcmd mon /bin/mon

msg:		msg.o
	cc -n $(CFLAGS) -o msg msg.o; rm msg.o
msg.o:		msg.c		$I/stdio.h 
/bin/msg:	msg
	/etc/instcmd msg /bin/msg

mspell:		mspell.o
	cc -n $(CFLAGS) -o mspell mspell.o -lq; rm mspell.o
mspell.o:	mspell.q	$I/stdio.h $I/ctype.h $I/signal.h \
				$I/sys/types.h $I/sys/stat.h $I/sgtty.h 
/bin/mspell:	mspell
	/etc/instcmd mspell /bin/mspell

mv:		mv.o
	cc -n $(CFLAGS) -o mv mv.o; rm mv.o
mv.o:		mv.c		$I/stdio.h $I/sys/types.h $I/sys/stat.h \
				$I/sys/dir.h $I/signal.h 
/bin/mv:	mv
	/etc/instcmd -m 4755 -o root mv /bin/mv 

mvdir:		mvdir.o
	cc -n $(CFLAGS) -o mvdir mvdir.o; rm mvdir.o
mvdir.o:	mvdir.c		$I/sys/param.h $I/sys/stat.h $I/errno.h \
				$I/stdio.h 
/bin/mvdir:	mvdir
	/etc/instcmd -m 4755 -o root mvdir /bin/mvdir 

newgrp:		newgrp.o
	cc -n $(CFLAGS) -o newgrp newgrp.o; rm newgrp.o
newgrp.o:	newgrp.c	$I/stdio.h $I/grp.h $I/pwd.h 
/bin/newgrp:	newgrp
	/etc/instcmd -m 4755 -o root newgrp /bin/newgrp 

nice:		nice.o
	cc -n $(CFLAGS) -o nice nice.o; rm nice.o
nice.o:		nice.c		$I/stdio.h 
/bin/nice:	nice
	/etc/instcmd nice /bin/nice

nm:		nm.o
	cc -n $(CFLAGS) -o nm nm.o; rm nm.o
nm.o:		nm.c		$I/ar.h $I/a.out.h $I/stdio.h \
				$I/ctype.h 
/bin/nm:	nm
	/etc/instcmd nm /bin/nm

help:		help.o
	cc -n $(CFLAGS) -o help help.o; rm help.o
help.o:		help.c		$I/stdio.h $I/ctype.h 
/bin/help:	help
	/etc/instcmd help /bin/help

nohup:		nohup.o
	cc -n $(CFLAGS) -o nohup nohup.o; rm nohup.o
nohup.o:	nohup.c		$I/stdio.h $I/signal.h 
/bin/nohup:	nohup
	/etc/instcmd nohup /bin/nohup

oprf:		oprf.o
	cc -n $(CFLAGS) -o oprf oprf.o; rm oprf.o
	rm -f cprf
	ln oprf cprf
oprf.o:		oprf.c		$I/stdio.h 
/bin/oprf:	oprf
	/etc/instcmd oprf /bin/oprf /bin/cprf
	rm -f cprf
passwd:		passwd.o
	cc -n $(CFLAGS) -o passwd passwd.o; rm passwd.o
passwd.o:	passwd.c	$I/stdio.h $I/signal.h $I/pwd.h 
/bin/passwd:	passwd
	/etc/instcmd -m 4755 -o root passwd /bin/passwd

pf:		pf.o
	cc -n $(CFLAGS) -o pf pf.o; rm pf.o
pf.o:		pf.c		$I/stdio.h $I/sgtty.h 
/bin/pf:	pf
	/etc/instcmd pf /bin/pf

pick:		pick.o
	cc -n $(CFLAGS) -o pick pick.o; rm pick.o
pick.o:		pick.c		$I/stdio.h 
/bin/pick:	pick
	/etc/instcmd pick /bin/pick

pr:		pr.o
	cc -n $(CFLAGS) -o pr pr.o; rm pr.o
pr.o:		pr.c		$I/stdio.h $I/signal.h $I/sys/types.h \
				$I/sys/stat.h 
/bin/pr:	pr
	/etc/instcmd pr /bin/pr

profile:	profile.o
	cc -n $(CFLAGS) -o profile profile.o; rm profile.o
profile.o:	profile.c	$I/stdio.h $I/pwd.h $I/ctype.h \
				$I/signal.h 
/bin/profile:	profile
	/etc/instcmd -m 4755 -o root profile /bin/profile 

ps:		ps.o
	cc -n $(CFLAGS) -o ps ps.o; rm ps.o
ps.o:		ps.c		$I/stdio.h $I/a.out.h $I/sys/param.h \
				$I/sys/proc.h $I/sys/tty.h $I/sys/dir.h \
				$I/sys/user.h $I/sys/stat.h 
/bin/ps:	ps
	/etc/instcmd ps /bin/ps

ptx:		ptx.o
	cc -n $(CFLAGS) -o ptx ptx.o; rm ptx.o
ptx.o:		ptx.c		$I/stdio.h $I/ctype.h $I/signal.h 
/bin/ptx:	ptx
	/etc/instcmd ptx /bin/ptx

pvm:         pvm.o
	cc -n $(CFLAGS) -o pvm pvm.o -ltcl; rm pvm.o
pvm.o:       pvm.tcl        $I/signal.h $I/stdio.h $I/pwd.h
	tclpp pvm.tcl;cc -c pvm.c;rm pvm.c
pvm.tcl:       pvm.tcl+
	rest pvm.tcl
/bin/pvm:    pvm
	/etc/instcmd pvm /bin/pvm

pwd:		pwd.o
	cc -n $(CFLAGS) -o pwd pwd.o; rm pwd.o
pwd.o:		pwd.c		$I/stdio.h $I/sys/param.h $I/sys/stat.h \
				$I/sys/dir.h 
/bin/pwd:	pwd
	/etc/instcmd pwd /bin/pwd

q:		q.o
	cc -n $(CFLAGS) -o q q.o; rm q.o
q.o:		q.c		$I/errno.h $I/stdio.h $I/ctype.h 
/etc/cpcmd \
/bin/ind \
/bin/autolog \
/bin/mo \
/bin/q:         q
	/etc/instcmd -m 4755 -o root q /bin/q /bin/ind /bin/autolog /bin/mo /etc/cpcmd

qprf:		qprf.o
	cc -n $(CFLAGS) -o qprf qprf.o; rm qprf.o
qprf.o:         qprf.c          $I/stdio.h $I/signal.h $I/sys/types.h \
			        $I/sys/stat.h
/bin/qprf:	qprf
	/etc/instcmd qprf /bin/qprf

qprt:         qprt.o
	cc -n $(CFLAGS) -o qprt qprt.o -ltcl; rm qprt.o
qprt.o:       qprt.tcl        $I/signal.h $I/stdio.h $I/pwd.h
	tclpp qprt.tcl;cc -c qprt.c;rm qprt.c
qprt.tcl:       qprt.tcl+
	rest qprt.tcl
/bin/qprt:    qprt
	/etc/instcmd qprt /bin/qprt

qs:		qs.o
	cc -n $(CFLAGS) -o qs qs.o; rm qs.o
qs.o:		qs.c		$I/stdio.h $I/ctype.h 
/bin/qs:	qs
	/etc/instcmd qs /bin/qs

ranlib:		ranlib.o
	cc -n $(CFLAGS) -o ranlib ranlib.o; rm ranlib.o
ranlib.o:	ranlib.c	$I/sys/types.h $I/ar.h $I/a.out.h \
				$I/stdio.h 
/bin/ranlib:	ranlib
	/etc/instcmd ranlib /bin/ranlib

rm:		rm.o
	cc -n $(CFLAGS) -o rm rm.o; rm rm.o
rm.o:		rm.c		$I/stdio.h $I/sys/types.h $I/sys/stat.h \
				$I/sys/dir.h 
/bin/rm:	rm
	/etc/instcmd rm /bin/rm

rmdir:		rmdir.o
	cc -n $(CFLAGS) -o rmdir rmdir.o; rm rmdir.o
rmdir.o:	rmdir.c		$I/sys/types.h $I/sys/dir.h $I/sys/stat.h \
				$I/stdio.h 
/bin/rmdir:	rmdir
	/etc/instcmd -m 4755 -o root rmdir /bin/rmdir 

size:		size.o
	cc -n $(CFLAGS) -o size size.o; rm size.o
size.o:		size.c		$I/stdio.h $I/a.out.h 
/bin/size:	size
	/etc/instcmd size /bin/size

sleep:		sleep.o
	cc -n $(CFLAGS) -o sleep sleep.o; rm sleep.o
sleep.o:	sleep.c		
/bin/sleep:	sleep
	/etc/instcmd sleep /bin/sleep

smart:		smart.o
	cc -n $(CFLAGS) -o smart smart.o -lq; rm smart.o
smart.o:	smart.q		$I/qsdefs.h $I/stdio.h $I/sgtty.h \
				$I/errno.h 
/bin/smart:	smart
	/etc/instcmd smart /bin/smart

sort:		sort.o
	cc -n $(CFLAGS) -o sort sort.o; rm sort.o
sort.o:		sort.c		$I/stdio.h $I/ctype.h $I/signal.h \
				$I/sys/types.h $I/sys/stat.h 
/bin/sort:	sort
	/etc/instcmd sort /bin/sort

stats:		stats.o
	cc -n $(CFLAGS) -o stats stats.o; rm stats.o
stats.o:	stats.c		$I/stdio.h $I/signal.h $I/sys/types.h \
				$I/sys/stats.h $I/sys/stat.h $I/sys/timeb.h 
/bin/stats:	stats
	/etc/instcmd stats /bin/stats

strip:		strip.o
	cc -n $(CFLAGS) -o strip strip.o; rm strip.o
strip.o:	strip.c		
/bin/strip:     strip
	/etc/instcmd strip /bin/strip

stty:		stty.o
	cc -n $(CFLAGS) -o stty stty.o; rm stty.o
stty.o:		stty.c		$I/stdio.h $I/sgtty.h 
/bin/stty:	stty
	/etc/instcmd stty /bin/stty

su:		su.o
	cc -n $(CFLAGS) -o su su.o; rm su.o
su.o:		su.c		$I/stdio.h $I/pwd.h 
/bin/su:	su
	/etc/instcmd -m 4755 -o root su /bin/su 

sysname:	sysname.o
	cc -n $(CFLAGS) -o sysname sysname.o; rm sysname.o
sysname.o:	sysname.c	
/bin/sysname:	sysname
	/etc/instcmd sysname /bin/sysname

tab:		tab.o
	cc -n $(CFLAGS) -o tab tab.o; rm tab.o
tab.o:		tab.c		$I/stdio.h $I/sys/types.h $I/sys/stat.h \
				$I/signal.h 
/bin/tab:	tab
	/etc/instcmd tab /bin/tab

tail:		tail.o
	cc -n $(CFLAGS) -o tail tail.o; rm tail.o
tail.o:		tail.c		$I/sys/types.h $I/sys/stat.h $I/errno.h 
/bin/tail:	tail
	/etc/instcmd tail /bin/tail

tar:		tar.o
	cc -n $(CFLAGS) -o tar tar.o; rm tar.o
tar.o:		tar.c		$I/stdio.h $I/sys/types.h $I/sys/stat.h \
				$I/sys/dir.h $I/signal.h $I/sgtty.h 
/bin/tar:	tar
	/etc/instcmd tar /bin/tar

tclpp:		tclpp.o
	cc -n $(CFLAGS) -o tclpp tclpp.o; rm tclpp.o
tclpp.o:	tclpp.y		$I/stdio.h $I/ctype.h $I/tcl/3270.h \
				$I/tcl/keyboard.h 
/bin/tclpp:	tclpp
	/etc/instcmd tclpp /bin/tclpp

tee:		tee.o
	cc -n $(CFLAGS) -o tee tee.o; rm tee.o
tee.o:		tee.c		$I/signal.h $I/sys/types.h $I/sys/stat.h \
				$I/errno.h 
/bin/tee:	tee
	/etc/instcmd tee /bin/tee

test:		test.o
	cc -n $(CFLAGS) -o test test.o; rm test.o
test.o:		test.c		$I/stdio.h $I/sys/types.h $I/sys/stat.h \
				$I/ctype.h 
/bin/[ \
/bin/test:	test
	/etc/instcmd test /bin/test /bin/\[

time:		time.o
	cc -n $(CFLAGS) -o time time.o; rm time.o
time.o:		time.c		$I/stdio.h $I/signal.h $I/sys/types.h \
				$I/sys/times.h $I/sys/timeb.h 
/bin/time:	time
	/etc/instcmd time /bin/time

touch:		touch.o
	cc -n $(CFLAGS) -o touch touch.o; rm touch.o
touch.o:	touch.c		$I/stdio.h $I/sys/types.h $I/sys/stat.h 
/bin/touch:	touch
	/etc/instcmd touch /bin/touch

tprf:		tprf.o
	cc -n $(CFLAGS) -o tprf tprf.o; rm tprf.o
tprf.o:		tprf.c		$I/stdio.h 
/bin/tprf:	tprf
	/etc/instcmd tprf /bin/tprf

tr:		tr.o
	cc -n $(CFLAGS) -o tr tr.o; rm tr.o
tr.o:		tr.c		$I/stdio.h 
/bin/tr:	tr
	/etc/instcmd tr /bin/tr

true:		true.o
	cc -n $(CFLAGS) -o true true.o; rm true.o
true.o:		true.c		
/bin/true:	true
	/etc/instcmd true /bin/true

tsoid:		tsoid.o
	cc -n $(CFLAGS) -o tsoid tsoid.o; rm tsoid.o
tsoid.o:	tsoid.c		$I/stdio.h $I/sys/types.h $I/sys/stat.h \
				$I/ctype.h $I/pwd.h 
/bin/tsoid:	tsoid
	/etc/instcmd tsoid /bin/tsoid

tsort:		tsort.o
	cc -n $(CFLAGS) -o tsort tsort.o; rm tsort.o
tsort.o:	tsort.c		$I/stdio.h 
/bin/tsort:	tsort
	/etc/instcmd tsort /bin/tsort

tty:		tty.o
	cc -n $(CFLAGS) -o tty tty.o; rm tty.o
tty.o:		tty.c		
/bin/tty:	tty
	/etc/instcmd tty /bin/tty

typo:		typo.o
	cc -n $(CFLAGS) -o typo typo.o; rm typo.o
typo.o:		typo.c		
/bin/typo:	typo
	/etc/instcmd typo /bin/typo

unarch:		unarch.o
	cc -n $(CFLAGS) -o unarch unarch.o; rm unarch.o
unarch.o:	unarch.c	$I/stdio.h 
/bin/unarch:	unarch
	/etc/instcmd unarch /bin/unarch

uniq:		uniq.o
	cc -n $(CFLAGS) -o uniq uniq.o; rm uniq.o
uniq.o:		uniq.c		$I/stdio.h $I/ctype.h 
/bin/uniq:	uniq
	/etc/instcmd uniq /bin/uniq

units:		units.o
	cc -n $(CFLAGS) -o units units.o; rm units.o
units.o:	units.c		
/bin/units:     units
	/etc/instcmd units /bin/units

untab:		untab.o
	cc -n $(CFLAGS) -o untab untab.o; rm untab.o
untab.o:	untab.c		$I/stdio.h $I/sys/types.h $I/sys/stat.h \
				$I/signal.h 
/bin/untab:	untab
	/etc/instcmd untab /bin/untab

uux:		uux.o
	cc -n $(CFLAGS) -o uux uux.o; rm uux.o
uux.o:		uux.c		$I/stdio.h 
/bin/uux:	uux
	/etc/instcmd uux /bin/uux

vm:         vm.o
	cc -n $(CFLAGS) -o vm vm.o -ltcl; rm vm.o
vm.o:       vm.tcl        $I/signal.h $I/stdio.h $I/pwd.h
	tclpp vm.tcl;cc -c vm.c;rm vm.c
vm.tcl:       vm.tcl+
	rest vm.tcl
/bin/vm:    vm
	/etc/instcmd vm /bin/vm

vmid:		vmid.o
	cc -n $(CFLAGS) -o vmid vmid.o; rm vmid.o
vmid.o:		vmid.c		
/bin/vmid:	vmid
	/etc/instcmd vmid /bin/vmid

vmmsg:		vmmsg.o
	cc -n $(CFLAGS) -o vmmsg vmmsg.o; rm vmmsg.o
vmmsg.o:	vmmsg.c		$I/stdio.h $I/ctype.h $I/pwd.h 
/bin/vmmsg:	vmmsg
	/etc/instcmd -m 4755 -o root vmmsg /bin/vmmsg 

wc:		wc.o
	cc -n $(CFLAGS) -o wc wc.o; rm wc.o
wc.o:		wc.c		$I/stdio.h 
/bin/wc:	wc
	/etc/instcmd wc /bin/wc

who:		who.o
	cc -n $(CFLAGS) -o who who.o; rm who.o
who.o:		who.c		$I/stdio.h $I/utmp.h $I/pwd.h 
/bin/who:	who
	/etc/instcmd who /bin/who

whois:		whois.o
	cc -n $(CFLAGS) -o whois whois.o; rm whois.o
whois.o:	whois.c		$I/stdio.h $I/ctype.h $I/utmp.h 
/bin/whois:	whois
	/etc/instcmd whois /bin/whois

write:		write.o
	cc -n $(CFLAGS) -o write write.o; rm write.o
write.o:	write.c		$I/stdio.h $I/sys/types.h $I/sys/stat.h \
				$I/signal.h $I/utmp.h 
/bin/write:	write
	/etc/instcmd write /bin/write

ww:		ww.o
	cc -n $(CFLAGS) -o ww ww.o; rm ww.o
ww.o:		ww.c		$I/stdio.h $I/a.out.h $I/sys/param.h \
				$I/sys/proc.h $I/sys/tty.h $I/sys/dir.h \
				$I/sys/user.h $I/sys/stat.h $I/pwd.h 
/bin/ww:	ww
	/etc/instcmd ww /bin/ww

xd:		xd.o
	cc -n $(CFLAGS) -o xd xd.o; rm xd.o
xd.o:		xd.c		$I/stdio.h 
/bin/xd:	xd
	/etc/instcmd xd /bin/xd

yes:		yes.o
	cc -n $(CFLAGS) -o yes yes.o; rm yes.o
yes.o:		yes.c		$I/signal.h 
/bin/yes:	yes
	/etc/instcmd yes /bin/yes


