Home | History | Annotate | Line # | Download | only in amd64
Makefile revision 1.2
      1  1.2  fvdl #	$NetBSD: Makefile,v 1.2 2003/04/26 19:16:36 fvdl Exp $
      2  1.1  fvdl 
      3  1.2  fvdl # Makefile for amd64 tags file and boot blocks
      4  1.1  fvdl 
      5  1.2  fvdl TAMD64=		${SYSDIR}/arch/amd64/tags
      6  1.2  fvdl SAMD64=		${SYSDIR}/arch/amd64/amd64/*.[ch] \
      7  1.2  fvdl 		${SYSDIR}/arch/amd64/include/*.h \
      8  1.2  fvdl 		${SYSDIR}/arch/amd64/isa/*.[ch] \
      9  1.2  fvdl 		${SYSDIR}/arch/amd64/pci/*.[ch]
     10  1.2  fvdl AAMD64=		${SYSDIR}/arch/amd64/amd64/*.s ${SYSDIR}/arch/amd64/isa/*.s
     11  1.1  fvdl 
     12  1.1  fvdl # Directories in which to place tags links
     13  1.2  fvdl DAMD64=		amd64 isa include pci
     14  1.1  fvdl 
     15  1.1  fvdl .include "../../kern/Make.tags.inc"
     16  1.1  fvdl 
     17  1.1  fvdl tags:
     18  1.2  fvdl 	rm -f ${TAMD64}
     19  1.2  fvdl 	-echo ${SAMD64} ${COMM} | xargs ctags -wadtf ${TAMD64}
     20  1.2  fvdl 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMD64} | \
     21  1.1  fvdl 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     22  1.2  fvdl 		>> ${TAMD64}
     23  1.2  fvdl 	sort -o ${TAMD64} ${TAMD64}
     24  1.1  fvdl 
     25  1.1  fvdl links:
     26  1.2  fvdl 	-for i in ${DAMD64}; do \
     27  1.1  fvdl 	    (cd $$i && rm -f tags; ln -s ../tags tags); done
     28  1.1  fvdl 
     29  1.1  fvdl 
     30  1.1  fvdl SUBDIR=	compile include ../x86/include ../i386/stand
     31  1.1  fvdl 
     32  1.1  fvdl .include <bsd.subdir.mk>
     33