dpoly: add some documentation
[barvinok.git] / bernstein / Makefile.am
blobf8165646af60848b3825f53b447778287cd4ddcf
1 lib_LTLIBRARIES = libbernstein.la
2 bin_PROGRAMS = bernstein
3 pkginclude_HEADERS = \
4         include/bernstein/bernstein.h \
5         include/bernstein/maximize.h \
6         include/bernstein/piecewise_lst.h
8 AM_CPPFLAGS = -I$(srcdir)/include
10 libbernstein_la_SOURCES = \
11     src/bernstein.cpp \
12     src/maximize.cpp \
13     src/piecewise_lst.cpp \
14     src/polylib++.h \
15     src/polynomial.cpp \
16     src/polynomial.h
17 libbernstein_la_LIBADD = -lginac -lcln
18 libbernstein_la_LDFLAGS = -version-info @versioninfo@
19 LDADD = libbernstein.la
21 bernstein_SOURCES = src/main.cpp
23 EXTRA_DIST = examples
25 ACLOCAL_AMFLAGS = -I m4
27 check:
28         @for i in $(top_srcdir)/examples/*.matrix; do \
29             if ./bernstein < $$i | diff -u $${i%.matrix}.out -; then \
30                 echo "$$i passed"; \
31             else \
32                 echo "$$i failed"; \
33             fi \
34         done