summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/drivers/pqxx/Makefile.am
blob: 4e964bd812cc90551107428435b8660a10ba72cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 \
	-lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts -L../../../../lib/kofficecore/.libs/ -lkofficecore -L../../../../lib/kofficeui/.libs/ -lkofficeui -L../../../../lib/store/.libs/ -lkstore

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