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