aboutsummaryrefslogtreecommitdiff
path: root/odb/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-03-10 08:44:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-03-21 15:39:59 +0200
commit7ae497743c7b042904fe1f6b4153ab3f4763ff2b (patch)
tree08ba3f742f20d16d893856ccceb070094bd69225 /odb/makefile
parent2436f20262a41bd1cafa5107ab6d6799c03e0964 (diff)
Split MySQL code generator into common and db-specific parts
The common part (in relational/) still has some MySQL-specific parts. Also, add the notion of the current context which is used to avoid explicitly passing the context object to every generator's c-tor.
Diffstat (limited to 'odb/makefile')
-rw-r--r--odb/makefile24
1 files changed, 16 insertions, 8 deletions
diff --git a/odb/makefile b/odb/makefile
index ea9385a..fafb406 100644
--- a/odb/makefile
+++ b/odb/makefile
@@ -30,16 +30,24 @@ tracer/header.cxx \
tracer/inline.cxx \
tracer/source.cxx
-# MySQL
+# Relational
#
cxx_ptun += \
-mysql/context.cxx \
-mysql/common.cxx \
-mysql/header.cxx \
-mysql/inline.cxx \
-mysql/source.cxx \
-mysql/schema.cxx \
-mysql/sql-schema.cxx
+relational/common.cxx \
+relational/context.cxx \
+relational/header.cxx \
+relational/inline.cxx \
+relational/source.cxx \
+relational/schema.cxx
+
+# Relational/MySQL
+#
+cxx_ptun += \
+relational/mysql/common.cxx \
+relational/mysql/context.cxx \
+relational/mysql/header.cxx \
+relational/mysql/source.cxx \
+relational/mysql/schema.cxx
cxx_ptun += \
semantics/class.cxx \