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.
This commit is contained in:
parent
ae06835447
commit
00a8c99503
@ -1,4 +1,9 @@
|
||||
# $NetBSD: Makefile,v 1.16 2000/09/29 17:47:52 fvdl Exp $
|
||||
# $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
|
||||
@ -6,6 +11,8 @@ 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>
|
||||
|
Loading…
Reference in New Issue
Block a user