1 # $NetBSD: Makefile,v 1.2 2003/01/06 17:40:46 lukem Exp $
3 # Makefile for tags file
6 SPREP
= ..
/prep
/prep
/*.
[ch
] ..
/prep
/include/*.h ..
/prep
/isa
/*.
[ch
] \
8 APREP
= ..
/prep
/prep
/*.
[sS
]
10 # Directories in which to place tags links
13 .
include "../../kern/Make.tags.inc"
16 -ctags
-wdtf
${TPREP} ${SPREP} ${COMM}
17 egrep
"^ENTRY(.*)|^ALTENTRY(.*)" ${APREP} | \
19 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
21 sort -o
${TPREP} ${TPREP}
24 -for i in
${DPREP}; do \
25 cd
$$i && rm -f
tags; ln
-s ..
/tags tags; done
28 SUBDIR
= compile
include stand
30 .
include <bsd.subdir.mk
>