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