Home | History | Annotate | Line # | Download | only in amiga
      1  1.21      apb #	$NetBSD: Makefile,v 1.21 2008/10/25 22:27:36 apb Exp $
      2  1.10      cgd 
      3  1.12  mycroft # Makefile for amiga tags file and boot blocks
      4   1.1       mw 
      5  1.17  aymeric TAMIGA=	${SYSDIR}/arch/amiga/tags
      6  1.17  aymeric SAMIGA=	${SYSDIR}/arch/amiga/amiga/*.[ch] ${SYSDIR}/arch/amiga/include/*.h \
      7  1.17  aymeric 	${SYSDIR}/arch/amiga/dev/*.[ch]
      8  1.17  aymeric AAMIGA=	${SYSDIR}/arch/amiga/amiga/*.s
      9   1.1       mw 
     10  1.14  mycroft # Directories in which to place tags links
     11   1.5   chopps DAMIGA=	amiga dev include
     12   1.1       mw 
     13  1.12  mycroft .include "../../kern/Make.tags.inc"
     14   1.7   chopps 
     15  1.20  aymeric # Find where m68k source files are for inclusion in tags
     16  1.20  aymeric .include <../m68k/Makefile.inc>
     17  1.20  aymeric 
     18   1.1       mw tags:
     19  1.18  aymeric 	-echo ${COMM} | xargs ctags -wdtf ${TAMIGA} ${SAMIGA} ${SM68K}
     20  1.14  mycroft 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMIGA} ${AM68K} | \
     21  1.21      apb 	    ${TOOL_SED} -e \
     22  1.21      apb 		"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     23   1.9   chopps 	    >> ${TAMIGA}
     24   1.9   chopps 	sort -o ${TAMIGA} ${TAMIGA}
     25   1.1       mw 
     26   1.1       mw links:
     27   1.8   chopps 	-for i in ${DAMIGA}; do \
     28  1.17  aymeric 	    cd ${.CURDIR}/$$i && rm -f tags; ln -s ../tags tags; done
     29  1.14  mycroft 
     30  1.14  mycroft 
     31  1.16    lukem SUBDIR=	compile include stand
     32   1.7   chopps 
     33  1.12  mycroft .include <bsd.subdir.mk>
     34