Home | History | Annotate | Line # | Download | only in macppc
Makefile revision 1.7.16.1
      1  1.7.16.1    haad #	$NetBSD: Makefile,v 1.7.16.1 2008/12/13 01:13:17 haad 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.7  dyoung 		${SYSDIR}/contrib/dev/ath/*.[ch] \
     11       1.7  dyoung 		${SYSDIR}/contrib/dev/ath/netbsd/*.[ch] \
     12       1.7  dyoung 		${SYSDIR}/contrib/dev/ath/public/*.[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.7.16.1    haad 	    ${TOOL_SED} -e \
     29  1.7.16.1    haad 	"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