1 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/gmodule @GLIB_DEBUG_FLAGS@
5 libglib = $(top_builddir)/libglib-1.3.la
6 libgthread = $(top_builddir)/gthread/libgthread-1.3.la
7 libgmodule = $(top_builddir)/gmodule/libgmodule-1.3.la
8 libgobject = $(top_builddir)/gobject/libgobject-1.3.la
11 libadd_libgmodule = $(libgmodule)
12 libadd_libglib = $(libglib)
13 no_undefined = -no-undefined
50 test_scripts = run-markup-tests.sh
52 test_script_support_programs = markup-test
54 check_PROGRAMS = $(test_programs) $(test_script_support_programs)
56 TESTS = $(test_programs) $(test_scripts)
57 TESTS_ENVIRONMENT = srcdir=$(srcdir)
59 progs_LDADD = $(EFENCE) $(libglib) $(EFENCE)
60 thread_LDADD = $(libgthread) @G_THREAD_LIBS@ $(progs_LDADD)
61 module_LDADD = $(libgmodule) @G_MODULE_LIBS@ $(progs_LDADD)
63 array_test_LDADD = $(progs_LDADD)
64 date_test_LDADD = $(progs_LDADD)
65 dirname_test_LDADD = $(progs_LDADD)
66 gio_test_LDADD = $(progs_LDADD)
67 hash_test_LDADD = $(progs_LDADD)
68 list_test_LDADD = $(progs_LDADD)
69 mainloop_test_LDADD = $(thread_LDADD)
70 markup_test_LDADD = $(progs_LDADD)
71 module_test_LDADD = $(module_LDADD)
72 module_test_LDFLAGS = @G_MODULE_LDFLAGS@
73 node_test_LDADD = $(progs_LDADD)
74 queue_test_LDADD = $(progs_LDADD)
75 rand_test_LDADD = $(progs_LDADD)
76 relation_test_LDADD = $(progs_LDADD)
77 shell_test_LDADD = $(progs_LDADD)
78 slist_test_LDADD = $(progs_LDADD)
79 spawn_test_LDADD = $(progs_LDADD)
80 strfunc_test_LDADD = $(progs_LDADD)
81 string_test_LDADD = $(progs_LDADD)
82 thread_test_LDADD = $(thread_LDADD)
83 threadpool_test_LDADD = $(thread_LDADD)
84 tree_test_LDADD = $(progs_LDADD)
85 type_test_LDADD = $(progs_LDADD)
86 unicode_encoding_LDADD = $(progs_LDADD)
88 lib_LTLIBRARIES = libmoduletestplugin_a.la libmoduletestplugin_b.la
90 # Prevent those libs from being installed
91 install-libLTLIBRARIES:
94 libmoduletestplugin_a_la_SOURCES = libmoduletestplugin_a.c
95 libmoduletestplugin_a_la_LDFLAGS = @G_MODULE_LDFLAGS@ -avoid-version -module $(no_undefined)
96 libmoduletestplugin_a_la_LIBADD = @G_MODULE_LIBS@ $(libadd_libgmodule) $(libadd_libglib)
98 libmoduletestplugin_b_la_SOURCES = libmoduletestplugin_b.c
99 libmoduletestplugin_b_la_LDFLAGS = @G_MODULE_LDFLAGS@ -avoid-version -module $(no_undefined)
100 libmoduletestplugin_b_la_LIBADD = @G_MODULE_LIBS@ $(libadd_libgmodule) $(libadd_libglib)
102 makefile.mingw: $(top_builddir)/config.status $(top_srcdir)/tests/makefile.mingw.in
103 cd $(top_builddir) && CONFIG_FILES=tests/$@ CONFIG_HEADERS= $(SHELL) ./config.status
105 makefile.msc: $(top_builddir)/config.status $(top_srcdir)/tests/makefile.msc.in
106 cd $(top_builddir) && CONFIG_FILES=tests/$@ CONFIG_HEADERS= $(SHELL) ./config.status
108 dist-hook: $(BUILT_EXTRA_DIST)
109 files='$(BUILT_EXTRA_DIST)'; \
110 for f in $$files; do \
111 if test -f $$f; then d=.; else d=$(srcdir); fi; \
112 cp $$d/$$f $(distdir) || exit 1; done
113 mkdir $(distdir)/markups; \
114 for f in $(srcdir)/markups/* ; do \
115 cp $$f $(distdir)/markups; \