Makefile revision 1.27
11.27Stsutsui# $NetBSD: Makefile,v 1.27 2011/12/25 06:09:09 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.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.27StsutsuiCPPFLAGS+= -DLIBSA_ENABLE_LS_OP 211.8Sdrochner#uncomment if there are problems with memory detection 221.8Sdrochner#CPPFLAGS+= -DCONSERVATIVE_MEMDETECT 231.1Sperry 241.1Sperry#CFLAGS= -O2 -fomit-frame-pointer -fno-defer-pop 251.13SdrochnerCFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main 261.1Sperry 271.1Sperry# XXX should go into library 281.13SdrochnerSRCS+= getopt.c 291.1Sperry.PATH: ${.CURDIR}/../libsa 301.1Sperry 311.22Sdsl# XXX these should depend on the size of the image 321.22SdslCPPFLAGS+= -DSTACK_START=0x10000 331.22SdslSAMISCCPPFLAGS+= -DHEAP_START=0x20000 -DHEAP_LIMIT=0x50000 341.27StsutsuiSAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_INCLUDE_NET=no SA_ENABLE_LS_OP=yes 351.1SperryI386MISCMAKEFLAGS= I386_INCLUDE_DOS=yes 361.12Sdrochner 371.12SdrochnerVERSIONFILE= ${.CURDIR}/version 381.17Swiz 391.24SchristosPIE_CFLAGS= 401.24SchristosPIE_LDFLAGS= 411.24SchristosPIE_AFLAGS= 421.24Schristos 431.17Swiz.include <bsd.own.mk> 441.15Sjhawk 451.21Slukemrelease: check_RELEASEDIR 461.21Slukem ${HOST_INSTALL_FILE} -m ${BINMODE} dosboot.com \ 471.21Slukem ${RELEASEDIR}/${MACHINE}/installation/misc 481.1Sperry 491.1Sperry.include "../Makefile.booters" 50