# $NetBSD: Makefile,v 1.16 2000/09/05 05:05:16 enami Exp $ S= ${.CURDIR}/../../../../ BASE= dosboot PROG= ${BASE}.com MKMAN= no NEWVERSWHAT= "DOS Boot" SRCS= main.c devopen.c exec.c CLEANFILES+= ${DOSSTART} ${BASE}.sym CPPFLAGS+= -DCOMPAT_OLDBOOT -DCOMPAT_386BSD_MBRPART CPPFLAGS+= -DXMS #uncomment if there are problems with memory detection #CPPFLAGS+= -DCONSERVATIVE_MEMDETECT #CFLAGS= -O2 -fomit-frame-pointer -fno-defer-pop CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main # XXX should go into library SRCS+= getopt.c .PATH: ${.CURDIR}/../libsa SAMISCCPPFLAGS+= -DHEAP_START=0x10000 -DHEAP_LIMIT=0x40000 SAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_INCLUDE_NET=no I386MISCMAKEFLAGS= I386_INCLUDE_DOS=yes VERSIONFILE= ${.CURDIR}/version .ifndef RELEASEDIR release: @echo setenv RELEASEDIR first @false .else release: cp dosboot.com ${RELEASEDIR}/installation/misc .endif .include "../Makefile.booters"