add cpu_set_init_frame to initialize init's syscall frame
[unix-history] / usr / src / sys / vax / Makefile
index 27d0d6a..2254f8c 100644 (file)
@@ -1,32 +1,28 @@
-#      @(#)Makefile    7.5 (Berkeley) %G%
+#      @(#)Makefile    8.1 (Berkeley) %G%
 
 
-# Makefile for vax tags file
+# Makefile for vax link, tags file
 
 .include "../kern/Make.tags.inc"
 
 all:
 
 .include "../kern/Make.tags.inc"
 
 all:
-       @echo "make tags or links only"
+       @echo "make links or tags only"
 
 
-TVAX=  ../vax/tags
-SVAX=  ../vax/if/*.[ch]  ../vax/mba/*.[ch] ../vax/uba/*.[ch] \
-       ../vax/bi/*.[ch] ../vax/vax/*.[ch] ../vax/include/*.h
-AVAX=  ../vax/vax/*.s
+DIRS=  bi cassette conf consolerl datakit dist floppy if include mba \
+       mdec uba vax
 
 
-# Directories in which to place vax tags links
-DVAX=  if mba uba bi include
+links::
+       -for i in ${DIRS}; do \
+           (cd $$i && { rm -f tags; ln -s ${SYSTAGS} tags; }) done
 
 
-tags: FRC
-       -ctags -dtf ${TVAX} ${COMM} ${SVAX}
-       egrep "^SCBVEC(.*)" ${AVAX} | \
-           sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);X\3 \1 /^\2(\3\4$$/;" \
-               >> ${TVAX}
-       egrep "^ENTRY(.*)|^JSBENTRY(.*)" ${AVAX} | \
-           sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
-               >> ${TVAX}
-       sort -o ${TVAX} ${TVAX}
-
-links:
-       -for i in ${DVAX}; do \
-           (cd $$i && rm -f tags; ln -s ../tags tags); done
+VAX=   /sys/vax/bi/*.[ch] /sys/vax/if/*.[ch] /sys/vax/include/*.[ch] \
+       /sys/vax/mba/*.[ch] /sys/vax/uba/*.[ch] /sys/vax/vax/*.[ch]
+AVAX=  /sys/vax/vax/*.s
 
 
-FRC:
+tags::
+       -ctags -wdt ${COMM} ${VAX}
+       egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AVAX} | \
+           sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
+               >> tags
+       sort -o tags tags
+       chown bin.wsrc tags
+       chmod 444 tags