NetBSD/usr.bin/ldd/Makefile

22 lines
414 B
Makefile
Raw Normal View History

1997-10-19 07:44:21 +04:00
# $NetBSD: Makefile,v 1.6 1997/10/19 03:44:22 lukem Exp $
PROG= ldd
SRCS= ldd.c \
xmalloc.c debug.c map_object.c load.c search.c headers.c paths.c
NOMAN=
.if (${MACHINE_ARCH} == "alpha")
CPPFLAGS+= -DELFSIZE=64
.else
CPPFLAGS+= -DELFSIZE=32
.endif
LDELFSO=${.CURDIR}/../../libexec/ld.elf_so
CPPFLAGS+= -I${LDELFSO} -DLIBDIR=\"${LIBDIR}\" # -DDEBUG
.PATH: ${LDELFSO}
LDFLAGS+= -static
.include <bsd.prog.mk>