Home | History | Annotate | Line # | Download | only in amiga
Makefile revision 1.17.12.1
      1  1.17.12.1     yamt #	$NetBSD: Makefile,v 1.17.12.1 2006/06/21 14:48:25 yamt 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.17.12.1     yamt # Find where m68k source files are for inclusion in tags
     16  1.17.12.1     yamt .include <../m68k/Makefile.inc>
     17  1.17.12.1     yamt 
     18        1.1       mw tags:
     19  1.17.12.1     yamt 	-echo ${COMM} | xargs ctags -wdtf ${TAMIGA} ${SAMIGA} ${SM68K}
     20       1.14  mycroft 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMIGA} ${AM68K} | \
     21        1.8   chopps 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     22        1.9   chopps 	    >> ${TAMIGA}
     23        1.9   chopps 	sort -o ${TAMIGA} ${TAMIGA}
     24        1.1       mw 
     25        1.1       mw links:
     26        1.8   chopps 	-for i in ${DAMIGA}; do \
     27       1.17  aymeric 	    cd ${.CURDIR}/$$i && rm -f tags; ln -s ../tags tags; done
     28       1.14  mycroft 
     29       1.14  mycroft 
     30       1.16    lukem SUBDIR=	compile include stand
     31        1.7   chopps 
     32       1.12  mycroft .include <bsd.subdir.mk>
     33