2 AM_CPPFLAGS = -I$(top_srcdir)
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 = \
10 -export-symbols-regex "^glk_main$$" \
11 -rpath $(abs_builddir)
13 noinst_PROGRAMS = test-multisession glulxercise plugin-loader test-close csstest
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
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
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
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
32 csstest_SOURCES = csstest.c
33 csstest_CFLAGS = @TEST_CFLAGS@ $(AM_CFLAGS)
34 csstest_LDADD = @TEST_LIBS@ $(top_builddir)/libchimara/libchimara.la
36 noinst_LTLIBRARIES = first.la model.la gridtest.la splittest.la multiwin.la \
37 styletest.la soundtest.la test-userstyle.la fileio.la
39 first_la_SOURCES = first.c
40 first_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
42 model_la_SOURCES = model.c
43 model_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
45 gridtest_la_SOURCES = gridtest.c
46 gridtest_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
48 splittest_la_SOURCES = splittest.c
49 splittest_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
51 multiwin_la_SOURCES = multiwin.c
52 multiwin_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
54 styletest_la_SOURCES = styletest.c
55 styletest_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
57 test_userstyle_la_SOURCES = test-userstyle.c
58 test_userstyle_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
60 soundtest_la_SOURCES = soundtest.c
61 soundtest_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
63 fileio_la_SOURCES = fileio.c
64 fileio_la_CFLAGS = @TEST_CFLAGS@ $(AM_CFLAGS)
65 fileio_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
68 -include $(top_srcdir)/git.mk