No empty .Rs/.Re
[netbsd-mini2440.git] / sys / arch / mac68k / Makefile
blob7351426bd480f86633f8277f2b01381b1be755e9
1 # $NetBSD: Makefile,v 1.9 2007/02/25 05:47:55 dyoung Exp $
3 # Makefile for mac68k tags file and boot blocks
5 # Find where m68k source files are for inclusion in tags
6 .include <../m68k/Makefile.inc>
8 TMAC68K=${SYSDIR}/arch/mac68k/tags
9 SMAC68K=${SYSDIR}/arch/mac68k/mac68k/*.[ch] ${SYSDIR}/arch/mac68k/include/*.h \
10 ${SYSDIR}/arch/mac68k/nubus/*.[ch] ${SYSDIR}/arch/mac68k/obio/*.[ch] \
11 ${SYSDIR}/arch/mac68k/dev/*.[ch]
12 AMAC68K=${SYSDIR}/arch/mac68k/mac68k/*.s ${SYSDIR}/arch/mac68k/dev/*.s
14 # Directories in which to place tags links
15 DMAC68K=mac68k dev include nubus obio
17 .include "../../kern/Make.tags.inc"
19 tags:
20 -rm -f ${TMAC68K}
21 -echo ${SMAC68K} ${SM68K} ${COMM} | xargs ctags -wdtf ${TMAC68K}
22 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AMAC68K} ${AM68K} | \
23 ${TOOL_SED} -e \
24 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
25 >> ${TMAC68K}
26 sort -o ${TMAC68K} ${TMAC68K}
28 links:
29 -for i in ${DMAC68K}; do \
30 (cd $$i && rm -f tags; ln -s ../tags tags); done
33 SUBDIR= compile include
35 .include <bsd.subdir.mk>