Home | History | Annotate | Line # | Download | only in macppc
Makefile revision 1.4
      1  1.4  dyoung #	$NetBSD: Makefile,v 1.4 2004/03/13 05:55:40 dyoung Exp $
      2  1.4  dyoung 
      3  1.4  dyoung # Makefile for macppc tags file
      4  1.4  dyoung 
      5  1.4  dyoung TIMACPPC=	${SYSDIR}/arch/macppc/tags
      6  1.4  dyoung SIMACPPC=	${SYSDIR}/arch/macppc/macppc/*.[ch] \
      7  1.4  dyoung 		${SYSDIR}/arch/macppc/include/*.h \
      8  1.4  dyoung 		${SYSDIR}/arch/macppc/dev/*.[ch] \
      9  1.4  dyoung 		${SYSDIR}/arch/macppc/pci/*.[ch] \
     10  1.4  dyoung 		${SYSDIR}/../contrib/sys/dev/ic/*.[ch]
     11  1.4  dyoung AIMACPPC=	${SYSDIR}/arch/macppc/macppc/*.[sS]
     12  1.4  dyoung 
     13  1.4  dyoung # Directories in which to place tags links
     14  1.4  dyoung DIMACPPC=	macppc dev include pci
     15  1.4  dyoung 
     16  1.4  dyoung .include "../../kern/Make.tags.inc"
     17  1.4  dyoung 
     18  1.4  dyoung tags:
     19  1.4  dyoung 	rm -f ${TIMACPPC}
     20  1.4  dyoung 	-echo ${SIMACPPC} ${COMM} | xargs ctags -wadtf ${TIMACPPC}
     21  1.4  dyoung 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AIMACPPC} | \
     22  1.4  dyoung 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     23  1.4  dyoung 		>> ${TIMACPPC}
     24  1.4  dyoung 	sort -o ${TIMACPPC} ${TIMACPPC}
     25  1.4  dyoung 
     26  1.4  dyoung links:
     27  1.4  dyoung 	-for i in ${DIMACPPC}; do \
     28  1.4  dyoung 	    (cd $$i && rm -f tags; ln -s ../tags tags); done
     29  1.1  tsubai 
     30  1.3   lukem SUBDIR=	compile include stand
     31  1.1  tsubai 
     32  1.1  tsubai .include <bsd.subdir.mk>
     33