reduce after summation
[barvinok.git] / Makefile.am
blobf18f05cff48a8cf1bf6984039600ec645aff9357
1 lib_LTLIBRARIES = libbarvinok.la
2 noinst_PROGRAMS = test barvinok_count randomtest barvinok_enumerate \
3                   verif_ehrhart barvinok_enumerate_e verif_ehrhart_e
4 pkginclude_HEADERS = barvinok.h util.h ev_operations.h
6 libbarvinok_la_SOURCES = \
7     ev_operations.c \
8     ev_operations.h \
9     util.c \
10     util.h \
11     barvinok.cc \
12     barvinok.h
13 libbarvinok_la_LIBADD = @LTLIBOBJS@ -lstdc++
14 libbarvinok_la_LDFLAGS = -version-info @versioninfo@
15 LDADD = libbarvinok.la
17 test_SOURCES = test.c
18 barvinok_count_SOURCES = barvinok_count.c
20 TESTFILES = $(shell find $(top_srcdir)/tests -type f ! -path '*CVS*')
22 EXTRA_DIST = ChangeLog $(TESTFILES)
24 check:
25         @for i in $(top_srcdir)/tests/*; do \
26             if test -f $$i; then \
27                 echo -n $$i; \
28                 ./test < $$i || echo -n " NOT"; \
29                 echo " ok"; \
30             fi \
31         done
32         @for i in $(top_srcdir)/tests/ehrhart/*; do \
33             if test -f $$i; then \
34                 echo $$i; \
35                 ./verif_ehrhart < $$i; \
36             fi \
37         done