# All rights reserved. The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
#
-# @(#)Makefile.vax 7.1 (Berkeley) 6/5/86
+# @(#)Makefile.vax 7.8 (Berkeley) 10/22/87
#
# Makefile for 4.3 BSD
#
errs linterrs makelinks
lint: /tmp param.c
- @lint -hbxn -DGENERIC ${COPTS} ${PARAM} ../vax/Locore.c \
- ${CFILES} ../vax/swapgeneric.c ioconf.c param.c | \
+ @lint -hbxn -DGENERIC ${COPTS} ${PARAM} \
+ ../vax/Locore.c ${CFILES} ioconf.c param.c | \
grep -v 'struct/union .* never defined' | \
grep -v 'possible pointer alignment problem'
crl.o flp.o mba.o uba.o vaxcpu.o : Makefile
# depend on network configuration
-af.o uipc_proto.o locore.o: Makefile
+af.o uipc_proto.o uipc_domain.o locore.o: Makefile
+
+# depends on kdb being configured
+trap.o: Makefile
# depend on maxusers
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 ../vaxuba/ubavar.h \
../vaxuba/ubareg.h ../h/proc.h ../h/msgbuf.h ../h/text.h ../h/user.h \
- ../vax/rpb.h
+ ../vax/rpb.h ../machine/vmparam.h
cc ${INCLUDES} ${IDENT} ${PARAM} ../vax/genassym.c
./a.out >assym.s; rm -f a.out
depend: assym.s
- ${CC} -M ${COPTS} ${CFILES} | \
- sed -e ':loop' \
- -e 's/\.\.\/[^ /]*\/\.\./../' \
- -e 't loop' | \
- 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 '/^# DO NOT DELETE THIS LINE/+1,$$d' >eddep
- echo '$$r makedep' >>eddep
- echo 'w' >>eddep
- cp Makefile Makefile.bak
- ex - Makefile < eddep
- rm eddep makedep
-
+ mkdep ${COPTS} ${CFILES}
links:
egrep '#if' ${CFILES} | sed -f ../conf/defines | \
sh makelinks && rm -f dontlink
tags:
- /usr/ucb/ctags ${CFILES}
+ @echo "see ../sys/Makefile for tags"
print:
@pr -f Makefile ../sys/TODO linterrs