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