Add configure UI to Frotz plugin
[projects/chimara/chimara.git] / tests / Makefile.am
1 AM_CFLAGS = -Wall
2 AM_CPPFLAGS = -I$(top_srcdir)
3
4 # The rpath is necessary because stoopid libtool won't build a shared library
5 # if it's noinst_, because what POSSIBLE reason could you have to do that?
6 TEST_PLUGIN_LIBTOOL_FLAGS = \
7         -module \
8         -shared \
9         -avoid-version \
10         -export-symbols-regex "^glk_main$$" \
11         -rpath $(abs_builddir)
12
13 noinst_PROGRAMS = test-multisession glulxercise plugin-loader test-close csstest
14
15 test_multisession_SOURCES = test-multisession.c
16 test_multisession_CFLAGS = @TEST_CFLAGS@ $(AM_CFLAGS)
17 test_multisession_LDADD = @TEST_LIBS@ $(top_builddir)/libchimara/libchimara.la
18
19 glulxercise_SOURCES = glulxercise.c
20 glulxercise_CPPFLAGS = $(AM_CPPFLAGS) -DPACKAGE_SRC_DIR=\""$(srcdir)"\"
21 glulxercise_CFLAGS = @TEST_CFLAGS@ $(AM_CFLAGS) 
22 glulxercise_LDADD = @TEST_LIBS@ $(top_builddir)/libchimara/libchimara.la
23
24 plugin_loader_SOURCES = plugin-loader.c
25 plugin_loader_CFLAGS = @TEST_CFLAGS@ $(AM_CFLAGS)
26 plugin_loader_LDADD = @TEST_LIBS@ $(top_builddir)/libchimara/libchimara.la
27
28 test_close_SOURCES = test-close.c
29 test_close_CFLAGS = @TEST_CFLAGS@ $(AM_CFLAGS)
30 test_close_LDADD = @TEST_LIBS@ $(top_builddir)/libchimara/libchimara.la
31
32 csstest_SOURCES = csstest.c
33 csstest_CFLAGS = @TEST_CFLAGS@ $(AM_CFLAGS)
34 csstest_LDADD = @TEST_LIBS@ $(top_builddir)/libchimara/libchimara.la
35
36 noinst_LTLIBRARIES = first.la model.la gridtest.la splittest.la multiwin.la \
37         styletest.la soundtest.la test-userstyle.la fileio.la
38
39 first_la_SOURCES = first.c
40 first_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
41
42 model_la_SOURCES = model.c
43 model_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
44
45 gridtest_la_SOURCES = gridtest.c
46 gridtest_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
47
48 splittest_la_SOURCES = splittest.c
49 splittest_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
50
51 multiwin_la_SOURCES = multiwin.c
52 multiwin_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
53
54 styletest_la_SOURCES = styletest.c
55 styletest_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
56
57 test_userstyle_la_SOURCES = test-userstyle.c
58 test_userstyle_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
59
60 soundtest_la_SOURCES = soundtest.c
61 soundtest_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
62
63 fileio_la_SOURCES = fileio.c
64 fileio_la_CFLAGS = @TEST_CFLAGS@ $(AM_CFLAGS)
65 fileio_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
66
67
68 -include $(top_srcdir)/git.mk