4 AM_CPPFLAGS = -I$(top_srcdir)
6 # The rpath is necessary because stoopid libtool won't build a shared library
7 # if it's noinst_, because what POSSIBLE reason could you have to do that?
8 TEST_PLUGIN_LIBTOOL_FLAGS = \
12 -export-symbols-regex "^glk_main$$" \
13 -rpath $(abs_builddir)
15 noinst_PROGRAMS = test-multisession glulxercise plugin-loader test-close csstest
17 test_multisession_SOURCES = test-multisession.c
18 test_multisession_CFLAGS = @TEST_CFLAGS@ $(AM_CFLAGS)
19 test_multisession_LDADD = @TEST_LIBS@ $(top_builddir)/libchimara/libchimara.la
21 glulxercise_SOURCES = glulxercise.c
22 glulxercise_CPPFLAGS = $(AM_CPPFLAGS) -DPACKAGE_SRC_DIR=\""$(srcdir)"\"
23 glulxercise_CFLAGS = @TEST_CFLAGS@ $(AM_CFLAGS)
24 glulxercise_LDADD = @TEST_LIBS@ $(top_builddir)/libchimara/libchimara.la
26 plugin_loader_SOURCES = plugin-loader.c
27 plugin_loader_CFLAGS = @TEST_CFLAGS@ $(AM_CFLAGS)
28 plugin_loader_LDADD = @TEST_LIBS@ $(top_builddir)/libchimara/libchimara.la
30 test_close_SOURCES = test-close.c
31 test_close_CFLAGS = @TEST_CFLAGS@ $(AM_CFLAGS)
32 test_close_LDADD = @TEST_LIBS@ $(top_builddir)/libchimara/libchimara.la
34 csstest_SOURCES = csstest.c
35 csstest_CFLAGS = @TEST_CFLAGS@ $(AM_CFLAGS)
36 csstest_LDADD = @TEST_LIBS@ $(top_builddir)/libchimara/libchimara.la
38 noinst_LTLIBRARIES = first.la model.la gridtest.la splittest.la multiwin.la \
39 styletest.la soundtest.la test-userstyle.la fileio.la
41 first_la_SOURCES = first.c
42 first_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
44 model_la_SOURCES = model.c
45 model_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
47 gridtest_la_SOURCES = gridtest.c
48 gridtest_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
50 splittest_la_SOURCES = splittest.c
51 splittest_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
53 multiwin_la_SOURCES = multiwin.c
54 multiwin_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
56 styletest_la_SOURCES = styletest.c
57 styletest_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
59 test_userstyle_la_SOURCES = test-userstyle.c
60 test_userstyle_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
62 soundtest_la_SOURCES = soundtest.c
63 soundtest_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
65 fileio_la_SOURCES = fileio.c
66 fileio_la_CFLAGS = @TEST_CFLAGS@ $(AM_CFLAGS)
67 fileio_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
70 -include $(top_srcdir)/git.mk