Home | History | Annotate | Line # | Download | only in macppc
Makefile revision 1.5.4.1
      1  1.5.4.1    yamt #	$NetBSD: Makefile,v 1.5.4.1 2008/01/21 09:37:25 yamt 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.5.4.1    yamt 		${SYSDIR}/contrib/dev/ath/*.[ch] \
     11  1.5.4.1    yamt 		${SYSDIR}/contrib/dev/ath/netbsd/*.[ch] \
     12  1.5.4.1    yamt 		${SYSDIR}/contrib/dev/ath/public/*.[ch]
     13  1.5.4.1    yamt SIMACPPC+=	${SYSDIR}/arch/powerpc/powerpc/*.[ch] \
     14  1.5.4.1    yamt 		${SYSDIR}/arch/powerpc/include/*.h \
     15  1.5.4.1    yamt 		${SYSDIR}/arch/powerpc/pci/*.[ch]
     16      1.4  dyoung AIMACPPC=	${SYSDIR}/arch/macppc/macppc/*.[sS]
     17      1.4  dyoung 
     18      1.4  dyoung # Directories in which to place tags links
     19      1.4  dyoung DIMACPPC=	macppc dev include pci
     20      1.4  dyoung 
     21      1.4  dyoung .include "../../kern/Make.tags.inc"
     22      1.4  dyoung 
     23      1.4  dyoung tags:
     24  1.5.4.1    yamt 	-rm -f ${TIMACPPC}
     25  1.5.4.1    yamt 	-echo ${SIMACPPC} | xargs ctags -wadtf ${TIMACPPC}
     26  1.5.4.1    yamt 	-${FINDCOMM} | xargs ctags -wadtf ${TIMACPPC}
     27      1.4  dyoung 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AIMACPPC} | \
     28      1.5  dyoung 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3	\1	/^\2(\3\4$$/;" \
     29      1.4  dyoung 		>> ${TIMACPPC}
     30      1.4  dyoung 	sort -o ${TIMACPPC} ${TIMACPPC}
     31      1.4  dyoung 
     32      1.4  dyoung links:
     33      1.4  dyoung 	-for i in ${DIMACPPC}; do \
     34      1.4  dyoung 	    (cd $$i && rm -f tags; ln -s ../tags tags); done
     35      1.1  tsubai 
     36  1.5.4.1    yamt SUBDIR=	compile include stand ../powerpc/include
     37      1.1  tsubai 
     38      1.1  tsubai .include <bsd.subdir.mk>
     39