aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-06-04 16:45:36 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-06-04 16:45:36 +0200
commitfcfe083c7a6d12eb4b6b88eea4a5ebbfc4d36995 (patch)
treeba60af2863d425e8be78749558c73910ab2f921d /makefile
parent073918a2f4bff3a6f12cfd722db50e3fb0a6db0d (diff)
Initial implementation
Diffstat (limited to 'makefile')
-rw-r--r--makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..ea14d69
--- /dev/null
+++ b/makefile
@@ -0,0 +1,34 @@
+# file : makefile
+# author : Boris Kolpackov <boris@codesynthesis.com>
+# copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC
+# license : GNU GPL v2; 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
+
+# Build.
+#
+$(default): $(out_base)/odb/mysql/ #$(out_base)/tests/
+
+# Test.
+#
+$(test): $(out_base)/tests/.test
+
+# Install.
+#
+$(install): $(out_base)/odb/mysql/.install
+ $(call install-data,$(src_base)/LICENSE,$(install_doc_dir)/libodb-mysql/LICENSE)
+ $(call install-data,$(src_base)/README,$(install_doc_dir)/libodb-mysql/README)
+
+# Clean.
+#
+$(clean): $(out_base)/odb/mysql/.clean #$(out_base)/tests/.clean
+
+$(call include,$(bld_root)/install.make)
+
+$(call import,$(src_base)/odb/mysql/makefile)
+#$(call import,$(src_base)/tests/makefile)