Support microsecond times.
[third_party/subunit] / Makefile.am
1 EXTRA_DIST =  \
2         INSTALL \
3         Makefile.am \
4         README \
5         c/README \
6         c/check-subunit-0.9.3.patch \
7         c/check-subunit-0.9.5.patch \
8         c/check-subunit-0.9.6.patch \
9         c++/README \
10         c++/cppunit-subunit-1.10.2.patch \
11         python/subunit/__init__.py \
12         python/subunit/run.py \
13         python/subunit/tests/TestUtil.py \
14         python/subunit/tests/__init__.py \
15         python/subunit/tests/sample-script.py \
16         python/subunit/tests/sample-two-script.py \
17         python/subunit/tests/test_subunit_filter.py \
18         python/subunit/tests/test_subunit_stats.py \
19         python/subunit/tests/test_subunit_tags.py \
20         python/subunit/tests/test_tap2subunit.py \
21         python/subunit/tests/test_test_protocol.py \
22         runtests.py \
23         shell/README \
24         shell/share/subunit.sh \
25         shell/subunit-ui.patch \
26         shell/tests/test_function_output.sh \
27         shell/tests/test_source_library.sh
28
29 ACLOCAL_AMFLAGS = -I m4
30
31 SUBUNIT_CFLAGS = -Wall -Werror -Wextra -Wstrict-prototypes -Wmissing-prototypes \
32         -Wwrite-strings -Wno-variadic-macros -I$(top_srcdir)/c/include
33 AM_CFLAGS = $(SUBUNIT_CFLAGS)
34
35 include_subunitdir = $(includedir)/subunit
36
37 dist_bin_SCRIPTS = \
38         filters/subunit-filter \
39         filters/subunit-ls \
40         filters/subunit-stats \
41         filters/subunit-tags \
42         filters/subunit2pyunit \
43         filters/tap2subunit
44
45 TESTS_ENVIRONMENT = SHELL_SHARE='$(top_srcdir)/shell/share/' PYTHONPATH='$(abs_top_srcdir)/python':${PYTHONPATH} 
46 TESTS = runtests.py $(check_PROGRAMS)
47
48 ## install libsubunit.pc
49 pcdatadir = $(libdir)/pkgconfig
50 pcdata_DATA = libsubunit.pc
51
52 pkgpython_PYTHON = \
53         python/subunit/__init__.py \
54         python/subunit/iso8601.py \
55         python/subunit/run.py
56
57 lib_LTLIBRARIES = libsubunit.la
58
59 include_subunit_HEADERS = \
60         c/include/subunit/child.h
61
62 check_PROGRAMS = \
63         c/tests/test_child
64
65 check_SCRIPTS = \
66         runtests.py
67
68 clean-local:
69         find . -name "*.pyc" | xargs -r rm
70
71 libsubunit_la_SOURCES = \
72         c/lib/child.c \
73         c/include/subunit/child.h
74
75 tests_LDADD = @CHECK_LIBS@ $(top_builddir)/libsubunit.la
76 c_tests_test_child_CFLAGS = $(SUBUNIT_CFLAGS) @CHECK_CFLAGS@
77 c_tests_test_child_LDADD = $(tests_LDADD)