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