date and time created 92/07/24 15:36:59 by bostic
[unix-history] / usr / src / sys / vax / Makefile
CommitLineData
40d1980d 1# @(#)Makefile 7.5 (Berkeley) %G%
b87af5f1
KB
2
3# Makefile for vax tags file
4
0700758f
MK
5.include "../kern/Make.tags.inc"
6
b87af5f1
KB
7all:
8 @echo "make tags or links only"
9
10TVAX= ../vax/tags
11SVAX= ../vax/if/*.[ch] ../vax/mba/*.[ch] ../vax/uba/*.[ch] \
12 ../vax/bi/*.[ch] ../vax/vax/*.[ch] ../vax/include/*.h
13AVAX= ../vax/vax/*.s
14
15# Directories in which to place vax tags links
22046806 16DVAX= if mba uba bi include
b87af5f1 17
0700758f 18tags: FRC
b87af5f1
KB
19 -ctags -dtf ${TVAX} ${COMM} ${SVAX}
20 egrep "^SCBVEC(.*)" ${AVAX} | \
21 sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);X\3 \1 /^\2(\3\4$$/;" \
22 >> ${TVAX}
23 egrep "^ENTRY(.*)|^JSBENTRY(.*)" ${AVAX} | \
24 sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
25 >> ${TVAX}
26 sort -o ${TVAX} ${TVAX}
27
28links:
29 -for i in ${DVAX}; do \
40d1980d 30 (cd $$i && rm -f tags; ln -s ../tags tags); done
0700758f
MK
31
32FRC: