Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / arch / i386 / Makefile
blobc982b0cc34ab02a55802b53f7c07fd06c4af05e1
1 # $NetBSD: Makefile,v 1.37 2009/05/28 18:13:46 dyoung Exp $
3 # Makefile for i386 tags file and boot blocks
5 TI386= ${SYSDIR}/arch/i386/tags
6 SI386= ${SYSDIR}/arch/i386/acpi/*.[ch] \
7 ${SYSDIR}/arch/i386/eisa/*.[ch] \
8 ${SYSDIR}/arch/i386/i386/*.[ch] \
9 ${SYSDIR}/arch/i386/include/*.h \
10 ${SYSDIR}/arch/i386/isa/*.[ch] \
11 ${SYSDIR}/arch/i386/mca/*.[ch] \
12 ${SYSDIR}/arch/i386/pci/*.[ch] \
13 ${SYSDIR}/arch/i386/pnpbios/*.[ch] \
14 ${SYSDIR}/external/isc/atheros_hal/dist/*.[ch] \
15 ${SYSDIR}/external/isc/atheros_hal/dist/*/*.[ch] \
16 ${SYSDIR}/external/isc/atheros_hal/ic/*.[ch]
17 SI386+= ${SYSDIR}/arch/x86/x86/*.[ch] \
18 ${SYSDIR}/arch/x86/acpi/*.[ch] \
19 ${SYSDIR}/arch/x86/include/*.h \
20 ${SYSDIR}/arch/x86/isa/*.[ch] \
21 ${SYSDIR}/arch/x86/pci/*.[ch]
22 AI386= ${SYSDIR}/arch/i386/i386/*.[sS]
24 # Directories in which to place tags links
25 DI386= i386 eisa isa include pci
27 .include "../../kern/Make.tags.inc"
29 tags:
30 -rm -f ${TI386}
31 -echo ${SI386} | xargs ctags -wadtf ${TI386}
32 -find -H ${SYSDIR}/external/intel-public/acpica/dist/ -name '*.[ch]' | \
33 sort -t / -u | xargs ctags -wadtf ${TI386}
34 -${FINDCOMM} | xargs ctags -wadtf ${TI386}
35 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \
36 ${TOOL_SED} -e \
37 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
38 >> ${TI386}
39 sort -o ${TI386} ${TI386}
41 links:
42 -for i in ${DI386}; do \
43 (cd $$i && rm -f tags; ln -s ../tags tags); done
46 SUBDIR= compile include stand ../x86/include ../xen/include
48 .include <bsd.subdir.mk>