turn Alpha's ELF_TOOLCHAIN checks to ECOFF_TOOLCHAIN checks

This commit is contained in:
cgd 1997-02-23 20:42:24 +00:00
parent 82f19ac36c
commit 3192bd314f
4 changed files with 13 additions and 12 deletions

View File

@ -1,10 +1,11 @@
# $NetBSD: Makefile,v 1.7 1996/10/18 05:36:42 thorpej Exp $
# $NetBSD: Makefile,v 1.8 1997/02/23 20:42:26 cgd Exp $
.include <bsd.own.mk> # for ELF_TOOLCHAIN defn on alpha
.include <bsd.own.mk> # for ECOFF_TOOLCHAIN defn on alpha
SUBDIR= ${MACHINE_ARCH}
.if (${MACHINE_ARCH} != "alpha" || !defined(ELF_TOOLCHAIN))
.if (${MACHINE_ARCH} != "alpha" ||
(${MACHINE_ARCH} == "alpha" && defined(ECOFF_TOOLCHAIN)))
SUBDIR+= c++
.endif

View File

@ -1,11 +1,11 @@
# $NetBSD: Makefile,v 1.9 1997/02/17 19:22:32 cgd Exp $
# $NetBSD: Makefile,v 1.10 1997/02/23 20:42:24 cgd Exp $
.include <bsd.own.mk> # for ELF_TOOLCHAIN definition
.include <bsd.own.mk> # for ECOFF_TOOLCHAIN definition
CFLAGS+= -DLIBC_SCCS -fPIC -DPIC -DDYNAMIC -DELFSIZE=64
CFLAGS+= -I/usr/src/libexec/ld.elf_so
.if !defined(ELF_TOOLCHAIN)
.if defined(ECOFF_TOOLCHAIN)
CFLAGS+= -DECOFF_COMPAT
.endif

View File

@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.22 1996/12/18 22:11:09 cgd Exp $
# $NetBSD: Makefile,v 1.23 1997/02/23 20:42:27 cgd Exp $
# from: @(#)Makefile 5.7 (Berkeley) 4/1/91
.include <bsd.own.mk> # for EXPORTABLE_SYSTEM
# # and ELF_TOOLCHAIN
# # and ECOFF_TOOLCHAIN
SUBDIR= atrun comsat fingerd ftpd getNAME getty identd lfs_cleanerd \
mail.local makekey makewhatis rexecd rlogind rshd rpc.rquotad \
@ -16,7 +16,7 @@ SUBDIR= atrun comsat fingerd ftpd getNAME getty identd lfs_cleanerd \
SUBDIR+=telnetd
.endif
.if ((${MACHINE_ARCH} == "alpha") && defined(ELF_TOOLCHAIN))
.if (${MACHINE_ARCH} == "alpha" && !defined(ECOFF_TOOLCHAIN))
SUBDIR+= ld.elf_so
.endif

View File

@ -1,9 +1,9 @@
# $NetBSD: Makefile.inc,v 1.6 1997/02/16 21:27:06 cgd Exp $
# $NetBSD: Makefile.inc,v 1.7 1997/02/23 20:42:28 cgd Exp $
.ifndef __INCLUDED_STAND_MAKEFILE_INC
__INCLUDED_STAND_MAKEFILE_INC=
.include <bsd.own.mk> # for ELF_TOOLCHAIN definition
.include <bsd.own.mk> # for ECOFF_TOOLCHAIN definition
BINDIR= /usr/mdec
@ -20,7 +20,7 @@ CPPFLAGS+= -DSECONDARY_LOAD_ADDRESS="0x${SECONDARY_LOAD_ADDRESS}"
SAMISCCPPFLAGS+= -DHEAP_LIMIT="0x${HEAP_LIMIT}"
.if !defined(ELF_TOOLCHAIN)
.if defined(ECOFF_TOOLCHAIN)
CPPFLAGS+= -DECOFF_COMPAT
.endif