summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/liboscar/tests/Makefile.am
blob: 10c3e4739afd38ddbf482c8669d566f7efbf371a (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
INCLUDES = $(all_includes) $(KOPETE_INCLUDES) -I$(top_srcdir)/kopete/protocols/oscar/liboscar
METASOURCES = AUTO
check_PROGRAMS = kunittest clientstream_test logintest userinfotest ssigrouptest redirecttest ipaddrtest

kunittest_SOURCES = main.cpp kunittest.cpp chatnavtests.cpp
kunittest_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
kunittest_LDADD = $(LIB_KDECORE) ../liboscar.la

clientstream_test_SOURCES = clientstream_test.cpp
clientstream_test_LDADD = $(LIB_QT) $(LIB_KDECORE) ../liboscar.la

logintest_SOURCES = logintest.cpp
logintest_LDADD = $(LIB_QT) $(LIB_KDECORE) ../liboscar.la

userinfotest_SOURCES = userinfotest.cpp
userinfotest_LDADD = $(LIB_QT) $(LIB_KDECORE) ../liboscar.la

ssigrouptest_SOURCES = ssigrouptest.cpp
ssigrouptest_LDADD = $(LIB_QT) $(LIB_KDECORE) ../liboscar.la

redirecttest_SOURCES = redirecttest.cpp
redirecttest_LDADD = $(LIB_QT) $(LIB_KDECORE) ../liboscar.la

ipaddrtest_SOURCES = ipaddrtest.cpp
ipaddrtest_LDADD = $(LIB_QT) $(LIB_KDECORE) ../liboscar.la

check: kunittest
	@./kunittest 2>&1 | grep "tests:"