Home | History | Annotate | Line # | Download | only in dosboot
Makefile revision 1.10
      1 #	$NetBSD: Makefile,v 1.10 1999/01/30 17:44:10 christos Exp $
      2 
      3 S=	${.CURDIR}/../../../../
      4 
      5 BASE= dosboot
      6 PROG= ${BASE}.com
      7 NOMAN=
      8 NEWVERSWHAT=	"DOS Boot"
      9 
     10 SRCS= main.c devopen.c exec.c
     11 
     12 CLEANFILES+= ${DOSSTART} ${BASE}.sym
     13 
     14 CPPFLAGS+= -DCOMPAT_OLDBOOT -DXMS
     15 #uncomment if there are problems with memory detection
     16 #CPPFLAGS+= -DCONSERVATIVE_MEMDETECT
     17 
     18 #CFLAGS= -O2 -fomit-frame-pointer -fno-defer-pop
     19 CFLAGS+= -Wall
     20 
     21 # XXX should go into library
     22 SRCS+= getopt.c ls.c
     23 .PATH: ${.CURDIR}/../libsa
     24 
     25 SAMISCCPPFLAGS+= -DHEAP_START=0x10000 -DHEAP_LIMIT=0x40000
     26 SAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_INCLUDE_NET=no
     27 I386MISCMAKEFLAGS= I386_INCLUDE_DOS=yes
     28 
     29 .include "../Makefile.booters"
     30