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