Home | History | Annotate | Line # | Download | only in amiga
Makefile revision 1.16.2.4
      1  1.16.2.4    skrll #	$NetBSD: Makefile,v 1.16.2.4 2005/11/10 13:51:35 skrll 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.16.2.1    skrll TAMIGA=	${SYSDIR}/arch/amiga/tags
      9  1.16.2.1    skrll SAMIGA=	${SYSDIR}/arch/amiga/amiga/*.[ch] ${SYSDIR}/arch/amiga/include/*.h \
     10  1.16.2.1    skrll 	${SYSDIR}/arch/amiga/dev/*.[ch]
     11  1.16.2.1    skrll 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.16.2.4    skrll 	-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.16.2.1    skrll 	    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