summaryrefslogtreecommitdiffstats
path: root/kexi/migration/Makefile.am
blob: b122af834a88e269cde26bfbe088d73d0f895ab4 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
include $(top_srcdir)/kexi/Makefile.global

lib_LTLIBRARIES = libkeximigrate.la

INCLUDES = \
	-I$(top_srcdir)/kexi \
	-I$(top_srcdir)/kexi/core \
	-I$(top_srcdir)/kexi/widget \
	-I$(top_builddir)/kexi/widget \
	-I$(top_srcdir)/kexi/main/startup \
	-I$(top_builddir)/kexi/main/startup \
	$(all_includes)

if compile_pgsql_plugin
pgsql_dir=pqxx
endif

if compile_mysql_plugin
mysql_dir=mysql
endif

SUBDIRS = . $(pgsql_dir) $(mysql_dir)

libkeximigrate_la_METASOURCES = AUTO

libkeximigrate_la_SOURCES = keximigrate.cpp importwizard.cpp migratemanager.cpp \
	keximigratedata.cpp importoptionsdlg.cpp

libkeximigrate_la_LIBADD = \
	$(top_builddir)/kexi/core/libkexicore.la \
	$(top_builddir)/kexi/kexidb/libkexidb.la \
	$(top_builddir)/kexi/widget/libkexiextendedwidgets.la \
	$(top_builddir)/kexi/main/libkeximain.la \
	$(LIB_QT) $(LIB_TDECORE)

libkeximigrate_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(VER_INFO)

noinst_HEADERS = importwizard.h migratemanager_p.h

keximigrateincludedir=$(includedir)/kexidb
keximigrateinclude_HEADERS=keximigrate.h keximigratedata.h migratemanager.h

kde_servicetypes_DATA = keximigration_driver.desktop

KDE_OPTIONS=nofinal
noinst_PROGRAMS = keximigratetest

keximigratetest_SOURCES = keximigratetest.cpp
keximigratetest_LDADD = libkeximigrate.la \
	$(top_builddir)/kexi/core/libkexicore.la \
	$(top_builddir)/kexi/kexidb/libkexidb.la \
	$(top_builddir)/kexi/widget/libkexiextendedwidgets.la \
	$(top_builddir)/kexi/main/libkeximain.la \
	$(LIB_QT) $(LIB_TDECORE)

keximigratetest_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor