From 8823eb1c28f6589068a080a68283a8ddb47cb71b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 28 Nov 2011 09:56:02 +0200 Subject: Add ODBC library import stub Supports both Windows ODBC driver manager and unixODBC. --- odb/mssql/makefile | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'odb') diff --git a/odb/mssql/makefile b/odb/mssql/makefile index 6a2ff51..63aa888 100644 --- a/odb/mssql/makefile +++ b/odb/mssql/makefile @@ -39,19 +39,16 @@ $(call import,\ $(scf_root)/import/libodb/stub.make,\ l: odb.l,cpp-options: odb.l.cpp-options) -# @@ TODO -# -#$(call import,\ -# $(scf_root)/import/libpq/stub.make,\ -# l: pq.l,\ -# cpp-options: pq.l.cpp-options,\ -# cpp-options-inline: pq_cpp_options) +$(call import,\ + $(scf_root)/import/libodbc/stub.make,\ + l: odbc.l,\ + cpp-options: odbc.l.cpp-options) # Build. # -$(odb_mssql.l): $(cxx_obj) $(odb.l) -lodbc32 # @@ TODO +$(odb_mssql.l): $(cxx_obj) $(odb.l) $(odbc.l) $(odb_mssql.l.cpp-options): value := -I$(out_root) -I$(src_root) -$(odb_mssql.l.cpp-options): $(odb.l.cpp-options) +$(odb_mssql.l.cpp-options): $(odb.l.cpp-options) $(odbc.l.cpp-options) $(cxx_obj) $(cxx_od): $(odb_mssql.l.cpp-options) $(out_base)/details/config.h -- cgit v1.1