Use NOPIC to mean "no shared libraries", not NOSHLIB.

This commit is contained in:
tv 1998-08-04 17:02:16 +00:00
parent b72d8d17f9
commit 55267a7623
1 changed files with 3 additions and 4 deletions

View File

@ -1,13 +1,12 @@
# $NetBSD: Makefile,v 1.12 1998/03/25 04:13:01 mhitch Exp $
# $NetBSD: Makefile,v 1.13 1998/08/04 17:02:16 tv Exp $
.include <bsd.own.mk> # for OBJECT_FMT definition
.if ((${OBJECT_FMT} == "ELF") && !defined(NOSHLIB))
.if ((${OBJECT_FMT} == "ELF") && !defined(NOPIC))
PROG= ld.elf_so
.endif
.if (${MACHINE} == "alpha") || (${MACHINE_ARCH} == "mips")
.if (${MACHINE} == "alpha") || (${MACHINE_ARCH} == "mips") || (${MACHINE_ARCH} == "sparc")
# Adds SRCS, CPPFLAGS, LDFLAGS, etc. Must go first so MD startup source
# is first.
.if exists(${.CURDIR}/${MACHINE_ARCH}/Makefile.inc)