aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--boost/makefile13
-rw-r--r--makefile19
-rw-r--r--qt/makefile13
3 files changed, 6 insertions, 39 deletions
diff --git a/boost/makefile b/boost/makefile
index dcc5d32..a8edf49 100644
--- a/boost/makefile
+++ b/boost/makefile
@@ -5,18 +5,9 @@
include $(dir $(lastword $(MAKEFILE_LIST)))../build/bootstrap.make
-all_dirs := common mysql sqlite pgsql oracle
+all_dirs := common mysql sqlite pgsql oracle mssql
dirs := common
-
-ifeq ($(db_id),mysql)
-dirs += mysql
-else ifeq ($(db_id),sqlite)
-dirs += sqlite
-else ifeq ($(db_id),pgsql)
-dirs += pgsql
-else ifeq ($(db_id),oracle)
-dirs += oracle
-endif
+dirs += $(db_id)
default := $(out_base)/
dist := $(out_base)/.dist
diff --git a/makefile b/makefile
index e7184f9..576792d 100644
--- a/makefile
+++ b/makefile
@@ -5,24 +5,9 @@
include $(dir $(lastword $(MAKEFILE_LIST)))build/bootstrap.make
-all_dirs := libcommon common mysql sqlite pgsql oracle boost qt
+all_dirs := libcommon common mysql sqlite pgsql oracle mssql boost qt
dirs := common boost qt
-
-ifeq ($(db_id),mysql)
-dirs += mysql
-endif
-
-ifeq ($(db_id),sqlite)
-dirs += sqlite
-endif
-
-ifeq ($(db_id),pgsql)
-dirs += pgsql
-endif
-
-ifeq ($(db_id),oracle)
-dirs += oracle
-endif
+dirs += $(db_id)
default := $(out_base)/
dist := $(out_base)/.dist
diff --git a/qt/makefile b/qt/makefile
index e0ec91d..f491174 100644
--- a/qt/makefile
+++ b/qt/makefile
@@ -5,18 +5,9 @@
include $(dir $(lastword $(MAKEFILE_LIST)))../build/bootstrap.make
-all_dirs := common mysql sqlite pgsql oracle
+all_dirs := common mysql sqlite pgsql oracle mssql
dirs := common
-
-ifeq ($(db_id),mysql)
-dirs += mysql
-else ifeq ($(db_id),sqlite)
-dirs += sqlite
-else ifeq ($(db_id),pgsql)
-dirs += pgsql
-else ifeq ($(db_id),oracle)
-dirs += oracle
-endif
+dirs += $(db_id)
default := $(out_base)/
dist := $(out_base)/.dist