aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-01-16 09:48:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-01-20 15:45:46 +0200
commitb53e7c4aa82f7fca4d6ce166a58dc518a37d561e (patch)
tree174d2e2fec2b696cef1848cd41b3e9785e0bf856
parent8ac6762591c207cf58498ceb92c05d736078c00c (diff)
Use 'else if' make construct
-rw-r--r--libcommon/common/makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/libcommon/common/makefile b/libcommon/common/makefile
index accf285..842f8e4 100644
--- a/libcommon/common/makefile
+++ b/libcommon/common/makefile
@@ -51,17 +51,13 @@ $(out_base)/config.h: $(dcf_root)/configuration-dynamic.make | $(out_base)/.
@echo '' >>$@
ifeq ($(db_id),mysql)
@echo '#define DATABASE_MYSQL 1' >>$@
-endif
-ifeq ($(db_id),sqlite)
+else ifeq ($(db_id),sqlite)
@echo '#define DATABASE_SQLITE 1' >>$@
-endif
-ifeq ($(db_id),pgsql)
+else ifeq ($(db_id),pgsql)
@echo '#define DATABASE_PGSQL 1' >>$@
-endif
-ifeq ($(db_id),oracle)
+else ifeq ($(db_id),oracle)
@echo '#define DATABASE_ORACLE 1' >>$@
-endif
-ifeq ($(db_id),mssql)
+else ifeq ($(db_id),mssql)
@echo '#define DATABASE_MSSQL 1' >>$@
endif
@echo '#define HAVE_TR1_MEMORY 1' >>$@