1 # $NetBSD: Makefile,v 1.2 2003/01/06 17:40:33 lukem Exp $
3 # Makefile for hpcarm tags file and boot blocks
5 THPCARM
= ..
/hpcarm
/tags
6 SHPCARM
= ..
/hpcarm
/hpcarm
/*.
[ch
] ..
/hpcarm
/include/*.h \
7 ..
/hpcarm
/dev
/*.
[ch
] ..
/hpcarm
/mainbus
/*.
[ch
] \
9 AHPCARM
= ..
/hpcarm
/hpcarm
/*.s ..
/hpcarm
/sa
/*.s
11 # Directories in which to place tags links
12 DHPCARM
= dev mainbus
include sa
14 .
include "../../kern/Make.tags.inc"
17 -ctags
-wdtf
${THPCARM} ${SHPCARM} ${COMM}
18 egrep
"^ENTRY(.*)|^ALTENTRY(.*)" ${AHPCARM} | \
20 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
22 sort -o
${THPCARM} ${THPCARM}
25 -for i in
${DHPCARM}; do \
26 cd
$$i && rm -f
tags; ln
-s ..
/tags tags; done
29 SUBDIR
= compile
include
31 .
include <bsd.subdir.mk
>