3 lib_LTLIBRARIES = libbarvinok.la
4 noinst_PROGRAMS = test barvinok_count randomtest barvinok_enumerate \
6 verif_ehrhart barvinok_enumerate_e \
7 barvinok_series remove_redundant_equalities \
10 EXTRA_PROGRAMS = piptest verify_lexsmaller
11 pkginclude_HEADERS = \
18 libbarvinok_la_SOURCES = \
37 EXTRA_libbarvinok_la_SOURCES = \
39 libbarvinok_la_LIBADD = @LTLIBOBJS@
40 libbarvinok_la_LDFLAGS = @BV_LDFLAGS@ -version-info @versioninfo@
41 LDADD = libbarvinok.la
44 barvinok_count_SOURCES = barvinok_count.c
45 barvinok_ehrhart_SOURCES = barvinok_ehrhart.cc
46 barvinok_series_SOURCES = barvinok_series.cc
47 barvinok_union_SOURCES = barvinok_union.cc
49 BEEO_SOURCES = omega/Exit.cc omega/convert.cc
53 barvinok_enumerate_e_SOURCES = barvinok_enumerate_e.cc $(BEEO_SOURCES)
54 barvinok_enumerate_e_CPPFLAGS = @OMEGA_CPPFLAGS@ @CPPFLAGS@
55 barvinok_enumerate_e_LDFLAGS = @OMEGA_LDFLAGS@ @LDFLAGS@
56 barvinok_enumerate_e_LDADD = @OMEGA_LIBS@ libbarvinok.la
57 verif_ehrhart_SOURCES = verif_ehrhart.c verify_main.cc verif_ehrhart.h
59 TESTFILES = $(shell find $(top_srcdir)/tests -type f ! -path '*CVS*')
75 polymake/Makefile.in \
78 polymake/configure.in \
79 polymake/lattice_points.cc
81 ACLOCAL_AMFLAGS = -I m4
84 @test -z "$(pkgconfig_libdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfig_libdir)"
85 $(INSTALL_DATA) $(pkgconfig_libfile) "$(DESTDIR)$(pkgconfig_libdir)/$(pkgconfig_libfile)"
88 rm -f "$(DESTDIR)$(pkgconfig_libdir)/$(pkgconfig_libfile)"
91 (cd $(distdir)/polymake; \
92 ./autogen.sh; rm -rf autogen.sh autom4te.cache)
93 (cd doc; make barvinok.pdf)
94 cp doc/barvinok.pdf $(distdir)/doc/
95 if test -f $(top_srcdir)/.git/HEAD; then \
96 echo @GIT_HEAD_VERSION@ > $(distdir)/GIT_HEAD_ID; \
98 echo $(GIT_HEAD_ID) > $(distdir)/GIT_HEAD_ID; \
102 BEE_TESTDIRS = ehrhart_e ehrhart_e/piplib
104 BEE_TESTDIRS = ehrhart_e
108 @for i in $(top_srcdir)/tests/ehrhart/*; do \
109 if test -f $$i; then \
111 ./verif_ehrhart --series < $$i; \
115 @for i in $(top_srcdir)/tests/ehrhart/*; do \
116 if test -f $$i; then \
118 ./verif_ehrhart < $$i; \
121 @for dir in $(BEE_TESTDIRS); do \
122 for options in '' '--pip' '--pip --omega'; do \
123 for i in $(top_srcdir)/tests/$$dir/*; do \
124 if test -f $$i; then \
125 echo $$i $$options; \
126 ./barvinok_enumerate_e --verify $$options < $$i; \
131 @for i in $(top_srcdir)/tests/*; do \
132 if test -f $$i; then \
134 ./test < $$i || echo -n " NOT"; \
139 version.h: @GIT_HEAD@
140 echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@