summaryrefslogtreecommitdiff
path: root/src/tests/elementary/Makefile.am
blob: 664077f84b5dcfd4b3ba2b3363766a8f4793b0f7 (plain) (blame)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
AM_TESTS_ENVIRONMENT = \
	ELM_DATA_DIR=${top_builddir}/data \
	ELM_RUN_IN_TREE=1

AUTOMAKE_OPTIONS     = 1.4 foreign
MAINTAINERCLEANFILES = Makefile.in
EXTRA_DIST = \
	elm_suite.h \
	elm_test_helper.h

TESTS = elm_suite
check_PROGRAMS = elm_suite
elm_suite_SOURCES = \
	elm_suite.c \
	elm_test_helper.c \
	elm_test_atspi.c \
	elm_test_check.c \
	elm_test_colorselector.c \
	elm_test_entry.c \
	elm_test_init.c \
	elm_test_list.c \
	elm_test_button.c \
	elm_test_image.c \
	elm_test_photo.c \
	elm_test_actionslider.c \
	elm_test_box.c \
	elm_test_table.c \
	elm_test_thumb.c \
	elm_test_menu.c \
	elm_test_photocam.c \
	elm_test_win.c \
	elm_test_icon.c \
	elm_test_prefs.c \
	elm_test_map.c \
	elm_test_glview.c \
	elm_test_web.c \
	elm_test_toolbar.c \
	elm_test_grid.c \
	elm_test_diskselector.c \
	elm_test_notify.c \
	elm_test_mapbuf.c \
	elm_test_flip.c \
	elm_test_layout.c \
	elm_test_slider.c \
	elm_test_ctxpopup.c \
	elm_test_separator.c \
	elm_test_calendar.c \
	elm_test_inwin.c \
	elm_test_gengrid.c \
	elm_test_radio.c \
	elm_test_scroller.c \
	elm_test_frame.c \
	elm_test_datetime.c \
	elm_test_player.c \
	elm_test_bg.c \
	elm_test_video.c \
	elm_test_segmentcontrol.c \
	elm_test_progressbar.c \
	elm_test_fileselector.c \
	elm_test_fileselector_button.c \
	elm_test_fileselector_entry.c \
	elm_test_hoversel.c \
	elm_test_multibuttonentry.c \
	elm_test_naviframe.c \
	elm_test_popup.c \
	elm_test_bubble.c \
	elm_test_clock.c \
	elm_test_conformant.c \
	elm_test_dayselector.c \
	elm_test_flipselector.c \
	elm_test_genlist.c \
	elm_test_hover.c \
	elm_test_index.c \
	elm_test_label.c \
	elm_test_panel.c \
	elm_test_panes.c \
	elm_test_slideshow.c \
	elm_test_spinner.c \
	elm_test_plug.c

elm_suite_CPPFLAGS = \
	-DTESTS_BUILD_DIR=\"${top_builddir}/src/tests\" \
	-DELM_IMAGE_DATA_DIR=\"${top_srcdir}/data\" \
	-I$(top_srcdir)/src/lib \
	-I$(top_builddir)/src/lib \
	@CHECK_CFLAGS@ \
	@ELEMENTARY_CFLAGS@

elm_suite_LDADD = \
	$(top_builddir)/src/lib/libelementary.la \
	@CHECK_LIBS@ \
	@ELEMENTARY_LIBS@

if HAVE_CXX11
TESTS += elm_cxx_suite
check_PROGRAMS += elm_cxx_suite

elm_cxx_suite_SOURCES = elm_cxx_suite.cc
elm_cxx_suite_CPPFLAGS = \
	-DTESTS_BUILD_DIR=\"${top_builddir}/src/tests\" \
	-DELM_IMAGE_DATA_DIR=\"${top_srcdir}/data\" \
	-I$(top_srcdir)/src/lib \
	-I$(top_builddir)/src/lib \
	@CHECK_CFLAGS@ \
	@ELEMENTARY_CFLAGS@ \
	@ELEMENTARY_CXX_CFLAGS@

elm_cxx_suite_LDADD = \
	$(top_builddir)/src/lib/libelementary.la \
	@CHECK_LIBS@ \
	@ELEMENTARY_LIBS@
endif