aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-09-17 07:15:29 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-09-17 07:15:29 +0200
commitf0510d2f90467de8e8f260b47d79a9baaf9bef17 (patch)
tree0b9929946f06a9cbe9b9e8f2a7600dae4e048f79 /makefile
Start tracking XSD with git
Diffstat (limited to 'makefile')
-rw-r--r--makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..55d8fdc
--- /dev/null
+++ b/makefile
@@ -0,0 +1,41 @@
+# file : makefile
+# author : Boris Kolpackov <boris@codesynthesis.com>
+# copyright : Copyright (c) 2005-2009 Code Synthesis Tools CC
+# license : GNU GPL v2 + exceptions; see accompanying LICENSE file
+
+include $(dir $(lastword $(MAKEFILE_LIST)))build/bootstrap.make
+
+default := $(out_base)/
+test := $(out_base)/.test
+install := $(out_base)/.install
+clean := $(out_base)/.clean
+
+.PHONY: $(default) $(test) $(install) $(clean)
+
+$(default): $(out_base)/xsd/ \
+ $(out_base)/tests/ \
+ $(out_base)/examples/
+
+$(test): $(out_base)/tests/.test
+
+$(install): $(out_base)/xsd/.install \
+ $(out_base)/libxsd/.install \
+ $(out_base)/documentation/.install
+ $(call install-data,$(src_base)/FLOSSE,$(install_doc_dir)/xsd/FLOSSE)
+ $(call install-data,$(src_base)/GPLv2,$(install_doc_dir)/xsd/GPLv2)
+ $(call install-data,$(src_base)/LICENSE,$(install_doc_dir)/xsd/LICENSE)
+ $(call install-data,$(src_base)/NEWS,$(install_doc_dir)/xsd/NEWS)
+ $(call install-data,$(src_base)/README,$(install_doc_dir)/xsd/README)
+
+
+$(clean): $(out_base)/xsd/.clean \
+ $(out_base)/tests/.clean \
+ $(out_base)/examples/.clean
+
+$(call include,$(bld_root)/install.make)
+
+$(call import,$(src_base)/xsd/makefile)
+$(call import,$(src_base)/libxsd/makefile)
+$(call import,$(src_base)/tests/makefile)
+$(call import,$(src_base)/examples/makefile)
+$(call import,$(src_base)/documentation/makefile)