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