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 polyhedron_sample 4coins lexmin
11 pkginclude_HEADERS = \
18 libbarvinok_la_SOURCES = \
35 genfun_constructor.cc \
36 genfun_constructor.h \
46 EXTRA_libbarvinok_la_SOURCES = \
48 libbarvinok_la_LIBADD = @LTLIBOBJS@
49 libbarvinok_la_LDFLAGS = @BV_LDFLAGS@ -version-info @versioninfo@
50 LDADD = libbarvinok.la
53 barvinok_count_SOURCES = barvinok_count.c
54 barvinok_ehrhart_SOURCES = barvinok_ehrhart.cc
55 barvinok_series_SOURCES = barvinok_series.cc
56 barvinok_union_SOURCES = barvinok_union.cc
58 BEEO_SOURCES = omega/Exit.cc omega/convert.cc
62 barvinok_enumerate_e_SOURCES = \
63 barvinok_enumerate_e.cc \
66 barvinok_enumerate_e_CPPFLAGS = @OMEGA_CPPFLAGS@ @CPPFLAGS@
67 barvinok_enumerate_e_LDFLAGS = @OMEGA_LDFLAGS@ @LDFLAGS@
68 barvinok_enumerate_e_LDADD = @OMEGA_LIBS@ libbarvinok.la
69 verif_ehrhart_SOURCES = verif_ehrhart.c verify_main.cc verif_ehrhart.h
70 4coins_SOURCES = 4coins.cc scarf.cc
71 lexmin_SOURCES = lexmin.cc combine.c combine.h fdstream.cc fdstream.h
73 TESTFILES = $(shell find $(top_srcdir)/tests -type f ! -path '*CVS*')
89 polymake/Makefile.in \
92 polymake/configure.in \
93 polymake/lattice_points.cc
95 ACLOCAL_AMFLAGS = -I m4
98 @test -z "$(pkgconfig_libdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfig_libdir)"
99 $(INSTALL_DATA) $(pkgconfig_libfile) "$(DESTDIR)$(pkgconfig_libdir)/$(pkgconfig_libfile)"
102 rm -f "$(DESTDIR)$(pkgconfig_libdir)/$(pkgconfig_libfile)"
105 (cd $(distdir)/polymake; \
106 ./autogen.sh; rm -rf autogen.sh autom4te.cache)
107 (cd doc; make barvinok.pdf)
108 cp doc/barvinok.pdf $(distdir)/doc/
109 if test -f $(top_srcdir)/.git/HEAD; then \
110 echo @GIT_HEAD_VERSION@ > $(distdir)/GIT_HEAD_ID; \
112 echo $(GIT_HEAD_ID) > $(distdir)/GIT_HEAD_ID; \
116 BEE_TESTDIRS = ehrhart_e ehrhart_e/piplib
118 BEE_TESTDIRS = ehrhart_e
122 @for i in $(top_srcdir)/tests/ehrhart/*; do \
123 if test -f $$i; then \
125 ./verif_ehrhart --series < $$i; \
129 @for i in $(top_srcdir)/tests/ehrhart/*; do \
130 if test -f $$i; then \
132 ./verif_ehrhart < $$i; \
135 @for dir in $(BEE_TESTDIRS); do \
136 for options in '' '--pip' '--pip --omega'; do \
137 for i in $(top_srcdir)/tests/$$dir/*; do \
138 if test -f $$i; then \
139 echo $$i $$options; \
140 ./barvinok_enumerate_e --verify $$options < $$i; \
145 @for i in $(top_srcdir)/tests/*; do \
146 if test -f $$i; then \
148 ./test < $$i || echo -n " NOT"; \
153 version.h: @GIT_HEAD@
154 echo '#define GIT_HEAD_ID "'@GIT_HEAD_VERSION@'"' > $@