20d6ace077
* don't abort() on NetBSD/pmax 1.1 elf binaries; * Assume 32-bit elf unless compiling for Alpha; * note bugs in ldd's README.
25 lines
442 B
Makefile
25 lines
442 B
Makefile
# $NetBSD: Makefile,v 1.2 1996/12/17 03:42:52 jonathan 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")
|
|
CFLAGS+= -DELFSIZE=64
|
|
.else
|
|
CFLAGS+= -DELFSIZE=32
|
|
.endif
|
|
|
|
CFLAGS+= -Wall -I${.CURDIR}/../../libexec/ld.elf_so
|
|
CFLAGS+= -DLIBDIR=\"${LIBDIR}\"
|
|
#CFLAGS+= -DDEBUG
|
|
|
|
|
|
|
|
LDFLAGS+= -static
|
|
|
|
.PATH: ${.CURDIR}/../../libexec/ld.elf_so
|
|
|
|
.include <bsd.prog.mk>
|