1 # $NetBSD: Makefile,v 1.9 2016/02/01 14:18:16 christos Exp $ 2 3 NOMAN= # defined 4 5 .include <bsd.own.mk> 6 7 HOSTPROGNAME= ${MACHINE_GNU_PLATFORM}-dbsym 8 9 HOST_SRCDIR= external/gpl3/binutils/usr.sbin/dbsym 10 11 TOOLCHAINOBJ!= cd ${.CURDIR}/../binutils && ${PRINTOBJDIR} 12 BFDDIR= ${TOOLCHAINOBJ}/build/bfd 13 IBERTYDIR= ${TOOLCHAINOBJ}/build/libiberty 14 15 .include "${.CURDIR}/../Makefile.host" 16 17 LIBDL!= grep -- -ldl ${TOOLCHAINOBJ}/build/ld/Makefile || echo no 18 19 .if ${LIBDL} != "no" 20 LDADD+= -ldl 21 .endif 22