From 921c4c14c2999a03b9e649b5c9adec73b5cae0de Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 6 Sep 2010 14:26:25 +0200 Subject: Add automake build support --- tracer/transaction/makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tracer/transaction/makefile') diff --git a/tracer/transaction/makefile b/tracer/transaction/makefile index 5919e6e..fd1d698 100644 --- a/tracer/transaction/makefile +++ b/tracer/transaction/makefile @@ -10,6 +10,7 @@ cxx_obj := $(addprefix $(out_base)/,$(cxx_tun:.cxx=.o)) cxx_od := $(cxx_obj:.o=.o.d) driver := $(out_base)/driver +dist := $(out_base)/.dist test := $(out_base)/.test clean := $(out_base)/.clean @@ -35,6 +36,13 @@ $(call include-dep,$(cxx_od)) # $(out_base)/: $(driver) +# Dist +# +$(dist): data_dist := $(cxx_tun) test.std +$(dist): + $(call dist-data,$(data_dist)) + $(call meta-automake,$(src_root)/tracer/template/Makefile.am) + # Test. # $(test): $(driver) $(src_base)/test.std @@ -60,6 +68,9 @@ endif # How to. # +$(call include,$(bld_root)/dist.make) +$(call include,$(bld_root)/meta/automake.make) + $(call include,$(bld_root)/cxx/cxx-d.make) $(call include,$(bld_root)/cxx/cxx-o.make) $(call include,$(bld_root)/cxx/o-e.make) -- cgit v1.1