NetBSD/sys/arch/sun3/stand/ufsboot/Makefile

28 lines
529 B
Makefile
Raw Normal View History

1998-07-02 02:56:45 +04:00
# $NetBSD: Makefile,v 1.6 1998/07/01 22:56:45 gwr Exp $
1995-06-02 00:37:44 +04:00
SA_PROG= ufsboot
# Using local rule for this
1998-07-02 02:56:45 +04:00
SRCxx= ${.CURDIR}/../libsa/xxboot.c
# Regular local source
SRC1= conf.c
# Build these locally too
SRC2= ufs.c
SRCS= ${SRCxx} ${SRC1} ${SRC2}
OBJS= boot.o ${SRC1:.c=.o} ${SRC2:.c=.o}
1995-06-02 00:37:44 +04:00
1995-06-10 02:24:06 +04:00
all: ${SA_PROG}.bin
1995-06-02 00:37:44 +04:00
.include <bsd.prog.mk>
1998-07-02 02:56:45 +04:00
.PATH: ${S}/lib/libsa
DEFS+= -DCOMPAT_UFS
1995-06-10 02:24:06 +04:00
1998-07-02 02:56:45 +04:00
# This file is common to netboot and ufsboot,
# but gets a define so it knows which it is.
boot.o : ${SRCxx}
${COMPILE.c} -DXX='"ufs"' -o $@ ${SRCxx}