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