From 7ae497743c7b042904fe1f6b4153ab3f4763ff2b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 10 Mar 2011 08:44:28 +0200 Subject: 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. --- odb/makefile | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) (limited to 'odb/makefile') 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 \ -- cgit v1.1