1 1.11.10.1 thorpej # $NetBSD: Makefile,v 1.11.10.1 1997/10/14 08:25:41 thorpej Exp $ 2 1.10 cgd 3 1.11.10.1 thorpej # Makefile for amiga tags file and boot blocks 4 1.10 cgd 5 1.11.10.1 thorpej # Find where m68k source files are for inclusion in tags 6 1.11.10.1 thorpej .include <../m68k/Makefile.inc> 7 1.1 mw 8 1.11.10.1 thorpej TAMIGA= ../amiga/tags 9 1.11.10.1 thorpej SAMIGA= ../amiga/amiga/*.[ch] ../amiga/include/*.h \ 10 1.11.10.1 thorpej ../amiga/dev/*.[ch] 11 1.11.10.1 thorpej AAMIGA= ../amiga/amiga/*.s 12 1.1 mw 13 1.11.10.1 thorpej # Directories in which to place tags links 14 1.5 chopps DAMIGA= amiga dev include 15 1.1 mw 16 1.11.10.1 thorpej .include "../../kern/Make.tags.inc" 17 1.7 chopps 18 1.1 mw tags: 19 1.11.10.1 thorpej -ctags -wdtf ${TAMIGA} ${SAMIGA} ${SM68K} ${COMM} 20 1.11.10.1 thorpej 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.11.10.1 thorpej cd $$i && rm -f tags; ln -s ../tags tags; done 28 1.11.10.1 thorpej 29 1.5 chopps 30 1.11.10.1 thorpej SUBDIR= stand 31 1.7 chopps 32 1.11.10.1 thorpej .include <bsd.subdir.mk> 33