aboutsummaryrefslogtreecommitdiff
path: root/tracer/types/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tracer/types/makefile')
-rw-r--r--tracer/types/makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/tracer/types/makefile b/tracer/types/makefile
index f042476..474681d 100644
--- a/tracer/types/makefile
+++ b/tracer/types/makefile
@@ -52,10 +52,17 @@ $(out_base)/: $(driver)
# Dist
#
-$(dist): data_dist := $(cxx_tun) $(odb_hdr) test.std
+$(dist): sources := $(cxx_tun)
+$(dist): headers := $(odb_hdr)
+$(dist): data_dist := test.std
+$(dist): export name := $(notdir $(src_base))
+$(dist): export extra_dist := $(data_dist) $(name)-vc9.vcproj \
+$(name)-vc10.vcxproj $(name)-vc10.vcxproj.filters
$(dist):
- $(call dist-data,$(data_dist))
- $(call meta-automake,$(src_root)/tracer/template/Makefile.am)
+ $(call dist-data,$(sources) $(headers) $(data_dist))
+ $(call meta-automake,../template/Makefile.am)
+ $(call meta-vc9proj,../template/template-vc9.vcproj,$(name)-vc9.vcproj)
+ $(call meta-vc10proj,../template/template-vc10.vcxproj,$(name)-vc10.vcxproj)
# Test.
#
@@ -84,6 +91,8 @@ endif
# How to.
#
$(call include,$(bld_root)/dist.make)
+$(call include,$(bld_root)/meta/vc9proj.make)
+$(call include,$(bld_root)/meta/vc10proj.make)
$(call include,$(bld_root)/meta/automake.make)
$(call include,$(odb_rules))