Home | History | Annotate | Line # | Download | only in amd64
Makefile revision 1.5.16.2
      1  1.5.16.2  rmind #	$NetBSD: Makefile,v 1.5.16.2 2011/04/21 01:40:47 rmind 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.5.16.2  rmind 		${SYSDIR}/arch/amd64/include/*.h \
      8  1.5.16.2  rmind 		${SYSDIR}/external/isc/atheros_hal/dist/*.[ch] \
      9  1.5.16.2  rmind 		${SYSDIR}/external/isc/atheros_hal/dist/*/*.[ch] \
     10  1.5.16.2  rmind 		${SYSDIR}/external/isc/atheros_hal/ic/*.[ch]
     11  1.5.16.2  rmind SAMD64+=	${SYSDIR}/arch/x86/x86/*.[ch] \
     12  1.5.16.2  rmind 		${SYSDIR}/arch/x86/acpi/*.[ch] \
     13  1.5.16.2  rmind 		${SYSDIR}/arch/x86/include/*.h \
     14  1.5.16.2  rmind 		${SYSDIR}/arch/x86/isa/*.[ch] \
     15  1.5.16.2  rmind 		${SYSDIR}/arch/x86/pci/*.[ch]
     16  1.5.16.2  rmind AAMD64=		${SYSDIR}/arch/amd64/amd64/*.S \
     17  1.5.16.2  rmind 		${SYSDIR}/arch/amd64/acpi/*.S
     18       1.1   fvdl # Directories in which to place tags links
     19       1.2   fvdl DAMD64=		amd64 isa include pci
     20       1.1   fvdl 
     21       1.1   fvdl .include "../../kern/Make.tags.inc"
     22       1.1   fvdl 
     23       1.1   fvdl tags:
     24  1.5.16.1  rmind 	-rm -f ${TAMD64}
     25  1.5.16.1  rmind 	-echo ${SAMD64} | xargs ctags -wadtf ${TAMD64}
     26  1.5.16.1  rmind 	-find -H ${SYSDIR}/external/intel-public/acpica/dist/ -name '*.[ch]' | \
     27  1.5.16.1  rmind 	    sort -t / -u | xargs ctags -wadtf ${TAMD64}
     28  1.5.16.1  rmind 	-${FINDCOMM} | xargs ctags -wadtf ${TAMD64}
     29       1.2   fvdl 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMD64} | \
     30       1.4    apb 	    ${TOOL_SED} -e \
     31  1.5.16.2  rmind 		"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3	\1	/^\2(\3\4$$/;" \
     32       1.2   fvdl 		>> ${TAMD64}
     33       1.2   fvdl 	sort -o ${TAMD64} ${TAMD64}
     34       1.1   fvdl 
     35       1.1   fvdl links:
     36       1.2   fvdl 	-for i in ${DAMD64}; do \
     37       1.1   fvdl 	    (cd $$i && rm -f tags; ln -s ../tags tags); done
     38       1.1   fvdl 
     39       1.1   fvdl 
     40       1.5    mrg SUBDIR=	compile include ../x86/include ../xen/include \
     41       1.5    mrg 	../i386/include ../i386/stand
     42       1.1   fvdl 
     43       1.1   fvdl .include <bsd.subdir.mk>
     44