summaryrefslogtreecommitdiffstats
path: root/kabc/tests/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'kabc/tests/Makefile.am')
-rw-r--r--kabc/tests/Makefile.am55
1 files changed, 55 insertions, 0 deletions
diff --git a/kabc/tests/Makefile.am b/kabc/tests/Makefile.am
new file mode 100644
index 000000000..99d410a2e
--- /dev/null
+++ b/kabc/tests/Makefile.am
@@ -0,0 +1,55 @@
+# Make sure $(all_includes) remains last!
+INCLUDES = -I$(top_builddir)/kabc -I$(top_srcdir)/kabc -I$(top_srcdir)/kab \
+ -I$(srcdir)/../vcardparser/ -I$(srcdir)/../vcard/include \
+ -I$(srcdir)/../vcard/include/generated \
+ -I$(srcdir)/../vcardparser $(all_includes)
+LDADD = ../libkabc.la
+
+METASOURCES = AUTO
+
+check_PROGRAMS = testlock testldapclient
+
+testlock_LDFLAGS = $(all_libraries)
+testlock_SOURCES = testlock.cpp
+
+testldapclient_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+testldapclient_SOURCES = testldapclient.cpp
+
+EXTRA_PROGRAMS = testkabc testkabcdlg testdistlist bigread bigwrite testdb \
+ testaddressee testaddresseelist testaddressfmt kabcargl testaddresslineedit
+
+testkabc_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+testkabc_SOURCES = testkabc.cpp
+
+testaddressee_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+testaddressee_SOURCES = testaddressee.cpp
+
+testaddresseelist_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+testaddresseelist_SOURCES = testaddresseelist.cpp
+
+testaddressfmt_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+testaddressfmt_SOURCES = testaddressfmt.cpp
+
+testkabcdlg_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+testkabcdlg_SOURCES = testkabcdlg.cpp
+
+testdistlist_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+testdistlist_SOURCES = testdistlist.cpp
+
+testaddresslineedit_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+testaddresslineedit_SOURCES = testaddresslineedit.cpp
+
+bigread_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+bigread_LDADD = ../libkabc.la $(top_builddir)/kabc/plugins/file/libkabc_file.la
+bigread_SOURCES = bigread.cpp
+
+bigwrite_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+bigwrite_LDADD = ../libkabc.la $(top_builddir)/kabc/plugins/file/libkabc_file.la
+bigwrite_SOURCES = bigwrite.cpp
+
+testdb_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+testdb_SOURCES = testdb.cpp
+
+kabcargl_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+kabcargl_SOURCES = kabcargl.cpp
+