replace machines.c rebuild with "regenmachines", which needs to be run
manually
This commit is contained in:
parent
e96da4cdff
commit
93c03c6edc
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.1 2002/04/03 05:21:16 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2002/04/03 05:58:44 lukem Exp $
|
||||
#
|
||||
|
||||
PROG= installboot
|
||||
|
@ -14,13 +14,10 @@ IB_MACHINES?= vax
|
|||
SRCS+= ${IB_MACHINES:S/$/.c/}
|
||||
|
||||
|
||||
# XXX: maybe build as necessary and commit, rather than build each time?
|
||||
#
|
||||
CPPFLAGS+= -I${.CURDIR}
|
||||
CLEANFILES+= machines.c
|
||||
|
||||
machines.c: mkmachines.awk Makefile
|
||||
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
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
/* $NetBSD: machines.c,v 1.1 2002/04/03 05:58:45 lukem Exp $ */
|
||||
|
||||
/* DO NOT EDIT-- this file is automatically generated. */
|
||||
|
||||
#include <sys/types.h>
|
||||
#include "installboot.h"
|
||||
|
||||
int vax_parseopt(ib_params *, const char *);
|
||||
int vax_setboot(ib_params *);
|
||||
int vax_clearboot(ib_params *);
|
||||
|
||||
struct ib_mach machines[] = {
|
||||
{ "vax", vax_parseopt, vax_setboot, vax_clearboot },
|
||||
{ 0, 0, 0, 0 },
|
||||
};
|
Loading…
Reference in New Issue