summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/drivers/pqxx/Makefile.am
blob: fe0c56337bdc4332e1f034b4bd3b78544128c082 (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
include $(top_srcdir)/kexi/Makefile.global

kde_module_LTLIBRARIES = kexidb_pqxxsqldriver.la

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

CXXFLAGS += $(PQXX_CXXFLAGS)

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 = $(KOFFICE_LIBS) $(LIB_TDEPARTS) $(LIB_QT) -lpqxx ../../libkexidb.la

kexidb_pqxxsqldriver_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) \
	-L$(PQXX_LIBDIR) -L$(PG_LIBDIR) $(VER_INFO) -no-undefined \
	-ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -ltdeio -ltdeparts

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