2007-05-17 Li Yuan <li.yuan@sun.com>
[platform/upstream/at-spi2-core.git] / test / Makefile.am
1 NULL=
2
3 noinst_PROGRAMS = test-simple at app simple-at stress-test keysynth-demo key-listener-test event-listener-test window-listener-test screen-review-test keypad-test keysynth-test login-helper-client-test login-helper-server-test
4
5 login_helper_client_test_SOURCES = login-helper-client-test.c
6
7 login_helper_server_test_SOURCES = login-helper-server-test.c
8
9 keysynth_test_SOURCES = keysynth-test.c
10
11 stress_test_SOURCES = stress-test.c
12
13 window_listener_test_SOURCES = window-listener-test.c
14
15 keypad_test_SOURCES = keypad-test.c
16
17 key_listener_test_SOURCES = key-listener-test.c
18
19 event_listener_test_SOURCES = event-listener-test.c
20
21 screen_review_test_SOURCES = screen-review-test.c
22
23 at_SOURCES = at.c 
24
25 app_SOURCES = app.c
26
27 simple_at_SOURCES = simple-at.c 
28
29 keysynth_demo_SOURCES = keysynth-demo.c 
30
31 test_simple_SOURCES = test-simple.c 
32
33 DEBUG_CFLAGS=-DSPI_DEBUG
34
35 INCLUDES = -I$(top_srcdir)           \
36            -I$(top_builddir)         \
37            $(TESTS_CFLAGS)           \
38            $(DEBUG_CFLAGS)
39
40 LDADD = ../libspi/libspi.la ../cspi/libcspi.la ../login-helper/libloginhelper.la $(TESTS_LIBS) $(X_LIBS) $(XINPUT_LIBS)
41
42 TESTS = test-simple
43
44 TESTS_ENVIRONMENT =                                     \
45         LD_LIBRARY_PATH=$(top_builddir)/libspi/.libs/:$(top_builddir)/cspi/.libs/       \
46         PATH=$(top_builddir)/registryd/.libs/:$(PATH)
47