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