summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/drivers/mySQL/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/kexidb/drivers/mySQL/Makefile.am')
-rw-r--r--kexi/kexidb/drivers/mySQL/Makefile.am33
1 files changed, 33 insertions, 0 deletions
diff --git a/kexi/kexidb/drivers/mySQL/Makefile.am b/kexi/kexidb/drivers/mySQL/Makefile.am
new file mode 100644
index 00000000..dca6c26e
--- /dev/null
+++ b/kexi/kexidb/drivers/mySQL/Makefile.am
@@ -0,0 +1,33 @@
+include $(top_srcdir)/kexi/Makefile.global
+
+kde_module_LTLIBRARIES = kexidb_mysqldriver.la
+
+INCLUDES = -I$(MYSQL_INC) -I$(srcdir)/../../.. \
+ -I$(srcdir)/../.. \
+ -I$(top_srcdir)/kexi $(all_includes)
+
+kexidb_mysqldriver_la_METASOURCES = AUTO
+
+kexidb_mysqldriver_la_SOURCES = \
+ mysqldriver.cpp \
+ mysqlconnection.cpp \
+ mysqlconnection_p.cpp \
+ mysqlcursor.cpp \
+ mysqlkeywords.cpp \
+ mysqlpreparedstatement.cpp
+
+kexidb_mysqldriver_la_LIBADD = $(LIB_KPARTS) \
+ $(LIB_QT) \
+ $(MYSQL_LIBS) \
+ -lmysqlclient \
+ ../../libkexidb.la
+
+kexidb_mysqldriver_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(VER_INFO) -no-undefined
+
+
+kde_services_DATA = kexidb_mysqldriver.desktop
+
+
+KDE_CXXFLAGS += -DKEXIDB_MYSQL_DRIVER_EXPORT= -D__KEXIDB__= \
+ -include $(top_srcdir)/kexi/kexidb/global.h
+