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