-depend:
- grep '^#include' ${ALLC} | grep -v '<' | \
- sed -e 's/:[^"]*"\([^"]*\)".*/: \1/' \
- -e 's/\.c/$.o/' | \
- awk ' { if ($$1 != prev) { print rec; rec = $$0; prev = $$1; } \
- else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \
- else rec = rec " " $$2 } } \
- END { print rec } ' > makedep
- echo '$$r makedep' >>eddep
- echo '/^# DO NOT DELETE THIS LINE/+1,$$d' >eddep
- echo '$$r makedep' >>eddep
- echo 'w' >>eddep
- -rm -f makefile.bak
- cp makefile makefile.bak
- ed - makefile < eddep
- -rm eddep makedep
-
-# DO NOT DELETE THIS LINE
-
-apilib.o: ../ctlr/api.h apilib.h
-api_bsd.o: ../ctlr/api.h api_exch.h
-api_exch.o: ../general/general.h api_exch.h
-asc_ebc.o: asc_ebc.h
-astosc.o: ../general/general.h ../ctlr/function.h astosc.h astosc.OUT
-dctype.o: dctype.h
-disp_asc.o: disp_asc.h asc_disp.out disp_asc.OUT