1 # $NetBSD: Makefile,v 1.5 2008/10/25 22:27:36 apb Exp $
2
3 # Makefile for acorn32 tags file and boot blocks
4
5 TACORN32= ../acorn32/tags
6 SACORN32= ../acorn32/acorn32/*.[ch] ../acorn32/include/*.h \
7 ../acorn32/dev/*.[ch] ../acorn32/podulebus/*.[ch] ../acorn32/mainbus/*.[ch]
8 AACORN32= ../acorn32/acorn32/*.s
9
10 # Directories in which to place tags links
11 DACORN32= dev mainbus podulebus include
12
13 .include "../../kern/Make.tags.inc"
14
15 tags:
16 -ctags -wdtf ${TACORN32} ${SACORN32} ${COMM}
17 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AACORN32} | \
18 ${TOOL_SED} -e \
19 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
20 >> ${TACORN32}
21 sort -o ${TACORN32} ${TACORN32}
22
23 links:
24 -for i in ${DACORN32}; do \
25 cd $$i && rm -f tags; ln -s ../tags tags; done
26
27
28 SUBDIR= compile include stand
29
30 .include <bsd.subdir.mk>
Cache object: c963d4706a5a820194542e36c9dcbaab
|