aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-09-06 12:52:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-09-06 12:52:53 +0200
commitcb9ea47e7825b5073d4d645afb94f6326cb7cf4d (patch)
tree201c215b08df918924153a60520046c294438a6b /makefile
Start the libcutl repository
Diffstat (limited to 'makefile')
-rw-r--r--makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..5d90ad8
--- /dev/null
+++ b/makefile
@@ -0,0 +1,42 @@
+# file : makefile
+# author : Boris Kolpackov <boris@codesynthesis.com>
+# copyright : Copyright (c) 2009 Code Synthesis Tools CC
+# license : MIT; see accompanying LICENSE file
+
+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
+
+# Build.
+#
+$(default): $(out_base)/cutl/ $(out_base)/tests/
+
+# Test.
+#
+$(test): $(out_base)/tests/.test
+
+# Install.
+#
+$(install): $(out_base)/cutl/.install \
+ $(out_base)/doc/.install
+ $(call install-data,$(src_base)/LICENSE,$(install_doc_dir)/libcutl/LICENSE)
+ $(call install-data,$(src_base)/NEWS,$(install_doc_dir)/libcutl/NEWS)
+ $(call install-data,$(src_base)/README,$(install_doc_dir)/libcutl/README)
+
+# Dist.
+#
+
+# @@ TODO
+
+# Clean.
+#
+$(clean): $(out_base)/cutl/.clean $(out_base)/tests/.clean
+
+$(call include,$(bld_root)/install.make)
+
+$(call import,$(src_base)/cutl/makefile)
+$(call import,$(src_base)/tests/makefile)