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 \
6 EXTRA_PROGRAMS = piptest verify_lexsmaller
14 libbarvinok_la_SOURCES = \
23 EXTRA_libbarvinok_la_SOURCES = \
25 libbarvinok_la_LIBADD = @LTLIBOBJS@
26 libbarvinok_la_LDFLAGS = @BV_LDFLAGS@ -version-info @versioninfo@
27 LDADD = libbarvinok.la
30 barvinok_count_SOURCES = barvinok_count.c
31 barvinok_series_SOURCES = barvinok_series.cc
32 verif_ehrhart_SOURCES = verif_ehrhart.c verify_main.cc verif_ehrhart.h
34 TESTFILES = $(shell find $(top_srcdir)/tests -type f ! -path '*CVS*')
41 polymake/Makefile.in \
44 polymake/configure.in \
45 polymake/lattice_points.cc
47 ACLOCAL_AMFLAGS = -I m4
50 @test -z "$(pkgconfig_libdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfig_libdir)"
51 $(INSTALL_DATA) $(pkgconfig_libfile) "$(DESTDIR)$(pkgconfig_libdir)/$(pkgconfig_libfile)"
54 rm -f "$(DESTDIR)$(pkgconfig_libdir)/$(pkgconfig_libfile)"
57 (cd $(distdir)/polymake; \
58 ./autogen.sh; rm -rf autogen.sh autom4te.cache)
59 if test -f $(top_srcdir)/.git/HEAD; then \
60 cp $(top_srcdir)/.git/HEAD $(distdir)/GIT_HEAD_ID; \
62 echo $(GIT_HEAD_ID) > $(distdir)/GIT_HEAD_ID; \
66 @for i in $(top_srcdir)/tests/ehrhart/*; do \
67 if test -f $$i; then \
69 ./verif_ehrhart --series < $$i; \
73 @for i in $(top_srcdir)/tests/ehrhart/*; do \
74 if test -f $$i; then \
76 ./verif_ehrhart < $$i; \
79 @for i in $(top_srcdir)/tests/ehrhart_e/*; do \
80 if test -f $$i; then \
82 ./verif_ehrhart_e < $$i; \
85 @for i in $(top_srcdir)/tests/*; do \
86 if test -f $$i; then \
88 ./test < $$i || echo -n " NOT"; \
94 echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@