# @(#)Makefile 7.3 (Berkeley) 6/9/91
# Makefile for vax tags file
@echo
"make tags or links only"
SVAX
= ..
/vax
/if
/*.
[ch
] ..
/vax
/mba
/*.
[ch
] ..
/vax
/uba
/*.
[ch
] \
..
/vax
/bi
/*.
[ch
] ..
/vax
/vax
/*.
[ch
] ..
/vax
/include/*.h
# Directories in which to place vax tags links
DVAX
= if mba uba bi
include
-ctags
-dtf
${TVAX} ${COMM} ${SVAX}
egrep
"^SCBVEC(.*)" ${AVAX} | \
sed
"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);X\3 \1 /^\2(\3\4$$/;" \
egrep
"^ENTRY(.*)|^JSBENTRY(.*)" ${AVAX} | \
sed
"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
cd
$$i && rm -f
tags; ln
-s ..
/tags tags; done