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