Home | History | Annotate | Line # | Download | only in mdsetimage
Makefile revision 1.17.14.1
      1  1.17.14.1  perseant #	$NetBSD: Makefile,v 1.17.14.1 2024/07/01 01:01:15 perseant Exp $
      2        1.1       jmc 
      3       1.17  christos .include <bsd.hostinit.mk>
      4        1.2   thorpej 
      5        1.4        tv HOSTPROGNAME=	${MACHINE_GNU_PLATFORM}-mdsetimage
      6        1.8   tsutsui 
      7  1.17.14.1  perseant HOST_SRCDIR=	external/gpl3/${EXTERNAL_BINUTILS_SUBDIR}/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.17.14.1  perseant SFRAMEDIR?=	${TOOLCHAINOBJ}/build/libsframe
     12       1.14  christos IBERTYDIR?=	${TOOLCHAINOBJ}/build/libiberty
     13        1.1       jmc 
     14        1.1       jmc .include "${.CURDIR}/../Makefile.host"
     15       1.10  christos 
     16       1.10  christos 
     17       1.12  christos LDMAKEFILE=${TOOLCHAINOBJ}/build/ld/Makefile
     18       1.12  christos .if exists(${LDMAKEFILE})
     19       1.13  christos HAVE_LIBDL!=	grep -- -ldl ${LDMAKEFILE} || echo no
     20       1.13  christos .else
     21       1.13  christos HAVE_LIBDL=	no
     22       1.12  christos .endif
     23       1.12  christos 
     24       1.12  christos .if ${HAVE_LIBDL} != "no"
     25       1.10  christos LDADD+=	-ldl
     26       1.10  christos .endif
     27