Home | History | Annotate | Line # | Download | only in pxeboot
Makefile revision 1.1
      1 #	$NetBSD: Makefile,v 1.1 2002/02/16 03:37:40 thorpej Exp $
      2 
      3 S=	${.CURDIR}/../../../../
      4 
      5 BASE?= pxeboot
      6 PROG= ${BASE}.pxe
      7 MKMAN=	no
      8 NEWVERSWHAT=	"PXE Boot"
      9 
     10 #.PATH.c: ${.CURDIR}/../netboot
     11 
     12 SRCS= main.c dev_net.c devopen.c conf.c exec.c pxe.c pxe_call.S
     13 
     14 CLEANFILES+= ${PXESTART}
     15 
     16 # Various serial line configurations
     17 CPPFLAGS+= -DSUPPORT_SERIAL=CONSDEV_PC -DDIRECT_SERIAL
     18 CPPFLAGS+= -DCONSPEED=19200
     19 #	or
     20 #CPPFLAGS+= -DSUPPORT_SERIAL=CONSDEV_COM0KBD
     21 #	or
     22 #CPPFLAGS+= -DSUPPORT_SERIAL=CONSDEV_AUTO 
     23 #	and maybe 
     24 #CPPFLAGS+= -DDIRECT_SERIAL -DCOMCONS_KEYPRESS -DCONSPEED=57600
     25 
     26 CPPFLAGS+= -DSUPPORT_BOOTP -DSUPPORT_DHCP
     27 CPPFLAGS+= -DSUPPORT_TFTP
     28 CPPFLAGS+= -DSUPPORT_NFS
     29 
     30 CPPFLAGS+= -DPASS_MEMMAP
     31 
     32 #CPPFLAGS+= -DBOOTPASSWD
     33 
     34 #CFLAGS= -O2 -fomit-frame-pointer -fno-defer-pop
     35 CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main
     36 
     37 SAMISCCPPFLAGS+= -DHEAP_START=0x10000 -DHEAP_LIMIT=0x30000
     38 #SAMISCMAKEFLAGS+= SA_USE_CREAD=yes	# Read compressed kernels
     39 
     40 I386MISCMAKEFLAGS= I386_INCLUDE_DISK=no
     41 
     42 VERSIONFILE= ${.CURDIR}/version
     43 
     44 .include "../Makefile.booters"
     45