isl_union_pw_*: don't assume zero is the default value
[isl.git] / interface / Makefile.am
blob4586618b042444c7033caa3cebdeed3d9890f0ad
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_SOURCES = \
12         python.h \
13         python.cc \
14         extract_interface.h \
15         extract_interface.cc
16 extract_interface_LDADD = \
17         -lclangFrontend -lclangSerialization -lclangParse -lclangSema \
18         $(LIB_CLANG_EDIT) \
19         -lclangAnalysis -lclangAST -lclangLex -lclangBasic -lclangDriver \
20         $(CLANG_LIBS) $(CLANG_LDFLAGS)
22 test: extract_interface
23         ./extract_interface$(EXEEXT) $(INCLUDES) $(srcdir)/all.h
25 isl.py: extract_interface isl.py.top
26         (cat $(srcdir)/isl.py.top; \
27                 ./extract_interface$(EXEEXT) $(INCLUDES) $(srcdir)/all.h) \
28                         > isl.py
30 dist-hook: isl.py
31         cp isl.py $(distdir)/