head	1.4;
access;
symbols
	netbsd-11-0-RC4:1.4
	netbsd-11-0-RC3:1.4
	netbsd-11-0-RC2:1.4
	netbsd-11-0-RC1:1.4
	perseant-exfatfs-base-20250801:1.4
	netbsd-11:1.4.0.2
	netbsd-11-base:1.4
	netbsd-10-1-RELEASE:1.3
	perseant-exfatfs-base-20240630:1.3
	perseant-exfatfs:1.3.0.4
	perseant-exfatfs-base:1.3
	netbsd-10-0-RELEASE:1.3
	netbsd-10-0-RC6:1.3
	netbsd-10-0-RC5:1.3
	netbsd-10-0-RC4:1.3
	netbsd-10-0-RC3:1.3
	netbsd-10-0-RC2:1.3
	netbsd-10-0-RC1:1.3
	netbsd-10:1.3.0.2
	netbsd-10-base:1.3
	cjep_sun2x-base1:1.1
	cjep_sun2x:1.1.0.4
	cjep_sun2x-base:1.1
	cjep_staticlib_x-base1:1.1
	cjep_staticlib_x:1.1.0.2
	cjep_staticlib_x-base:1.1;
locks; strict;
comment	@# @;


1.4
date	2025.04.11.17.33.47;	author rillig;	state Exp;
branches;
next	1.3;
commitid	pLTQdkuz2MvLSEQF;

1.3
date	2022.01.27.06.02.59;	author sjg;	state Exp;
branches
	1.3.4.1;
next	1.2;
commitid	gEiA6fer8Z3zFeqD;

1.2
date	2022.01.14.19.31.44;	author sjg;	state Exp;
branches;
next	1.1;
commitid	CtVnMAs5AYVUyDoD;

1.1
date	2020.11.30.18.32.49;	author sjg;	state Exp;
branches;
next	;
commitid	1QJniUWQwtTNpWxC;

1.3.4.1
date	2025.08.02.05.58.35;	author perseant;	state Exp;
branches;
next	;
commitid	23j6GFaDws3O875G;


desc
@@


1.4
log
@make: use "file:123" format in meta mode
@
text
@one:
Building .meta-cmd-cmp.cmp
Building .meta-cmd-cmp.nocmp
Building .meta-cmd-cmp.cmp2
This line not compared FLAGS=
Skipping meta for .END: .SPECIAL
two:
`.meta-cmd-cmp.cmp' is up to date.
`.meta-cmd-cmp.nocmp' is up to date.
.meta-cmd-cmp.cmp2.meta:3: cannot compare command using .OODATE
`.meta-cmd-cmp.cmp2' is up to date.
Skipping meta for .END: .SPECIAL
change1:
.meta-cmd-cmp.cmp.meta:2: a build command has changed
@@echo FLAGS= > .meta-cmd-cmp.cmp
vs
@@echo FLAGS=changed > .meta-cmd-cmp.cmp
Building .meta-cmd-cmp.cmp
`.meta-cmd-cmp.nocmp' is up to date.
.meta-cmd-cmp.cmp2.meta:3: cannot compare command using .OODATE
`.meta-cmd-cmp.cmp2' is up to date.
Skipping meta for .END: .SPECIAL
change2:
.meta-cmd-cmp.cmp.meta:2: a build command has changed
@@echo FLAGS=changed > .meta-cmd-cmp.cmp
vs
@@echo FLAGS= > .meta-cmd-cmp.cmp
Building .meta-cmd-cmp.cmp
`.meta-cmd-cmp.nocmp' is up to date.
.meta-cmd-cmp.cmp2.meta:2: a build command has changed
@@echo FLAGS2= > .meta-cmd-cmp.cmp2
vs
@@echo FLAGS2=changed > .meta-cmd-cmp.cmp2
Building .meta-cmd-cmp.cmp2
This line not compared FLAGS=
Skipping meta for .END: .SPECIAL
filter0:
Building .meta-cmd-cmp.filter
Skipping meta for .END: .SPECIAL
filter1:
.meta-cmd-cmp.filter.meta:2: a build command has changed
@@echo ccache cc -c foo.c > .meta-cmd-cmp.filter
vs
@@echo  cc -c foo.c > .meta-cmd-cmp.filter
Building .meta-cmd-cmp.filter
Skipping meta for .END: .SPECIAL
filter2:
`.meta-cmd-cmp.filter' is up to date.
Skipping meta for .END: .SPECIAL
filter3:
`.meta-cmd-cmp.filter' is up to date.
Skipping meta for .END: .SPECIAL
exit status 0
@


1.3
log
@Allow local variable assignments in dependency lines

The variable is set in the context of the target.
This syntax has been supported by gmake for ~ever.
If necessary a makefile can set .MAKE.TARGET_LOCAL_VARIABLES=false
to disable this.

Expose GetBooleanExpr so parse.c can use it.
@
text
@d10 1
a10 1
.meta-cmd-cmp.cmp2.meta: 3: cannot compare command using .OODATE
d14 1
a14 1
.meta-cmd-cmp.cmp.meta: 2: a build command has changed
d20 1
a20 1
.meta-cmd-cmp.cmp2.meta: 3: cannot compare command using .OODATE
d24 1
a24 1
.meta-cmd-cmp.cmp.meta: 2: a build command has changed
d30 1
a30 1
.meta-cmd-cmp.cmp2.meta: 2: a build command has changed
d41 1
a41 1
.meta-cmd-cmp.filter.meta: 2: a build command has changed
@


1.3.4.1
log
@Sync with HEAD
@
text
@d10 1
a10 1
.meta-cmd-cmp.cmp2.meta:3: cannot compare command using .OODATE
d14 1
a14 1
.meta-cmd-cmp.cmp.meta:2: a build command has changed
d20 1
a20 1
.meta-cmd-cmp.cmp2.meta:3: cannot compare command using .OODATE
d24 1
a24 1
.meta-cmd-cmp.cmp.meta:2: a build command has changed
d30 1
a30 1
.meta-cmd-cmp.cmp2.meta:2: a build command has changed
d41 1
a41 1
.meta-cmd-cmp.filter.meta:2: a build command has changed
@


1.2
log
@Add unit-test for .MAKE.META.CMP_FILTER
@
text
@d50 3
@


1.1
log
@Add some tests for meta mode
@
text
@d37 13
@

