Home | History | Annotate | Line # | Download | only in i386
Makefile revision 1.31
      1  1.31   dyoung #	$NetBSD: Makefile,v 1.31 2008/01/10 07:35:09 dyoung Exp $
      2   1.1      cgd 
      3   1.3      cgd # Makefile for i386 tags file and boot blocks
      4  1.16    perry 
      5  1.16    perry TI386=	${SYSDIR}/arch/i386/tags
      6  1.31   dyoung SI386=	${SYSDIR}/arch/i386/acpi/*.[ch] \
      7  1.31   dyoung 	${SYSDIR}/arch/i386/eisa/*.[ch] \
      8  1.31   dyoung 	${SYSDIR}/arch/i386/i386/*.[ch] \
      9  1.31   dyoung 	${SYSDIR}/arch/i386/include/*.h \
     10  1.31   dyoung 	${SYSDIR}/arch/i386/isa/*.[ch] \
     11  1.22   dyoung 	${SYSDIR}/arch/i386/pci/*.[ch] \
     12  1.31   dyoung 	${SYSDIR}/arch/i386/pnpbios/*.[ch] \
     13  1.28   dyoung 	${SYSDIR}/contrib/dev/ath/*.[ch] \
     14  1.28   dyoung 	${SYSDIR}/contrib/dev/ath/netbsd/*.[ch] \
     15  1.28   dyoung 	${SYSDIR}/contrib/dev/ath/public/*.[ch]
     16  1.27   dyoung SI386+=	${SYSDIR}/arch/x86/x86/*.[ch] ${SYSDIR}/arch/x86/include/*.h \
     17  1.27   dyoung 	${SYSDIR}/arch/x86/isa/*.[ch] \
     18  1.27   dyoung 	${SYSDIR}/arch/x86/pci/*.[ch]
     19  1.28   dyoung AI386=	${SYSDIR}/arch/i386/i386/*.[sS]
     20   1.1      cgd 
     21  1.13  mycroft # Directories in which to place tags links
     22  1.16    perry DI386=	i386 eisa isa include pci
     23  1.11  mycroft 
     24  1.11  mycroft .include "../../kern/Make.tags.inc"
     25   1.1      cgd 
     26   1.1      cgd tags:
     27  1.28   dyoung 	-rm -f ${TI386}
     28  1.29   dyoung 	-echo ${SI386} | xargs ctags -wadtf ${TI386}
     29  1.29   dyoung 	-${FINDCOMM} | xargs ctags -wadtf ${TI386}
     30   1.1      cgd 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \
     31  1.24   dyoung 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3	\1	/^\2(\3\4$$/;" \
     32   1.1      cgd 		>> ${TI386}
     33   1.1      cgd 	sort -o ${TI386} ${TI386}
     34   1.1      cgd 
     35   1.1      cgd links:
     36   1.1      cgd 	-for i in ${DI386}; do \
     37  1.16    perry 	    (cd $$i && rm -f tags; ln -s ../tags tags); done
     38  1.13  mycroft 
     39  1.13  mycroft 
     40  1.21     fvdl SUBDIR=	compile include stand ../x86/include
     41   1.3      cgd 
     42  1.11  mycroft .include <bsd.subdir.mk>
     43