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