Support for building the new BFD-using dbsym(8) as a targeted host

tool.
This commit is contained in:
thorpej 2001-11-09 05:53:26 +00:00
parent aeeee8c24d
commit ca61e8a63a
1 changed files with 17 additions and 0 deletions

17
tools/dbsym/Makefile Normal file
View File

@ -0,0 +1,17 @@
# $NetBSD: Makefile,v 1.1 2001/11/09 05:53:26 thorpej Exp $
DBSYM_TARET_PREFIX=${MACHINE_GNU_PLATFORM}-
HOSTPROGNAME= ${DBSYM_TARET_PREFIX}dbsym
HOST_SRCDIR= gnu/usr.sbin/dbsym
BFDDIR= ${TOOLCHAINOBJDIR}/toolchain/bfd
IBERTYDIR= ${TOOLCHAINOBJDIR}/toolchain/libiberty
.include "${.CURDIR}/../Makefile.host"
TOOLCHAINOBJDIR!= cd ${_CURDIR}/../toolchain && ${PRINTOBJDIR}
HOST_CPPFLAGS+= -I${BFDDIR} -I${DIST}/include
${TIMESTAMP}: ${SRCS}