Source-Changes-HG archive

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

[src/trunk]: src/sys/lib/libsa Uh, move loadfile_aout.c in under the check fo...



details:   https://anonhg.NetBSD.org/src/rev/cfb87a8df7ff
branches:  trunk
changeset: 746971:cfb87a8df7ff
user:      he <he%NetBSD.org@localhost>
date:      Tue Aug 25 14:10:54 2009 +0000

description:
Uh, move loadfile_aout.c in under the check for ${SA_USE_LOADFILE}
again, so that it's not unconditionally compiled, fixing the previous.

diffstat:

 sys/lib/libsa/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r c6ef8d355ec2 -r cfb87a8df7ff sys/lib/libsa/Makefile
--- a/sys/lib/libsa/Makefile    Tue Aug 25 10:34:08 2009 +0000
+++ b/sys/lib/libsa/Makefile    Tue Aug 25 14:10:54 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.69 2009/08/21 21:12:02 he Exp $
+#      $NetBSD: Makefile,v 1.70 2009/08/25 14:10:54 he Exp $
 
 LIB=   sa
 NOPIC= # defined
@@ -29,7 +29,7 @@
        subr_prf.c twiddle.c vsprintf.c checkpasswd.c
 
 .if (${MACHINE_CPU} != "mips")
-SRCS+= exec.c loadfile_aout.c
+SRCS+= exec.c
 .endif
 
 # string routines
@@ -47,6 +47,9 @@
 .if (${SA_USE_LOADFILE} == "yes")
 SRCS+= loadfile.c loadfile_ecoff.c loadfile_elf32.c \
        loadfile_elf64.c
+.if (${MACHINE_CPU} != "mips")
+SRCS+= loadfile_aout.c
+.endif
 .endif
 
 .if (${SA_INCLUDE_NET} == "yes")



Home | Main Index | Thread Index | Old Index