Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/stand/bootblk Change this to use bsd.prog.m...



details:   https://anonhg.NetBSD.org/src/rev/4e30cde6dfa2
branches:  trunk
changeset: 481137:4e30cde6dfa2
user:      eeh <eeh%NetBSD.org@localhost>
date:      Sun Jan 23 21:05:02 2000 +0000

description:
Change this to use bsd.prog.mk properly.

diffstat:

 sys/arch/sparc64/stand/bootblk/Makefile |  21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)

diffs (59 lines):

diff -r 79c8bbc2e8d7 -r 4e30cde6dfa2 sys/arch/sparc64/stand/bootblk/Makefile
--- a/sys/arch/sparc64/stand/bootblk/Makefile   Sun Jan 23 21:04:55 2000 +0000
+++ b/sys/arch/sparc64/stand/bootblk/Makefile   Sun Jan 23 21:05:02 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2000/01/23 17:04:11 mycroft Exp $
+#      $NetBSD: Makefile,v 1.7 2000/01/23 21:05:02 eeh Exp $
 
 CURDIR=        ${.CURDIR}
 S=     ${CURDIR}/../../../..
@@ -7,11 +7,13 @@
 # Override normal settings
 #
 
-SCRIPTS=       bootblk bootblk.text
+PROG=  bootblk
 SRCS=          bootblk.fth
+OBJS=
 CLEANFILES=    assym.fth.h machine bootblk bootblk.text
 
-MKMAN=         no
+NOMAN=
+STRIPFLAG=
 
 # deal with Solaris vs. NetBSD build environments for now ..
 OS!=uname -s
@@ -26,22 +28,21 @@
 INCLUDES=      -I. -I$S/arch -I$S -nostdinc
 CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_LKM ${SVR4}
 
-realall:: bootblk.text bootblk
+#all:: bootblk.text bootblk
 
-.NOPATH: machine
+#clean:: 
+#      rm assym.fth.h bootblk.text machine bootblk
+
 machine:
        ln -s ../../include machine
 
-clean::
-       rm -f assym.fth.h machine bootblk bootblk.text
-
 assym.fth.h: ./genassym.sh genfth.cf machine
        sh ./genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
            < genfth.cf > assym.fth.h
 
 bootblk.text: bootblk.fth assym.fth.h
        awk '/fload/ { print "#include \"" $$2 "\"" }; !/fload/' bootblk.fth | \
-       ${CC} -E -Wc,-P >bootblk.text
+       /usr/bin/cpp -P >bootblk.text
 
 bootblk: bootblk.fth assym.fth.h
        fgen -o bootblk bootblk.fth
@@ -54,4 +55,4 @@
        ../fakeboot/fakeboot -elf32 <bootblk >/bootblk
        ../fakeboot/fakeboot -elf32 <bootblk.text >/bootblk.text
 
-#.include <bsd.prog.mk>
+.include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index