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