Home | History | Annotate | Line # | Download | only in amd64
Makefile revision 1.6.2.1
      1  1.6.2.1  jruoho #	$NetBSD: Makefile,v 1.6.2.1 2011/06/06 09:04:46 jruoho 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.6.2.1  jruoho 		${SYSDIR}/arch/amd64/include/*.h \
      8  1.6.2.1  jruoho 		${SYSDIR}/external/isc/atheros_hal/dist/*.[ch] \
      9  1.6.2.1  jruoho 		${SYSDIR}/external/isc/atheros_hal/dist/*/*.[ch] \
     10  1.6.2.1  jruoho 		${SYSDIR}/external/isc/atheros_hal/ic/*.[ch]
     11  1.6.2.1  jruoho SAMD64+=	${SYSDIR}/arch/x86/x86/*.[ch] \
     12  1.6.2.1  jruoho 		${SYSDIR}/arch/x86/acpi/*.[ch] \
     13  1.6.2.1  jruoho 		${SYSDIR}/arch/x86/include/*.h \
     14  1.6.2.1  jruoho 		${SYSDIR}/arch/x86/isa/*.[ch] \
     15  1.6.2.1  jruoho 		${SYSDIR}/arch/x86/pci/*.[ch]
     16  1.6.2.1  jruoho AAMD64=		${SYSDIR}/arch/amd64/amd64/*.S \
     17  1.6.2.1  jruoho 		${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.6  dyoung 	-rm -f ${TAMD64}
     25      1.6  dyoung 	-echo ${SAMD64} | xargs ctags -wadtf ${TAMD64}
     26      1.6  dyoung 	-find -H ${SYSDIR}/external/intel-public/acpica/dist/ -name '*.[ch]' | \
     27      1.6  dyoung 	    sort -t / -u | xargs ctags -wadtf ${TAMD64}
     28      1.6  dyoung 	-${FINDCOMM} | xargs ctags -wadtf ${TAMD64}
     29      1.2    fvdl 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMD64} | \
     30      1.4     apb 	    ${TOOL_SED} -e \
     31  1.6.2.1  jruoho 		"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