summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/drivers/sqlite2/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/kexidb/drivers/sqlite2/Makefile.am')
-rw-r--r--kexi/kexidb/drivers/sqlite2/Makefile.am31
1 files changed, 31 insertions, 0 deletions
diff --git a/kexi/kexidb/drivers/sqlite2/Makefile.am b/kexi/kexidb/drivers/sqlite2/Makefile.am
new file mode 100644
index 00000000..891a071a
--- /dev/null
+++ b/kexi/kexidb/drivers/sqlite2/Makefile.am
@@ -0,0 +1,31 @@
+include $(top_srcdir)/kexi/Makefile.global
+
+kde_module_LTLIBRARIES = kexidb_sqlite2driver.la
+
+INCLUDES = -I$(top_srcdir)/kexi \
+ -I$(top_srcdir)/kexi/kexidb \
+ -I$(top_srcdir)/kexi/3rdparty/kexisql/src \
+ -I$(srcdir)/../sqlite \
+ -I$(srcdir)/../sqlite/moc \
+ -I../sqlite \
+ $(all_includes)
+
+kexidb_sqlite2driver_la_METASOURCES = AUTO
+
+kexidb_sqlite2driver_la_SOURCES = sqliteconnection.cpp sqlitedriver.cpp sqlitecursor.cpp \
+ sqlitepreparedstatement.cpp sqliteadmin.cpp sqlitealter.cpp
+
+kexidb_sqlite2driver_la_LIBADD = $(LIB_KPARTS) $(LIB_QT) \
+ $(top_builddir)/kexi/3rdparty/kexisql/src/libkexisql2.la \
+ $(top_builddir)/kexi/kexidb/libkexidb.la \
+ $(top_builddir)/kexi/kexidb/parser/libkexidbparser.la
+
+kexidb_sqlite2driver_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(VER_INFO)
+
+
+kde_services_DATA = kexidb_sqlite2driver.desktop
+
+
+KDE_CXXFLAGS += -DKEXIDB_SQLITE_DRIVER_EXPORT= -D__KEXIDB__= \
+ -DSQLITE2= -include $(top_srcdir)/kexi/kexidb/global.h
+