summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-08-02 17:24:00 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-08-02 17:24:00 +0200
commit49d7681be69dfb0f3f31e0091592f33e27a40c23 (patch)
treeb0ea6a410946afa5b6aaca232364b08397a87ea7 /makefile
parent48632d8e40fe75b8e06ae03aa97b778dca9a6ca6 (diff)
Initialize the build system
Diffstat (limited to 'makefile')
-rw-r--r--makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..6bed677
--- /dev/null
+++ b/makefile
@@ -0,0 +1,44 @@
+# file : makefile
+# author : Boris Kolpackov <boris@codesynthesis.com>
+# copyright : Copyright (c) 2009 Code Synthesis Tools CC
+# license : TBD
+
+include $(dir $(lastword $(MAKEFILE_LIST)))build/bootstrap.make
+
+default := $(out_base)/
+test := $(out_base)/.test
+install := $(out_base)/.install
+dist := $(out_base)/.dist
+clean := $(out_base)/.clean
+
+
+.PHONY: $(default) $(test) $(install) $(dist) $(clean)
+
+# Build.
+#
+$(default): $(out_base)/cli/
+
+# Test.
+#
+$(test): #$(out_base)/tests/.test
+
+# Install.
+#
+$(install): $(out_base)/cli/.install \
+ $(out_base)/documentation/.install
+ $(call install-data,$(src_base)/LICENSE,$(install_doc_dir)/cli/LICENSE)
+ $(call install-data,$(src_base)/NEWS,$(install_doc_dir)/cli/NEWS)
+ $(call install-data,$(src_base)/README,$(install_doc_dir)/cli/README)
+
+# Dist.
+#
+
+# @@ TODO
+
+# Clean.
+#
+$(clean): $(out_base)/cli/.clean
+
+$(call include,$(bld_root)/install.make)
+
+$(call import,$(src_base)/cli/makefile)