Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sun68k/stand/libsa To make things build correctly, ...



details:   https://anonhg.NetBSD.org/src/rev/3f3c8b55a0a0
branches:  trunk
changeset: 525982:3f3c8b55a0a0
user:      fredette <fredette%NetBSD.org@localhost>
date:      Mon Apr 22 21:13:34 2002 +0000

description:
To make things build correctly, rely totally .PATH and never
have source files be explicit paths.

diffstat:

 sys/arch/sun68k/stand/libsa/Makefile |  11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diffs (45 lines):

diff -r 10c8132ced0c -r 3f3c8b55a0a0 sys/arch/sun68k/stand/libsa/Makefile
--- a/sys/arch/sun68k/stand/libsa/Makefile      Mon Apr 22 21:11:45 2002 +0000
+++ b/sys/arch/sun68k/stand/libsa/Makefile      Mon Apr 22 21:13:34 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.9 2002/03/26 23:19:31 fredette Exp $
+#      $NetBSD: Makefile,v 1.10 2002/04/22 21:13:34 fredette Exp $
 
 LIB=sa
 
@@ -18,7 +18,7 @@
 DIR_SA=${S}/lib/libsa
 DIR_KERN=${S}/lib/libkern
 
-.PATH:  ${DIR_SA} ${DIR_KERN}
+.PATH:  ${DIR_SA} ${DIR_KERN} ${DIR_KERN}/arch/m68k ${S}/arch/sun68k/sun68k
 
 # DBG= -DDEBUG -DNETIF_DEBUG -DNFS_DEBUG -DRPC_DEBUG \
 #  -DNET_DEBUG -DRARP_DEBUG -DETHER_DEBUG -DDEBUG_PROM
@@ -34,7 +34,7 @@
 
 SRC_sa = alloc.c bcopy.c close.c files.c getfile.c loadfile.c loadfile_aout.c \
        loadfile_elf32.c lseek.c memcpy.c open.c printf.c read.c sprintf.c \
-       strerror.c subr_prf.c twiddle.c
+       strerror.c subr_prf.c twiddle.c ctrlsp.S
 
 SRC_kern= ashldi3.c ashrdi3.c bcmp.c bzero.c inet_addr.c intoa.c \
        memcmp.c memset.c strcmp.c strlen.c strncmp.c
@@ -45,16 +45,13 @@
         sun2.c sun3.c sun3x.c vers.c xxboot.c
 
 SRCS= ${SRC_net} ${SRC_sa} ${SRC_kern} ${SRC_here}
-SRCS+= ${S}/arch/sun68k/sun68k/ctrlsp.S
 
 # only needed during build
 libinstall::
 
 # bring in the required libgcc integer support:
 .if defined(MACHINE_ARCH) && (${MACHINE_ARCH} == "m68000")
-SRCS+= ${DIR_KERN}/arch/m68k/mulsi3.S ${DIR_KERN}/arch/m68k/divsi3.S \
-       ${DIR_KERN}/arch/m68k/udivsi3.S ${DIR_KERN}/arch/m68k/modsi3.S \
-       ${DIR_KERN}/arch/m68k/umodsi3.S muldi3.c
+SRCS+= mulsi3.S divsi3.S udivsi3.S modsi3.S umodsi3.S muldi3.c
 .endif
 
 .include <bsd.own.mk>



Home | Main Index | Thread Index | Old Index