Makefile revision 1.26
11.26Sjoerg# $NetBSD: Makefile,v 1.26 2011/05/20 22:29:55 joerg 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.26SjoergAFLAGS.dosboot.S= ${${ACTIVE_CC} == "clang":?-no-integrated-as:} 131.26SjoergAFLAGS.start_dos.S= ${${ACTIVE_CC} == "clang":?-no-integrated-as:} 141.26Sjoerg 151.10SchristosSRCS= main.c devopen.c exec.c 161.1Sperry 171.23SmycroftCPPFLAGS+= -DSLOW # for libz 181.18SjdolecekCPPFLAGS+= -DCOMPAT_386BSD_MBRPART 191.14SjhawkCPPFLAGS+= -DXMS 201.8Sdrochner#uncomment if there are problems with memory detection 211.8Sdrochner#CPPFLAGS+= -DCONSERVATIVE_MEMDETECT 221.1Sperry 231.1Sperry#CFLAGS= -O2 -fomit-frame-pointer -fno-defer-pop 241.13SdrochnerCFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main 251.1Sperry 261.1Sperry# XXX should go into library 271.13SdrochnerSRCS+= getopt.c 281.1Sperry.PATH: ${.CURDIR}/../libsa 291.1Sperry 301.22Sdsl# XXX these should depend on the size of the image 311.22SdslCPPFLAGS+= -DSTACK_START=0x10000 321.22SdslSAMISCCPPFLAGS+= -DHEAP_START=0x20000 -DHEAP_LIMIT=0x50000 331.1SperrySAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_INCLUDE_NET=no 341.1SperryI386MISCMAKEFLAGS= I386_INCLUDE_DOS=yes 351.12Sdrochner 361.12SdrochnerVERSIONFILE= ${.CURDIR}/version 371.17Swiz 381.24SchristosPIE_CFLAGS= 391.24SchristosPIE_LDFLAGS= 401.24SchristosPIE_AFLAGS= 411.24Schristos 421.17Swiz.include <bsd.own.mk> 431.15Sjhawk 441.21Slukemrelease: check_RELEASEDIR 451.21Slukem ${HOST_INSTALL_FILE} -m ${BINMODE} dosboot.com \ 461.21Slukem ${RELEASEDIR}/${MACHINE}/installation/misc 471.1Sperry 481.1Sperry.include "../Makefile.booters" 49