CFLAGS = -O
I = /usr/include

au:		au.o
	cc -n $(CFLAGS) -o au au.o; rm au.o
au.o:		au.c		$I/stdio.h $I/time.h acct.h \
				$I/acctfile.h $I/pwd.h 
/bin/au:	au
	/etc/instcmd au /bin/au

ac:		ac.o
	cc -n $(CFLAGS) -o ac ac.o; rm ac.o
ac.o:		ac.c		$I/stdio.h $I/time.h acct.h \
				$I/acctfile.h 
/bin/ac:	ac
	/etc/instcmd ac /bin/ac

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

acctpk:		acctpk.o
	cc -n $(CFLAGS) -o acctpk acctpk.o; rm acctpk.o
acctpk.o:	acctpk.c	acct.h $I/acctfile.h $I/pwd.h \
				$I/sys/param.h $I/sys/filsys.h $I/sys/ino.h \
				$I/utmp.h $I/acct.h $I/sys/acct.h \
				$I/stdio.h $I/ctype.h $I/signal.h \
				$I/time.h 
/etc/acctpk:	acctpk
	/etc/instcmd acctpk /etc/acctpk

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

