poco/Data/ODBC/testsuite/Makefile

29 lines
711 B
Makefile
Raw Normal View History

2007-05-23 01:06:46 +00:00
#
# Makefile
#
# $Id: //poco/Main/Data/ODBC/testsuite/Makefile#1 $
#
# Makefile for Poco SQLite testsuite
#
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-23 01:06:46 +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-23 01:06:46 +00:00
endif
objects = ODBCTestSuite Driver \
ODBCDB2Test ODBCMySQLTest ODBCOracleTest \
ODBCPostgreSQLTest ODBCSQLiteTest ODBCSQLServerTest \
SQLExecutor
target = testrunner
target_version = 1
target_libs = PocoODBC PocoData PocoFoundation CppUnit
include $(POCO_BASE)/build/rules/exec