Home | History | Annotate | Line # | Download | only in evbppc
      1 #	$NetBSD: Makefile,v 1.3 2011/04/04 19:46:40 dyoung Exp $
      2 
      3 .include <../powerpc/Makefile.inc>
      4 
      5 # XXX Fix this to deal with multiple "evbppc" ports.
      6 TEVBPPC=	${SYSDIR}/arch/evbppc/tags
      7 SEVBPPC=	${SYSDIR}/arch/evbppc/evbppc/*.[ch]
      8 SEVBPPC+=	${SYSDIR}/arch/evbppc/include/*.h
      9 SEVBPPC+=	${SYSDIR}/arch/evbppc/pmppc/dev/*.[ch]
     10 SEVBPPC+=	${SYSDIR}/arch/evbppc/pmppc/pci/*.[ch]
     11 SEVBPPC+=	${SYSDIR}/arch/evbppc/pmppc/*.[ch]
     12 AEVBPPC=	${SYSDIR}/arch/evbppc/ev64260/*.S \
     13 		${SYSDIR}/arch/evbppc/explora/*.S \
     14 		${SYSDIR}/arch/evbppc/mpc85xx/*.S \
     15 		${SYSDIR}/arch/evbppc/obs405/*.S \
     16 		${SYSDIR}/arch/evbppc/pmppc/*.S \
     17 		${SYSDIR}/arch/evbppc/virtex/*.S \
     18 		${SYSDIR}/arch/evbppc/walnut/*.S
     19 
     20 DEVBPPC=	include
     21 
     22 .include "../../kern/Make.tags.inc"
     23 
     24 tags:
     25 	-rm -f ${TEVBPPC}
     26 	-echo ${SEVBPPC} ${SPPC} | xargs ctags -wadtf ${TEVBPPC}
     27 	-${FINDCOMM} | xargs ctags -wadtf ${TEVBPPC}
     28 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AEVBPPC} ${APPC} | \
     29 	    ${TOOL_SED} -e \
     30 		"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3	\1	/^\2(\3\4$$/;" \
     31 	    >> ${TEVBPPC}
     32 	sort -o ${TEVBPPC} ${TEVBPPC}
     33 
     34 links:
     35 	-for i in ${DEVBPPC}; do \
     36 	    cd $$i && rm -f tags; ln -s ../tags tags; done
     37 
     38 
     39 SUBDIR=	compile include
     40 
     41 .include <bsd.subdir.mk>
     42