no need for lambda anymore
[barvinok.git] / Makefile.am
blobc059c6c6174e08bc979c06e0676b928cf0ee38a4
1 lib_LTLIBRARIES = libbarvinok.la
2 noinst_PROGRAMS = test barvinok_count randomtest barvinok_enumerate \
3                   verif_ehrhart barvinok_enumerate_e verif_ehrhart_e \
4                   barvinok_series remove_redundant_equalities \
5                   @bv_extra_programs@
6 EXTRA_PROGRAMS = piptest
7 pkginclude_HEADERS = barvinok.h util.h ev_operations.h
8 LINK = $(CXXLINK)
10 libbarvinok_la_SOURCES = \
11     ev_operations.c \
12     ev_operations.h \
13     genfun.cc \
14     genfun.h \
15     util.c \
16     util.h \
17     barvinok.cc \
18     barvinok.h \
19     barvinok2.h
20 EXTRA_libbarvinok_la_SOURCES = \
21     piputil.h
22 libbarvinok_la_LIBADD = @LTLIBOBJS@
23 libbarvinok_la_LDFLAGS = -version-info @versioninfo@
24 LDADD = libbarvinok.la
26 test_SOURCES = test.c
27 barvinok_count_SOURCES = barvinok_count.c
28 barvinok_series_SOURCES = barvinok_series.cc
30 TESTFILES = $(shell find $(top_srcdir)/tests -type f ! -path '*CVS*')
32 EXTRA_DIST = ChangeLog $(TESTFILES) cdd2polylib.pl NTL_5_3_2.patch
34 check:
35         @for i in $(top_srcdir)/tests/*; do \
36             if test -f $$i; then \
37                 echo -n $$i; \
38                 ./test < $$i || echo -n " NOT"; \
39                 echo " ok"; \
40             fi \
41         done
42         @for i in $(top_srcdir)/tests/ehrhart/*; do \
43             if test -f $$i; then \
44                 echo $$i; \
45                 ./verif_ehrhart < $$i; \
46             fi \
47         done