diff options
Diffstat (limited to 'examples/cxx/tree/makefile')
-rw-r--r-- | examples/cxx/tree/makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/examples/cxx/tree/makefile b/examples/cxx/tree/makefile new file mode 100644 index 0000000..7866b33 --- /dev/null +++ b/examples/cxx/tree/makefile @@ -0,0 +1,27 @@ +# file : examples/cxx/tree/makefile +# author : Boris Kolpackov <boris@codesynthesis.com> +# copyright : Copyright (c) 2006-2009 Code Synthesis Tools CC +# license : GNU GPL v2 + exceptions; see accompanying LICENSE file + +include $(dir $(lastword $(MAKEFILE_LIST)))../../../build/bootstrap.make + +examples := binary caching custom hello library messaging mixed multiroot \ +performance polymorphism streaming wildcard + +ifeq ($(xsd_with_dbxml),y) +examples += dbxml +endif + +ifeq ($(xsd_with_xqilla),y) +examples += xpath +endif + +default := $(out_base)/ +clean := $(out_base)/.clean + +.PHONY: $(default) $(clean) + +$(default): $(addprefix $(out_base)/,$(addsuffix /,$(examples))) +$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(examples))) + +$(foreach e,$(examples),$(call import,$(src_base)/$e/makefile)) |