Makefile revision 1.22
11.22Sdsl#	$NetBSD: Makefile,v 1.22 2003/02/01 14:48:17 dsl Exp $
21.1Sperry
31.2SthorpejS=	${.CURDIR}/../../../../
41.1Sperry
51.9SdrochnerBASE= dosboot
61.9SdrochnerPROG= ${BASE}.com
71.19StvNOMAN=	# defined
81.6SthorpejNEWVERSWHAT=	"DOS Boot"
91.20SthorpejSTARTFILE=	${DOSSTART}
101.20SthorpejRELOC=		0x100
111.1Sperry
121.10SchristosSRCS= main.c devopen.c exec.c
131.1Sperry
141.18SjdolecekCPPFLAGS+= -DCOMPAT_386BSD_MBRPART
151.14SjhawkCPPFLAGS+= -DXMS
161.8Sdrochner#uncomment if there are problems with memory detection
171.8Sdrochner#CPPFLAGS+= -DCONSERVATIVE_MEMDETECT
181.1Sperry
191.1Sperry#CFLAGS= -O2 -fomit-frame-pointer -fno-defer-pop
201.13SdrochnerCFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main
211.1Sperry
221.1Sperry# XXX should go into library
231.13SdrochnerSRCS+= getopt.c
241.1Sperry.PATH: ${.CURDIR}/../libsa
251.1Sperry
261.22Sdsl# XXX these should depend on the size of the image
271.22SdslCPPFLAGS+= -DSTACK_START=0x10000
281.22SdslSAMISCCPPFLAGS+= -DHEAP_START=0x20000 -DHEAP_LIMIT=0x50000
291.1SperrySAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_INCLUDE_NET=no
301.1SperryI386MISCMAKEFLAGS= I386_INCLUDE_DOS=yes
311.12Sdrochner
321.12SdrochnerVERSIONFILE= ${.CURDIR}/version
331.17Swiz
341.17Swiz.include <bsd.own.mk>
351.15Sjhawk
361.21Slukemrelease: check_RELEASEDIR
371.21Slukem	${HOST_INSTALL_FILE} -m ${BINMODE} dosboot.com \
381.21Slukem	    ${RELEASEDIR}/${MACHINE}/installation/misc
391.1Sperry
401.1Sperry.include "../Makefile.booters"
41