# @(#)Makefile 7.5 (Berkeley) %G%
# Makefile for hp300 tags file
.
include "../kern/Make.tags.inc"
@echo
"make tags or links only"
SHP300
= ..
/hp300
/hp300
/*.
[ch
] ..
/hp300
/include/*.h \
..
/hp300
/hpux
/*.
[ch
] ..
/hp300
/dev
/*.
[ch
]
AHP300
= ..
/hp300
/hp300
/*.s
# Directories in which to place hp300 tags links
-ctags
-dtf
${THP300} ${COMM} ${SHP300}
egrep
"^ENTRY(.*)|^ALTENTRY(.*)" ${AHP300} | \
sed
"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
sort -o
${THP300} ${THP300}
-for i in
${DHP300}; do \
(cd
$$i && rm -f
tags; ln
-s ..
/tags tags); done