1 # $NetBSD: Makefile,v 1.4 2008/10/25 22:27:36 apb Exp $
3 # Makefile for amd64 tags file and boot blocks
5 TAMD64
= ${SYSDIR}/arch
/amd64
/tags
6 SAMD64
= ${SYSDIR}/arch
/amd64
/amd64
/*.
[ch
] \
7 ${SYSDIR}/arch
/amd64
/include/*.h \
8 ${SYSDIR}/arch
/amd64
/isa
/*.
[ch
] \
9 ${SYSDIR}/arch
/amd64
/pci
/*.
[ch
]
10 AAMD64
= ${SYSDIR}/arch
/amd64
/amd64
/*.s
${SYSDIR}/arch
/amd64
/isa
/*.s
12 # Directories in which to place tags links
13 DAMD64
= amd64 isa
include pci
15 .
include "../../kern/Make.tags.inc"
19 -echo
${SAMD64} ${COMM} | xargs ctags
-wadtf
${TAMD64}
20 egrep
"^ENTRY(.*)|^ALTENTRY(.*)" ${AAMD64} | \
22 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
24 sort -o
${TAMD64} ${TAMD64}
27 -for i in
${DAMD64}; do \
28 (cd
$$i && rm -f
tags; ln
-s ..
/tags tags); done
31 SUBDIR
= compile
include ..
/x86
/include ..
/xen
/include \
32 ..
/i386
/include ..
/i386
/stand
34 .
include <bsd.subdir.mk
>