isl_coalesce.c: set_up_substitutions: extract isl_basic_map_equal_div_expr_part
[isl.git] / interface / Makefile.am
blob242294e2f2c089f86570b30dcb1c108c65072289
1 AUTOMAKE_OPTIONS = nostdinc
3 noinst_PROGRAMS = extract_interface
5 AM_CXXFLAGS = $(CLANG_CXXFLAGS)
6 AM_LDFLAGS = $(CLANG_LDFLAGS)
8 includes = -I$(top_builddir) -I$(top_srcdir) \
9         -I$(top_builddir)/include -I$(top_srcdir)/include
11 extract_interface_CPPFLAGS = $(includes)
12 extract_interface_SOURCES = \
13         python.h \
14         python.cc \
15         extract_interface.h \
16         extract_interface.cc
17 extract_interface_LDADD = \
18         -lclangFrontend -lclangSerialization -lclangParse -lclangSema \
19         $(LIB_CLANG_EDIT) \
20         -lclangAnalysis -lclangAST -lclangLex -lclangBasic -lclangDriver \
21         $(CLANG_LIBS) $(CLANG_LDFLAGS)
23 CLEANFILES = isl.py
25 test: extract_interface
26         ./extract_interface$(EXEEXT) $(includes) $(srcdir)/all.h
28 isl.py: extract_interface isl.py.top
29         (cat $(srcdir)/isl.py.top; \
30                 ./extract_interface$(EXEEXT) $(includes) $(srcdir)/all.h) \
31                         > isl.py
33 dist-hook: isl.py
34         cp isl.py $(distdir)/