Cross Reference: Makefile
xref: /src/tools/dbsym/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/tools/dbsym/
11.17Schristos#	$NetBSD: Makefile,v 1.17 2024/06/30 17:46:22 christos Exp $
21.1Sthorpej
31.15Schristos.include <bsd.hostinit.mk>
41.1Sthorpej
51.2StvHOSTPROGNAME=	${MACHINE_GNU_PLATFORM}-dbsym
61.6Stsutsui
71.17SchristosHOST_SRCDIR=    external/gpl3/${EXTERNAL_BINUTILS_SUBDIR}/usr.sbin/dbsym
81.1Sthorpej
91.4SmrgTOOLCHAINOBJ!=	cd ${.CURDIR}/../binutils && ${PRINTOBJDIR}
101.12SchristosBFDDIR?=	${TOOLCHAINOBJ}/build/bfd
111.16SchristosSFRAMEDIR?=	${TOOLCHAINOBJ}/build/libsframe
121.12SchristosIBERTYDIR?=	${TOOLCHAINOBJ}/build/libiberty
131.1Sthorpej
141.1Sthorpej.include "${.CURDIR}/../Makefile.host"
151.8Schristos
161.10SchristosLDMAKEFILE=${TOOLCHAINOBJ}/build/ld/Makefile
171.10Schristos.if exists(${LDMAKEFILE})
181.11SchristosHAVE_LIBDL!=	grep -- -ldl ${LDMAKEFILE} || echo no
191.11Schristos.else
201.11SchristosHAVE_LIBDL=	no
211.10Schristos.endif
221.8Schristos
231.10Schristos.if ${HAVE_LIBDL} != "no"
241.10SchristosLDADD+=	-ldl
251.8Schristos.endif
26

Indexes created Sat Nov 29 20:09:40 GMT 2025