]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/blob - Makefile.am
2a3749f73e5a7eed7ad0fe3c9103f160f2de12df
[coloredstderr/coloredstderr.git] / Makefile.am
1 TESTS = test_environment.sh \
2         test_example.sh \
3         test_exec.sh \
4         test_noforce.sh \
5         test_redirects.sh \
6         test_simple.sh \
7         test_symbols.sh
8 check_PROGRAMS = example example_exec
9 example_SOURCES = example.c
10 example_exec_SOURCES = example_exec.c
11
12 if HAVE_ERROR_H
13     TESTS += test_error.sh
14     check_PROGRAMS += example_error
15     example_error_SOURCES = example_error.c
16 endif
17 if HAVE_VFORK
18     TESTS += test_vfork.sh
19     check_PROGRAMS += example_vfork
20     example_vfork_SOURCES = example_vfork.c
21 endif
22
23 dist_check_SCRIPTS = $(TESTS) lib.sh
24 dist_check_DATA = example.expected \
25                   example_environment.expected \
26                   example_environment_empty.expected \
27                   example_error.expected \
28                   example_exec.expected \
29                   example_noforce.sh \
30                   example_noforce.sh.expected \
31                   example_redirects.sh \
32                   example_redirects.sh.expected \
33                   example_simple.sh \
34                   example_simple.sh.expected \
35                   example_vfork.expected
36
37 # Used by lib.sh.
38 export EGREP