NetBSD/sys/arch/sun3/stand/netboot/Makefile

25 lines
459 B
Makefile

# $NetBSD: Makefile,v 1.9 1998/02/05 04:57:18 gwr Exp $
SA_PROG= netboot
SRC1= boot.c conf.c
OBJS+= ${SRC1:.c=.o}
# Using local rule for this
OBJS+= dev_net.o
# Build these locally too
SRC2= bootparam.c globals.c nfs.c rpc.c
OBJS+= ${SRC2:.c=.o}
SRCS= ${SRC1} ${SRC2}
all: ${SA_PROG}.bin
.include <bsd.prog.mk>
.PATH: ${S}/lib/libsa
# How about -DSUPPORT_BOOTP instead?
dev_net.o : ${S}/lib/libsa/dev_net.c
${COMPILE.c} -DSUN_BOOTPARAMS ${.IMPSRC}