Makefile revision 1.3
11.3Smycroft#	$NetBSD: Makefile,v 1.3 1997/10/11 09:10:26 mycroft Exp $
21.1Sleo
31.3Smycroft# Makefile for atari tags file and boot blocks
41.2Sleo
51.3Smycroft# Find where m68k source files are for inclusion in tags
61.3Smycroft.include <../m68k/Makefile.inc>
71.1Sleo
81.3SmycroftTATARI=	../atari/tags
91.3SmycroftSATARI=	../atari/atari/*.[ch] ../atari/include/*.h \
101.3Smycroft	../atari/dev/*.[ch]
111.3SmycroftAATARI=	../atari/atari/*.s
121.1Sleo
131.3Smycroft# Directories in which to place tags links
141.1SleoDATARI=	atari dev include
151.1Sleo
161.3Smycroft.include "../../kern/Make.tags.inc"
171.1Sleo
181.1Sleotags:
191.3Smycroft	-ctags -wdtf ${TATARI} ${SATARI} ${SM68K} ${COMM}
201.3Smycroft	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AATARI} ${AM68K} | \
211.1Sleo	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
221.1Sleo	    >> ${TATARI}
231.1Sleo	sort -o ${TATARI} ${TATARI}
241.1Sleo
251.1Sleolinks:
261.1Sleo	-for i in ${DATARI}; do \
271.3Smycroft	    cd $$i && rm -f tags; ln -s ../tags tags; done
281.3Smycroft
291.3Smycroft
301.3SmycroftSUBDIR= stand
311.1Sleo
321.2Sleo.include <bsd.subdir.mk>
33