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