1997-09-28 15:47:29 +04:00
|
|
|
# $NetBSD: Makefile,v 1.9 1997/09/28 11:47:31 drochner Exp $
|
1997-03-14 05:40:32 +03:00
|
|
|
|
1997-03-14 07:59:34 +03:00
|
|
|
S= ${.CURDIR}/../../../../
|
1997-03-14 05:40:32 +03:00
|
|
|
|
1997-09-28 15:47:29 +04:00
|
|
|
BASE= dosboot
|
|
|
|
PROG= ${BASE}.com
|
1997-03-14 05:40:32 +03:00
|
|
|
NOMAN=
|
1997-07-26 05:50:36 +04:00
|
|
|
NEWVERSWHAT= "DOS Boot"
|
1997-03-14 05:40:32 +03:00
|
|
|
|
1997-07-26 05:50:36 +04:00
|
|
|
SRCS= main.c devopen.c
|
1997-03-14 05:40:32 +03:00
|
|
|
|
1997-09-28 15:47:29 +04:00
|
|
|
CLEANFILES+= ${DOSSTART} ${BASE}.sym
|
1997-03-14 05:40:32 +03:00
|
|
|
|
1997-06-13 21:49:22 +04:00
|
|
|
CPPFLAGS+= -DCOMPAT_OLDBOOT -DXMS
|
1997-08-14 21:00:18 +04:00
|
|
|
#uncomment if there are problems with memory detection
|
|
|
|
#CPPFLAGS+= -DCONSERVATIVE_MEMDETECT
|
1997-03-14 05:40:32 +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:32 +03:00
|
|
|
|
|
|
|
# XXX should go into library
|
|
|
|
SRCS+= getopt.c ls.c
|
|
|
|
.PATH: ${.CURDIR}/../libsa
|
|
|
|
|
1997-06-13 17:17:46 +04:00
|
|
|
SAMISCCPPFLAGS+= -DHEAP_START=0x10000 -DHEAP_LIMIT=0x40000
|
1997-03-14 05:40:32 +03:00
|
|
|
SAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_INCLUDE_NET=no
|
|
|
|
I386MISCMAKEFLAGS= I386_INCLUDE_DOS=yes
|
|
|
|
|
|
|
|
.include "../Makefile.booters"
|