2012-04-23 03:14:34 +02:00
|
|
|
#
|
|
|
|
# Makefile
|
|
|
|
#
|
|
|
|
# Makefile for Poco SQLite
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(POCO_BASE)/build/rules/global
|
|
|
|
|
2012-04-24 04:10:19 +02:00
|
|
|
COMMONFLAGS += -I$(POCO_BASE)/Data/SQLite/src
|
|
|
|
|
2012-04-23 03:14:34 +02:00
|
|
|
SYSFLAGS += -DSQLITE_THREADSAFE=1 -DSQLITE_DISABLE_LFS \
|
2023-11-01 00:25:21 +01:00
|
|
|
-DSQLITE_OMIT_UTF16 -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_COMPLETE \
|
|
|
|
-DSQLITE_OMIT_TCL_VARIABLE -DSQLITE_OMIT_DEPRECATED
|
2012-04-23 03:14:34 +02:00
|
|
|
|
2013-02-20 23:35:21 +01:00
|
|
|
objects = Binder Extractor Notifier SessionImpl Connector \
|
2023-11-01 00:25:21 +01:00
|
|
|
SQLiteException SQLiteStatementImpl Utility
|
2012-04-23 03:14:34 +02:00
|
|
|
|
|
|
|
ifdef POCO_UNBUNDLED
|
2023-11-01 00:25:21 +01:00
|
|
|
SYSLIBS += -lsqlite3
|
2012-04-23 03:14:34 +02:00
|
|
|
else
|
2023-11-01 00:25:21 +01:00
|
|
|
objects += sqlite3
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifndef POCO_DATA_NO_SQL_PARSER
|
2024-02-13 14:04:23 +01:00
|
|
|
target_includes += $(POCO_BASE)/Data/SQLParser $(POCO_BASE)/Data/SQLParser/src
|
2012-04-23 03:14:34 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
target = PocoDataSQLite
|
|
|
|
target_version = $(LIBVERSION)
|
|
|
|
target_libs = PocoData PocoFoundation
|
|
|
|
|
|
|
|
include $(POCO_BASE)/build/rules/lib
|