Home | History | Annotate | Line # | Download | only in macppc
      1  1.9     snj #	$NetBSD: Makefile,v 1.9 2009/08/07 18:48:38 snj 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.9     snj 		${SYSDIR}/external/isc/atheros_hal/dist/*.[ch] \
     11  1.9     snj 		${SYSDIR}/external/isc/atheros_hal/dist/*/*.[ch] \
     12  1.9     snj 		${SYSDIR}/external/isc/atheros_hal/ic/*.[ch]
     13  1.7  dyoung SIMACPPC+=	${SYSDIR}/arch/powerpc/powerpc/*.[ch] \
     14  1.7  dyoung 		${SYSDIR}/arch/powerpc/include/*.h \
     15  1.7  dyoung 		${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.7  dyoung 	-rm -f ${TIMACPPC}
     25  1.7  dyoung 	-echo ${SIMACPPC} | xargs ctags -wadtf ${TIMACPPC}
     26  1.7  dyoung 	-${FINDCOMM} | xargs ctags -wadtf ${TIMACPPC}
     27  1.4  dyoung 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AIMACPPC} | \
     28  1.8     apb 	    ${TOOL_SED} -e \
     29  1.8     apb 	"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3	\1	/^\2(\3\4$$/;" \
     30  1.4  dyoung 		>> ${TIMACPPC}
     31  1.4  dyoung 	sort -o ${TIMACPPC} ${TIMACPPC}
     32  1.4  dyoung 
     33  1.4  dyoung links:
     34  1.4  dyoung 	-for i in ${DIMACPPC}; do \
     35  1.4  dyoung 	    (cd $$i && rm -f tags; ln -s ../tags tags); done
     36  1.1  tsubai 
     37  1.7  dyoung SUBDIR=	compile include stand ../powerpc/include
     38  1.1  tsubai 
     39  1.1  tsubai .include <bsd.subdir.mk>
     40