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