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
7 pkginclude_HEADERS = barvinok.h util.h evalue.h
10 libbarvinok_la_SOURCES = \
19 EXTRA_libbarvinok_la_SOURCES = \
21 libbarvinok_la_LIBADD = @LTLIBOBJS@
22 libbarvinok_la_LDFLAGS = @BV_LDFLAGS@ -version-info @versioninfo@
23 LDADD = libbarvinok.la
26 barvinok_count_SOURCES = barvinok_count.c
27 barvinok_series_SOURCES = barvinok_series.cc
28 verif_ehrhart_SOURCES = verif_ehrhart.c verify_main.cc verif_ehrhart.h
30 TESTFILES = $(shell find $(top_srcdir)/tests -type f ! -path '*CVS*')
37 polymake/Makefile.in \
40 polymake/configure.in \
41 polymake/lattice_points.cc
43 ACLOCAL_AMFLAGS = -I m4
46 @test -z "$(pkgconfig_libdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfig_libdir)"
47 $(INSTALL_DATA) $(pkgconfig_libfile) "$(DESTDIR)$(pkgconfig_libdir)/$(pkgconfig_libfile)"
50 rm -f "$(DESTDIR)$(pkgconfig_libdir)/$(pkgconfig_libfile)"
53 (cd $(distdir)/polymake; \
54 ./autogen.sh; rm -rf autogen.sh autom4te.cache)
55 if test -f $(top_srcdir)/.git/HEAD; then \
56 cp $(top_srcdir)/.git/HEAD $(distdir)/GIT_HEAD_ID; \
58 echo $(GIT_HEAD_ID) > $(distdir)/GIT_HEAD_ID; \
62 @for i in $(top_srcdir)/tests/ehrhart/*; do \
63 if test -f $$i; then \
65 ./verif_ehrhart --series < $$i; \
69 @for i in $(top_srcdir)/tests/ehrhart/*; do \
70 if test -f $$i; then \
72 ./verif_ehrhart < $$i; \
75 @for i in $(top_srcdir)/tests/*; do \
76 if test -f $$i; then \
78 ./test < $$i || echo -n " NOT"; \
84 echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@