mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-14 19:57:17 +01:00
4a6bfc086c
Switched to POCO library for unified platform/library interface. Deprecated the external module API. It was creating more problems than solving. Removed most built-in libraries in favor of system libraries for easier maintenance. Cleaned and secured code with help from static analyzers.
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
#
|
|
# 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
|
|
|
|
include $(POCO_BASE)/Data/ODBC/ODBC.make
|
|
|
|
##################################################################################################
|
|
# Note: #
|
|
# Do not change linking order or move this line up, these libs have to be linked in this order. #
|
|
##################################################################################################
|
|
ifneq ($(OSNAME),Darwin)
|
|
SYSLIBS += -lltdl
|
|
endif
|
|
ifneq ($(OSNAME),FreeBSD)
|
|
SYSLIBS += -ldl
|
|
endif
|
|
|
|
objects = ODBCTestSuite Driver \
|
|
ODBCDB2Test ODBCMySQLTest ODBCOracleTest ODBCPostgreSQLTest \
|
|
ODBCSQLiteTest ODBCSQLServerTest ODBCTest SQLExecutor
|
|
|
|
ifeq ($(POCO_CONFIG),MinGW)
|
|
objects += ODBCAccessTest
|
|
endif
|
|
|
|
target = testrunner
|
|
target_version = 1
|
|
target_libs = PocoDataODBC PocoData PocoFoundation CppUnit
|
|
|
|
include $(POCO_BASE)/build/rules/exec
|