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