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