7 c/check-subunit-0.9.3.patch \
8 c/check-subunit-0.9.5.patch \
9 c/check-subunit-0.9.6.patch \
13 perl/lib/Subunit/Diff.pm \
15 python/subunit/tests/TestUtil.py \
16 python/subunit/tests/__init__.py \
17 python/subunit/tests/sample-script.py \
18 python/subunit/tests/sample-two-script.py \
19 python/subunit/tests/test_chunked.py \
20 python/subunit/tests/test_content.py \
21 python/subunit/tests/test_content_type.py \
22 python/subunit/tests/test_subunit_filter.py \
23 python/subunit/tests/test_subunit_stats.py \
24 python/subunit/tests/test_subunit_tags.py \
25 python/subunit/tests/test_tap2subunit.py \
26 python/subunit/tests/test_progress_model.py \
27 python/subunit/tests/test_test_protocol.py \
28 python/subunit/tests/test_test_results.py \
31 shell/share/subunit.sh \
32 shell/subunit-ui.patch \
33 shell/tests/test_function_output.sh \
34 shell/tests/test_source_library.sh
36 ACLOCAL_AMFLAGS = -I m4
38 SUBUNIT_CFLAGS = -Wall -Werror -Wextra -Wstrict-prototypes -Wmissing-prototypes \
39 -Wwrite-strings -Wno-variadic-macros -I$(top_srcdir)/c/include
40 AM_CFLAGS = $(SUBUNIT_CFLAGS)
41 SUBUNIT_CXXFLAGS = -Wall -Werror -Wextra -Wwrite-strings -Wno-variadic-macros \
42 -I$(top_srcdir)/c/include
43 AM_CXXFLAGS = $(SUBUNIT_CXXFLAGS)
45 include_subunitdir = $(includedir)/subunit
48 filters/subunit-filter \
50 filters/subunit-stats \
51 filters/subunit-tags \
53 filters/subunit2junitxml \
54 filters/subunit2pyunit \
57 TESTS_ENVIRONMENT = SHELL_SHARE='$(top_srcdir)/shell/share/' PYTHONPATH='$(abs_top_srcdir)/python':${PYTHONPATH}
58 TESTS = runtests.py $(check_PROGRAMS)
60 ## install libsubunit.pc
61 pcdatadir = $(libdir)/pkgconfig
67 python/subunit/__init__.py \
68 python/subunit/chunked.py \
69 python/subunit/content.py \
70 python/subunit/content_type.py \
71 python/subunit/iso8601.py \
72 python/subunit/progress_model.py \
73 python/subunit/run.py \
74 python/subunit/test_results.py
76 lib_LTLIBRARIES = libsubunit.la
77 lib_LTLIBRARIES += libcppunit_subunit.la
79 include_subunit_HEADERS = \
80 c/include/subunit/child.h \
81 c++/SubunitTestProgressListener.h
89 libsubunit_la_SOURCES = \
91 c/include/subunit/child.h
93 libcppunit_subunit_la_SOURCES = \
94 c++/SubunitTestProgressListener.cpp \
95 c++/SubunitTestProgressListener.h
97 tests_LDADD = @CHECK_LIBS@ $(top_builddir)/libsubunit.la
98 c_tests_test_child_CFLAGS = $(SUBUNIT_CFLAGS) @CHECK_CFLAGS@
99 c_tests_test_child_LDADD = $(tests_LDADD)
102 all-local: perl/Makefile
105 check-local: perl/Makefile
106 $(MAKE) -C perl check
109 find . -name "*.pyc" | xargs -r rm
112 # Remove perl dir for VPATH builds.
114 -rmdir perl > /dev/null
115 -rm perl/Makefile.PL > /dev/null
117 install-exec-local: perl/Makefile
118 $(MAKE) -C perl install
122 rm -rf perl/pm_to_blib
124 # 'uninstall' perl files during distcheck
126 if [ "_inst" = `basename ${prefix}` ]; then \
127 $(MAKE) -C perl uninstall_distcheck; \
128 rm -f "$(DESTDIR)$(bindir)"/subunit-diff; \
131 # The default for MakeMaker; can be overridden by exporting
134 perl/Makefile: perl/Makefile.PL
136 cd perl && perl Makefile.PL INSTALLDIRS=${INSTALLDIRS}
137 -rm perl/Makefile.old > /dev/null