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