Makefile revision 1.30
11.30Schristos# $NetBSD: Makefile,v 1.30 2016/01/23 22:29:29 christos 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.30SchristosCPPFLAGS+= -DXMS 171.27StsutsuiCPPFLAGS+= -DLIBSA_ENABLE_LS_OP 181.8Sdrochner#uncomment if there are problems with memory detection 191.8Sdrochner#CPPFLAGS+= -DCONSERVATIVE_MEMDETECT 201.1Sperry 211.1Sperry#CFLAGS= -O2 -fomit-frame-pointer -fno-defer-pop 221.13SdrochnerCFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main 231.1Sperry 241.1Sperry# XXX should go into library 251.13SdrochnerSRCS+= getopt.c 261.1Sperry.PATH: ${.CURDIR}/../libsa 271.1Sperry 281.22Sdsl# XXX these should depend on the size of the image 291.22SdslCPPFLAGS+= -DSTACK_START=0x10000 301.22SdslSAMISCCPPFLAGS+= -DHEAP_START=0x20000 -DHEAP_LIMIT=0x50000 311.27StsutsuiSAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_INCLUDE_NET=no SA_ENABLE_LS_OP=yes 321.1SperryI386MISCMAKEFLAGS= I386_INCLUDE_DOS=yes 331.12Sdrochner 341.12SdrochnerVERSIONFILE= ${.CURDIR}/version 351.17Swiz 361.24SchristosPIE_CFLAGS= 371.24SchristosPIE_LDFLAGS= 381.24SchristosPIE_AFLAGS= 391.24Schristos 401.17Swiz.include <bsd.own.mk> 411.15Sjhawk 421.21Slukemrelease: check_RELEASEDIR 431.21Slukem ${HOST_INSTALL_FILE} -m ${BINMODE} dosboot.com \ 441.21Slukem ${RELEASEDIR}/${MACHINE}/installation/misc 451.1Sperry 461.1Sperry.include "../Makefile.booters" 47