poco/Data/ODBC/Makefile
Aleksandar Fabijanic 2e10390593 - Unicode support (Windows only at this time, UNIX T.B.D.)
- SF bug #1836684 fix (ODBC data lengths in subsequent execute calls)
- many refactoring/cosmetic changes
2007-11-22 23:11:51 +00:00

28 lines
754 B
Makefile

#
# Makefile
#
# $Id: //poco/Main/DataConnectors/ODBC/Makefile#2 $
#
# Makefile for Poco ODBC
#
include $(POCO_BASE)/build/rules/global
ifeq (0, $(shell test -e /usr/lib/libodbc.so; echo $$?))
SYSLIBS += -lodbc -lodbcinst
else ifeq (0, $(shell test -e /usr/lib/libiodbc.so; echo $$?))
SYSLIBS += -liodbc -liodbcinst
else
$(error No ODBC library found. Please install unixODBC or iODBC and try again)
endif
objects = Binder ConnectionHandle Connector EnvironmentHandle \
Extractor ODBCColumn ODBCException ODBCStatementImpl Parameter Preparation \
SessionImpl TypeInfo Unicode Utility
target = PocoODBC
target_version = $(LIBVERSION)
target_libs = PocoData PocoFoundation
include $(POCO_BASE)/build/rules/lib