1 # $NetBSD: Makefile,v 1.24 2001/09/22 03:34:18 tv Exp $
5 SRCS
= start.S boot.c prom.c prom_disp.S OSFpal.c prom_swpal.S
7 SRCS
+= dev_net.c conf.c devopen.c
8 SRCS
+= if_prom.c getsecs.c booted_dev.c
10 BOOT_RELOC
= ${UNIFIED_LOAD_ADDRESS}
12 CLEANFILES
+= ${PROG}.sym
14 CPPFLAGS
+= ${UNIFIED_CPPFLAGS} -DSUPPORT_DHCP \
15 -DBOOT_TYPE_NAME
='"Network"'
18 @echo creating
${PROG} from
${PROG}.sym...
19 @
${OBJCOPY} --output-target
=binary
${PROG}.sym
${PROG}
22 @
${CHECKSIZE_CMD} ${PROG}.sym
${PROG} ${UNIFIED_MAX_LOAD} \
23 ${UNIFIED_MAX_TOTAL} ||
(rm -f
${PROG} ; false
)
25 SAMISCMAKEFLAGS
= SA_INCLUDE_NET
=yes SA_USE_CREAD
=yes
26 .
include "../Makefile.bootprogs"
28 ${PROG}.sym
: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
29 ${LD} -Ttext
${BOOT_RELOC} -N
-e start
-o
${PROG}.sym \
30 ${OBJS} ${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN}
33 release
: check_RELEASEDIR .WAIT
${PROG}
34 ${HOST_INSTALL_FILE} -m
${NONBINMODE} ${PROG} \
35 ${RELEASEDIR}/${MACHINE}/installation
/netboot