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
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 noinst_LTLIBRARIES = first.la model.la gridtest.la splittest.la multiwin.la \
33 styletest.la soundtest.la test-userstyle.la
35 first_la_SOURCES = first.c
36 first_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
38 model_la_SOURCES = model.c
39 model_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
41 gridtest_la_SOURCES = gridtest.c
42 gridtest_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
44 splittest_la_SOURCES = splittest.c
45 splittest_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
47 multiwin_la_SOURCES = multiwin.c
48 multiwin_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
50 styletest_la_SOURCES = styletest.c
51 styletest_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
53 test_userstyle_la_SOURCES = test-userstyle.c
54 test_userstyle_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
56 soundtest_la_SOURCES = soundtest.c
57 soundtest_la_LDFLAGS = $(TEST_PLUGIN_LIBTOOL_FLAGS)
60 -include $(top_srcdir)/git.mk