Home | History | Annotate | Line # | Download | only in mdsetimage
Makefile revision 1.11.2.1
      1  1.11.2.1  pgoyette #	$NetBSD: Makefile,v 1.11.2.1 2017/01/07 08:56:57 pgoyette Exp $
      2       1.5     lukem 
      3       1.5     lukem NOMAN=	# defined
      4       1.1       jmc 
      5       1.4        tv .include <bsd.own.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.11.2.1  pgoyette LDMAKEFILE=${TOOLCHAINOBJ}/build/ld/Makefile
     19  1.11.2.1  pgoyette .if exists(${LDMAKEFILE})
     20  1.11.2.1  pgoyette HAVE_LIBDL!=	grep -- -ldl ${LDMAKEFILE} || echo no
     21  1.11.2.1  pgoyette .else
     22  1.11.2.1  pgoyette HAVE_LIBDL=	no
     23  1.11.2.1  pgoyette .endif
     24  1.11.2.1  pgoyette 
     25  1.11.2.1  pgoyette .if ${HAVE_LIBDL} != "no"
     26      1.10  christos LDADD+=	-ldl
     27      1.10  christos .endif
     28