NetBSD/usr.bin/ldd/Makefile

25 lines
442 B
Makefile
Raw Normal View History

# $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>