NetBSD/sbin/ldconfig/Makefile
fvdl 00a8c99503 Modification to previous: only build for ports that are a.out or used
to be a.out. No sense in building for ports that never were a.out.
2000-09-29 19:00:59 +00:00

19 lines
411 B
Makefile

# $NetBSD: Makefile,v 1.17 2000/09/29 19:00:59 fvdl Exp $
.include <bsd.own.mk> # For OBJECT_FMT
.if (${OBJECT_FMT} == "a.out" || (${OBJECT_FMT} == "ELF" && \
(${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "sparc")))
PROG= ldconfig
SRCS= ldconfig.c shlib.c
CPPFLAGS += -I$(.CURDIR)/../../libexec/ld.aout_so
.PATH: $(.CURDIR)/../../libexec/ld.aout_so
.endif
MAN= ldconfig.8
.include <bsd.prog.mk>