2007-05-12 14:41:03 +00:00
|
|
|
#
|
|
|
|
# Makefile
|
|
|
|
#
|
|
|
|
# $Id: //poco/Main/DataConnectors/ODBC/Makefile#2 $
|
|
|
|
#
|
|
|
|
# Makefile for Poco ODBC
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(POCO_BASE)/build/rules/global
|
|
|
|
|
2007-05-25 01:57:38 +00:00
|
|
|
ifeq (0, $(shell test -e /usr/lib/libodbc.so; echo $$?))
|
|
|
|
SYSLIBS += -lodbc -lodbcinst
|
|
|
|
else ifeq (0, $(shell test -e /usr/lib/libiodbc.so; echo $$?))
|
2007-05-12 14:41:03 +00:00
|
|
|
SYSLIBS += -liodbc -liodbcinst
|
|
|
|
else
|
2007-05-25 01:57:38 +00:00
|
|
|
$(error No ODBC library found. Please install unixODBC or iODBC and try again)
|
2007-05-12 14:41:03 +00:00
|
|
|
endif
|
|
|
|
|
2007-11-22 23:11:51 +00:00
|
|
|
objects = Binder ConnectionHandle Connector EnvironmentHandle \
|
2007-12-21 02:33:26 +00:00
|
|
|
Extractor ODBCMetaColumn ODBCException ODBCStatementImpl \
|
2007-12-16 17:44:46 +00:00
|
|
|
Parameter Preparation SessionImpl TypeInfo Unicode Utility
|
2007-05-12 14:41:03 +00:00
|
|
|
|
|
|
|
target = PocoODBC
|
|
|
|
target_version = $(LIBVERSION)
|
|
|
|
target_libs = PocoData PocoFoundation
|
|
|
|
|
|
|
|
include $(POCO_BASE)/build/rules/lib
|