aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/Makefile.am
blob: a6aff48cee0a4ff4b818a12aa4a4c97668f61abd (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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
AUTOMAKE_OPTIONS = 1.4 foreign

MAINTAINERCLEANFILES = Makefile.in

AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/src/lib \
-I$(top_builddir)/src/lib \
-I$(top_srcdir)/src/bin \
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
@ELEMENTARY_CFLAGS@ \
@ELEMENTARY_X_CFLAGS@ \
@ELEMENTARY_FB_CFLAGS@ \
@ELEMENTARY_WIN32_CFLAGS@ \
@ELEMENTARY_WINCE_CFLAGS@ \
@ELEMENTARY_EDBUS_CFLAGS@ \
@ELEMENTARY_EFREET_CFLAGS@ \
@ELEMENTARY_EWEATHER_CFLAGS@ \
@ELEMENTARY_ETHUMB_CFLAGS@ \
@ELEMENTARY_EMAP_CFLAGS@ \
@EIO_CFLAGS@ \
@ELEMENTARY_WEB_CFLAGS@

bin_PROGRAMS = @ELEMENTARY_TEST_PRG@ @ELEMENTARY_CONFIG_PRG@
if BUILD_QUICKLAUNCH
bin_PROGRAMS += elementary_quicklaunch elementary_run elementary_testql
endif

EXTRA_PROGRAMS = elementary_test elementary_config

elementary_test_SOURCES = \
test.c \
test_3d.c \
test_actionslider.c \
test_anim.c \
test_bg.c \
test_box.c \
test_bubble.c \
test_button.c \
test_calendar.c \
test_check.c \
test_clock.c \
test_cnp.c \
test_colorselector.c \
test_conform.c \
test_ctxpopup.c \
test_cursor.c \
test_datetime.c \
test_dayselector.c \
test_diskselector.c \
test_entry.c \
test_entry_anchor.c \
test_entry_anchor2.c \
test_fileselector_button.c \
test_fileselector.c \
test_fileselector_entry.c \
test_flip.c \
test_flip_page.c \
test_flipselector.c \
test_floating.c \
test_focus.c \
test_focus2.c \
test_focus3.c \
test_gengrid.c \
test_genlist.c \
test_gesture_layer.c \
test_gesture_layer2.c \
test_gesture_layer3.c \
test_glview_simple.c \
test_glview.c \
test_grid.c \
test_hover.c \
test_hoversel.c \
test_icon.c \
test_icon_desktops.c \
test_icon_animated.c \
test_index.c \
test_inwin.c \
test_label.c \
test_launcher.c \
test_layout.c \
test_list.c \
test_map.c \
test_menu.c \
test_multi.c \
test_multibuttonentry.c \
test_naviframe.c \
test_notify.c \
test_panel.c \
test_panes.c \
test_photo.c \
test_photocam.c \
test_popup.c \
test_progressbar.c \
test_radio.c \
test_scaling.c \
test_scroller.c \
test_segment_control.c \
test_separator.c \
test_slider.c \
test_slideshow.c \
test_spinner.c \
test_store.c \
test_table.c \
test_thumb.c \
test_toggle.c \
test_toolbar.c \
test_tooltip.c \
test_transit.c \
test_video.c \
test_weather.c \
test_web.c \
test_win_inline.c \
test_win_socket.c \
test_win_plug.c \
test_win_state.c \
test.h

if HAVE_EIO
elementary_test_SOURCES += test_eio.c
endif

elementary_test_LDADD = $(top_builddir)/src/lib/libelementary.la \
	@ELEMENTARY_EWEATHER_LIBS@ \
	@ELEMENTARY_EDBUS_LIBS@ \
	@ELEMENTARY_EFREET_LIBS@ \
	@ELEMENTARY_EMAP_LIBS@ \
	@ELEMENTARY_LIBS@ \
	@EIO_LIBS@ \
	@ELEMENTARY_WEB_LIBS@ \
	@my_libs@
elementary_test_LDFLAGS =

elementary_config_SOURCES = \
config.c

elementary_config_LDADD = $(top_builddir)/src/lib/libelementary.la \
	@ELEMENTARY_EWEATHER_LIBS@ \
	@ELEMENTARY_EDBUS_LIBS@ \
	@ELEMENTARY_EFREET_LIBS@ \
	@ELEMENTARY_EMAP_LIBS@ \
	@ELEMENTARY_LIBS@ \
	@my_libs@
elementary_config_LDFLAGS =

if BUILD_QUICKLAUNCH
elementary_quicklaunch_SOURCES = quicklaunch.c
elementary_quicklaunch_LDADD = $(top_builddir)/src/lib/libelementary.la \
	@ELEMENTARY_EWEATHER_LIBS@ \
	@ELEMENTARY_EDBUS_LIBS@ \
	@ELEMENTARY_EFREET_LIBS@ \
	@ELEMENTARY_EMAP_LIBS@ \
	@ELEMENTARY_LIBS@ \
	@my_libs@
elementary_quicklaunch_LDFLAGS =

if BUILD_RUN
elementary_run_SOURCES = run.c
elementary_run_LDADD =
elementary_run_LDFLAGS =
endif

## This is how to build a quicklanch capable app
# build the shared lib version - libtool produces a .a and .la file as well
# as a .so - these get put in libdir ($PREFIX/lib) as elementary_testql.so
# etc. - this is where elementary will expect to find the .so's for
# quicklaunch apps.
elementary_testqldir = $(libdir)
elementary_testql_LTLIBRARIES = elementary_testql.la
elementary_testql_la_SOURCES = $(elementary_test_SOURCES)
elementary_testql_la_LIBADD = $(top_builddir)/src/lib/libelementary.la \
	@ELEMENTARY_EWEATHER_LIBS@ \
	@ELEMENTARY_EDBUS_LIBS@ \
	@ELEMENTARY_EFREET_LIBS@ \
	@ELEMENTARY_EMAP_LIBS@ \
	@ELEMENTARY_LIBS@ \
	@EIO_LIBS@ \
	@ELEMENTARY_WEB_LIBS@ \
	@my_libs@

elementary_testql_la_CFLAGS =
elementary_testql_la_LDFLAGS = -module -avoid-version -no-undefined
elementary_testql_SOURCES = $(elementary_test_SOURCES)
elementary_testql_LDADD = $(top_builddir)/src/lib/libelementary.la \
	@ELEMENTARY_EWEATHER_LIBS@ \
	@ELEMENTARY_EDBUS_LIBS@ \
	@ELEMENTARY_EFREET_LIBS@ \
	@ELEMENTARY_EMAP_LIBS@ \
	@ELEMENTARY_LIBS@ \
	@EIO_LIBS@ \
	@ELEMENTARY_WEB_LIBS@ \
	@my_libs@

elementary_testql_CFLAGS = -DELM_LIB_QUICKLAUNCH=1
elementary_testql_LDFLAGS =
endif

EXTRA_DIST = \
test_factory.c