Home | History | Annotate | Line # | Download | only in sandpoint
      1 #	$NetBSD: Makefile,v 1.4 2011/04/04 19:47:50 dyoung Exp $
      2 
      3 .include <../powerpc/Makefile.inc>
      4 
      5 TSANDPOINT=	${SYSDIR}/arch/sandpoint/tags
      6 SSANDPOINT=	${SYSDIR}/arch/sandpoint/sandpoint/*.[ch] \
      7 		${SYSDIR}/arch/sandpoint/isa/*.[ch] \
      8 		${SYSDIR}/arch/sandpoint/pci/*.[ch] \
      9 		${SYSDIR}/arch/sandpoint/include/*.h
     10 ASANDPOINT=	${SYSDIR}/arch/sandpoint/sandpoint/*.S
     11 
     12 DSANDPOINT=	include
     13 
     14 .include "../../kern/Make.tags.inc"
     15 
     16 tags:
     17 	-rm -f ${TSANDPOINT}
     18 	-echo ${SSANDPOINT} ${SPPC} | xargs ctags -wadtf ${TSANDPOINT}
     19 	-${FINDCOMM} | xargs ctags -wadtf ${TSANDPOINT}
     20 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASANDPOINT} ${APPC} | \
     21 	    ${TOOL_SED} -e \
     22 		"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3	\1	/^\2(\3\4$$/;" \
     23 	    >> ${TSANDPOINT}
     24 	sort -o ${TSANDPOINT} ${TSANDPOINT}
     25 
     26 links:
     27 	-for i in ${DSANDPOINT}; 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