aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mssql/custom/makefile7
-rw-r--r--mssql/query/makefile5
-rw-r--r--mssql/template/makefile4
-rw-r--r--mssql/types/makefile6
-rw-r--r--mysql/custom/makefile7
-rw-r--r--mysql/index/makefile4
-rw-r--r--mysql/template/makefile4
-rw-r--r--mysql/truncation/makefile4
-rw-r--r--mysql/types/makefile6
-rw-r--r--oracle/custom/makefile7
-rw-r--r--oracle/template/makefile4
-rw-r--r--oracle/types/makefile6
-rw-r--r--pgsql/custom/makefile7
-rw-r--r--pgsql/index/makefile4
-rw-r--r--pgsql/template/makefile4
-rw-r--r--pgsql/truncation/makefile4
-rw-r--r--pgsql/types/makefile6
-rw-r--r--sqlite/custom/makefile4
-rw-r--r--sqlite/template/makefile4
-rw-r--r--sqlite/truncation/makefile4
-rw-r--r--sqlite/types/makefile6
21 files changed, 56 insertions, 51 deletions
diff --git a/mssql/custom/makefile b/mssql/custom/makefile
index 84191f3..9945c44 100644
--- a/mssql/custom/makefile
+++ b/mssql/custom/makefile
@@ -34,9 +34,10 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database mssql --generate-schema \
---generate-query --hxx-prologue '\#include "traits.hxx"' \
---hxx-prologue '\#include "query.hxx"' --table-prefix mssql_custom_
+$(gen) $(dist): export odb_options += --database mssql --default-database \
+common --generate-schema --generate-query --hxx-prologue \
+'\#include "traits.hxx"' --hxx-prologue '\#include "query.hxx"' \
+--table-prefix mssql_custom_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)
diff --git a/mssql/query/makefile b/mssql/query/makefile
index 53526b9..cd3a457 100644
--- a/mssql/query/makefile
+++ b/mssql/query/makefile
@@ -34,8 +34,9 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database mssql --generate-schema \
---generate-query --mssql-server-version 9.0 --table-prefix mssql_query_
+$(gen) $(dist): export odb_options += --database mssql --default-database \
+common --generate-schema --generate-query --mssql-server-version 9.0 \
+--table-prefix mssql_query_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)
diff --git a/mssql/template/makefile b/mssql/template/makefile
index b451bd4..441e45d 100644
--- a/mssql/template/makefile
+++ b/mssql/template/makefile
@@ -34,8 +34,8 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database mssql --generate-schema \
---table-prefix mssql_template_ #@@ CHANGE THIS
+$(gen) $(dist): export odb_options += --database mssql --default-database \
+common --generate-schema --table-prefix mssql_template_ #@@ CHANGE THIS
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)
diff --git a/mssql/types/makefile b/mssql/types/makefile
index 38935ed..fcac4f3 100644
--- a/mssql/types/makefile
+++ b/mssql/types/makefile
@@ -34,9 +34,9 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database mssql --generate-schema \
---generate-query --hxx-prologue '\#include "traits.hxx"' \
---table-prefix mssql_types_
+$(gen) $(dist): export odb_options += --database mssql --default-database \
+common --generate-schema --generate-query --hxx-prologue \
+'\#include "traits.hxx"' --table-prefix mssql_types_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)
diff --git a/mysql/custom/makefile b/mysql/custom/makefile
index e5e3983..7700323 100644
--- a/mysql/custom/makefile
+++ b/mysql/custom/makefile
@@ -34,9 +34,10 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database mysql --generate-schema \
---generate-query --hxx-prologue '\#include "traits.hxx"' \
---hxx-prologue '\#include "query.hxx"' --table-prefix mysql_custom_
+$(gen) $(dist): export odb_options += --database mysql --default-database \
+common --generate-schema --generate-query --hxx-prologue \
+'\#include "traits.hxx"' --hxx-prologue '\#include "query.hxx"' \
+--table-prefix mysql_custom_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)
diff --git a/mysql/index/makefile b/mysql/index/makefile
index 3218c00..c594679 100644
--- a/mysql/index/makefile
+++ b/mysql/index/makefile
@@ -34,8 +34,8 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database mysql --generate-schema \
---table-prefix mysql_index_
+$(gen) $(dist): export odb_options += --database mysql --default-database \
+common --generate-schema --table-prefix mysql_index_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)
diff --git a/mysql/template/makefile b/mysql/template/makefile
index 3371da0..6bb505f 100644
--- a/mysql/template/makefile
+++ b/mysql/template/makefile
@@ -34,8 +34,8 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database mysql --generate-schema \
---table-prefix mysql_template_ #@@ CHANGE THIS
+$(gen) $(dist): export odb_options += --database mysql --default-database \
+common --generate-schema --table-prefix mysql_template_ #@@ CHANGE THIS
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)
diff --git a/mysql/truncation/makefile b/mysql/truncation/makefile
index caa9ebb..95f951b 100644
--- a/mysql/truncation/makefile
+++ b/mysql/truncation/makefile
@@ -34,8 +34,8 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database mysql --generate-query \
---generate-schema --table-prefix mysql_truncation_
+$(gen) $(dist): export odb_options += --database mysql --default-database \
+common --generate-schema --generate-query --table-prefix mysql_truncation_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)
diff --git a/mysql/types/makefile b/mysql/types/makefile
index 112af70..0770d8b 100644
--- a/mysql/types/makefile
+++ b/mysql/types/makefile
@@ -34,9 +34,9 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database mysql --generate-schema \
---generate-query --hxx-prologue '\#include "traits.hxx"' \
---table-prefix mysql_types_
+$(gen) $(dist): export odb_options += --database mysql --default-database \
+common --generate-schema --generate-query --hxx-prologue \
+'\#include "traits.hxx"' --table-prefix mysql_types_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)
diff --git a/oracle/custom/makefile b/oracle/custom/makefile
index b27c3bd..b3d5e15 100644
--- a/oracle/custom/makefile
+++ b/oracle/custom/makefile
@@ -34,9 +34,10 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database oracle --generate-schema \
---generate-query --hxx-prologue '\#include "traits.hxx"' --sql-interlude \
-"@ $(src_base)/custom.sql" --table-prefix oracle_custom_
+$(gen) $(dist): export odb_options += --database oracle --default-database \
+common --generate-schema --generate-query --hxx-prologue \
+'\#include "traits.hxx"' --sql-interlude "@ $(src_base)/custom.sql" \
+--table-prefix oracle_custom_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)
diff --git a/oracle/template/makefile b/oracle/template/makefile
index e68a09c..c931305 100644
--- a/oracle/template/makefile
+++ b/oracle/template/makefile
@@ -34,8 +34,8 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database oracle --generate-schema \
---table-prefix oracle_template_ #@@ CHANGE THIS
+$(gen) $(dist): export odb_options += --database oracle --default-database \
+common --generate-schema --table-prefix oracle_template_ #@@ CHANGE THIS
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)
diff --git a/oracle/types/makefile b/oracle/types/makefile
index 08eb42f..df6fefa 100644
--- a/oracle/types/makefile
+++ b/oracle/types/makefile
@@ -34,9 +34,9 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database oracle --generate-schema \
---generate-query --hxx-prologue '\#include "traits.hxx"' \
---table-prefix oracle_types_
+$(gen) $(dist): export odb_options += --database oracle --default-database \
+common --generate-schema --generate-query --hxx-prologue \
+'\#include "traits.hxx"' --table-prefix oracle_types_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)
diff --git a/pgsql/custom/makefile b/pgsql/custom/makefile
index 9c4cf91..4cdc1a2 100644
--- a/pgsql/custom/makefile
+++ b/pgsql/custom/makefile
@@ -34,9 +34,10 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database pgsql --generate-schema \
---generate-query --hxx-prologue '\#include "traits.hxx"' \
---hxx-prologue '\#include "query.hxx"' --table-prefix pgsql_custom_
+$(gen) $(dist): export odb_options += --database pgsql --default-database \
+common --generate-schema --generate-query --hxx-prologue \
+'\#include "traits.hxx"' --hxx-prologue '\#include "query.hxx"' \
+--table-prefix pgsql_custom_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)
diff --git a/pgsql/index/makefile b/pgsql/index/makefile
index e6f8ca6..cb898f2 100644
--- a/pgsql/index/makefile
+++ b/pgsql/index/makefile
@@ -34,8 +34,8 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database pgsql --generate-schema \
---table-prefix pgsql_index_
+$(gen) $(dist): export odb_options += --database pgsql --default-database \
+common --generate-schema --table-prefix pgsql_index_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)
diff --git a/pgsql/template/makefile b/pgsql/template/makefile
index b966ac8..f62cd55 100644
--- a/pgsql/template/makefile
+++ b/pgsql/template/makefile
@@ -34,8 +34,8 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database pgsql --generate-schema \
---table-prefix pgsql_template_ #@@ CHANGE THIS
+$(gen) $(dist): export odb_options += --database pgsql --default-database \
+common --generate-schema --table-prefix pgsql_template_ #@@ CHANGE THIS
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)
diff --git a/pgsql/truncation/makefile b/pgsql/truncation/makefile
index f61eef4..63300c2 100644
--- a/pgsql/truncation/makefile
+++ b/pgsql/truncation/makefile
@@ -34,8 +34,8 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database pgsql --generate-query \
---generate-schema --table-prefix pgsql_truncation_
+$(gen) $(dist): export odb_options += --database pgsql --default-database \
+common --generate-schema --generate-query --table-prefix pgsql_truncation_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)
diff --git a/pgsql/types/makefile b/pgsql/types/makefile
index ccaedbf..2a8cd93 100644
--- a/pgsql/types/makefile
+++ b/pgsql/types/makefile
@@ -34,9 +34,9 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database pgsql --generate-schema \
---generate-query --cxx-prologue '\#include "traits.hxx"' \
---table-prefix pgsql_types_
+$(gen) $(dist): export odb_options += --database pgsql --default-database \
+common --generate-schema --generate-query --cxx-prologue \
+'\#include "traits.hxx"' --table-prefix pgsql_types_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)
diff --git a/sqlite/custom/makefile b/sqlite/custom/makefile
index de52742..d61dc95 100644
--- a/sqlite/custom/makefile
+++ b/sqlite/custom/makefile
@@ -34,8 +34,8 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database sqlite --generate-schema \
---generate-query --table-prefix sqlitex_custom_
+$(gen) $(dist): export odb_options += --database sqlite --default-database \
+common --generate-schema --generate-query --table-prefix sqlitex_custom_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)
diff --git a/sqlite/template/makefile b/sqlite/template/makefile
index 65bc159..4341cc8 100644
--- a/sqlite/template/makefile
+++ b/sqlite/template/makefile
@@ -34,8 +34,8 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database sqlite --generate-schema \
---table-prefix sqlitex_template_ #@@ CHANGE THIS
+$(gen) $(dist): export odb_options += --database sqlite --default-database \
+common --generate-schema --table-prefix sqlitex_template_ #@@ CHANGE THIS
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)
diff --git a/sqlite/truncation/makefile b/sqlite/truncation/makefile
index 3dfae0e..9fedbd1 100644
--- a/sqlite/truncation/makefile
+++ b/sqlite/truncation/makefile
@@ -34,8 +34,8 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database sqlite --generate-query \
---generate-schema --table-prefix sqlitex_truncation_
+$(gen) $(dist): export odb_options += --database sqlite --default-database \
+common --generate-schema --generate-query --table-prefix sqlitex_truncation_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)
diff --git a/sqlite/types/makefile b/sqlite/types/makefile
index 4e78f0a..0dbdee4 100644
--- a/sqlite/types/makefile
+++ b/sqlite/types/makefile
@@ -34,9 +34,9 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
-$(gen) $(dist): export odb_options += --database sqlite --generate-schema \
---generate-query --cxx-prologue '\#include "traits.hxx"' \
---table-prefix sqlitex_types_
+$(gen) $(dist): export odb_options += --database sqlite --default-database \
+common --generate-schema --generate-query --cxx-prologue \
+'\#include "traits.hxx"' --table-prefix sqlitex_types_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)