No empty .Rs/.Re
[netbsd-mini2440.git] / sys / arch / netwinder / Makefile
blob9ffd1b3e9d886504732449620c91af7332c708bb
1 # $NetBSD: Makefile,v 1.2 2003/01/06 17:40:40 lukem Exp $
3 # Makefile for netwinder tags file and boot blocks
5 TNETWINDER= ../netwinder/tags
6 SNETWINDER= ../netwinder/netwinder/*.[ch] ../netwinder/include/*.h \
7 ../netwinder/isa/*.[ch] ../netwinder/pci/*.[ch]
8 ANETWINDER= ../netwinder/netwinder/*.s
10 # Directories in which to place tags links
11 DNETWINDER= isa pci include
13 .include "../../kern/Make.tags.inc"
15 tags:
16 -ctags -wdtf ${TNETWINDER} ${SNETWINDER} ${COMM}
17 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ANETWINDER} | \
18 ${TOOL_SED} -e \
19 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
20 >> ${TNETWINDER}
21 sort -o ${TNETWINDER} ${TNETWINDER}
23 links:
24 -for i in ${DNETWINDER}; do \
25 cd $$i && rm -f tags; ln -s ../tags tags; done
28 SUBDIR= compile include
30 .include <bsd.subdir.mk>