Makefile revision 1.2
11.2Sthorpej#	$NetBSD: Makefile,v 1.2 2002/02/17 20:03:11 thorpej Exp $
21.1Sthorpej
31.1SthorpejS=	${.CURDIR}/../../../../
41.1Sthorpej
51.1SthorpejBASE?= pxeboot
61.2SthorpejPROG= ${BASE}.bin
71.1SthorpejMKMAN=	no
81.1SthorpejNEWVERSWHAT=	"PXE Boot"
91.2SthorpejSTARTFILE=	${PXESTART}
101.2SthorpejRELOC=		0x0
111.1Sthorpej
121.1Sthorpej#.PATH.c: ${.CURDIR}/../netboot
131.1Sthorpej
141.1SthorpejSRCS= main.c dev_net.c devopen.c conf.c exec.c pxe.c pxe_call.S
151.1Sthorpej
161.1Sthorpej# Various serial line configurations
171.1SthorpejCPPFLAGS+= -DSUPPORT_SERIAL=CONSDEV_PC -DDIRECT_SERIAL
181.1Sthorpej#	or
191.1Sthorpej#CPPFLAGS+= -DSUPPORT_SERIAL=CONSDEV_COM0KBD
201.1Sthorpej#	or
211.1Sthorpej#CPPFLAGS+= -DSUPPORT_SERIAL=CONSDEV_AUTO 
221.1Sthorpej#	and maybe 
231.1Sthorpej#CPPFLAGS+= -DDIRECT_SERIAL -DCOMCONS_KEYPRESS -DCONSPEED=57600
241.1Sthorpej
251.1SthorpejCPPFLAGS+= -DSUPPORT_BOOTP -DSUPPORT_DHCP
261.1SthorpejCPPFLAGS+= -DSUPPORT_TFTP
271.1SthorpejCPPFLAGS+= -DSUPPORT_NFS
281.1Sthorpej
291.1SthorpejCPPFLAGS+= -DPASS_MEMMAP
301.1Sthorpej
311.1Sthorpej#CPPFLAGS+= -DBOOTPASSWD
321.1Sthorpej
331.1Sthorpej#CFLAGS= -O2 -fomit-frame-pointer -fno-defer-pop
341.1SthorpejCFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main
351.1Sthorpej
361.1SthorpejSAMISCCPPFLAGS+= -DHEAP_START=0x10000 -DHEAP_LIMIT=0x30000
371.2SthorpejSAMISCMAKEFLAGS+= SA_USE_CREAD=yes	# Read compressed kernels
381.1Sthorpej
391.1SthorpejI386MISCMAKEFLAGS= I386_INCLUDE_DISK=no
401.1Sthorpej
411.1SthorpejVERSIONFILE= ${.CURDIR}/version
421.1Sthorpej
431.1Sthorpej.include "../Makefile.booters"
44