Makefile revision 1.16
1# $NetBSD: Makefile,v 1.16 2000/09/05 05:05:16 enami Exp $ 2 3S= ${.CURDIR}/../../../../ 4 5BASE= dosboot 6PROG= ${BASE}.com 7MKMAN= no 8NEWVERSWHAT= "DOS Boot" 9 10SRCS= main.c devopen.c exec.c 11 12CLEANFILES+= ${DOSSTART} ${BASE}.sym 13 14CPPFLAGS+= -DCOMPAT_OLDBOOT -DCOMPAT_386BSD_MBRPART 15CPPFLAGS+= -DXMS 16#uncomment if there are problems with memory detection 17#CPPFLAGS+= -DCONSERVATIVE_MEMDETECT 18 19#CFLAGS= -O2 -fomit-frame-pointer -fno-defer-pop 20CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main 21 22# XXX should go into library 23SRCS+= getopt.c 24.PATH: ${.CURDIR}/../libsa 25 26SAMISCCPPFLAGS+= -DHEAP_START=0x10000 -DHEAP_LIMIT=0x40000 27SAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_INCLUDE_NET=no 28I386MISCMAKEFLAGS= I386_INCLUDE_DOS=yes 29 30VERSIONFILE= ${.CURDIR}/version 31 32.ifndef RELEASEDIR 33release: 34 @echo setenv RELEASEDIR first 35 @false 36.else 37release: 38 cp dosboot.com ${RELEASEDIR}/installation/misc 39.endif 40 41.include "../Makefile.booters" 42