Module Name: src Committed By: he Date: Fri Aug 21 21:12:02 UTC 2009
Modified Files: src/sys/lib/libsa: Makefile Log Message: If we're on mips, don't build exec.c or loadfile_aout.c, since they both deal with a.out format executables. To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69 src/sys/lib/libsa/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/lib/libsa/Makefile diff -u src/sys/lib/libsa/Makefile:1.68 src/sys/lib/libsa/Makefile:1.69 --- src/sys/lib/libsa/Makefile:1.68 Fri Mar 20 11:31:30 2009 +++ src/sys/lib/libsa/Makefile Fri Aug 21 21:12:02 2009 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.68 2009/03/20 11:31:30 tsutsui Exp $ +# $NetBSD: Makefile,v 1.69 2009/08/21 21:12:02 he Exp $ LIB= sa NOPIC= # defined @@ -18,14 +18,20 @@ .-include "${SA_EXTRADIR}/Makefile.inc" .endif +.include <bsd.own.mk> + .PATH.c: ${SADIR} ${.PARSEDIR}/../../../common/lib/libc/string # stand routines -SRCS+= alloc.c errno.c exit.c exec.c files.c \ +SRCS+= alloc.c errno.c exit.c files.c \ getfile.c gets.c globals.c \ panic.c printf.c qsort.c snprintf.c sprintf.c strerror.c \ subr_prf.c twiddle.c vsprintf.c checkpasswd.c +.if (${MACHINE_CPU} != "mips") +SRCS+= exec.c loadfile_aout.c +.endif + # string routines SRCS+= memcmp.c memcpy.c memmove.c memset.c strchr.c SRCS+= bcopy.c bzero.c # Remove me eventually. @@ -39,7 +45,7 @@ .endif .if (${SA_USE_LOADFILE} == "yes") -SRCS+= loadfile.c loadfile_aout.c loadfile_ecoff.c loadfile_elf32.c \ +SRCS+= loadfile.c loadfile_ecoff.c loadfile_elf32.c \ loadfile_elf64.c .endif