Home | History | Annotate | Line # | Download | only in ofppc
      1 #	$NetBSD: Makefile,v 1.7 2011/04/04 19:47:21 dyoung Exp $
      2 
      3 .include <../powerpc/Makefile.inc>
      4 
      5 TOFPPC=	${SYSDIR}/arch/ofppc/tags
      6 SOFPPC=	${SYSDIR}/arch/ofppc/ofppc/*.[ch] \
      7 	${SYSDIR}/arch/ofppc/isa/*.[ch] \
      8 	${SYSDIR}/arch/ofppc/pci/*.[ch] \
      9 	${SYSDIR}/arch/ofppc/include/*.h
     10 AOFPPC=	${SYSDIR}/arch/ofppc/ofppc/*.S
     11 
     12 DOFPPC=	include
     13 
     14 .include "../../kern/Make.tags.inc"
     15 
     16 tags:
     17 	-rm -f ${TOFPPC}
     18 	-echo ${SOFPPC} ${SPPC} | xargs ctags -wadtf ${TOFPPC}
     19 	-${FINDCOMM} | xargs ctags -wadtf ${TOFPPC}
     20 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AOFPPC} ${APPC} | \
     21 	    ${TOOL_SED} -e \
     22 		"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3	\1	/^\2(\3\4$$/;" \
     23 	    >> ${TOFPPC}
     24 	sort -o ${TOFPPC} ${TOFPPC}
     25 
     26 links:
     27 	-for i in ${DOFPPC}; do \
     28 	    cd $$i && rm -f tags; ln -s ../tags tags; done
     29 
     30 
     31 SUBDIR=	compile include stand
     32 
     33 .include <bsd.subdir.mk>
     34