Makefile revision 1.32
11.32Smanu# $NetBSD: Makefile,v 1.32 2019/09/13 02:19:45 manu Exp $ 21.1Sperry 31.25StsutsuiS= ${.CURDIR}/../../../.. 41.1Sperry 51.9SdrochnerBASE= dosboot 61.9SdrochnerPROG= ${BASE}.com 71.6SthorpejNEWVERSWHAT= "DOS Boot" 81.20SthorpejSTARTFILE= ${DOSSTART} 91.20SthorpejRELOC= 0x100 101.1Sperry 111.32SmanuSRCS= main.c devopen.c exec.c exec_multiboot1.c exec_multiboot2.c 121.1Sperry 131.23SmycroftCPPFLAGS+= -DSLOW # for libz 141.18SjdolecekCPPFLAGS+= -DCOMPAT_386BSD_MBRPART 151.30SchristosCPPFLAGS+= -DXMS 161.27StsutsuiCPPFLAGS+= -DLIBSA_ENABLE_LS_OP 171.32SmanuCPPFLAGS+= -DNO_MULTIBOOT2 # keep the binary small 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.31Schristos.include <bsd.init.mk> 371.15Sjhawk 381.21Slukemrelease: check_RELEASEDIR 391.21Slukem ${HOST_INSTALL_FILE} -m ${BINMODE} dosboot.com \ 401.21Slukem ${RELEASEDIR}/${MACHINE}/installation/misc 411.1Sperry 421.1Sperry.include "../Makefile.booters" 43