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

28 lines
572 B
Makefile

# $NetBSD: Makefile,v 1.10 1998/07/01 22:56:45 gwr Exp $
SA_PROG= netboot
# Using local rule for this
SRCxx= ${.CURDIR}/../libsa/xxboot.c
# Regular local source
SRC1= conf.c
# Build these locally too
SRC2= dev_net.c bootparam.c globals.c nfs.c rpc.c
SRCS= ${SRCxx} ${SRC1} ${SRC2}
OBJS= boot.o ${SRC1:.c=.o} ${SRC2:.c=.o}
all: ${SA_PROG}.bin
.include <bsd.prog.mk>
.PATH: ${S}/lib/libsa
DEFS+= -DSUN_BOOTPARAMS
# This file is common to netboot and ufsboot,
# but gets a define so it knows which it is.
boot.o : ${SRCxx}
${COMPILE.c} -DXX='"net"' -o $@ ${SRCxx}