reduce_evalue: extract out evalue_reduce_size
[barvinok.git] / omega / Makefile.am
blob748e0c78cc92848567521d6f0ad03d34f4ee9827
1 noinst_PROGRAMS = @bv_omega_programs@
2 EXTRA_PROGRAMS = occ
4 occ_SOURCES = \
5         Exit.cc \
6         convert.cc \
7         convert.h \
8         count.cc \
9         count.h \
10         lex.yy.cc \
11         polyfunc.cc \
12         polyfunc.h \
13         vertices.cc \
14         vertices.h \
15         y.tab.cc \
16         omega_calc/yylex.h
17 if USE_PARKER
18     PARKER_LA = ../parker/libparker.la
19 endif
20 LDADD = $(PARKER_LA) \
21         -lcode_gen -lomega ../libbarvinok.la ../bernstein/libbernstein.la \
22         @POLYLIB_LIBS@ @PIPLIB_LIBS@
23 AM_LDFLAGS = @OMEGA_LDFLAGS@ @POLYLIB_LDFLAGS@ @PIPLIB_LDFLAGS@
24 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/bernstein/include \
25             @OMEGA_CPPFLAGS@
27 EXTRA_DIST = \
28         parser.l \
29         parser.y
31 YACC_FLAGS = -d
33 y.tab.hh y.tab.cc: parser.y
34         $(YACC) -o y.tab.cc -v -d $<
36 lex.yy.cc: parser.l y.tab.hh
37         $(LEX) -olex.yy.cc -i $<