1 1.1.2.3 thorpej # $NetBSD: Makefile,v 1.1.2.3 2003/01/07 21:07:40 thorpej Exp $ 2 1.1.2.2 thorpej 3 1.1.2.2 thorpej ETAGS?= etags 4 1.1.2.2 thorpej 5 1.1.2.2 thorpej # XXX Fix this to deal with multiple "evbppc" ports. 6 1.1.2.2 thorpej SEVBPPC= evbppc/*.[ch] include/*.h 7 1.1.2.2 thorpej AEVBPPC= 8 1.1.2.2 thorpej 9 1.1.2.2 thorpej SPPC= ../powerpc/ibm4xx/*.[ch] ../powerpc/powerpc/*.[ch] \ 10 1.1.2.2 thorpej ../powerpc/include/*.h ../powerpc/include/ibm4xx/*.h \ 11 1.1.2.2 thorpej ../powerpc/fpu/*.[ch] 12 1.1.2.2 thorpej APPC= ../powerpc/ibm4xx/*.[sS] ../powerpc/powerpc/*.[sS] 13 1.1.2.2 thorpej LPPC= ../../lib/libkern/arch/powerpc/*.[chsS] \ 14 1.1.2.2 thorpej ../../lib/libkern/*.[ch] \ 15 1.1.2.2 thorpej ../../lib/libsa/*.[ch] 16 1.1.2.2 thorpej 17 1.1.2.2 thorpej SYSDIR= ../.. 18 1.1.2.2 thorpej .include "../../kern/Make.tags.inc" 19 1.1.2.2 thorpej 20 1.1.2.2 thorpej .ifmake TAGS 21 1.1.2.2 thorpej COMM!= find ${SYSDIR} -name "arch" -prune -o -name "*.[ch]" -print 22 1.1.2.2 thorpej .endif 23 1.1.2.2 thorpej 24 1.1.2.2 thorpej TAGS: ${SEVBPPC} ${COMM} ${SPPC} ${COMM} ${ASPARC64} 25 1.1.2.2 thorpej @echo Making TAGS... 26 1.1.2.2 thorpej @${ETAGS} ${SEVBPPC} ${COMM} ${SPPC} ${COMM} "--regex=/^GLOBAL(\(.*\))/\1/" \ 27 1.1.2.2 thorpej "--regex=/^_C_LABEL(\(.*\)):/\1/" "--regex=/^\(.*\):/\1/" \ 28 1.1.2.2 thorpej "--regex=/^ENTRY(\(.*\)):/\1/" "--regex=/^ASENTRY(\(.*\)):/\1/" \ 29 1.1.2.2 thorpej ${APPC} ${AEVBPPC} 30 1.1.2.2 thorpej 31 1.1.2.3 thorpej 32 1.1.2.3 thorpej SUBDIR= compile include 33 1.1.2.3 thorpej 34 1.1.2.2 thorpej .include <bsd.subdir.mk> 35