summaryrefslogtreecommitdiffstats
path: root/tdeunittest/example/simple/Makefile.am
blob: 04f3d0f73721bc218026c332e77d7ef9da3f9a65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
INCLUDES = -I$(top_srcdir) $(all_includes)
METASOURCES = AUTO

check_PROGRAMS = sampletests sampletestsgui

sampletests_SOURCES = main.cpp sampletest.cpp
sampletests_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
sampletests_LDADD = -ltdeunittest

sampletestsgui_SOURCES = maingui.cpp sampletest.cpp
sampletestsgui_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
# Normally you would write -ltdeunittestgui here, but since the examples
# are bundled with the library source code itself we don't want to
# have you install the libraries before you can compile the examples.
sampletestsgui_LDADD = ../../libtdeunittestgui.la

noinst_HEADERS = sampletest.h

TESTS = sampletests

guicheck: sampletestsgui
	tdeunittest ./sampletestsgui SampleTests