1997-09-17 22:28:50 +04:00
|
|
|
# $NetBSD: Makefile,v 1.9 1997/09/17 18:28:50 drochner Exp $
|
1997-03-14 05:40:29 +03:00
|
|
|
|
1997-03-14 07:59:34 +03:00
|
|
|
S= ${.CURDIR}/../../../../
|
1997-03-14 05:40:29 +03:00
|
|
|
|
|
|
|
PROG= biosboot
|
|
|
|
NOMAN=
|
1997-07-26 05:50:36 +04:00
|
|
|
NEWVERSWHAT= "BIOS Boot"
|
1997-03-14 05:40:29 +03:00
|
|
|
|
1997-07-26 05:50:36 +04:00
|
|
|
SRCS= main.c devopen.c conf.c
|
1997-03-14 05:40:29 +03:00
|
|
|
|
|
|
|
CLEANFILES+= ${BSSTART} ${PROG}.sym ${PROG}.list
|
|
|
|
|
|
|
|
CPPFLAGS+= -DCOMPAT_OLDBOOT
|
1997-09-17 22:28:50 +04:00
|
|
|
#CPPFLAGS+= -DSUPPORT_SERIAL
|
|
|
|
#CPPFLAGS+= -DDIRECT_SERIAL -DCOMCONS_KEYPRESS -DCONSPEED=38400
|
|
|
|
#CPPFLAGS+= -DPASS_BIOSGEOM
|
1997-08-14 21:00:18 +04:00
|
|
|
#uncomment if there are problems with memory detection
|
|
|
|
#CPPFLAGS+= -DCONSERVATIVE_MEMDETECT
|
1997-06-19 15:46:44 +04:00
|
|
|
#increase MAXFLENTRIES if "installboot" complains about
|
|
|
|
# "not enough fragment space in bootcode" (default: 5)
|
1997-03-14 05:40:29 +03:00
|
|
|
#CPPFLAGS+= -DMAXFLENTRIES=10
|
1997-06-19 15:46:44 +04:00
|
|
|
#set PRIM_LOADSZ to <=9 to make a 720k boot floppy (default: 15)
|
|
|
|
#CPPFLAGS+= -DPRIM_LOADSZ=9
|
1997-03-14 05:40:29 +03:00
|
|
|
|
|
|
|
#CFLAGS= -O2 -fomit-frame-pointer -fno-defer-pop
|
1997-06-13 17:17:46 +04:00
|
|
|
CFLAGS+= -Wall
|
1997-03-14 05:40:29 +03:00
|
|
|
|
|
|
|
# XXX should go into library
|
|
|
|
SRCS+= ls.c
|
|
|
|
.PATH: ${.CURDIR}/../libsa
|
|
|
|
|
|
|
|
${PROG}: ${PROG}.sym
|
|
|
|
@# do nothing
|
|
|
|
|
1997-05-07 20:15:01 +04:00
|
|
|
proginstall::
|
1997-03-14 05:40:29 +03:00
|
|
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
|
|
|
${PROG}.sym ${DESTDIR}${BINDIR}
|
|
|
|
|
1997-06-13 17:17:46 +04:00
|
|
|
SAMISCCPPFLAGS+= -DHEAP_START=0x10000 -DHEAP_LIMIT=0x40000
|
1997-03-14 05:40:29 +03:00
|
|
|
SAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_INCLUDE_NET=no
|
|
|
|
|
|
|
|
.include "../Makefile.booters"
|