-assym.s: makefile
-
-assym.s: ../h/param.h ../machine/pte.h ../h/buf.h ../h/vmparam.h \
- ../h/vmmeter.h ../h/dir.h ../h/cmap.h ../h/map.h ../vba/vbavar.h \
- ../h/proc.h ../h/msgbuf.h
- ${LCC} -I/DIST/usr/include ${IDENT} ${PARAM} ../machine/genassym.c; ./a.out >assym.s; rm -f a.out
-
-../h/param.h: ../machine/param.h ../h/signal.h ../h/types.h
- ${TOUCH} ../h/param.h
-../h/tty.h: ../h/ttychars.h ../h/ttydev.h
- ${TOUCH} ../h/tty.h
-../h/ioctl.h: /usr/include/sgtty.h ../h/ttychars.h ../h/ttydev.h
- ${TOUCH} ../h/ioctl.h
-../h/user.h: ../machine/pcb.h ../h/dmap.h ../h/time.h ../h/resource.h \
- /usr/include/errno.h
- ${TOUCH} ../h/user.h
-../h/vm.h: ../h/vmmac.h ../h/vmmeter.h ../h/vmparam.h ../h/vmsystm.h
- ${TOUCH} ../h/vm.h
-../h/vmparam.h: ../machine/vmparam.h
- ${TOUCH} ../h/vmparam.h
-
-depend:
- grep '^#include' ${CFILES} | grep -v '<' | \
- sed -e 's/:[^"]*"\([^"]*\)".*/: \1/' \
- -e 's/\.c/.o/' \
- -e 's,../[a-zA-Z]*/,,' | \
- 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
- cp makefile makefile.bak
- ed - makefile < eddep
- rm eddep makedep