# Copyright (c) 1986 Regents of the University of California.
# All rights reserved. The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
# @(#)Makefile 7.3 (Berkeley) %G%
# Put the ../h stuff near the end so that subroutine definitions win when
# there is a struct tag with the same name (eg., vmmeter). The real
# solution would probably be for ctags to generate "struct vmmeter" tags.
SVAX
= ..
/net
/*.
[ch
] ..
/netimp
/*.
[ch
] ..
/netinet
/*.
[ch
] ..
/netns
/*.
[ch
] \
..
/sys
/*.
[ch
] ..
/vaxif
/*.
[ch
] ..
/vaxmba
/*.
[ch
] ..
/vaxuba
/*.
[ch
] \
STAHOE
= ..
/net
/*.
[ch
] ..
/netimp
/*.
[ch
] ..
/netinet
/*.
[ch
] ..
/netns
/*.
[ch
] \
..
/sys
/*.
[ch
] ..
/tahoeif
/*.
[ch
] ..
/tahoevba
/*.
[ch
] ..
/tahoe
/*.
[ch
] \
DGEN
= h sys net netimp netinet netns
DVAX
= vaxif vaxmba vaxuba
@echo
"make tags or links only"
${CTAGS} -atf
${TVAX} ${SVAX}
/usr
/bin
/egrep
"^SCBVEC(.*)|^ENTRY(.*)|^JSBENTRY(.*)" ${AVAX} | \
/bin
/sed
"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
/usr
/bin
/sort -o
${TVAX} ${TVAX}
-mv
${TTAHOE} ${TTAHOE}.old
${CTAGS} -atf
${TTAHOE} ${STAHOE}
/usr
/bin
/egrep
"^SCBVEC(.*)|^ENTRY(.*)|^JSBENTRY(.*)" ${ATAHOE} | \
/bin
/sed
"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
/usr
/bin
/sort -o
${TTAHOE} ${TTAHOE}
-for i in
${DVAX}; do
rm -f ..
/$$i/tags; \
ln
-s ..
/vax
/tags ..
/$$i/tags; done
-for i in
${DTAHOE}; do
rm -f ..
/$$i/tags; \
ln
-s ..
/tahoe
/tags ..
/$$i/tags; done
-for i in
${DGEN}; do
rm -f ..
/$$i/tags; \
ln
-s ..
/machine
/tags ..
/$$i/tags; done