Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/pmax/stand/boot Makefile for /boot.
details: https://anonhg.NetBSD.org/src/rev/734baa280512
branches: trunk
changeset: 467510:734baa280512
user: simonb <simonb%NetBSD.org@localhost>
date: Thu Mar 25 12:10:12 1999 +0000
description:
Makefile for /boot.
diffstat:
sys/arch/pmax/stand/boot/Makefile | 55 +++++++++++++++++++++++++++++++++++++++
1 files changed, 55 insertions(+), 0 deletions(-)
diffs (59 lines):
diff -r f6a61a4d8019 -r 734baa280512 sys/arch/pmax/stand/boot/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/pmax/stand/boot/Makefile Thu Mar 25 12:10:12 1999 +0000
@@ -0,0 +1,55 @@
+# $NetBSD: Makefile,v 1.1 1999/03/25 12:10:12 simonb Exp $
+# @(#)Makefile 8.3 (Berkeley) 2/16/94
+
+RELOC_BOOT=80710000
+
+S= ${.CURDIR}/../../../..
+
+PROG= boot
+BINDIR= /
+SRCS= start.S boot.c # bootinfo.c callvec.c conf.c \
+NEWVERSWHAT="Secondary Boot"
+CLEANFILES+=vers.c vers.o
+CLEANFILES+=${PROG}.map
+.PATH: ${.CURDIR}/../lib
+
+# XXX These aren't build by libkern at the moment - fix libkern?
+SRCS+= bcmp.c bzero.c
+.PATH: $S/lib/libkern
+
+MKMAN= no
+LDBUG= -T $S/arch/mips/conf/stand.ldscript
+
+### find out what to use for libsa
+SA_AS= library
+.include "${S}/lib/libsa/Makefile.inc"
+LIBSA= ${SALIB}
+SAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_INCLUDE_NET=no
+
+### find out what to use for libz
+Z_AS= library
+.include "${S}/lib/libz/Makefile.inc"
+LIBZ= ${ZLIB}
+
+### find out what to use for libkern
+KERN_AS= library
+.include "${S}/lib/libkern/Makefile.inc"
+LIBKERN= ${KERNLIB}
+
+PMAX_STAND_DIR?= $S/arch/pmax/stand
+### find out what to use for libpmax
+PMAXDIR= ${PMAX_STAND_DIR}/lib
+.include "${PMAXDIR}/Makefile.inc"
+LIBPMAX= ${PMAXLIB}
+
+
+#LIBS= ${LIBSA} ${LIBZ} ${LIBKERN} ${LIBPMAX}
+LIBS= ${LIBPMAX} ${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN} ${LIBPMAX}
+
+${PROG}: ${OBJS} ${LIBS}
+ sh ${.CURDIR}/../lib/newvers.sh ${.CURDIR}/version ${NEWVERSWHAT}
+ ${COMPILE.c} vers.c
+ ld -Map ${PROG}.map -N -Ttext ${RELOC_BOOT} ${LDBUG} -e start \
+ ${OBJS} vers.o ${LIBS} -o ${PROG}
+
+.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index