Home | History | Annotate | Line # | Download | only in dosboot
Makefile revision 1.27
      1  1.27   tsutsui #	$NetBSD: Makefile,v 1.27 2011/12/25 06:09:09 tsutsui Exp $
      2   1.1     perry 
      3  1.25   tsutsui S=	${.CURDIR}/../../../..
      4   1.1     perry 
      5   1.9  drochner BASE= dosboot
      6   1.9  drochner PROG= ${BASE}.com
      7  1.19        tv NOMAN=	# defined
      8   1.6   thorpej NEWVERSWHAT=	"DOS Boot"
      9  1.20   thorpej STARTFILE=	${DOSSTART}
     10  1.20   thorpej RELOC=		0x100
     11   1.1     perry 
     12  1.26     joerg AFLAGS.dosboot.S= ${${ACTIVE_CC} == "clang":?-no-integrated-as:}
     13  1.26     joerg AFLAGS.start_dos.S= ${${ACTIVE_CC} == "clang":?-no-integrated-as:}
     14  1.26     joerg 
     15  1.10  christos SRCS= main.c devopen.c exec.c
     16   1.1     perry 
     17  1.23   mycroft CPPFLAGS+= -DSLOW	# for libz
     18  1.18  jdolecek CPPFLAGS+= -DCOMPAT_386BSD_MBRPART
     19  1.14     jhawk CPPFLAGS+= -DXMS
     20  1.27   tsutsui CPPFLAGS+= -DLIBSA_ENABLE_LS_OP
     21   1.8  drochner #uncomment if there are problems with memory detection
     22   1.8  drochner #CPPFLAGS+= -DCONSERVATIVE_MEMDETECT
     23   1.1     perry 
     24   1.1     perry #CFLAGS= -O2 -fomit-frame-pointer -fno-defer-pop
     25  1.13  drochner CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main
     26   1.1     perry 
     27   1.1     perry # XXX should go into library
     28  1.13  drochner SRCS+= getopt.c
     29   1.1     perry .PATH: ${.CURDIR}/../libsa
     30   1.1     perry 
     31  1.22       dsl # XXX these should depend on the size of the image
     32  1.22       dsl CPPFLAGS+= -DSTACK_START=0x10000
     33  1.22       dsl SAMISCCPPFLAGS+= -DHEAP_START=0x20000 -DHEAP_LIMIT=0x50000
     34  1.27   tsutsui SAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_INCLUDE_NET=no SA_ENABLE_LS_OP=yes
     35   1.1     perry I386MISCMAKEFLAGS= I386_INCLUDE_DOS=yes
     36  1.12  drochner 
     37  1.12  drochner VERSIONFILE= ${.CURDIR}/version
     38  1.17       wiz 
     39  1.24  christos PIE_CFLAGS=
     40  1.24  christos PIE_LDFLAGS=
     41  1.24  christos PIE_AFLAGS=
     42  1.24  christos 
     43  1.17       wiz .include <bsd.own.mk>
     44  1.15     jhawk 
     45  1.21     lukem release: check_RELEASEDIR
     46  1.21     lukem 	${HOST_INSTALL_FILE} -m ${BINMODE} dosboot.com \
     47  1.21     lukem 	    ${RELEASEDIR}/${MACHINE}/installation/misc
     48   1.1     perry 
     49   1.1     perry .include "../Makefile.booters"
     50