1 # $NetBSD: Makefile,v 1.9 2008/10/25 22:27:38 apb Exp $
3 # Makefile for x68k tags file and boot blocks
5 # Find where m68k source files are for inclusion in tags
6 .
include <..
/m68k
/Makefile.inc
>
9 SX68K
= ..
/x68k
/x68k
/*.
[ch
] ..
/x68k
/include/*.h \
11 AX68K
= ..
/x68k
/x68k
/*.s
13 # Directories in which to place tags links
14 DX68K
= x68k dev
include
16 .
include "../../kern/Make.tags.inc"
19 -ctags
-wdtf
${TX68K} ${SX68K} ${SM68K} ${COMM}
20 egrep
"^ENTRY(.*)|^ALTENTRY(.*)" ${AX68K} ${AM68K} | \
22 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
24 sort -o
${TX68K} ${TX68K}
27 -for i in
${DX68K}; do \
28 cd
$$i && rm -f
tags; ln
-s ..
/tags tags; done
31 SUBDIR
= compile
include usr.bin stand
33 .
include <bsd.subdir.mk
>