diff --git a/sys/arch/sparc64/stand/bootblk/Makefile b/sys/arch/sparc64/stand/bootblk/Makefile index 888d46f7e007..a3994d6ea938 100644 --- a/sys/arch/sparc64/stand/bootblk/Makefile +++ b/sys/arch/sparc64/stand/bootblk/Makefile @@ -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 @@ S= ${CURDIR}/../../../.. # 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 @@ SVR4=-U__SVR4 -U__svr4__ -D__NetBSD__ INCLUDES= -I. -I$S/arch -I$S -nostdinc CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_LKM ${SVR4} -realall:: bootblk.text bootblk +#all:: bootblk.text bootblk + +#clean:: +# rm assym.fth.h bootblk.text machine bootblk -.NOPATH: machine 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 @@ fake: bootblk bootblk.text ../fakeboot/fakeboot -elf32 /bootblk ../fakeboot/fakeboot -elf32 /bootblk.text -#.include +.include