summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/drivers/mySQL/Makefile.am
blob: 9f40ebe05a60011130e2742a0ff3bd1c05ef71dd (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 = $(KOFFICE_LIBS) $(LIB_KPARTS) \
  $(LIB_QT) \
  $(MYSQL_LIBS) \
  -lmysqlclient \
  ../../libkexidb.la

kexidb_mysqldriver_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(VER_INFO) -no-undefined -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -ltdeio -ltdeparts


kde_services_DATA = kexidb_mysqldriver.desktop


KDE_CXXFLAGS += -DKEXIDB_MYSQL_DRIVER_EXPORT= -D__KEXIDB__= \
	-include $(top_srcdir)/kexi/kexidb/global.h