Home | History | Annotate | Line # | Download | only in dosboot
Makefile revision 1.8
      1 #	$NetBSD: Makefile,v 1.8 1997/08/14 17:00:22 drochner Exp $
      2 
      3 S=	${.CURDIR}/../../../../
      4 
      5 PROG= dosboot
      6 NOMAN=
      7 NEWVERSWHAT=	"DOS Boot"
      8 
      9 SRCS= main.c devopen.c
     10 
     11 CLEANFILES+= ${DOSSTART} ${PROG}.sym ${PROG}.com ${PROG}.list
     12 
     13 CPPFLAGS+= -DCOMPAT_OLDBOOT -DXMS
     14 #uncomment if there are problems with memory detection
     15 #CPPFLAGS+= -DCONSERVATIVE_MEMDETECT
     16 
     17 #CFLAGS= -O2 -fomit-frame-pointer -fno-defer-pop
     18 CFLAGS+= -Wall
     19 
     20 # XXX should go into library
     21 SRCS+= getopt.c ls.c
     22 .PATH: ${.CURDIR}/../libsa
     23 
     24 ${PROG}: ${PROG}.com
     25 	@# do nothing
     26 
     27 proginstall::
     28 	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
     29 	    ${PROG}.com ${DESTDIR}${BINDIR}
     30 
     31 SAMISCCPPFLAGS+= -DHEAP_START=0x10000 -DHEAP_LIMIT=0x40000
     32 SAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_INCLUDE_NET=no
     33 I386MISCMAKEFLAGS= I386_INCLUDE_DOS=yes
     34 
     35 .include "../Makefile.booters"
     36