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