AM_CPPFLAGS = -I$(top_srcdir)/libkdepim $(all_includes)
AM_LDFLAGS = $(all_libraries) $(KDE_RPATH)

check_PROGRAMS = testwizard testaddresseelineedit testdistrlist testemail testldapclient

testwizard_LDADD = ../libkdepim.la $(LIB_KDECORE)
testwizard_SOURCES = testwizard.cpp myconfig.kcfgc

testaddresseelineedit_LDADD = ../libkdepim.la $(LIB_KDECORE)
testaddresseelineedit_SOURCES = testaddresseelineedit.cpp

testdistrlist_LDADD = ../libkdepim.la
testdistrlist_SOURCES = testdistrlist.cpp

testldapclient_LDADD = ../libkdepim.la
testldapclient_SOURCES = testldapclient.cpp

testemail_LDADD = ../libkdepim.la
testemail_SOURCES = testemail.cpp

TESTS = testdistrlist testemail

METASOURCES = AUTO

#example_LDFLAGS = $(all_libraries) $(KDE_RPATH)
#example_LDADD = ../libkdepim.la $(LIB_KDECORE)
#example_SOURCES = example.cpp exampleprefs_base.kcfgc

