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