Simplify test build files
[centerim5.git] / tests / Makefile.am
blob2016d4ba355b3bd234b0475cab8fe68d2c75cc83
1 check_PROGRAMS = \
2         button \
3         colorpicker \
4         label \
5         submenu \
6         textentry \
7         textview \
8         treeview \
9         window
11 AM_CPPFLAGS = \
12         $(SIGC_CFLAGS) \
13         -I$(top_srcdir)
15 LDADD = \
16         $(SIGC_LIBS) \
17         $(top_builddir)/cppconsui/libcppconsui.la
19 button_SOURCES = button.cpp main.cpp
20 colorpicker_SOURCES = colorpicker.cpp main.cpp
21 label_SOURCES = label.cpp main.cpp
22 submenu_SOURCES = submenu.cpp main.cpp
23 textentry_SOURCES = textentry.cpp main.cpp
24 textview_SOURCES = textview.cpp main.cpp
25 treeview_SOURCES = treeview.cpp main.cpp
26 window_SOURCES = window.cpp main.cpp
28 EXTRA_DIST = \
29         termex.py \
30         termex.src
32 if TERMEX_TESTS
33 terminfo: termex.src
34         $(AM_V_GEN)$(TIC) -o terminfo "$(srcdir)/termex.src"
35         $(AM_V_at)touch terminfo
37 check-local: terminfo
39 else
40 check-local:
41         $(error tests cannot be run because required dependencies are missing, \
42                 reconfigure the build and install the tools that are reported \
43                 as needed for the testing)
45 endif
47 mostlyclean-local:
48         -$(AM_V_at)rm -r terminfo