[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / amd64

File: [cvs.NetBSD.org] / src / sys / arch / amd64 / Makefile (download)

Revision 1.8, Fri Dec 22 07:19:02 2017 UTC (4 years, 6 months ago) by maxv
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, netbsd-9-base, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, HEAD
Changes since 1.7: +2 -2 lines

Build and install the prekern by default. I didn't build a full
distribution to test this change, but it seems fine enough.

#	$NetBSD: Makefile,v 1.8 2017/12/22 07:19:02 maxv Exp $

# Makefile for amd64 tags file and boot blocks

TAMD64=		${SYSDIR}/arch/amd64/tags
SAMD64=		${SYSDIR}/arch/amd64/amd64/*.[ch] \
		${SYSDIR}/arch/amd64/include/*.h \
		${SYSDIR}/external/isc/atheros_hal/dist/*.[ch] \
		${SYSDIR}/external/isc/atheros_hal/dist/*/*.[ch] \
		${SYSDIR}/external/isc/atheros_hal/ic/*.[ch]
SAMD64+=	${SYSDIR}/arch/x86/x86/*.[ch] \
		${SYSDIR}/arch/x86/acpi/*.[ch] \
		${SYSDIR}/arch/x86/include/*.h \
		${SYSDIR}/arch/x86/isa/*.[ch] \
		${SYSDIR}/arch/x86/pci/*.[ch]
AAMD64=		${SYSDIR}/arch/amd64/amd64/*.S \
		${SYSDIR}/arch/amd64/acpi/*.S
# Directories in which to place tags links
DAMD64=		amd64 isa include pci

.include "../../kern/Make.tags.inc"

tags:
	-rm -f ${TAMD64}
	-echo ${SAMD64} | xargs ctags -wadtf ${TAMD64}
	-find -H ${SYSDIR}/external/intel-public/acpica/dist/ -name '*.[ch]' | \
	    sort -t / -u | xargs ctags -wadtf ${TAMD64}
	-${FINDCOMM} | xargs ctags -wadtf ${TAMD64}
	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMD64} | \
	    ${TOOL_SED} -e \
		"s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3	\1	/^\2(\3\4$$/;" \
		>> ${TAMD64}
	sort -o ${TAMD64} ${TAMD64}

links:
	-for i in ${DAMD64}; do \
	    (cd $$i && rm -f tags; ln -s ../tags tags); done


SUBDIR=	compile include ../x86/include ../xen/include \
	../i386/include ../i386/stand stand

.include <bsd.subdir.mk>