aboutsummaryrefslogtreecommitdiff
path: root/tests/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-04-29 08:29:49 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-04-29 08:29:49 +0200
commit871082dc018815261b6ec75a8e4933505389ffae (patch)
tree6b92641afc8dbbf234fa5b46569ed4335cb4204b /tests/makefile
parenteb95d50569946def5e55c73445c1d85f603e8536 (diff)
Support for autotools and VC++ 9, 10, 11 build systems
Diffstat (limited to 'tests/makefile')
-rw-r--r--tests/makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/makefile b/tests/makefile
index 5baca3a..fb0821c 100644
--- a/tests/makefile
+++ b/tests/makefile
@@ -8,10 +8,28 @@ tests := parser serializer roundtrip
default := $(out_base)/
test := $(out_base)/.test
+dist := $(out_base)/.dist
clean := $(out_base)/.clean
$(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests)))
$(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests)))
+
+$(dist): export dirs := $(tests)
+$(dist): export extra_dist := test.bat tests-vc9.sln tests-vc10.sln \
+tests-vc11.sln
+$(dist): $(addprefix $(out_base)/,$(addsuffix /.dist,$(tests)))
+ $(call meta-automake)
+ $(call meta-vc9sln,tests-vc9.sln)
+ $(call meta-vc10sln,tests-vc10.sln)
+ $(call meta-vc11sln,tests-vc11.sln)
+ $(call meta-vctest,tests-vc9.sln,test.bat)
+
$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests)))
+$(call include,$(bld_root)/meta/vc9sln.make)
+$(call include,$(bld_root)/meta/vc10sln.make)
+$(call include,$(bld_root)/meta/vc11sln.make)
+$(call include,$(bld_root)/meta/vctest.make)
+$(call include,$(bld_root)/meta/automake.make)
+
$(foreach t,$(tests),$(call import,$(src_base)/$t/makefile))