summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/drivers/pqxx/Makefile.am
blob: 5129c84fc37802ccfc6178309206d1bce135d0ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
include $(top_srcdir)/kexi/Makefile.global

kde_module_LTLIBRARIES = kexidb_pqxxsqldriver.la

INCLUDES = -I$(srcdir)/../../.. $(all_includes) -I$(PG_INCDIR) -I$(PQXX_INCDIR)

kexidb_pqxxsqldriver_la_METASOURCES = AUTO

kexidb_pqxxsqldriver_la_SOURCES = pqxxdriver.cpp pqxxcursor.cpp pqxxconnection.cpp \
	pqxxkeywords.cpp pqxxconnection_p.cpp pqxxpreparedstatement.cpp

kexidb_pqxxsqldriver_la_LIBADD = $(LIB_KPARTS) $(LIB_QT) -lpqxx ../../libkexidb.la

kexidb_pqxxsqldriver_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) \
	-L$(PQXX_LIBDIR) -L$(PG_LIBDIR) $(VER_INFO) -no-undefined

kde_services_DATA = kexidb_pqxxsqldriver.desktop

noinst_HEADERS =  pqxxconnection.h pqxxconnection_p.h

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