Makefile revision 1.25
11.25Stsutsui# $NetBSD: Makefile,v 1.25 2009/03/30 09:22:52 tsutsui Exp $ 21.1Sperry 31.25StsutsuiS= ${.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.24SchristosPIE_CFLAGS= 361.24SchristosPIE_LDFLAGS= 371.24SchristosPIE_AFLAGS= 381.24Schristos 391.17Swiz.include <bsd.own.mk> 401.15Sjhawk 411.21Slukemrelease: check_RELEASEDIR 421.21Slukem ${HOST_INSTALL_FILE} -m ${BINMODE} dosboot.com \ 431.21Slukem ${RELEASEDIR}/${MACHINE}/installation/misc 441.1Sperry 451.1Sperry.include "../Makefile.booters" 46