1 1.1.6.2 thorpej # $NetBSD: Makefile,v 1.1.6.2 2002/01/10 19:35:59 thorpej Exp $ 2 1.1.6.2 thorpej 3 1.1.6.2 thorpej # Makefile for acorn32 tags file and boot blocks 4 1.1.6.2 thorpej 5 1.1.6.2 thorpej TACORN32= ../acorn32/tags 6 1.1.6.2 thorpej SACORN32= ../acorn32/acorn32/*.[ch] ../acorn32/include/*.h \ 7 1.1.6.2 thorpej ../acorn32/dev/*.[ch] ../acorn32/podulebus/*.[ch] ../acorn32/mainbus/*.[ch] 8 1.1.6.2 thorpej AACORN32= ../acorn32/acorn32/*.s 9 1.1.6.2 thorpej 10 1.1.6.2 thorpej # Directories in which to place tags links 11 1.1.6.2 thorpej DACORN32= dev mainbus podulebus include 12 1.1.6.2 thorpej 13 1.1.6.2 thorpej .include "../../kern/Make.tags.inc" 14 1.1.6.2 thorpej 15 1.1.6.2 thorpej tags: 16 1.1.6.2 thorpej -ctags -wdtf ${TACORN32} ${SACORN32} ${COMM} 17 1.1.6.2 thorpej egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AACORN32} | \ 18 1.1.6.2 thorpej sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 19 1.1.6.2 thorpej >> ${TACORN32} 20 1.1.6.2 thorpej sort -o ${TACORN32} ${TACORN32} 21 1.1.6.2 thorpej 22 1.1.6.2 thorpej links: 23 1.1.6.2 thorpej -for i in ${DACORN32}; do \ 24 1.1.6.2 thorpej cd $$i && rm -f tags; ln -s ../tags tags; done 25 1.1.6.2 thorpej 26 1.1.6.2 thorpej 27 1.1.6.2 thorpej SUBDIR= include 28 1.1.6.2 thorpej 29 1.1.6.2 thorpej .include <bsd.subdir.mk> 30