NetBSD/usr.sbin/installboot/Makefile
lukem 06d7c45c38 Add support for alpha, based on {vax,pmax}.c and
sys/arch/alpha/stand/installboot.
XXX: not fully tested yet.
2002-04-03 10:21:01 +00:00

29 lines
565 B
Makefile

# $NetBSD: Makefile,v 1.5 2002/04/03 10:21:01 lukem Exp $
#
PROG= installboot
SRCS= installboot.c sum.c machines.c
MAN= installboot.8
WARNS?= 3
CPPFLAGS+= -I${.CURDIR}
.PATH: ${.CURDIR}/arch
# list of MACHINEs to build this version of installboot for.
#
IB_MACHINES?= alpha pmax vax
SRCS+= ${IB_MACHINES:S/$/.c/}
regenmachines: mkmachines.awk Makefile
-mv -f ${.CURDIR}/machines.c ${.CURDIR}/machines.c.bak
awk -f ${.CURDIR}/mkmachines.awk ${IB_MACHINES} > ${.TARGET}
mv ${.TARGET} ${.CURDIR}/machines.c
.ifndef HOSTPROG
.include <bsd.prog.mk>
.endif