head	1.25;
access;
symbols
	netbsd-11-0-RC4:1.25
	netbsd-11-0-RC3:1.25
	netbsd-11-0-RC2:1.25
	netbsd-11-0-RC1:1.25
	perseant-exfatfs-base-20250801:1.25
	netbsd-11:1.25.0.6
	netbsd-11-base:1.25
	netbsd-10-1-RELEASE:1.25
	perseant-exfatfs-base-20240630:1.25
	perseant-exfatfs:1.25.0.4
	perseant-exfatfs-base:1.25
	netbsd-8-3-RELEASE:1.21
	netbsd-9-4-RELEASE:1.21
	netbsd-10-0-RELEASE:1.25
	netbsd-10-0-RC6:1.25
	netbsd-10-0-RC5:1.25
	netbsd-10-0-RC4:1.25
	netbsd-10-0-RC3:1.25
	netbsd-10-0-RC2:1.25
	netbsd-10-0-RC1:1.25
	netbsd-10:1.25.0.2
	netbsd-10-base:1.25
	netbsd-9-3-RELEASE:1.21
	cjep_sun2x-base1:1.23
	cjep_sun2x:1.23.0.4
	cjep_sun2x-base:1.23
	cjep_staticlib_x-base1:1.23
	netbsd-9-2-RELEASE:1.21
	cjep_staticlib_x:1.23.0.2
	cjep_staticlib_x-base:1.23
	netbsd-9-1-RELEASE:1.21
	phil-wifi-20200421:1.21
	phil-wifi-20200411:1.21
	is-mlppp:1.21.0.30
	is-mlppp-base:1.21
	phil-wifi-20200406:1.21
	netbsd-8-2-RELEASE:1.21
	netbsd-9-0-RELEASE:1.21
	netbsd-9-0-RC2:1.21
	netbsd-9-0-RC1:1.21
	phil-wifi-20191119:1.21
	netbsd-9:1.21.0.28
	netbsd-9-base:1.21
	phil-wifi-20190609:1.21
	netbsd-8-1-RELEASE:1.21
	netbsd-8-1-RC1:1.21
	pgoyette-compat-merge-20190127:1.21
	pgoyette-compat-20190127:1.21
	pgoyette-compat-20190118:1.21
	pgoyette-compat-1226:1.21
	pgoyette-compat-1126:1.21
	pgoyette-compat-1020:1.21
	pgoyette-compat-0930:1.21
	pgoyette-compat-0906:1.21
	netbsd-7-2-RELEASE:1.21
	pgoyette-compat-0728:1.21
	netbsd-8-0-RELEASE:1.21
	phil-wifi:1.21.0.26
	phil-wifi-base:1.21
	pgoyette-compat-0625:1.21
	netbsd-8-0-RC2:1.21
	pgoyette-compat-0521:1.21
	pgoyette-compat-0502:1.21
	pgoyette-compat-0422:1.21
	netbsd-8-0-RC1:1.21
	pgoyette-compat-0415:1.21
	pgoyette-compat-0407:1.21
	pgoyette-compat-0330:1.21
	pgoyette-compat-0322:1.21
	pgoyette-compat-0315:1.21
	netbsd-7-1-2-RELEASE:1.21
	pgoyette-compat:1.21.0.24
	pgoyette-compat-base:1.21
	netbsd-7-1-1-RELEASE:1.21
	matt-nb8-mediatek:1.21.0.22
	matt-nb8-mediatek-base:1.21
	perseant-stdc-iso10646:1.21.0.20
	perseant-stdc-iso10646-base:1.21
	netbsd-8:1.21.0.18
	netbsd-8-base:1.21
	prg-localcount2-base3:1.21
	prg-localcount2-base2:1.21
	prg-localcount2-base1:1.21
	prg-localcount2:1.21.0.16
	prg-localcount2-base:1.21
	pgoyette-localcount-20170426:1.21
	bouyer-socketcan-base1:1.21
	pgoyette-localcount-20170320:1.21
	netbsd-7-1:1.21.0.14
	netbsd-7-1-RELEASE:1.21
	netbsd-7-1-RC2:1.21
	netbsd-7-nhusb-base-20170116:1.21
	bouyer-socketcan:1.21.0.12
	bouyer-socketcan-base:1.21
	pgoyette-localcount-20170107:1.21
	netbsd-7-1-RC1:1.21
	pgoyette-localcount-20161104:1.21
	netbsd-7-0-2-RELEASE:1.21
	localcount-20160914:1.21
	netbsd-7-nhusb:1.21.0.10
	netbsd-7-nhusb-base:1.21
	pgoyette-localcount-20160806:1.21
	pgoyette-localcount-20160726:1.21
	pgoyette-localcount:1.21.0.8
	pgoyette-localcount-base:1.21
	netbsd-7-0-1-RELEASE:1.21
	netbsd-7-0:1.21.0.6
	netbsd-7-0-RELEASE:1.21
	netbsd-7-0-RC3:1.21
	netbsd-7-0-RC2:1.21
	netbsd-7-0-RC1:1.21
	netbsd-5-2-3-RELEASE:1.17
	netbsd-5-1-5-RELEASE:1.17
	netbsd-6-0-6-RELEASE:1.20
	netbsd-6-1-5-RELEASE:1.20
	netbsd-7:1.21.0.4
	netbsd-7-base:1.21
	yamt-pagecache-base9:1.21
	yamt-pagecache-tag8:1.20
	netbsd-6-1-4-RELEASE:1.20
	netbsd-6-0-5-RELEASE:1.20
	tls-earlyentropy:1.21.0.2
	tls-earlyentropy-base:1.21
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.21
	riastradh-drm2-base3:1.21
	netbsd-6-1-3-RELEASE:1.20
	netbsd-6-0-4-RELEASE:1.20
	netbsd-5-2-2-RELEASE:1.17
	netbsd-5-1-4-RELEASE:1.17
	netbsd-6-1-2-RELEASE:1.20
	netbsd-6-0-3-RELEASE:1.20
	netbsd-5-2-1-RELEASE:1.17
	netbsd-5-1-3-RELEASE:1.17
	netbsd-6-1-1-RELEASE:1.20
	riastradh-drm2-base2:1.20
	riastradh-drm2-base1:1.20
	riastradh-drm2:1.20.0.14
	riastradh-drm2-base:1.20
	netbsd-6-1:1.20.0.18
	netbsd-6-0-2-RELEASE:1.20
	netbsd-6-1-RELEASE:1.20
	netbsd-6-1-RC4:1.20
	netbsd-6-1-RC3:1.20
	agc-symver:1.20.0.16
	agc-symver-base:1.20
	netbsd-6-1-RC2:1.20
	dholland-make-base:1.20
	netbsd-6-1-RC1:1.20
	yamt-pagecache-base8:1.20
	netbsd-5-2:1.17.0.44
	netbsd-6-0-1-RELEASE:1.20
	yamt-pagecache-base7:1.20
	netbsd-5-2-RELEASE:1.17
	netbsd-5-2-RC1:1.17
	matt-nb6-plus-nbase:1.20
	yamt-pagecache-base6:1.20
	netbsd-6-0:1.20.0.12
	netbsd-6-0-RELEASE:1.20
	netbsd-6-0-RC2:1.20
	tls-maxphys:1.20.0.10
	tls-maxphys-base:1.21
	matt-nb6-plus:1.20.0.8
	matt-nb6-plus-base:1.20
	netbsd-6-0-RC1:1.20
	yamt-pagecache-base5:1.20
	yamt-pagecache-base4:1.20
	netbsd-6:1.20.0.6
	netbsd-6-base:1.20
	netbsd-5-1-2-RELEASE:1.17
	netbsd-5-1-1-RELEASE:1.17
	yamt-pagecache-base3:1.20
	yamt-pagecache-base2:1.20
	yamt-pagecache:1.20.0.4
	yamt-pagecache-base:1.20
	cherry-xenmp:1.20.0.2
	cherry-xenmp-base:1.20
	bouyer-quota2-nbase:1.19
	bouyer-quota2:1.19.0.4
	bouyer-quota2-base:1.19
	matt-mips64-premerge-20101231:1.19
	matt-nb5-mips64-premerge-20101231:1.17
	matt-nb5-pq3:1.17.0.42
	matt-nb5-pq3-base:1.17
	netbsd-5-1:1.17.0.40
	netbsd-5-1-RELEASE:1.17
	netbsd-5-1-RC4:1.17
	matt-nb5-mips64-k15:1.17
	netbsd-5-1-RC3:1.17
	netbsd-5-1-RC2:1.17
	netbsd-5-1-RC1:1.17
	netbsd-5-0-2-RELEASE:1.17
	matt-nb5-mips64-premerge-20091211:1.17
	matt-premerge-20091211:1.19
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.17
	matt-nb4-mips64-k7-u2a-k9b:1.17
	matt-nb5-mips64-u1-k1-k5:1.17
	matt-nb5-mips64:1.17.0.38
	netbsd-5-0-1-RELEASE:1.17
	jym-xensuspend-nbase:1.19
	netbsd-5-0:1.17.0.36
	netbsd-5-0-RELEASE:1.17
	netbsd-5-0-RC4:1.17
	netbsd-5-0-RC3:1.17
	netbsd-5-0-RC2:1.17
	jym-xensuspend:1.19.0.2
	jym-xensuspend-base:1.19
	netbsd-5-0-RC1:1.17
	netbsd-5:1.17.0.34
	netbsd-5-base:1.17
	matt-mips64-base2:1.17
	matt-mips64:1.17.0.32
	mjf-devfs2:1.17.0.30
	mjf-devfs2-base:1.17
	netbsd-4-0-1-RELEASE:1.17
	wrstuden-revivesa-base-3:1.17
	wrstuden-revivesa-base-2:1.17
	wrstuden-fixsa-newbase:1.17
	wrstuden-revivesa-base-1:1.17
	yamt-pf42-base4:1.17
	yamt-pf42-base3:1.17
	hpcarm-cleanup-nbase:1.17
	yamt-pf42-baseX:1.17
	yamt-pf42-base2:1.17
	wrstuden-revivesa:1.17.0.28
	wrstuden-revivesa-base:1.17
	yamt-pf42:1.17.0.26
	yamt-pf42-base:1.17
	keiichi-mipv6-nbase:1.17
	keiichi-mipv6:1.17.0.24
	keiichi-mipv6-base:1.17
	christos-broken:1.17
	matt-armv6-nbase:1.17
	matt-armv6-prevmlocking:1.17
	wrstuden-fixsa-base-1:1.17
	netbsd-4-0:1.17.0.22
	netbsd-4-0-RELEASE:1.17
	cube-autoconf:1.17.0.20
	cube-autoconf-base:1.17
	netbsd-4-0-RC5:1.17
	netbsd-4-0-RC4:1.17
	netbsd-4-0-RC3:1.17
	netbsd-4-0-RC2:1.17
	netbsd-4-0-RC1:1.17
	matt-armv6:1.17.0.18
	matt-armv6-base:1.17
	matt-mips64-base:1.17
	hpcarm-cleanup:1.17.0.16
	hpcarm-cleanup-base:1.17
	netbsd-3-1-1-RELEASE:1.17
	netbsd-3-0-3-RELEASE:1.17
	wrstuden-fixsa:1.17.0.14
	wrstuden-fixsa-base:1.17
	abandoned-netbsd-4-base:1.17
	abandoned-netbsd-4:1.17.0.8
	netbsd-3-1:1.17.0.10
	netbsd-3-1-RELEASE:1.17
	netbsd-3-0-2-RELEASE:1.17
	netbsd-3-1-RC4:1.17
	netbsd-3-1-RC3:1.17
	netbsd-3-1-RC2:1.17
	netbsd-3-1-RC1:1.17
	netbsd-4:1.17.0.12
	netbsd-4-base:1.17
	chap-midi-nbase:1.17
	netbsd-3-0-1-RELEASE:1.17
	chap-midi:1.17.0.6
	chap-midi-base:1.17
	netbsd-3-0:1.17.0.4
	netbsd-3-0-RELEASE:1.17
	netbsd-3-0-RC6:1.17
	netbsd-3-0-RC5:1.17
	netbsd-3-0-RC4:1.17
	netbsd-3-0-RC3:1.17
	netbsd-3-0-RC2:1.17
	netbsd-3-0-RC1:1.17
	netbsd-2-0-3-RELEASE:1.15.2.2
	netbsd-2-1:1.15.2.2.0.4
	netbsd-2-1-RELEASE:1.15.2.2
	netbsd-2-1-RC6:1.15.2.2
	netbsd-2-1-RC5:1.15.2.2
	netbsd-2-1-RC4:1.15.2.2
	netbsd-2-1-RC3:1.15.2.2
	netbsd-2-1-RC2:1.15.2.2
	netbsd-2-1-RC1:1.15.2.2
	netbsd-2-0-2-RELEASE:1.15.2.2
	netbsd-3:1.17.0.2
	netbsd-3-base:1.17
	netbsd-2-0-1-RELEASE:1.15.2.2
	netbsd-2:1.15.2.2.0.2
	netbsd-2-base:1.15.2.2
	netbsd-2-0-RELEASE:1.15.2.2
	netbsd-2-0-RC5:1.15.2.2
	netbsd-2-0-RC4:1.15.2.2
	netbsd-2-0-RC3:1.15.2.2
	netbsd-2-0-RC2:1.15.2.2
	netbsd-2-0-RC1:1.15.2.2
	netbsd-2-0:1.15.0.2
	netbsd-2-0-base:1.15
	netbsd-1-6-PATCH002-RELEASE:1.14
	netbsd-1-6-PATCH002:1.14
	netbsd-1-6-PATCH002-RC4:1.14
	netbsd-1-6-PATCH002-RC3:1.14
	netbsd-1-6-PATCH002-RC2:1.14
	netbsd-1-6-PATCH002-RC1:1.14
	netbsd-1-6-PATCH001:1.14
	netbsd-1-6-PATCH001-RELEASE:1.14
	netbsd-1-6-PATCH001-RC3:1.14
	netbsd-1-6-PATCH001-RC2:1.14
	netbsd-1-6-PATCH001-RC1:1.14
	fvdl_fs64_base:1.15
	netbsd-1-6-RELEASE:1.14
	netbsd-1-6-RC3:1.14
	netbsd-1-6-RC2:1.14
	netbsd-1-6-RC1:1.14
	netbsd-1-6:1.14.0.2
	netbsd-1-6-base:1.14
	netbsd-1-5-PATCH003:1.11
	netbsd-1-5-PATCH002:1.11
	netbsd-1-5-PATCH001:1.11
	netbsd-1-5-RELEASE:1.11
	netbsd-1-5-BETA2:1.11
	netbsd-1-5-BETA:1.11
	netbsd-1-4-PATCH003:1.9
	netbsd-1-5-ALPHA2:1.11
	netbsd-1-5:1.11.0.8
	netbsd-1-5-base:1.11
	minoura-xpg4dl-base:1.11
	minoura-xpg4dl:1.11.0.6
	netbsd-1-4-PATCH002:1.9
	wrstuden-devbsize-19991221:1.11
	wrstuden-devbsize:1.11.0.4
	wrstuden-devbsize-base:1.11
	comdex-fall-1999:1.11.0.2
	comdex-fall-1999-base:1.11
	netbsd-1-4-PATCH001:1.9
	netbsd-1-4-RELEASE:1.9
	netbsd-1-4:1.9.0.2
	netbsd-1-4-base:1.9
	netbsd-1-3-PATCH003:1.8
	netbsd-1-3-PATCH003-CANDIDATE2:1.8
	netbsd-1-3-PATCH003-CANDIDATE1:1.8
	netbsd-1-3-PATCH003-CANDIDATE0:1.8
	netbsd-1-3-PATCH002:1.8
	netbsd-1-3-PATCH001:1.8
	netbsd-1-3-RELEASE:1.8
	netbsd-1-3-BETA:1.8
	netbsd-1-3:1.8.0.2
	netbsd-1-3-base:1.8
	netbsd-1-2-PATCH001:1.5.6.1
	netbsd-1-2-RELEASE:1.5
	netbsd-1-2-BETA:1.5
	netbsd-1-2:1.5.0.6
	netbsd-1-2-base:1.5
	netbsd-1-1-PATCH001:1.5
	netbsd-1-1-RELEASE:1.5
	netbsd-1-1:1.5.0.2
	netbsd-1-1-base:1.5
	netbsd-1-0-PATCH06:1.4
	netbsd-1-0-PATCH05:1.4
	netbsd-1-0-PATCH04:1.4
	netbsd-1-0-PATCH03:1.4
	netbsd-1-0-PATCH02:1.4
	netbsd-1-0-PATCH1:1.4
	netbsd-1-0-PATCH0:1.4
	netbsd-1-0-RELEASE:1.4
	netbsd-1-0:1.4.0.2
	netbsd-1-0-base:1.4;
locks; strict;
comment	@# @;


1.25
date	2022.04.15.13.44.57;	author rillig;	state Exp;
branches;
next	1.24;
commitid	Y0ARKflN6ORrIiAD;

1.24
date	2021.12.12.11.02.23;	author rillig;	state Exp;
branches;
next	1.23;
commitid	Oqbk7ySi1sZrNlkD;

1.23
date	2020.10.25.13.25.19;	author rillig;	state Exp;
branches;
next	1.22;
commitid	iSN4ITrwg0RYRhtC;

1.22
date	2020.08.09.15.54.13;	author rillig;	state Exp;
branches;
next	1.21;
commitid	366Ih62jmHEJ8pjC;

1.21
date	2014.02.24.07.23.44;	author skrll;	state Exp;
branches;
next	1.20;
commitid	HknWmBfzukaU7kqx;

1.20
date	2011.03.26.21.42.12;	author dholland;	state Exp;
branches
	1.20.4.1
	1.20.10.1;
next	1.19;

1.19
date	2009.01.24.11.59.39;	author dsl;	state Exp;
branches;
next	1.18;

1.18
date	2008.12.20.22.41.53;	author dsl;	state Exp;
branches;
next	1.17;

1.17
date	2004.05.07.00.04.38;	author ross;	state Exp;
branches;
next	1.16;

1.16
date	2004.05.06.23.15.46;	author ross;	state Exp;
branches;
next	1.15;

1.15
date	2002.06.11.06.06.19;	author itojun;	state Exp;
branches
	1.15.2.1;
next	1.14;

1.14
date	2001.11.30.01.29.47;	author thorpej;	state Exp;
branches;
next	1.13;

1.13
date	2001.01.18.05.53.05;	author thorpej;	state Exp;
branches;
next	1.12;

1.12
date	2000.08.03.15.53.24;	author christos;	state Exp;
branches;
next	1.11;

1.11
date	99.04.03.04.50.16;	author gwr;	state Exp;
branches;
next	1.10;

1.10
date	99.04.03.04.39.10;	author gwr;	state Exp;
branches;
next	1.9;

1.9
date	98.05.21.17.19.46;	author tv;	state Exp;
branches;
next	1.8;

1.8
date	96.12.31.17.52.23;	author christos;	state Exp;
branches;
next	1.7;

1.7
date	96.08.30.17.59.37;	author thorpej;	state Exp;
branches;
next	1.6;

1.6
date	96.08.13.16.40.31;	author christos;	state Exp;
branches;
next	1.5;

1.5
date	95.06.14.15.18.43;	author christos;	state Exp;
branches
	1.5.6.1;
next	1.4;

1.4
date	94.05.09.06.36.20;	author glass;	state Exp;
branches;
next	1.3;

1.3
date	94.04.17.03.09.49;	author glass;	state Exp;
branches;
next	1.2;

1.2
date	94.04.09.23.35.25;	author briggs;	state Exp;
branches;
next	1.1;

1.1
date	94.03.05.00.34.30;	author cgd;	state Exp;
branches;
next	;

1.20.4.1
date	2014.05.22.11.42.45;	author yamt;	state Exp;
branches;
next	;
commitid	cG7DCbrDdiE9MwBx;

1.20.10.1
date	2014.08.20.00.05.00;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.15.2.1
date	2004.05.10.15.34.19;	author tron;	state Exp;
branches;
next	1.15.2.2;

1.15.2.2
date	2004.05.10.15.41.48;	author tron;	state Exp;
branches;
next	;

1.5.6.1
date	97.01.26.05.51.28;	author rat;	state Exp;
branches;
next	;


desc
@@


1.25
log
@make: document the available preprocessor definitions for Makefile.boot
@
text
@#	$NetBSD: Makefile.boot,v 1.24 2021/12/12 11:02:23 rillig Exp $
#
# A very simple makefile...
#
# You only want to use this if you aren't running NetBSD.
#
# Modify MACHINE and MACHINE_ARCH as appropriate for your target architecture.
# Add the following definitions to EXTRA_CFLAGS as necessary:
#
#	-DHAVE_SETENV
#	-DHAVE_SETPGID
#	-DHAVE_SETRLIMIT
#	-DHAVE_STRERROR
#	-DHAVE_STRSEP
#	-DHAVE_VSNPRINTF
#	-DUSE_SELECT

PROG=		bmake
MACHINE=	i386
MACHINE_ARCH=	i386
CC=		gcc
CFLAGS=		-O -g
EXTRA_CFLAGS=
EXTRA_LIBS=

OBJS=	arch.o buf.o compat.o cond.o dir.o for.o hash.o \
	job.o lst.o main.o make.o make_malloc.o metachar.o parse.o \
	str.o suff.o targ.o trace.o var.o util.o

.c.o:
	${CC} ${CPPFLAGS} ${CFLAGS} ${EXTRA_CFLAGS} -c $< -o $@@

CPPFLAGS= \
	-DTARGET_MACHINE=\"${MACHINE}\" \
	-DTARGET_MACHINE_ARCH=\"${MACHINE_ARCH}\" \
	-DMAKE_MACHINE=\"${MACHINE}\"

${PROG}: ${OBJS}
#	@@echo 'make of ${PROG} and make.0 started.'
	${CC} ${CFLAGS} ${OBJS} -o $@@ ${EXTRA_LIBS}
	@@ls -l $@@
#	nroff -h -man make.1 > make.0
#	@@echo 'make of ${PROG} and make.0 completed.'

clean:
	rm -f ${OBJS} ${PROG}
@


1.24
log
@make: remove enum.o from Makefile.boot

On 2021-11-18, enum.h and enum.c have been removed.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.boot,v 1.23 2020/10/25 13:25:19 rillig Exp $
d8 1
a8 2
# See config.h and the various #ifdef directives for further configuration, in
# particular in util.c.
d10 7
@


1.23
log
@make(1): remove unused strlist_t
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.boot,v 1.22 2020/08/09 15:54:13 rillig Exp $
d8 2
a9 1
# See config.h and the various #ifdef directives for further configuration.
d20 1
a20 1
OBJS=	arch.o buf.o compat.o cond.o dir.o enum.o for.o hash.o \
@


1.22
log
@make(1): clean up Makefile.boot

The previous version stopped working in 2015, when metachar.c was added.
Since then, lst.c and enum.c have been added, and the lst.lib directory
has gone.

To build bmake on Cygwin, some extra CFLAGS are necessary for some of
the files.  Compilation succeeded by first building the majority of
files with "bmake -f Makefile.boot EXTRA_CFLAGS=-DMAKE_NATIVE", and the
remaining files with "-UMAKE_NATIVE".

Reorganize the file structure to put the most likely configuration into
the top paragraph, with all variable values nicely aligned.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.boot,v 1.21 2014/02/24 07:23:44 skrll Exp $
d21 1
a21 1
	str.o strlist.o suff.o targ.o trace.o var.o util.o
@


1.21
log
@Rename NetBSD/hp700 to NetBSD/hppa.

Unfortunately our VCS isn't very helpful here.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.boot,v 1.20 2011/03/26 21:42:12 dholland Exp $
d3 1
a3 1
# a very simple makefile...
d7 2
a8 1
# modify MACHINE and MACHINE_ARCH as appropriate for your target architecture
d10 12
a21 1
CC=gcc -O -g
d24 1
a24 1
	${CC} ${CFLAGS} -c $< -o $@@
d26 2
a27 6
MACHINE=i386
MACHINE_ARCH=i386
# tested on HP-UX 10.20
#MAKE_MACHINE=hppa
#MAKE_MACHINE_ARCH=hppa
CFLAGS= -DTARGET_MACHINE=\"${MACHINE}\" \
a29 4
LIBS=

OBJ=arch.o buf.o compat.o cond.o dir.o for.o hash.o job.o main.o make.o \
    make_malloc.o parse.o str.o strlist.o suff.o targ.o trace.o var.o util.o
d31 3
a33 13
LIBOBJ= lst.lib/lstAppend.o lst.lib/lstAtEnd.o lst.lib/lstAtFront.o \
	lst.lib/lstClose.o lst.lib/lstConcat.o lst.lib/lstDatum.o \
	lst.lib/lstDeQueue.o lst.lib/lstDestroy.o lst.lib/lstDupl.o \
	lst.lib/lstEnQueue.o lst.lib/lstFind.o lst.lib/lstFindFrom.o \
	lst.lib/lstFirst.o lst.lib/lstForEach.o lst.lib/lstForEachFrom.o \
	lst.lib/lstInit.o lst.lib/lstInsert.o lst.lib/lstIsAtEnd.o \
	lst.lib/lstIsEmpty.o lst.lib/lstLast.o lst.lib/lstMember.o \
	lst.lib/lstNext.o lst.lib/lstOpen.o lst.lib/lstRemove.o \
	lst.lib/lstReplace.o lst.lib/lstSucc.o lst.lib/lstPrev.o

bmake: ${OBJ} ${LIBOBJ}
#	@@echo 'make of make and make.0 started.'
	${CC} ${CFLAGS} ${OBJ} ${LIBOBJ} -o bmake ${LIBS}
d36 1
a36 1
#	@@echo 'make of make and make.0 completed.'
d39 1
a39 1
	rm -f ${OBJ} ${LIBOBJ} ${PORTOBJ} bmake
@


1.20
log
@Catch up to Makefile rev 1.40 (from 2006): add lstPrev.o. Closes PR 43466.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.boot,v 1.19 2009/01/24 11:59:39 dsl Exp $
d17 1
a17 1
#MAKE_MACHINE=hp700
@


1.20.10.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
d17 1
a17 1
#MAKE_MACHINE=hppa
@


1.20.4.1
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.boot,v 1.20 2011/03/26 21:42:12 dholland Exp $
d17 1
a17 1
#MAKE_MACHINE=hppa
@


1.19
log
@Move the bmake_malloc() functions into their own .c and .h files.
Include instead of make.h in a few places.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.boot,v 1.18 2008/12/20 22:41:53 dsl Exp $
d35 1
a35 1
	lst.lib/lstReplace.o lst.lib/lstSucc.o
@


1.18
log
@Add functions for processing extendable arrays of pointers to strings.
Use for the .for variables and substution items - changing the latter from
make's all conquering lst.lib functions.
Being able to index everything makes the code simpler.
No functional changes intended.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.boot,v 1.17 2004/05/07 00:04:38 ross Exp $
d25 1
a25 1
    parse.o str.o strlist.o suff.o targ.o trace.o var.o util.o
@


1.17
log
@Simplify build, no functional changes.

Instead of adding MAKE_BOOTSTRAP for hosted environments, i.e., when
you want things simple, instead add MAKE_NATIVE to get those hugely
important features like __RCSID().

It's now possible to build make on some hosts with: cc *.c */*.c
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.boot,v 1.16 2004/05/06 23:15:46 ross Exp $
d25 1
a25 1
    parse.o str.o suff.o targ.o trace.o var.o util.o
@


1.16
log
@Instead of including from the wrong directory and then fixing it (-I)
in the Makefile, how about just doing the right include?
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.boot,v 1.15 2002/06/11 06:06:19 itojun Exp $
d21 1
a21 2
	-DMAKE_MACHINE=\"${MACHINE}\" \
	-DMAKE_BOOTSTRAP
@


1.15
log
@err/errx/warn/warnx do not need \n at the end
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.boot,v 1.14 2001/11/30 01:29:47 thorpej Exp $
d19 1
a19 2
CFLAGS= -I.\
	-DTARGET_MACHINE=\"${MACHINE}\" \
@


1.15.2.1
log
@Pull up revision 1.16 (requested by sjg in ticket #282):
Instead of including from the wrong directory and then fixing it (-I)
in the Makefile, how about just doing the right include?
@
text
@d1 1
a1 1
#	$NetBSD$
d19 2
a20 1
CFLAGS= -DTARGET_MACHINE=\"${MACHINE}\" \
@


1.15.2.2
log
@Pull up revision 1.17 (requested by sjg in ticket #282):
Simplify build, no functional changes.
Instead of adding MAKE_BOOTSTRAP for hosted environments, i.e., when
you want things simple, instead add MAKE_NATIVE to get those hugely
important features like __RCSID().
It's now possible to build make on some hosts with: cc *.c */*.c
@
text
@d21 2
a22 1
	-DMAKE_MACHINE=\"${MACHINE}\"
@


1.14
log
@Clean up some MAKE_BOOTSTRAP issues wrt. MACHINE/MACHINE_ARCH.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.boot,v 1.13 2001/01/18 05:53:05 thorpej Exp $
d9 1
a9 1
CC=gcc -O
d14 2
a15 2
MAKE_MACHINE=sun
MAKE_MACHINE_ARCH=sparc
@


1.13
log
@Add trace.o
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.boot,v 1.12 2000/08/03 15:53:24 christos Exp $
d14 2
a15 2
MACHINE=sun
MACHINE_ARCH=sparc
d17 2
a18 2
#MACHINE=hp700
#MACHINE_ARCH=hppa
d22 1
a22 1
	-DMACHINE=\"${MACHINE}\" \
@


1.12
log
@PR/10714: SUNAGAWA Keiki: Add newer hpux support, but without removing the
old hpux support.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.boot,v 1.11 1999/04/03 04:50:16 gwr Exp $
d27 1
a27 1
    parse.o str.o suff.o targ.o var.o util.o
@


1.11
log
@Uh... should have been ${MACHINE} not hard coded...  Duh!
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.boot,v 1.10 1999/04/03 04:39:10 gwr Exp $
d16 3
@


1.10
log
@Define CC=gcc -O and add -DMACHINE=...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.boot,v 1.9 1998/05/21 17:19:46 tv Exp $
d19 1
a19 1
	-DMACHINE=\"sparc\" \
@


1.9
log
@Make a MAKE_BOOTSTRAP case work on NetBSD, too, for cross-compile cases
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.boot,v 1.8 1996/12/31 17:52:23 christos Exp $
d9 1
d16 4
a19 1
CFLAGS= -I. -DTARGET_MACHINE=\"${MACHINE}\" -DTARGET_MACHINE_ARCH=\"${MACHINE_ARCH}\" \
@


1.8
log
@Use explicit .c.o rule so that the bootstrap process works.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.boot,v 1.7 1996/08/30 17:59:37 thorpej Exp $
d15 1
a15 1
CFLAGS= -I. -DMACHINE=\"${MACHINE}\" -DMACHINE_ARCH=\"${MACHINE_ARCH}\" \
@


1.7
log
@Tidy up some RCS ids a bit.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.boot,v 1.6 1996/08/13 16:40:31 christos Exp $
d9 4
@


1.6
log
@Various cleanups from: Larry Schwimmer <rosebud@@cyclone.Stanford.EDU>
@
text
@d1 2
a2 1
#	$NetBSD: Makefile.boot,v 1.5 1995/06/14 15:18:43 christos Exp $
a3 1
#	$Id: Makefile.boot,v 1.5 1995/06/14 15:18:43 christos Exp $
@


1.5
log
@- $NetBSD$ rcsids
- Fixed so that .[A-Z]* targets that do not match keywords are ignored as
  Posix mandates
- Added .PHONY target keyword
@
text
@d1 1
a1 1
#	$NetBSD$
d3 1
a3 1
#	$Id: Makefile.boot,v 1.4 1994/05/09 06:36:20 glass Exp $
d9 3
a11 1
CFLAGS= -I. -DMACHINE=\"sparc\" -DMACHINE_ARCH=\"sparc\" \
d13 1
d18 14
a31 4
bmake: ${OBJ}
	@@echo 'make of make and make.0 started.'
	(cd lst.lib; make)
	${CC} *.o lst.lib/*.o -o bmake
d34 3
@


1.5.6.1
log
@Update make(1) from trunk, by request from Christos Zoulas.  Fixes many bugs.
@
text
@d1 1
a1 2
#	$NetBSD: Makefile.boot,v 1.8 1996/12/31 17:52:23 christos Exp $
#
d3 1
d9 1
a9 7

.c.o:
	${CC} ${CFLAGS} -c $< -o $@@

MACHINE=sun
MACHINE_ARCH=sparc
CFLAGS= -I. -DMACHINE=\"${MACHINE}\" -DMACHINE_ARCH=\"${MACHINE_ARCH}\" \
a10 1
LIBS=
d15 4
a18 14
LIBOBJ= lst.lib/lstAppend.o lst.lib/lstAtEnd.o lst.lib/lstAtFront.o \
	lst.lib/lstClose.o lst.lib/lstConcat.o lst.lib/lstDatum.o \
	lst.lib/lstDeQueue.o lst.lib/lstDestroy.o lst.lib/lstDupl.o \
	lst.lib/lstEnQueue.o lst.lib/lstFind.o lst.lib/lstFindFrom.o \
	lst.lib/lstFirst.o lst.lib/lstForEach.o lst.lib/lstForEachFrom.o \
	lst.lib/lstInit.o lst.lib/lstInsert.o lst.lib/lstIsAtEnd.o \
	lst.lib/lstIsEmpty.o lst.lib/lstLast.o lst.lib/lstMember.o \
	lst.lib/lstNext.o lst.lib/lstOpen.o lst.lib/lstRemove.o \
	lst.lib/lstReplace.o lst.lib/lstSucc.o

bmake: ${OBJ} ${LIBOBJ}
#	@@echo 'make of make and make.0 started.'
	${CC} ${CFLAGS} ${OBJ} ${LIBOBJ} -o bmake ${LIBS}
	@@ls -l $@@
a20 3

clean:
	rm -f ${OBJ} ${LIBOBJ} ${PORTOBJ} bmake
@


1.4
log
@bootstrap improvements
@
text
@d1 1
d3 1
a3 1
#	$Id: Makefile.boot,v 1.3 1994/04/17 03:09:49 glass Exp $
@


1.3
log
@bootstrap changes
@
text
@d2 1
a2 1
#	$Id: Makefile.boot,v 1.2 1994/04/09 23:35:25 briggs Exp $
d8 1
a8 2
CC=gcc
CFLAGS=-Wall -I. -g -O  -DMACHINE=\"sparc\" -DMACHINE_ARCH=\"sparc\" \
d14 1
a14 1
pmake: ${OBJ}
d17 1
a17 1
	${CC} *.o lst.lib/*.o -o pmake
@


1.2
log
@Need for.o in list of objects when bootstrapping.
@
text
@d2 6
a7 2
#	$Id: Makefile.boot,v 1.1 1994/03/05 00:34:30 cgd Exp $

d9 2
a10 1
CFLAGS=-Wall -I. -g -O  -DMACHINE=\"sun4\" -Dnotyet
@


1.1
log
@fixes/improvements from Christos Zoulas <christos@@deshaw.com>.
@
text
@d2 1
a2 1
#	$Id$
d7 1
a7 1
OBJ=arch.o buf.o compat.o cond.o dir.o hash.o job.o main.o make.o \
@
