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