NetBSD/usr.sbin/installboot/Makefile

26 lines
510 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.3 2002/04/03 06:34:31 lukem Exp $
#
PROG= installboot
SRCS= installboot.c sum.c machines.c
MAN= installboot.8
WARNS?= 3
# list of MACHINEs to build this version of installboot for.
#
IB_MACHINES?= 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