No empty .Rs/.Re
[netbsd-mini2440.git] / sys / arch / rs6000 / Makefile
blob8a8b5ff856ea5d740fde627405c4d8d7f3b0d259
1 # $NetBSD: Makefile,v 1.1 2007/12/17 19:09:01 garbled Exp $
3 # Makefile for tags file
5 TRS6000= ../rs6000/tags
6 SRS6000= ../rs6000/rs6000/*.[ch] ../rs6000/include/*.h \
7 ../rs6000/mca/*.[ch] ../rs6000/ioplanar/*.[ch]
8 ARS6000= ../rs6000/rs6000/*.[sS]
10 # Directories in which to place tags links
11 DRS6000= include
13 .include "../../kern/Make.tags.inc"
15 tags:
16 -ctags -wdtf ${TRS6000} ${SRS6000} ${COMM}
17 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ARS6000} | \
18 ${TOOL_SED} -e \
19 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
20 >> ${TRS6000}
21 sort -o ${TRS6000} ${TRS6000}
23 links:
24 -for i in ${DRS6000}; do \
25 cd $$i && rm -f tags; ln -s ../tags tags; done
28 SUBDIR= compile include stand
30 .include <bsd.subdir.mk>