1997-05-09 01:11:01 +04:00
|
|
|
# $NetBSD: Makefile,v 1.4 1997/05/08 21:11:41 gwr 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")
|
|
|
|
CFLAGS+= -DELFSIZE=64
|
|
|
|
.else
|
|
|
|
CFLAGS+= -DELFSIZE=32
|
|
|
|
.endif
|
|
|
|
|
|
|
|
CFLAGS+= -Wall -I${.CURDIR}/../../libexec/ld.elf_so
|
1996-12-16 22:59:55 +03:00
|
|
|
CFLAGS+= -DLIBDIR=\"${LIBDIR}\"
|
|
|
|
#CFLAGS+= -DDEBUG
|
|
|
|
|
1996-12-17 06:42:44 +03:00
|
|
|
|
|
|
|
|
1996-12-16 22:59:55 +03:00
|
|
|
LDFLAGS+= -static
|
|
|
|
|
1997-05-09 01:11:01 +04:00
|
|
|
.PATH: ${.CURDIR}/../../libexec/ld.elf_so
|
1996-12-16 22:59:55 +03:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|