Home | History | Annotate | Line # | Download | only in mdsetimage
Makefile revision 1.16
      1  1.16  christos #	$NetBSD: Makefile,v 1.16 2018/05/01 12:38:40 christos Exp $
      2   1.1       jmc 
      3  1.15  christos .include <bsd.init.mk>
      4   1.2   thorpej 
      5   1.4        tv HOSTPROGNAME=	${MACHINE_GNU_PLATFORM}-mdsetimage
      6   1.8   tsutsui 
      7   1.8   tsutsui HOST_SRCDIR=	external/gpl3/binutils/usr.sbin/mdsetimage
      8   1.2   thorpej 
      9   1.6       mrg TOOLCHAINOBJ!=	cd ${.CURDIR}/../binutils && ${PRINTOBJDIR}
     10  1.14  christos BFDDIR?=	${TOOLCHAINOBJ}/build/bfd
     11  1.14  christos IBERTYDIR?=	${TOOLCHAINOBJ}/build/libiberty
     12   1.1       jmc 
     13   1.1       jmc .include "${.CURDIR}/../Makefile.host"
     14  1.10  christos 
     15  1.10  christos 
     16  1.12  christos LDMAKEFILE=${TOOLCHAINOBJ}/build/ld/Makefile
     17  1.12  christos .if exists(${LDMAKEFILE})
     18  1.13  christos HAVE_LIBDL!=	grep -- -ldl ${LDMAKEFILE} || echo no
     19  1.13  christos .else
     20  1.13  christos HAVE_LIBDL=	no
     21  1.12  christos .endif
     22  1.12  christos 
     23  1.12  christos .if ${HAVE_LIBDL} != "no"
     24  1.10  christos LDADD+=	-ldl
     25  1.10  christos .endif
     26