1#         $NetBSD: Makefile,v 1.1 2011/01/26 01:18:53 pooka Exp $
2#         @(#)Makefile        8.3 (Berkeley) 2/16/94
3
4SECONDARY_PROG=     boot.emips
5STRIPFLAG=
6
7SRCS=               start.S boot.c
8SRCS+=              printf.c putchar.c prom_iface.c
9SRCS+=              bootinfo.c clock.c conf.c devopen.c dev_net.c
10SRCS+=              enic.c ace.c raw.c init_board.c
11
12CPPFLAGS+=          -DBOOT_TYPE_NAME='"Netboot"' \
13                    -DLIBSA_BOOTABLE_FILES_WILDCARD=\'?\' \
14                    -DBOOTNET -DSUPPORT_BOOTP -DSUPPORT_DHCP
15
16#CPPFLAGS+=         -DBOOTP_DEBUG -DNETIF_DEBUG -DETHER_DEBUG -DNFS_DEBUG \
17#                   -DRPC_DEBUG -DNET_DEBUG -DDEBUG -DPARANOID -DARP_DEBUG \
18#                   -DDEBUG_VAL=1
19
20# Copy boot.emips to / as well.
21afterinstall:
22          ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
23              ${STRIPFLAG} ${DESTDIR}${BINDIR}/${PROG} ${DESTDIR}/${PROG}
24
25.include "../Makefile.booters"
26