1 # $NetBSD: Makefile,v 1.1 2002/04/03 05:21:16 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 # XXX: maybe build as necessary and commit, rather than build each time? 18 # 19 CPPFLAGS+= -I${.CURDIR} 20 CLEANFILES+= machines.c 21 22 machines.c: mkmachines.awk Makefile 23 awk -f ${.CURDIR}/mkmachines.awk ${IB_MACHINES} > ${.TARGET} 24 25 26 .ifndef HOSTPROG 27 .include <bsd.prog.mk> 28 .endif 29