Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/arch/mvme68k/stand/bootst Pullup from trunk: 1.5 - 1.6



details:   https://anonhg.NetBSD.org/src/rev/141183ec5f9a
branches:  netbsd-1-5
changeset: 488275:141183ec5f9a
user:      scw <scw%NetBSD.org@localhost>
date:      Mon Jun 26 18:13:13 2000 +0000

description:
Pullup from trunk: 1.5 - 1.6
Approved by: thorpej

DTRT for `dependall' during a make build. This slipped through the net
due to a local fix which got forgotten about.

diffstat:

 sys/arch/mvme68k/stand/bootst/Makefile |  20 +++++++++++---------
 1 files changed, 11 insertions(+), 9 deletions(-)

diffs (43 lines):

diff -r 37846519ae0e -r 141183ec5f9a sys/arch/mvme68k/stand/bootst/Makefile
--- a/sys/arch/mvme68k/stand/bootst/Makefile    Mon Jun 26 18:12:37 2000 +0000
+++ b/sys/arch/mvme68k/stand/bootst/Makefile    Mon Jun 26 18:13:13 2000 +0000
@@ -1,5 +1,5 @@
 #      from: @(#)Makefile      8.1 (Berkeley) 6/10/93
-#      $NetBSD: Makefile,v 1.5 1998/06/12 23:11:45 cgd Exp $
+#      $NetBSD: Makefile,v 1.5.28.1 2000/06/26 18:13:13 scw Exp $
 
 RELOC=0x3F0000 
 
@@ -16,15 +16,10 @@
 .include "${S}/arch/mvme68k/stand/wrtvid/Makefile.inc"
 
 SRCS=   boot.c conf.c dev_tape.c rawfs.c version.c
-
 LIBS=  ${LIBSA} ${LIBBUG}
-
-OBJS= ${SRCS:N*.h:R:S/$/.o/g}
+OBJS=   ${SRCS:S/.c/.o/g}
 
-BOOTS= bootst stboot
-ALL=   ${BOOTS} 
-
-all: ${ALL}
+realall:       bootst stboot
 
 bootst.bug:    ${OBJS} ${BUGCRT} ${LIBS}
        ${LD} -s -N -T ${RELOC} ${BUGCRT} ${OBJS} ${LIBS} -o $@
@@ -34,6 +29,13 @@
        ${WRTVID} bootst.bug
 
 install:
-       ${INSTALL} -c -m 555 -g bin -o bin ${BOOTS} ${DESTDIR}${MDEC_DIR}
+       ${INSTALL} -c -m 555 -g bin -o bin bootst ${DESTDIR}${MDEC_DIR}
+       ${INSTALL} -c -m 555 -g bin -o bin stboot ${DESTDIR}${MDEC_DIR}
+
+afterdepend:   .depend
+       @(TMP=/tmp/_depend$$$$; \
+               sed -e 's/^\([^\.]*\).o[ ]*:/\1.o g\1.o s\1.o:/' \
+       < .depend > $$TMP; \
+       mv $$TMP .depend)
 
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index