Home | History | Annotate | Line # | Download | only in evbppc
Makefile revision 1.2
      1 #	$NetBSD: Makefile,v 1.2 2003/01/06 17:40:28 lukem Exp $
      2 
      3 ETAGS?= etags
      4 
      5 # XXX Fix this to deal with multiple "evbppc" ports.
      6 SEVBPPC=	evbppc/*.[ch] include/*.h
      7 AEVBPPC=
      8 
      9 SPPC=		../powerpc/ibm4xx/*.[ch] ../powerpc/powerpc/*.[ch] \
     10 		../powerpc/include/*.h ../powerpc/include/ibm4xx/*.h \
     11 		../powerpc/fpu/*.[ch]
     12 APPC=		../powerpc/ibm4xx/*.[sS] ../powerpc/powerpc/*.[sS]
     13 LPPC=		../../lib/libkern/arch/powerpc/*.[chsS] \
     14 		../../lib/libkern/*.[ch] \
     15 		../../lib/libsa/*.[ch]
     16 
     17 SYSDIR=		../..
     18 .include "../../kern/Make.tags.inc"
     19 
     20 .ifmake TAGS
     21 COMM!=  find ${SYSDIR} -name "arch" -prune -o -name "*.[ch]" -print 
     22 .endif
     23 
     24 TAGS: ${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 
     32 SUBDIR=	compile include
     33 
     34 .include <bsd.subdir.mk>
     35