1999-04-14 15:53:43 +04:00
|
|
|
# $NetBSD: Makefile,v 1.13 1999/04/14 11:53:44 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
|
1999-02-13 05:54:17 +03:00
|
|
|
MKMAN= no
|
1997-07-26 05:50:36 +04:00
|
|
|
NEWVERSWHAT= "DOS Boot"
|
1997-03-14 05:40:32 +03:00
|
|
|
|
1999-01-30 20:44:10 +03:00
|
|
|
SRCS= main.c devopen.c exec.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
|
1999-04-14 15:53:43 +04:00
|
|
|
CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main
|
1997-03-14 05:40:32 +03:00
|
|
|
|
|
|
|
# XXX should go into library
|
1999-04-14 15:53:43 +04:00
|
|
|
SRCS+= getopt.c
|
1997-03-14 05:40:32 +03:00
|
|
|
.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
|
|
|
|
|
1999-04-08 14:23:23 +04:00
|
|
|
VERSIONFILE= ${.CURDIR}/version
|
|
|
|
|
1997-03-14 05:40:32 +03:00
|
|
|
.include "../Makefile.booters"
|