Sync usage with man page.
[netbsd-mini2440.git] / sys / arch / luna68k / Makefile
blob8500194ab78c0838e030d657528eb54afe1a1173
1 # $NetBSD: Makefile,v 1.2 2003/01/06 17:40:35 lukem Exp $
3 # Makefile for luna68k tags file
5 # Find where mips source files are for inclusion in tags
6 .include <../m68k/Makefile.inc>
8 TLUNA68K= ../luna68k/tags
9 SLUNA68K= ../luna68k/luna68k/*.[ch] ../luna68k/include/*.h \
10 ../luna68k/dev/*.[ch]
11 ALUNA68K= ../luna68k/luna68k/*.s
13 # Directories in which to place tags links
14 DLUNA68K= dev include
16 .include "../../kern/Make.tags.inc"
18 tags:
19 -ctags -wdtf ${TLUNA68K} ${SLUNA68K} ${COMM}
20 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ALUNA68K} | \
21 ${TOOL_SED} -e \
22 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
23 >> ${TLUNA68K}
24 sort -o ${TLUNA68K} ${TLUNA68K}
26 links:
27 -for i in ${DLUNA68K}; do \
28 cd $$i && rm -f tags; ln -s ../tags tags; done
30 SUBDIR= compile include
32 .include <bsd.subdir.mk>