Makefile revision 1.23
11.23Smycroft#	$NetBSD: Makefile,v 1.23 2003/04/01 21:25:35 mycroft 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.23SmycroftCPPFLAGS+= -DSLOW	# for libz
151.18SjdolecekCPPFLAGS+= -DCOMPAT_386BSD_MBRPART
161.14SjhawkCPPFLAGS+= -DXMS
171.8Sdrochner#uncomment if there are problems with memory detection
181.8Sdrochner#CPPFLAGS+= -DCONSERVATIVE_MEMDETECT
191.1Sperry
201.1Sperry#CFLAGS= -O2 -fomit-frame-pointer -fno-defer-pop
211.13SdrochnerCFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main
221.1Sperry
231.1Sperry# XXX should go into library
241.13SdrochnerSRCS+= getopt.c
251.1Sperry.PATH: ${.CURDIR}/../libsa
261.1Sperry
271.22Sdsl# XXX these should depend on the size of the image
281.22SdslCPPFLAGS+= -DSTACK_START=0x10000
291.22SdslSAMISCCPPFLAGS+= -DHEAP_START=0x20000 -DHEAP_LIMIT=0x50000
301.1SperrySAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_INCLUDE_NET=no
311.1SperryI386MISCMAKEFLAGS= I386_INCLUDE_DOS=yes
321.12Sdrochner
331.12SdrochnerVERSIONFILE= ${.CURDIR}/version
341.17Swiz
351.17Swiz.include <bsd.own.mk>
361.15Sjhawk
371.21Slukemrelease: check_RELEASEDIR
381.21Slukem	${HOST_INSTALL_FILE} -m ${BINMODE} dosboot.com \
391.21Slukem	    ${RELEASEDIR}/${MACHINE}/installation/misc
401.1Sperry
411.1Sperry.include "../Makefile.booters"
42