2012-04-29 20:52:25 +02:00
|
|
|
#
|
|
|
|
# Makefile
|
|
|
|
#
|
2012-09-21 07:06:37 +02:00
|
|
|
# $Id: //poco/1.4/Data/ODBC/testsuite/Makefile#4 $
|
2012-04-29 20:52:25 +02:00
|
|
|
#
|
|
|
|
# Makefile for Poco SQLite testsuite
|
|
|
|
#
|
|
|
|
# For Unicode support, add following to COMMONFLAGS:
|
|
|
|
#
|
|
|
|
# -DUNICODE
|
|
|
|
#
|
|
|
|
# Unicode is supported only for UnixODBC
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(POCO_BASE)/build/rules/global
|
|
|
|
|
2012-09-21 07:06:37 +02:00
|
|
|
include $(POCO_BASE)/Data/ODBC/ODBC.make
|
2012-04-29 20:52:25 +02:00
|
|
|
|
2012-07-10 05:58:41 +02:00
|
|
|
##################################################################################################
|
|
|
|
# Note: #
|
|
|
|
# Do not change linking order or move this line up, these libs have to be linked in this order. #
|
|
|
|
##################################################################################################
|
2013-09-18 20:12:27 +02:00
|
|
|
ifneq ($(OSNAME),Darwin)
|
2012-12-12 04:25:37 +01:00
|
|
|
SYSLIBS += -lltdl
|
2013-09-18 20:12:27 +02:00
|
|
|
endif
|
|
|
|
ifneq ($(OSNAME),FreeBSD)
|
2012-12-12 04:25:37 +01:00
|
|
|
SYSLIBS += -ldl
|
|
|
|
endif
|
2012-07-07 18:03:21 +02:00
|
|
|
|
2012-04-29 20:52:25 +02:00
|
|
|
objects = ODBCTestSuite Driver \
|
|
|
|
ODBCDB2Test ODBCMySQLTest ODBCOracleTest ODBCPostgreSQLTest \
|
|
|
|
ODBCSQLiteTest ODBCSQLServerTest ODBCTest SQLExecutor
|
2012-09-21 07:06:37 +02:00
|
|
|
|
2012-04-29 20:52:25 +02:00
|
|
|
ifeq ($(POCO_CONFIG),MinGW)
|
2012-12-17 06:56:33 +01:00
|
|
|
objects += ODBCAccessTest
|
2012-04-29 20:52:25 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
target = testrunner
|
|
|
|
target_version = 1
|
|
|
|
target_libs = PocoDataODBC PocoData PocoFoundation CppUnit
|
|
|
|
|
|
|
|
include $(POCO_BASE)/build/rules/exec
|