1 # $NetBSD: Makefile,v 1.2 2002/04/03 05:58:44 lukem Exp $ 2 # 3 4 PROG= installboot 5 SRCS= installboot.c sum.c machines.c 6 MAN= installboot.8 7 8 WARNS?= 3 9 10 # list of MACHINEs to build this version of installboot for. 11 # 12 IB_MACHINES?= vax 13 14 SRCS+= ${IB_MACHINES:S/$/.c/} 15 16 17 regenmachines: mkmachines.awk Makefile 18 -mv -f ${.CURDIR}/machines.c ${.CURDIR}/machines.c.bak 19 awk -f ${.CURDIR}/mkmachines.awk ${IB_MACHINES} > ${.TARGET} 20 mv ${.TARGET} ${.CURDIR}/machines.c 21 22 23 .ifndef HOSTPROG 24 .include <bsd.prog.mk> 25 .endif 26