# make everything in this directory

all: doco
	make -f make.cap
	make -f make.dap
	make -f make.daputil
	echo acq_source: all object builds complete

doco:
	if [ ! -f make.cap ]; then co -q make.cap; fi
	if [ ! -f make.dap ]; then co -q make.dap; fi
	if [ ! -f make.daputil ]; then co -q make.daputil; fi

clean:
	make -f make.cap clean
	make -f make.dap clean
	make -f make.daputil clean

depend:
	make -f make.cap depend
	make -f make.dap depend
	make -f make.daputil depend

clobber:
	make -f make.cap clobber
	make -f make.dap clobber
	make -f make.daputil clobber
# only delete makefile if not writable
	if [ ! -w make.cap ]; then rm -f make.cap; fi
	if [ ! -w make.dap ]; then rm -f make.dap; fi
	if [ ! -w make.daputil ]; then rm -f make.daputil; fi

install: all
	make -f make.cap install
	make -f make.dap install
	make -f make.daputil install
	echo acq_source: all objects into /rsx/rsx_bin complete

