summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/macros/tests/Makefile.am
blob: 0206386a808ec5754b4ac77b331a36a0112f9f17 (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
if include_tdeunittestgui
  GUIBINPROGRAM = komacrotestgui
else
  GUIBINPROGRAM =
endif

bin_PROGRAMS = komacrotest $(GUIBINPROGRAM)

komacrotest_SOURCES = komacrotest.cpp testobject.cpp testaction.cpp actiontests.cpp macrotests.cpp macroitemtests.cpp variabletests.cpp xmlhandlertests.cpp xmlhandlertests2.cpp
komacrotest_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
komacrotest_LDADD = -ltdeunittest ../lib/libkomacro.la $(LIB_TDEUI) $(LIB_KPARTS)

if include_tdeunittestgui
  komacrotestgui_SOURCES = komacrotestgui.cpp testobject.cpp testaction.cpp actiontests.cpp macrotests.cpp macroitemtests.cpp variabletests.cpp xmlhandlertests.cpp xmlhandlertests2.cpp
  komacrotestgui_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
  komacrotestgui_LDADD = -ltdeunittestgui ../lib/libkomacro.la $(LIB_TDEUI) $(LIB_KPARTS)
endif

KDE_CXXFLAGS = $(USE_EXCEPTIONS)
INCLUDES = -I$(srcdir)/tests -I$(srcdir)../ $(all_includes)
METASOURCES = AUTO

guicheck: komacrotestgui
	tdeunittest ./komacrotestgui 

check: komacrotest
	echo $(srcdir)
	tdeunittest ./komacrotest