0de065d369
in $(HAVE_BINUTILS)=="219" case. Fixes build failures on Cygwin. (new libbfd depends on libz) BTW, should we revive old ones under src/usr.sbin for native dbsym(8)/mdsetimage(8) binaries which don't need libbfd?
20 lines
454 B
Makefile
20 lines
454 B
Makefile
# $NetBSD: Makefile,v 1.6 2009/10/27 14:20:21 tsutsui Exp $
|
|
|
|
NOMAN= # defined
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
HOSTPROGNAME= ${MACHINE_GNU_PLATFORM}-dbsym
|
|
|
|
.if $(HAVE_BINUTILS) == "219"
|
|
HOST_SRCDIR= external/gpl3/binutils/usr.sbin/dbsym
|
|
.else
|
|
HOST_SRCDIR= gnu/usr.sbin/dbsym
|
|
.endif
|
|
|
|
TOOLCHAINOBJ!= cd ${.CURDIR}/../binutils && ${PRINTOBJDIR}
|
|
BFDDIR= ${TOOLCHAINOBJ}/build/bfd
|
|
IBERTYDIR= ${TOOLCHAINOBJ}/build/libiberty
|
|
|
|
.include "${.CURDIR}/../Makefile.host"
|