22 lines
490 B
Makefile
22 lines
490 B
Makefile
# $NetBSD: Makefile,v 1.9 2016/02/01 14:18:16 christos Exp $
|
|
|
|
NOMAN= # defined
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
HOSTPROGNAME= ${MACHINE_GNU_PLATFORM}-dbsym
|
|
|
|
HOST_SRCDIR= external/gpl3/binutils/usr.sbin/dbsym
|
|
|
|
TOOLCHAINOBJ!= cd ${.CURDIR}/../binutils && ${PRINTOBJDIR}
|
|
BFDDIR= ${TOOLCHAINOBJ}/build/bfd
|
|
IBERTYDIR= ${TOOLCHAINOBJ}/build/libiberty
|
|
|
|
.include "${.CURDIR}/../Makefile.host"
|
|
|
|
LIBDL!= grep -- -ldl ${TOOLCHAINOBJ}/build/ld/Makefile || echo no
|
|
|
|
.if ${LIBDL} != "no"
|
|
LDADD+= -ldl
|
|
.endif
|