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