Home | History | Annotate | Line # | Download | only in amiga
Makefile revision 1.19
      1  1.19  christos #	$NetBSD: Makefile,v 1.19 2005/12/11 12:16:26 christos Exp $
      2  1.10       cgd 
      3  1.12   mycroft # Makefile for amiga tags file and boot blocks
      4   1.1        mw 
      5  1.14   mycroft # Find where m68k source files are for inclusion in tags
      6  1.14   mycroft .include <../m68k/Makefile.inc>
      7   1.1        mw 
      8  1.17   aymeric TAMIGA=	${SYSDIR}/arch/amiga/tags
      9  1.17   aymeric SAMIGA=	${SYSDIR}/arch/amiga/amiga/*.[ch] ${SYSDIR}/arch/amiga/include/*.h \
     10  1.17   aymeric 	${SYSDIR}/arch/amiga/dev/*.[ch]
     11  1.17   aymeric AAMIGA=	${SYSDIR}/arch/amiga/amiga/*.s
     12   1.1        mw 
     13  1.14   mycroft # Directories in which to place tags links
     14   1.5    chopps DAMIGA=	amiga dev include
     15   1.1        mw 
     16  1.12   mycroft .include "../../kern/Make.tags.inc"
     17   1.7    chopps 
     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.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