Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / arch / amd64 / Makefile
blobbdafa51a6121ea95adf15ff17953760b2a4c4ea0
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"
17 tags:
18 rm -f ${TAMD64}
19 -echo ${SAMD64} ${COMM} | xargs ctags -wadtf ${TAMD64}
20 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMD64} | \
21 ${TOOL_SED} -e \
22 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
23 >> ${TAMD64}
24 sort -o ${TAMD64} ${TAMD64}
26 links:
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>