Home | History | Annotate | Line # | Download | only in amd64
Makefile revision 1.5
      1  1.5   mrg #	$NetBSD: Makefile,v 1.5 2008/10/26 02:14:59 mrg 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.5   mrg SUBDIR=	compile include ../x86/include ../xen/include \
     32  1.5   mrg 	../i386/include ../i386/stand
     33  1.1  fvdl 
     34  1.1  fvdl .include <bsd.subdir.mk>
     35