# @(#)Makefile 7.1 (Berkeley) %G%
# Makefile for pmax tags file
.
include "../kern/Make.tags.inc"
@echo
"make tags or links only"
SPMAX
= ..
/pmax
/pmax
/*.
[ch
] ..
/pmax
/include/*.h ..
/pmax
/dev
/*.
[ch
]
# Directories in which to place pmax tags links
-ctags
-dtf
${TPMAX} ${COMM} ${SPMAX}
egrep
"^LEAF(.*)|^ALEAF(.*)|^NON_LEAF(.*)" ${APMAX} | \
sed
"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
sort -o
${TPMAX} ${TPMAX}
cd ..
/$$i && rm -f
tags; ln
-s ..
/tags tags; done