poco/Data/ODBC/testsuite/Makefile

48 lines
1.3 KiB
Makefile
Raw Normal View History

2012-04-29 20:52:25 +02:00
#
# Makefile
#
# 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)
SYSLIBS += -lltdl
2013-09-18 20:12:27 +02:00
endif
ifneq ($(OSNAME),FreeBSD)
2023-11-03 00:10:01 +01:00
ifneq ($(OSNAME),Darwin)
SYSLIBS += -ldl
endif
2023-11-03 00:10:01 +01:00
endif
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
ifndef POCO_DATA_NO_SQL_PARSER
target_includes += $(POCO_BASE)/Data/src
endif
target = testrunner
target_version = 1
target_libs = PocoDataODBC PocoDataTest PocoData PocoFoundation CppUnit
target_includes += $(POCO_BASE)/Data/testsuite/DataTest/include
2012-04-29 20:52:25 +02:00
include $(POCO_BASE)/build/rules/exec