Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / arch / i386 / stand / netboot / Makefile.netboot
blob23984c30e2d9cf59ee4641eb735f915c2df7edf1
1 #       $NetBSD: Makefile.netboot,v 1.7 2008/10/20 20:00:57 christos Exp $
3 NOMAN=  # defined
5 PIE_CFLAGS=
6 PIE_LDFLAGS=
7 PIE_AFLAGS=
8 .include "../Makefile.inc"
10 S=      ${.CURDIR}/../../../../..
12 BASE= netboot_${USE_NETIF}
13 PROG= ${BASE}.rom
14 NEWVERSWHAT=    "Network Boot (${USE_NETIF})"
15 STARTFILE=      ${ROMSTART}
16 RELOC=          0x90000
18 .PATH: ${.CURDIR}/..
20 SRCS= main.c devopen.c conf.c dev_net.c exec.c
22 CPPFLAGS+= -DSLOW       # for libz
23 #CPPFLAGS+= -DDEBUG
24 #CPPFLAGS+= -DNET_DEBUG
25 CPPFLAGS+= -DSUPPORT_BOOTP -DSUPPORT_DHCP
26 CPPFLAGS+= -DSUPPORT_TFTP
27 #CPPFLAGS+= -DSUPPORT_RARP -DSUPPORT_BOOTPARAM
28 #CPPFLAGS+= -DSUPPORT_NFS -DNFS_NOSYMLINK
29 #uncomment if there are problems with memory detection
30 #CPPFLAGS+= -DCONSERVATIVE_MEMDETECT
32 #CFLAGS= -O2 -fomit-frame-pointer -fno-defer-pop
33 CFLAGS+= -Wall
35 # XXX should go into library
36 #.PATH: ${.CURDIR}/../../libsa
37 #SRCS+= nfs.c
38 #CPPFLAGS+= -I${.CURDIR}/../../libsa
40 #ROM_SIZE= 16384
41 ROM_SIZE= 32768
43 CPPFLAGS+= -DBOOTROM -DRELOC=${RELOC}
45 .PATH: ${.CURDIR}/../../lib/netif
47 .include "../../lib/netif/Makefile.inc"
49 SAMISCCPPFLAGS+= -DHEAP_START=0x10000 -DHEAP_LIMIT=0x40000
50 SAMISCCPPFLAGS+= -DNFS_NOSYMLINK -DUDP_NO_CKSUM
51 #SAMISCMAKEFLAGS= SA_USE_CREAD=yes
52 #I386MISCCPPFLAGS+= -DDISK_DEBUG
53 #I386MISCCPPFLAGS+= -DSUPPORT_SERIAL -DDIRECT_SERIAL -DCOMCONS_KEYPRESS
54 I386MISCMAKEFLAGS= I386_INCLUDE_DISK=no I386_INCLUDE_BUS=yes
56 VERSIONFILE= ${.CURDIR}/../version
58 .include "../../Makefile.booters"
60 conf.o dev_net.o: Makefile