2 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/gmodule @GLIB_DEBUG_FLAGS@
39 test_scripts = run-markup-tests.sh
41 test_script_support_programs = markup-test
43 check_PROGRAMS = $(test_programs) $(test_script_support_programs)
45 TESTS = $(test_programs) $(test_scripts)
46 TESTS_ENVIRONMENT = srcdir=$(srcdir)
48 progs_LDADD = $(EFENCE) $(top_builddir)/libglib-1.3.la $(EFENCE)
49 thread_LDADD = $(progs_LDADD) $(top_builddir)/gthread/libgthread-1.3.la @G_THREAD_LIBS@
50 module_LDADD = $(progs_LDADD) $(top_builddir)/gmodule/libgmodule-1.3.la @G_MODULE_LIBS@
52 array_test_LDADD = $(progs_LDADD)
53 date_test_LDADD = $(progs_LDADD)
54 dirname_test_LDADD = $(progs_LDADD)
55 gio_test_LDADD = $(progs_LDADD)
56 hash_test_LDADD = $(progs_LDADD)
57 list_test_LDADD = $(progs_LDADD)
58 mainloop_test_LDADD = $(thread_LDADD)
59 markup_test_LDADD = $(progs_LDADD)
60 module_test_LDADD = $(module_LDADD)
61 module_test_LDFLAGS = @G_MODULE_LDFLAGS@
62 node_test_LDADD = $(progs_LDADD)
63 queue_test_LDADD = $(progs_LDADD)
64 rand_test_LDADD = $(progs_LDADD)
65 relation_test_LDADD = $(progs_LDADD)
66 shell_test_LDADD = $(progs_LDADD)
67 slist_test_LDADD = $(progs_LDADD)
68 spawn_test_LDADD = $(progs_LDADD)
69 strfunc_test_LDADD = $(progs_LDADD)
70 string_test_LDADD = $(progs_LDADD)
71 thread_test_LDADD = $(thread_LDADD)
72 threadpool_test_LDADD = $(thread_LDADD)
73 tree_test_LDADD = $(progs_LDADD)
74 type_test_LDADD = $(progs_LDADD)
75 unicode_encoding_LDADD = $(progs_LDADD)
77 lib_LTLIBRARIES = libmoduletestplugin_a.la libmoduletestplugin_b.la
79 # Prevent those libs from being installed
80 install-libLTLIBRARIES:
83 libmoduletestplugin_a_la_SOURCES = libmoduletestplugin_a.c
84 libmoduletestplugin_a_la_LDFLAGS = @G_MODULE_LDFLAGS@ -avoid-version -module
85 libmoduletestplugin_a_la_LIBADD = @G_MODULE_LIBS@
87 libmoduletestplugin_b_la_SOURCES = libmoduletestplugin_b.c
88 libmoduletestplugin_b_la_LDFLAGS = @G_MODULE_LDFLAGS@ -avoid-version -module
89 libmoduletestplugin_b_la_LIBADD = @G_MODULE_LIBS@
91 makefile.msc: $(top_builddir)/config.status $(top_srcdir)/tests/makefile.msc.in
92 cd $(top_builddir) && CONFIG_FILES=tests/$@ CONFIG_HEADERS= $(SHELL) ./config.status
94 makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/tests/makefile.mingw.in
95 cd $(top_builddir) && CONFIG_FILES=tests/$@ CONFIG_HEADERS= $(SHELL) ./config.status
97 dist-hook: $(BUILT_EXTRA_DIST)
98 files='$(BUILT_EXTRA_DIST)'; \
99 for f in $$files; do \
100 if test -f $$f; then d=.; else d=$(srcdir); fi; \
101 cp $$d/$$f $(distdir) || exit 1; done
102 mkdir $(distdir)/markups; \
103 for f in $(srcdir)/markups/* ; do \
104 cp $$f $(distdir)/markups; \