merged plib
[ppastats.git] / tests / Makefile.am
1 check-local: checkpatch.pl
2         find $(top_srcdir)/src -name \*.c -exec $(srcdir)/checkpatch.pl --show-types -q --no-tree  -emacs -f {} \;
3         find $(top_srcdir)/src -name \*.h -exec $(srcdir)/checkpatch.pl --ignore NEW_TYPEDEFS --show-types -q --no-tree  -emacs -f {} \;
4
5 EXTRA_DIST = \
6         checkpatch.pl \
7         test_strrep.c \
8         test_ptime.c
9
10 TESTS = test-strrep \
11         test-ptime
12
13 check_PROGRAMS = test-strrep test-ptime
14
15 test_strrep_SOURCES = \
16         test_strrep.c \
17         $(top_builddir)/src/pstr.h \
18         $(top_builddir)/src/pstr.c
19 test_strrep_CFLAGS = -I$(top_srcdir)/src
20
21 test_ptime_SOURCES = \
22         test_ptime.c \
23         $(top_builddir)/src/ptime.h \
24         $(top_builddir)/src/ptime.c
25 test_ptime_CFLAGS = -I$(top_srcdir)/src
26