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