summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/drivers/mySQL/Makefile.am
blob: dca6c26e3560ece203bf50bbb104b09d482b6852 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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