1 # $NetBSD: Makefile,v 1.11.4.1 1999/06/21 00:50:03 thorpej Exp $ 2 3 S= ${.CURDIR}/../../../../ 4 5 BASE= dosboot 6 PROG= ${BASE}.com 7 MKMAN= no 8 NEWVERSWHAT= "DOS Boot" 9 10 SRCS= main.c devopen.c exec.c 11 12 CLEANFILES+= ${DOSSTART} ${BASE}.sym 13 14 CPPFLAGS+= -DCOMPAT_OLDBOOT -DXMS 15 #uncomment if there are problems with memory detection 16 #CPPFLAGS+= -DCONSERVATIVE_MEMDETECT 17 18 #CFLAGS= -O2 -fomit-frame-pointer -fno-defer-pop 19 CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main 20 21 # XXX should go into library 22 SRCS+= getopt.c 23 .PATH: ${.CURDIR}/../libsa 24 25 SAMISCCPPFLAGS+= -DHEAP_START=0x10000 -DHEAP_LIMIT=0x40000 26 SAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_INCLUDE_NET=no 27 I386MISCMAKEFLAGS= I386_INCLUDE_DOS=yes 28 29 VERSIONFILE= ${.CURDIR}/version 30 31 .include "../Makefile.booters" 32