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