aboutsummaryrefslogtreecommitdiff
path: root/build/configuration.make
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-01-16 09:50:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-01-16 09:50:11 +0200
commit7d74507aacb63f77b763c940ef6fb6c82cb2445a (patch)
tree9d92e44fd3a5de7a5463b170e5e0a9831d46abeb /build/configuration.make
parent24f87489a4d315cc01ca9d49a3f0209522fe6729 (diff)
Add SQL Server support
Diffstat (limited to 'build/configuration.make')
-rw-r--r--build/configuration.make14
1 files changed, 5 insertions, 9 deletions
diff --git a/build/configuration.make b/build/configuration.make
index e2d0077..d217dd6 100644
--- a/build/configuration.make
+++ b/build/configuration.make
@@ -15,18 +15,14 @@ ifdef db_id
ifeq ($(db_id),mysql)
db_macro := DATABASE_MYSQL
-endif
-
-ifeq ($(db_id),sqlite)
+else ifeq ($(db_id),sqlite)
db_macro := DATABASE_SQLITE
-endif
-
-ifeq ($(db_id),pgsql)
+else ifeq ($(db_id),pgsql)
db_macro := DATABASE_PGSQL
-endif
-
-ifeq ($(db_id),oracle)
+else ifeq ($(db_id),oracle)
db_macro := DATABASE_ORACLE
+else ifeq ($(db_id),mssql)
+db_macro := DATABASE_MSSQL
endif
$(out_root)/%: db_id := $(db_id)