Home | History | Annotate | Line # | Download | only in amd64
Makefile revision 1.4
      1  1.4     apb #	$NetBSD: Makefile,v 1.4 2008/10/25 22:27:36 apb 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.4     apb 	    ${TOOL_SED} -e \
     22  1.4     apb 		"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     23  1.2    fvdl 		>> ${TAMD64}
     24  1.2    fvdl 	sort -o ${TAMD64} ${TAMD64}
     25  1.1    fvdl 
     26  1.1    fvdl links:
     27  1.2    fvdl 	-for i in ${DAMD64}; do \
     28  1.1    fvdl 	    (cd $$i && rm -f tags; ln -s ../tags tags); done
     29  1.1    fvdl 
     30  1.1    fvdl 
     31  1.3  bouyer SUBDIR=	compile include ../x86/include ../xen/include ../i386/stand
     32  1.1    fvdl 
     33  1.1    fvdl .include <bsd.subdir.mk>
     34