2009-08-30 06:00:56 +04:00
|
|
|
# $NetBSD: Makefile,v 1.38 2009/08/30 02:00:56 dyoung Exp $
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1997-10-11 12:42:02 +04:00
|
|
|
# Makefile for i386 tags file and boot blocks
|
1993-07-04 18:02:53 +04:00
|
|
|
|
1998-11-15 23:36:30 +03:00
|
|
|
TI386= ${SYSDIR}/arch/i386/tags
|
2008-01-10 10:35:09 +03:00
|
|
|
SI386= ${SYSDIR}/arch/i386/acpi/*.[ch] \
|
|
|
|
${SYSDIR}/arch/i386/eisa/*.[ch] \
|
|
|
|
${SYSDIR}/arch/i386/i386/*.[ch] \
|
|
|
|
${SYSDIR}/arch/i386/include/*.h \
|
|
|
|
${SYSDIR}/arch/i386/isa/*.[ch] \
|
2008-01-16 01:26:02 +03:00
|
|
|
${SYSDIR}/arch/i386/mca/*.[ch] \
|
2003-10-26 03:17:46 +03:00
|
|
|
${SYSDIR}/arch/i386/pci/*.[ch] \
|
2008-01-10 10:35:09 +03:00
|
|
|
${SYSDIR}/arch/i386/pnpbios/*.[ch] \
|
2009-05-28 22:13:46 +04:00
|
|
|
${SYSDIR}/external/isc/atheros_hal/dist/*.[ch] \
|
|
|
|
${SYSDIR}/external/isc/atheros_hal/dist/*/*.[ch] \
|
2009-08-30 06:00:56 +04:00
|
|
|
${SYSDIR}/external/isc/atheros_hal/ic/*.[ch]
|
2008-06-11 12:14:14 +04:00
|
|
|
SI386+= ${SYSDIR}/arch/x86/x86/*.[ch] \
|
|
|
|
${SYSDIR}/arch/x86/acpi/*.[ch] \
|
|
|
|
${SYSDIR}/arch/x86/include/*.h \
|
2006-02-26 06:08:02 +03:00
|
|
|
${SYSDIR}/arch/x86/isa/*.[ch] \
|
|
|
|
${SYSDIR}/arch/x86/pci/*.[ch]
|
2006-11-13 01:44:00 +03:00
|
|
|
AI386= ${SYSDIR}/arch/i386/i386/*.[sS]
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1997-10-11 13:12:18 +04:00
|
|
|
# Directories in which to place tags links
|
1998-11-15 23:36:30 +03:00
|
|
|
DI386= i386 eisa isa include pci
|
1997-10-11 12:42:02 +04:00
|
|
|
|
|
|
|
.include "../../kern/Make.tags.inc"
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
tags:
|
2006-11-13 01:44:00 +03:00
|
|
|
-rm -f ${TI386}
|
2007-08-11 02:36:59 +04:00
|
|
|
-echo ${SI386} | xargs ctags -wadtf ${TI386}
|
2009-08-30 06:00:56 +04:00
|
|
|
-find -H ${SYSDIR}/external/intel-public/acpica/dist/ -name '*.[ch]' | \
|
|
|
|
sort -t / -u | xargs ctags -wadtf ${TI386}
|
2007-08-11 02:36:59 +04:00
|
|
|
-${FINDCOMM} | xargs ctags -wadtf ${TI386}
|
1993-03-21 12:45:37 +03:00
|
|
|
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \
|
2008-10-26 02:27:34 +04:00
|
|
|
${TOOL_SED} -e \
|
|
|
|
"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
|
1993-03-21 12:45:37 +03:00
|
|
|
>> ${TI386}
|
|
|
|
sort -o ${TI386} ${TI386}
|
|
|
|
|
|
|
|
links:
|
|
|
|
-for i in ${DI386}; do \
|
1998-11-15 23:36:30 +03:00
|
|
|
(cd $$i && rm -f tags; ln -s ../tags tags); done
|
1993-07-04 18:02:53 +04:00
|
|
|
|
1997-10-11 13:12:18 +04:00
|
|
|
|
2008-02-17 19:23:12 +03:00
|
|
|
SUBDIR= compile include stand ../x86/include ../xen/include
|
1997-10-11 13:12:18 +04:00
|
|
|
|
1997-10-11 12:42:02 +04:00
|
|
|
.include <bsd.subdir.mk>
|