No empty .Rs/.Re
[netbsd-mini2440.git] / sys / arch / news68k / Makefile
blob72dd9c220cedd3eabe97d1f8923906009b70876f
1 # $NetBSD: Makefile,v 1.3 2003/01/06 17:40:41 lukem Exp $
3 # Makefile for news68k tags file
5 # Find where m68k source files are for inclusion in tags
6 .include <../m68k/Makefile.inc>
8 TNEWS68K= ../news68k/tags
9 SNEWS68K= ../news68k/news68k/*.[ch] ../news68k/include/*.h \
10 ../news68k/dev/*.[ch]
11 ANEWS68K= ../news68k/news68k/*.S
13 # Directories in which to place tags links
14 DNEWS68K= dev include
16 .include "../../kern/Make.tags.inc"
18 tags:
19 -ctags -wdtf ${TNEWS68K} ${SNEWS68K} ${COMM}
20 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ANEWS68K} | \
21 ${TOOL_SED} -e \
22 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
23 >> ${TNEWS68K}
24 sort -o ${TNEWS68K} ${TNEWS68K}
26 links:
27 -for i in ${DNEWS68K}; do \
28 cd $$i && rm -f tags; ln -s ../tags tags; done
30 SUBDIR= compile include stand
32 .include <bsd.subdir.mk>