From 6c620880eb15473a6414901f4764daf06dc4372c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 22 Sep 2009 15:40:15 +0200 Subject: Get rid of unnecessary .PHONY declarations --- tests/cxx/makefile | 2 -- tests/cxx/parser/built-in/makefile | 5 ----- tests/cxx/parser/enumeration/makefile | 5 ----- tests/cxx/parser/generated-impl/makefile | 5 ----- tests/cxx/parser/list/makefile | 5 ----- tests/cxx/parser/makefile | 4 ---- tests/cxx/parser/name-clash/inheritance/makefile | 5 ----- tests/cxx/parser/polymorphism/makefile | 4 ---- tests/cxx/parser/polymorphism/same-type/makefile | 5 ----- tests/cxx/parser/recursive/makefile | 5 ----- tests/cxx/parser/test-template/makefile | 5 ----- tests/cxx/parser/union/makefile | 5 ----- tests/cxx/parser/validation/all/makefile | 6 ------ tests/cxx/parser/validation/any/makefile | 6 ------ tests/cxx/parser/validation/attribute/makefile | 6 ------ tests/cxx/parser/validation/built-in/any-type/makefile | 6 ------ tests/cxx/parser/validation/built-in/binary/makefile | 5 ----- tests/cxx/parser/validation/built-in/boolean/makefile | 5 ----- tests/cxx/parser/validation/built-in/byte/makefile | 5 ----- tests/cxx/parser/validation/built-in/date-time/makefile | 5 ----- tests/cxx/parser/validation/built-in/float/makefile | 5 ----- tests/cxx/parser/validation/built-in/int/makefile | 5 ----- tests/cxx/parser/validation/built-in/integer/makefile | 5 ----- tests/cxx/parser/validation/built-in/long/makefile | 5 ----- tests/cxx/parser/validation/built-in/makefile | 2 -- tests/cxx/parser/validation/built-in/qname/makefile | 5 ----- tests/cxx/parser/validation/built-in/short/makefile | 5 ----- tests/cxx/parser/validation/built-in/string/makefile | 5 ----- tests/cxx/parser/validation/built-in/uri/makefile | 5 ----- tests/cxx/parser/validation/choice/makefile | 5 ----- tests/cxx/parser/validation/makefile | 4 ---- tests/cxx/parser/validation/restriction/makefile | 6 ------ tests/cxx/parser/validation/sequence/makefile | 6 ------ tests/cxx/tree/binary/cdr/makefile | 5 ----- tests/cxx/tree/binary/makefile | 2 -- tests/cxx/tree/binary/polymorphic/makefile | 5 ----- tests/cxx/tree/binary/xdr/makefile | 5 ----- tests/cxx/tree/built-in/makefile | 5 ----- tests/cxx/tree/chameleon/makefile | 5 ----- tests/cxx/tree/comparison/makefile | 5 ----- tests/cxx/tree/compilation/makefile | 5 ----- tests/cxx/tree/complex/ctor/makefile | 5 ----- tests/cxx/tree/complex/makefile | 2 -- tests/cxx/tree/containment/makefile | 5 ----- tests/cxx/tree/default/makefile | 5 ----- tests/cxx/tree/encoding/char/lcp/makefile | 5 ----- tests/cxx/tree/encoding/char/makefile | 4 ---- tests/cxx/tree/encoding/char/utf-8/makefile | 5 ----- tests/cxx/tree/encoding/makefile | 4 ---- tests/cxx/tree/encoding/wchar/makefile | 5 ----- tests/cxx/tree/enumeration/ctor/makefile | 5 ----- tests/cxx/tree/enumeration/inheritance/makefile | 5 ----- tests/cxx/tree/enumeration/makefile | 2 -- tests/cxx/tree/float/makefile | 5 ----- tests/cxx/tree/list/ctor/makefile | 5 ----- tests/cxx/tree/list/makefile | 2 -- tests/cxx/tree/makefile | 2 -- tests/cxx/tree/name-clash/inheritance/makefile | 5 ----- tests/cxx/tree/name-clash/makefile | 2 -- tests/cxx/tree/naming/camel/makefile | 5 ----- tests/cxx/tree/naming/java/makefile | 5 ----- tests/cxx/tree/naming/knr/makefile | 5 ----- tests/cxx/tree/naming/makefile | 2 -- tests/cxx/tree/polymorphism/comparison/makefile | 5 ----- tests/cxx/tree/polymorphism/makefile | 2 -- tests/cxx/tree/polymorphism/ostream/makefile | 5 ----- tests/cxx/tree/polymorphism/same-type/makefile | 5 ----- tests/cxx/tree/prefix/makefile | 5 ----- tests/cxx/tree/test-template/makefile | 5 ----- tests/cxx/tree/types-only/makefile | 5 ----- tests/cxx/tree/union/ctor/makefile | 5 ----- tests/cxx/tree/union/makefile | 2 -- tests/cxx/tree/wildcard/makefile | 5 ----- 73 files changed, 333 deletions(-) (limited to 'tests/cxx') diff --git a/tests/cxx/makefile b/tests/cxx/makefile index 8d4cbd5..8349d13 100644 --- a/tests/cxx/makefile +++ b/tests/cxx/makefile @@ -9,8 +9,6 @@ default := $(out_base)/ test := $(out_base)/.test clean := $(out_base)/.clean -.PHONY: $(default) $(test) $(clean) - $(default): $(out_base)/parser/ $(out_base)/tree/ $(test): $(out_base)/parser/.test $(out_base)/tree/.test $(clean): $(out_base)/parser/.clean $(out_base)/tree/.clean diff --git a/tests/cxx/parser/built-in/makefile b/tests/cxx/parser/built-in/makefile index 1f6b86c..d2422d1 100644 --- a/tests/cxx/parser/built-in/makefile +++ b/tests/cxx/parser/built-in/makefile @@ -38,22 +38,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(src_base)/test.xml $(src_base)/output $(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/parser/enumeration/makefile b/tests/cxx/parser/enumeration/makefile index d448a55..8ff1aef 100644 --- a/tests/cxx/parser/enumeration/makefile +++ b/tests/cxx/parser/enumeration/makefile @@ -39,22 +39,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(src_base)/test.xml $(src_base)/output $(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/parser/generated-impl/makefile b/tests/cxx/parser/generated-impl/makefile index f1db7ed..d968e98 100644 --- a/tests/cxx/parser/generated-impl/makefile +++ b/tests/cxx/parser/generated-impl/makefile @@ -46,22 +46,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(src_base)/test.xml $(src_base)/output $(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/parser/list/makefile b/tests/cxx/parser/list/makefile index 84c24a4..48e6826 100644 --- a/tests/cxx/parser/list/makefile +++ b/tests/cxx/parser/list/makefile @@ -38,22 +38,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(src_base)/test.xml $(src_base)/output $(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/parser/makefile b/tests/cxx/parser/makefile index 955be44..dec968c 100644 --- a/tests/cxx/parser/makefile +++ b/tests/cxx/parser/makefile @@ -5,18 +5,14 @@ include $(dir $(lastword $(MAKEFILE_LIST)))../../../build/bootstrap.make - tests := built-in enumeration generated-impl list recursive \ name-clash/inheritance polymorphism test-template validation \ union - default := $(out_base)/ test := $(out_base)/.test clean := $(out_base)/.clean -.PHONY: $(default) $(test) $(clean) - $(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests))) $(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests))) $(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests))) diff --git a/tests/cxx/parser/name-clash/inheritance/makefile b/tests/cxx/parser/name-clash/inheritance/makefile index 16f737e..6674a8b 100644 --- a/tests/cxx/parser/name-clash/inheritance/makefile +++ b/tests/cxx/parser/name-clash/inheritance/makefile @@ -39,22 +39,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(src_base)/test.xml $(src_base)/output $(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/parser/polymorphism/makefile b/tests/cxx/parser/polymorphism/makefile index a3c4f3e..f22c152 100644 --- a/tests/cxx/parser/polymorphism/makefile +++ b/tests/cxx/parser/polymorphism/makefile @@ -5,16 +5,12 @@ include $(dir $(lastword $(MAKEFILE_LIST)))../../../../build/bootstrap.make - tests := same-type - default := $(out_base)/ test := $(out_base)/.test clean := $(out_base)/.clean -.PHONY: $(default) $(test) $(clean) - $(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests))) $(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests))) $(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests))) diff --git a/tests/cxx/parser/polymorphism/same-type/makefile b/tests/cxx/parser/polymorphism/same-type/makefile index ff4183d..bf627ab 100644 --- a/tests/cxx/parser/polymorphism/same-type/makefile +++ b/tests/cxx/parser/polymorphism/same-type/makefile @@ -39,22 +39,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(src_base)/test.xml $(src_base)/output $(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/parser/recursive/makefile b/tests/cxx/parser/recursive/makefile index 976a1b3..4d7574d 100644 --- a/tests/cxx/parser/recursive/makefile +++ b/tests/cxx/parser/recursive/makefile @@ -39,22 +39,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(src_base)/test.xml $(src_base)/output $(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/parser/test-template/makefile b/tests/cxx/parser/test-template/makefile index 5047b10..a0ab9e1 100644 --- a/tests/cxx/parser/test-template/makefile +++ b/tests/cxx/parser/test-template/makefile @@ -38,22 +38,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(src_base)/test.xml $(src_base)/output $(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/parser/union/makefile b/tests/cxx/parser/union/makefile index 538d4c1..0771e04 100644 --- a/tests/cxx/parser/union/makefile +++ b/tests/cxx/parser/union/makefile @@ -38,22 +38,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(src_base)/test.xml $(src_base)/output $(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/parser/validation/all/makefile b/tests/cxx/parser/validation/all/makefile index 1e1b33c..324cc61 100644 --- a/tests/cxx/parser/validation/all/makefile +++ b/tests/cxx/parser/validation/all/makefile @@ -42,7 +42,6 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) @@ -50,10 +49,7 @@ $(out_base)/: $(driver) # test_targets := $(addprefix $(out_base)/.test-,$(tests)) -.PHONY: $(test) $(test): $(test_targets) - - $(test_targets): driver := $(driver) .PHONY: $(out_base)/.test-% @@ -63,8 +59,6 @@ $(out_base)/.test-%: $(driver) $(src_base)/test.xsd $(src_base)/test-%.xml $(src # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/parser/validation/any/makefile b/tests/cxx/parser/validation/any/makefile index 19fc057..8e66e39 100644 --- a/tests/cxx/parser/validation/any/makefile +++ b/tests/cxx/parser/validation/any/makefile @@ -42,7 +42,6 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) @@ -50,10 +49,7 @@ $(out_base)/: $(driver) # test_targets := $(addprefix $(out_base)/.test-,$(tests)) -.PHONY: $(test) $(test): $(test_targets) - - $(test_targets): driver := $(driver) .PHONY: $(out_base)/.test-% @@ -63,8 +59,6 @@ $(out_base)/.test-%: $(driver) $(src_base)/test.xsd $(src_base)/test-%.xml $(src # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/parser/validation/attribute/makefile b/tests/cxx/parser/validation/attribute/makefile index d5a83a3..4141c45 100644 --- a/tests/cxx/parser/validation/attribute/makefile +++ b/tests/cxx/parser/validation/attribute/makefile @@ -42,7 +42,6 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) @@ -50,10 +49,7 @@ $(out_base)/: $(driver) # test_targets := $(addprefix $(out_base)/.test-,$(tests)) -.PHONY: $(test) $(test): $(test_targets) - - $(test_targets): driver := $(driver) .PHONY: $(out_base)/.test-% @@ -63,8 +59,6 @@ $(out_base)/.test-%: $(driver) $(src_base)/test.xsd $(src_base)/test-%.xml $(src # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/parser/validation/built-in/any-type/makefile b/tests/cxx/parser/validation/built-in/any-type/makefile index 1c93b76..f0269fb 100644 --- a/tests/cxx/parser/validation/built-in/any-type/makefile +++ b/tests/cxx/parser/validation/built-in/any-type/makefile @@ -42,7 +42,6 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) @@ -50,10 +49,7 @@ $(out_base)/: $(driver) # test_targets := $(addprefix $(out_base)/.test-,$(tests)) -.PHONY: $(test) $(test): $(test_targets) - - $(test_targets): driver := $(driver) .PHONY: $(out_base)/.test-% @@ -63,8 +59,6 @@ $(out_base)/.test-%: $(driver) $(src_base)/test.xsd $(src_base)/test-%.xml $(src # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/parser/validation/built-in/binary/makefile b/tests/cxx/parser/validation/built-in/binary/makefile index 27ddeef..bab972d 100644 --- a/tests/cxx/parser/validation/built-in/binary/makefile +++ b/tests/cxx/parser/validation/built-in/binary/makefile @@ -32,22 +32,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(call message,test $$1,$$1,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) diff --git a/tests/cxx/parser/validation/built-in/boolean/makefile b/tests/cxx/parser/validation/built-in/boolean/makefile index bf16586..ac9e9a7 100644 --- a/tests/cxx/parser/validation/built-in/boolean/makefile +++ b/tests/cxx/parser/validation/built-in/boolean/makefile @@ -32,22 +32,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(call message,test $$1,$$1,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) diff --git a/tests/cxx/parser/validation/built-in/byte/makefile b/tests/cxx/parser/validation/built-in/byte/makefile index efe7f01..ab96263 100644 --- a/tests/cxx/parser/validation/built-in/byte/makefile +++ b/tests/cxx/parser/validation/built-in/byte/makefile @@ -32,22 +32,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(call message,test $$1,$$1,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) diff --git a/tests/cxx/parser/validation/built-in/date-time/makefile b/tests/cxx/parser/validation/built-in/date-time/makefile index 12eb7ba..7dc3ddf 100644 --- a/tests/cxx/parser/validation/built-in/date-time/makefile +++ b/tests/cxx/parser/validation/built-in/date-time/makefile @@ -32,22 +32,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(call message,test $$1,$$1,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) diff --git a/tests/cxx/parser/validation/built-in/float/makefile b/tests/cxx/parser/validation/built-in/float/makefile index 1a39e04..705b67b 100644 --- a/tests/cxx/parser/validation/built-in/float/makefile +++ b/tests/cxx/parser/validation/built-in/float/makefile @@ -32,22 +32,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(call message,test $$1,$$1,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) diff --git a/tests/cxx/parser/validation/built-in/int/makefile b/tests/cxx/parser/validation/built-in/int/makefile index c626a9c..6114808 100644 --- a/tests/cxx/parser/validation/built-in/int/makefile +++ b/tests/cxx/parser/validation/built-in/int/makefile @@ -32,22 +32,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(call message,test $$1,$$1,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) diff --git a/tests/cxx/parser/validation/built-in/integer/makefile b/tests/cxx/parser/validation/built-in/integer/makefile index 8d52dee..0ed55bb 100644 --- a/tests/cxx/parser/validation/built-in/integer/makefile +++ b/tests/cxx/parser/validation/built-in/integer/makefile @@ -32,22 +32,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(call message,test $$1,$$1,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) diff --git a/tests/cxx/parser/validation/built-in/long/makefile b/tests/cxx/parser/validation/built-in/long/makefile index b9289b1..bbf4499 100644 --- a/tests/cxx/parser/validation/built-in/long/makefile +++ b/tests/cxx/parser/validation/built-in/long/makefile @@ -32,22 +32,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(call message,test $$1,$$1,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) diff --git a/tests/cxx/parser/validation/built-in/makefile b/tests/cxx/parser/validation/built-in/makefile index e0728b0..45a2435 100644 --- a/tests/cxx/parser/validation/built-in/makefile +++ b/tests/cxx/parser/validation/built-in/makefile @@ -12,8 +12,6 @@ default := $(out_base)/ test := $(out_base)/.test clean := $(out_base)/.clean -.PHONY: $(default) $(test) $(clean) - $(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests))) $(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests))) $(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests))) diff --git a/tests/cxx/parser/validation/built-in/qname/makefile b/tests/cxx/parser/validation/built-in/qname/makefile index b541239..a71e7aa 100644 --- a/tests/cxx/parser/validation/built-in/qname/makefile +++ b/tests/cxx/parser/validation/built-in/qname/makefile @@ -32,22 +32,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(call message,test $$1,$$1,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) diff --git a/tests/cxx/parser/validation/built-in/short/makefile b/tests/cxx/parser/validation/built-in/short/makefile index 0457f13..00f1bf4 100644 --- a/tests/cxx/parser/validation/built-in/short/makefile +++ b/tests/cxx/parser/validation/built-in/short/makefile @@ -32,22 +32,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(call message,test $$1,$$1,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) diff --git a/tests/cxx/parser/validation/built-in/string/makefile b/tests/cxx/parser/validation/built-in/string/makefile index 46b7b5f..edcef8c 100644 --- a/tests/cxx/parser/validation/built-in/string/makefile +++ b/tests/cxx/parser/validation/built-in/string/makefile @@ -32,22 +32,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(call message,test $$1,$$1,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) diff --git a/tests/cxx/parser/validation/built-in/uri/makefile b/tests/cxx/parser/validation/built-in/uri/makefile index 1a28808..0ed0eee 100644 --- a/tests/cxx/parser/validation/built-in/uri/makefile +++ b/tests/cxx/parser/validation/built-in/uri/makefile @@ -32,22 +32,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(call message,test $$1,$$1,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) diff --git a/tests/cxx/parser/validation/choice/makefile b/tests/cxx/parser/validation/choice/makefile index d808ee2..ba8c89a 100644 --- a/tests/cxx/parser/validation/choice/makefile +++ b/tests/cxx/parser/validation/choice/makefile @@ -42,7 +42,6 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) @@ -50,9 +49,7 @@ $(out_base)/: $(driver) # test_targets := $(addprefix $(out_base)/.test-,$(tests)) -.PHONY: $(test) $(test): $(test_targets) - $(test_targets): driver := $(driver) .PHONY: $(out_base)/.test-% @@ -62,8 +59,6 @@ $(out_base)/.test-%: $(driver) $(src_base)/test.xsd $(src_base)/test-%.xml $(src # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/parser/validation/makefile b/tests/cxx/parser/validation/makefile index 9000e4c..e2e23e0 100644 --- a/tests/cxx/parser/validation/makefile +++ b/tests/cxx/parser/validation/makefile @@ -5,16 +5,12 @@ include $(dir $(lastword $(MAKEFILE_LIST)))../../../../build/bootstrap.make - tests := all any attribute built-in choice restriction sequence - default := $(out_base)/ test := $(out_base)/.test clean := $(out_base)/.clean -.PHONY: $(default) $(test) $(clean) - $(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests))) $(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests))) $(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests))) diff --git a/tests/cxx/parser/validation/restriction/makefile b/tests/cxx/parser/validation/restriction/makefile index c7914c2..2a52880 100644 --- a/tests/cxx/parser/validation/restriction/makefile +++ b/tests/cxx/parser/validation/restriction/makefile @@ -42,7 +42,6 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) @@ -50,10 +49,7 @@ $(out_base)/: $(driver) # test_targets := $(addprefix $(out_base)/.test-,$(tests)) -.PHONY: $(test) $(test): $(test_targets) - - $(test_targets): driver := $(driver) .PHONY: $(out_base)/.test-% @@ -63,8 +59,6 @@ $(out_base)/.test-%: $(driver) $(src_base)/test.xsd $(src_base)/test-%.xml $(src # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/parser/validation/sequence/makefile b/tests/cxx/parser/validation/sequence/makefile index 7040d98..32a2781 100644 --- a/tests/cxx/parser/validation/sequence/makefile +++ b/tests/cxx/parser/validation/sequence/makefile @@ -42,7 +42,6 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) @@ -50,10 +49,7 @@ $(out_base)/: $(driver) # test_targets := $(addprefix $(out_base)/.test-,$(tests)) -.PHONY: $(test) $(test): $(test_targets) - - $(test_targets): driver := $(driver) .PHONY: $(out_base)/.test-% @@ -63,8 +59,6 @@ $(out_base)/.test-%: $(driver) $(src_base)/test.xsd $(src_base)/test-%.xml $(src # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/binary/cdr/makefile b/tests/cxx/tree/binary/cdr/makefile index 9f34852..ee3305a 100644 --- a/tests/cxx/tree/binary/cdr/makefile +++ b/tests/cxx/tree/binary/cdr/makefile @@ -45,22 +45,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(src_base)/test.xml $(call message,test $$1,$$1 $(src_base)/test.xml,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/binary/makefile b/tests/cxx/tree/binary/makefile index 9d57c0c..35f4135 100644 --- a/tests/cxx/tree/binary/makefile +++ b/tests/cxx/tree/binary/makefile @@ -11,8 +11,6 @@ default := $(out_base)/ test := $(out_base)/.test clean := $(out_base)/.clean -.PHONY: $(default) $(test) $(clean) - $(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests))) $(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests))) $(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests))) diff --git a/tests/cxx/tree/binary/polymorphic/makefile b/tests/cxx/tree/binary/polymorphic/makefile index bcd1f96..e46eb44 100644 --- a/tests/cxx/tree/binary/polymorphic/makefile +++ b/tests/cxx/tree/binary/polymorphic/makefile @@ -45,22 +45,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(src_base)/test.xml $(call message,test $$1,$$1 $(src_base)/test.xml,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/binary/xdr/makefile b/tests/cxx/tree/binary/xdr/makefile index 4a2e0e2..da36f94 100644 --- a/tests/cxx/tree/binary/xdr/makefile +++ b/tests/cxx/tree/binary/xdr/makefile @@ -40,22 +40,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(src_base)/test.xml $(call message,test $$1,$$1 $(src_base)/test.xml,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/built-in/makefile b/tests/cxx/tree/built-in/makefile index 023d583..f2996ce 100644 --- a/tests/cxx/tree/built-in/makefile +++ b/tests/cxx/tree/built-in/makefile @@ -51,14 +51,11 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - # We need to cd to src_base in order to have the schema in the working # directory. # @@ -71,8 +68,6 @@ $(src_base)/attributes.xml $(src_base)/inherited.xml # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/chameleon/makefile b/tests/cxx/tree/chameleon/makefile index 4b379b2..06a0555 100644 --- a/tests/cxx/tree/chameleon/makefile +++ b/tests/cxx/tree/chameleon/makefile @@ -41,22 +41,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(src_base)/test.xml $(src_base)/output $(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/comparison/makefile b/tests/cxx/tree/comparison/makefile index 79466b0..7eb2a08 100644 --- a/tests/cxx/tree/comparison/makefile +++ b/tests/cxx/tree/comparison/makefile @@ -41,22 +41,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(src_base)/test.xml $(call message,test $$1,$$1 $(src_base)/test.xml,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/compilation/makefile b/tests/cxx/tree/compilation/makefile index a4f768a..bdecca3 100644 --- a/tests/cxx/tree/compilation/makefile +++ b/tests/cxx/tree/compilation/makefile @@ -41,22 +41,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(call message,test $$1,$$1,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/complex/ctor/makefile b/tests/cxx/tree/complex/ctor/makefile index e8537c5..29fedb9 100644 --- a/tests/cxx/tree/complex/ctor/makefile +++ b/tests/cxx/tree/complex/ctor/makefile @@ -42,22 +42,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(call message,test $$1,$$1,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/complex/makefile b/tests/cxx/tree/complex/makefile index ed6e5de..15de60c 100644 --- a/tests/cxx/tree/complex/makefile +++ b/tests/cxx/tree/complex/makefile @@ -11,8 +11,6 @@ default := $(out_base)/ test := $(out_base)/.test clean := $(out_base)/.clean -.PHONY: $(default) $(test) $(clean) - $(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests))) $(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests))) $(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests))) diff --git a/tests/cxx/tree/containment/makefile b/tests/cxx/tree/containment/makefile index b9c5384..e44f82e 100644 --- a/tests/cxx/tree/containment/makefile +++ b/tests/cxx/tree/containment/makefile @@ -41,22 +41,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(call message,test $$1,$$1,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/default/makefile b/tests/cxx/tree/default/makefile index b683121..431e708 100644 --- a/tests/cxx/tree/default/makefile +++ b/tests/cxx/tree/default/makefile @@ -42,22 +42,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(src_base)/test.xml $(src_base)/output $(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/encoding/char/lcp/makefile b/tests/cxx/tree/encoding/char/lcp/makefile index 61c6562..9520a42 100644 --- a/tests/cxx/tree/encoding/char/lcp/makefile +++ b/tests/cxx/tree/encoding/char/lcp/makefile @@ -41,22 +41,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(src_base)/test.xml $(src_base)/test.std $(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/test.std -,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/encoding/char/makefile b/tests/cxx/tree/encoding/char/makefile index c69fc44..78b6e7a 100644 --- a/tests/cxx/tree/encoding/char/makefile +++ b/tests/cxx/tree/encoding/char/makefile @@ -5,16 +5,12 @@ include $(dir $(lastword $(MAKEFILE_LIST)))../../../../../build/bootstrap.make - tests := lcp utf-8 - default := $(out_base)/ test := $(out_base)/.test clean := $(out_base)/.clean -.PHONY: $(default) $(test) $(clean) - $(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests))) $(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests))) $(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests))) diff --git a/tests/cxx/tree/encoding/char/utf-8/makefile b/tests/cxx/tree/encoding/char/utf-8/makefile index 240ba88..9fbbc7c 100644 --- a/tests/cxx/tree/encoding/char/utf-8/makefile +++ b/tests/cxx/tree/encoding/char/utf-8/makefile @@ -41,22 +41,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(src_base)/test.xml $(src_base)/test.std $(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/test.std -,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/encoding/makefile b/tests/cxx/tree/encoding/makefile index 5e0803e..ca3abba 100644 --- a/tests/cxx/tree/encoding/makefile +++ b/tests/cxx/tree/encoding/makefile @@ -5,16 +5,12 @@ include $(dir $(lastword $(MAKEFILE_LIST)))../../../../build/bootstrap.make - tests := char wchar - default := $(out_base)/ test := $(out_base)/.test clean := $(out_base)/.clean -.PHONY: $(default) $(test) $(clean) - $(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests))) $(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests))) $(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests))) diff --git a/tests/cxx/tree/encoding/wchar/makefile b/tests/cxx/tree/encoding/wchar/makefile index eb9efe7..35976df 100644 --- a/tests/cxx/tree/encoding/wchar/makefile +++ b/tests/cxx/tree/encoding/wchar/makefile @@ -42,22 +42,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(src_base)/test.xml $(src_base)/test.std $(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/test.std -,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/enumeration/ctor/makefile b/tests/cxx/tree/enumeration/ctor/makefile index 90a05a2..7a861a2 100644 --- a/tests/cxx/tree/enumeration/ctor/makefile +++ b/tests/cxx/tree/enumeration/ctor/makefile @@ -42,22 +42,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(call message,test $$1,$$1,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/enumeration/inheritance/makefile b/tests/cxx/tree/enumeration/inheritance/makefile index 46bdc3e..3d0c038 100644 --- a/tests/cxx/tree/enumeration/inheritance/makefile +++ b/tests/cxx/tree/enumeration/inheritance/makefile @@ -41,22 +41,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(src_base)/test.xml $(src_base)/output $(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/enumeration/makefile b/tests/cxx/tree/enumeration/makefile index 87cab57..2eb0114 100644 --- a/tests/cxx/tree/enumeration/makefile +++ b/tests/cxx/tree/enumeration/makefile @@ -11,8 +11,6 @@ default := $(out_base)/ test := $(out_base)/.test clean := $(out_base)/.clean -.PHONY: $(default) $(test) $(clean) - $(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests))) $(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests))) $(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests))) diff --git a/tests/cxx/tree/float/makefile b/tests/cxx/tree/float/makefile index ed6f717..565ff73 100644 --- a/tests/cxx/tree/float/makefile +++ b/tests/cxx/tree/float/makefile @@ -41,22 +41,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(src_base)/test.xml $(src_base)/test.std $(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/test.std -,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/list/ctor/makefile b/tests/cxx/tree/list/ctor/makefile index 8c91851..e570ff4 100644 --- a/tests/cxx/tree/list/ctor/makefile +++ b/tests/cxx/tree/list/ctor/makefile @@ -42,22 +42,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(call message,test $$1,$$1,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/list/makefile b/tests/cxx/tree/list/makefile index 9d03a72..67ce1b6 100644 --- a/tests/cxx/tree/list/makefile +++ b/tests/cxx/tree/list/makefile @@ -11,8 +11,6 @@ default := $(out_base)/ test := $(out_base)/.test clean := $(out_base)/.clean -.PHONY: $(default) $(test) $(clean) - $(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests))) $(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests))) $(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests))) diff --git a/tests/cxx/tree/makefile b/tests/cxx/tree/makefile index 2d41e54..f1b7e1a 100644 --- a/tests/cxx/tree/makefile +++ b/tests/cxx/tree/makefile @@ -34,8 +34,6 @@ default := $(out_base)/ test := $(out_base)/.test clean := $(out_base)/.clean -.PHONY: $(default) $(test) $(clean) - $(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests))) $(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests))) $(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests))) diff --git a/tests/cxx/tree/name-clash/inheritance/makefile b/tests/cxx/tree/name-clash/inheritance/makefile index 36bdf5b..eaa1657 100644 --- a/tests/cxx/tree/name-clash/inheritance/makefile +++ b/tests/cxx/tree/name-clash/inheritance/makefile @@ -41,22 +41,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(src_base)/test.xml $(src_base)/output $(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/name-clash/makefile b/tests/cxx/tree/name-clash/makefile index 5ba6f26..4adeb0d 100644 --- a/tests/cxx/tree/name-clash/makefile +++ b/tests/cxx/tree/name-clash/makefile @@ -11,8 +11,6 @@ default := $(out_base)/ test := $(out_base)/.test clean := $(out_base)/.clean -.PHONY: $(default) $(test) $(clean) - $(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests))) $(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests))) $(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests))) diff --git a/tests/cxx/tree/naming/camel/makefile b/tests/cxx/tree/naming/camel/makefile index 0f9f812..3a27131 100644 --- a/tests/cxx/tree/naming/camel/makefile +++ b/tests/cxx/tree/naming/camel/makefile @@ -49,22 +49,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(call message,test $$1,$$1,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/naming/java/makefile b/tests/cxx/tree/naming/java/makefile index 1081877..91f122e 100644 --- a/tests/cxx/tree/naming/java/makefile +++ b/tests/cxx/tree/naming/java/makefile @@ -49,22 +49,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(call message,test $$1,$$1,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/naming/knr/makefile b/tests/cxx/tree/naming/knr/makefile index b1a5a93..c810d02 100644 --- a/tests/cxx/tree/naming/knr/makefile +++ b/tests/cxx/tree/naming/knr/makefile @@ -49,22 +49,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(call message,test $$1,$$1,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/naming/makefile b/tests/cxx/tree/naming/makefile index 8a70665..5e04d29 100644 --- a/tests/cxx/tree/naming/makefile +++ b/tests/cxx/tree/naming/makefile @@ -11,8 +11,6 @@ default := $(out_base)/ test := $(out_base)/.test clean := $(out_base)/.clean -.PHONY: $(default) $(test) $(clean) - $(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests))) $(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests))) $(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests))) diff --git a/tests/cxx/tree/polymorphism/comparison/makefile b/tests/cxx/tree/polymorphism/comparison/makefile index 0faf6c3..0b09a34 100644 --- a/tests/cxx/tree/polymorphism/comparison/makefile +++ b/tests/cxx/tree/polymorphism/comparison/makefile @@ -41,22 +41,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(src_base)/test.xml $(call message,test $$1,$$1 $(src_base)/test.xml,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/polymorphism/makefile b/tests/cxx/tree/polymorphism/makefile index b9d8bd6..6b9a293 100644 --- a/tests/cxx/tree/polymorphism/makefile +++ b/tests/cxx/tree/polymorphism/makefile @@ -11,8 +11,6 @@ default := $(out_base)/ test := $(out_base)/.test clean := $(out_base)/.clean -.PHONY: $(default) $(test) $(clean) - $(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests))) $(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests))) $(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests))) diff --git a/tests/cxx/tree/polymorphism/ostream/makefile b/tests/cxx/tree/polymorphism/ostream/makefile index e407267..c68a2c4 100644 --- a/tests/cxx/tree/polymorphism/ostream/makefile +++ b/tests/cxx/tree/polymorphism/ostream/makefile @@ -41,14 +41,11 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(src_base)/test.xml $(src_base)/output $(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver)) @@ -56,8 +53,6 @@ $(test): $(driver) $(src_base)/test.xml $(src_base)/output # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/polymorphism/same-type/makefile b/tests/cxx/tree/polymorphism/same-type/makefile index 853e6aa..22bf1cf 100644 --- a/tests/cxx/tree/polymorphism/same-type/makefile +++ b/tests/cxx/tree/polymorphism/same-type/makefile @@ -42,22 +42,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(src_base)/test.xml $(src_base)/output $(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/prefix/makefile b/tests/cxx/tree/prefix/makefile index 654632e..eb11f93 100644 --- a/tests/cxx/tree/prefix/makefile +++ b/tests/cxx/tree/prefix/makefile @@ -42,22 +42,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(src_base)/test.xml $(src_base)/output $(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/test-template/makefile b/tests/cxx/tree/test-template/makefile index 518bc90..b88c823 100644 --- a/tests/cxx/tree/test-template/makefile +++ b/tests/cxx/tree/test-template/makefile @@ -41,22 +41,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(src_base)/test.xml $(src_base)/output $(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/types-only/makefile b/tests/cxx/tree/types-only/makefile index 725e4c8..240ca50 100644 --- a/tests/cxx/tree/types-only/makefile +++ b/tests/cxx/tree/types-only/makefile @@ -41,22 +41,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(call message,test $$1,$$1,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/union/ctor/makefile b/tests/cxx/tree/union/ctor/makefile index bef734c..a4de2b7 100644 --- a/tests/cxx/tree/union/ctor/makefile +++ b/tests/cxx/tree/union/ctor/makefile @@ -42,22 +42,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(call message,test $$1,$$1,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ diff --git a/tests/cxx/tree/union/makefile b/tests/cxx/tree/union/makefile index 4a2d045..e8fea6a 100644 --- a/tests/cxx/tree/union/makefile +++ b/tests/cxx/tree/union/makefile @@ -11,8 +11,6 @@ default := $(out_base)/ test := $(out_base)/.test clean := $(out_base)/.clean -.PHONY: $(default) $(test) $(clean) - $(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests))) $(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests))) $(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests))) diff --git a/tests/cxx/tree/wildcard/makefile b/tests/cxx/tree/wildcard/makefile index 8ca738f..40e2b63 100644 --- a/tests/cxx/tree/wildcard/makefile +++ b/tests/cxx/tree/wildcard/makefile @@ -42,22 +42,17 @@ $(call include-dep,$(dep)) # Convenience alias for default target. # -.PHONY: $(out_base)/ $(out_base)/: $(driver) # Test. # -.PHONY: $(test) - $(test): driver := $(driver) $(test): $(driver) $(src_base)/test.xml $(src_base)/output $(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver)) # Clean. # -.PHONY: $(clean) - $(clean): $(driver).o.clean \ $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) \ -- cgit v1.1