Home | History | Annotate | Line # | Download | only in atari
Makefile revision 1.7
      1  1.7      apb #	$NetBSD: Makefile,v 1.7 2008/10/25 22:27:37 apb Exp $
      2  1.1      leo 
      3  1.3  mycroft # Makefile for atari tags file and boot blocks
      4  1.2      leo 
      5  1.3  mycroft # Find where m68k source files are for inclusion in tags
      6  1.3  mycroft .include <../m68k/Makefile.inc>
      7  1.1      leo 
      8  1.3  mycroft TATARI=	../atari/tags
      9  1.3  mycroft SATARI=	../atari/atari/*.[ch] ../atari/include/*.h \
     10  1.3  mycroft 	../atari/dev/*.[ch]
     11  1.3  mycroft AATARI=	../atari/atari/*.s
     12  1.1      leo 
     13  1.3  mycroft # Directories in which to place tags links
     14  1.1      leo DATARI=	atari dev include
     15  1.1      leo 
     16  1.3  mycroft .include "../../kern/Make.tags.inc"
     17  1.1      leo 
     18  1.1      leo tags:
     19  1.3  mycroft 	-ctags -wdtf ${TATARI} ${SATARI} ${SM68K} ${COMM}
     20  1.3  mycroft 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AATARI} ${AM68K} | \
     21  1.7      apb 	    ${TOOL_SED} "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     22  1.1      leo 	    >> ${TATARI}
     23  1.1      leo 	sort -o ${TATARI} ${TATARI}
     24  1.1      leo 
     25  1.1      leo links:
     26  1.1      leo 	-for i in ${DATARI}; do \
     27  1.3  mycroft 	    cd $$i && rm -f tags; ln -s ../tags tags; done
     28  1.3  mycroft 
     29  1.3  mycroft 
     30  1.6    lukem SUBDIR=	compile dev include stand
     31  1.1      leo 
     32  1.2      leo .include <bsd.subdir.mk>
     33