Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/ld.elf_so Don't even make depend if we're not going ...



details:   https://anonhg.NetBSD.org/src/rev/58865e7973c0
branches:  trunk
changeset: 472805:58865e7973c0
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri May 07 22:04:27 1999 +0000

description:
Don't even make depend if we're not going to build ld.elf_so.  this is
especially important if the assembler syntax is different.

diffstat:

 libexec/ld.elf_so/Makefile |  24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diffs (37 lines):

diff -r d0954c6ae5ed -r 58865e7973c0 libexec/ld.elf_so/Makefile
--- a/libexec/ld.elf_so/Makefile        Fri May 07 21:20:12 1999 +0000
+++ b/libexec/ld.elf_so/Makefile        Fri May 07 22:04:27 1999 +0000
@@ -1,21 +1,21 @@
-#      $NetBSD: Makefile,v 1.28 1999/04/29 15:31:05 kleink Exp $
+#      $NetBSD: Makefile,v 1.29 1999/05/07 22:04:27 thorpej Exp $
 
 .include <bsd.own.mk>                  # for OBJECT_FMT definition
 
-.if ${OBJECT_FMT} == "ELF" && ${MKPIC} != "no"
-PROG=  ld.elf_so
-.endif
-
 ARCHSUBDIR= ${MACHINE_ARCH:C/mipse[bl]/mips/}
 M= ${.CURDIR}/arch/${ARCHSUBDIR}
 
-.if (${MACHINE_ARCH} == "alpha") ||                                    \
-    (${MACHINE_ARCH} == "i386") ||                                     \
-    (${MACHINE_ARCH} == "m68k") ||                                     \
-    (${MACHINE_ARCH} == "mipsel") || (${MACHINE_ARCH} == "mipseb") ||  \
-    (${MACHINE_ARCH} == "powerpc") ||                                  \
-    (${MACHINE_ARCH} == "sparc") ||                                    \
-    (${MACHINE_ARCH} == "sparc64")
+.if ((${MACHINE_ARCH} == "alpha") ||                                   \
+     (${MACHINE_ARCH} == "i386") ||                                    \
+     (${MACHINE_ARCH} == "m68k") ||                                    \
+     (${MACHINE_ARCH} == "mipsel") || (${MACHINE_ARCH} == "mipseb") || \
+     (${MACHINE_ARCH} == "powerpc") ||                                 \
+     (${MACHINE_ARCH} == "sparc") ||                                   \
+     (${MACHINE_ARCH} == "sparc64")) &&                                        \
+    ${OBJECT_FMT} == "ELF" && ${MKPIC} != "no"
+
+PROG=  ld.elf_so
+
 # Adds SRCS, CPPFLAGS, LDFLAGS, etc.  Must go first so MD startup source
 # is first.
 .if exists($M/Makefile.inc)



Home | Main Index | Thread Index | Old Index