fix warnings
[pluto.git] / Makefile.am
bloba6dc9455a2ca0475a7970e472e46a6716b805b82
2 # Makefile.am
4 # Copyright (C) 2007 Uday Bondhugula 
5
8 RM = rm -f
9 LN = ln -s
11 if EXTERNAL_ISL
12 MAY_ISL =
13 # ISL_INCLUDE and ISL_LIBADD were already defined
14 else
15 MAY_ISL = isl
16 ISL_INCLUDE += -I$(top_srcdir)/isl/include
17 ISL_LIBADD += $(top_srcdir)/isl/libisl.la
18 endif
21 SUBDIRS = piplib openscop clan candl polylib $(MAY_ISL) cloog-isl src
23 ACLOCAL_AMFLAGS = -I m4
25 dist-hook:
26         rm -rf `find $(distdir)/doc -name CVS`
29 bin_SCRIPTS = polycc vloog ploog plorc plutune getversion.sh
30 CLEANFILES: $(bin_SCRIPTS) parsetab.py
31 EXTRA_DIST = polycc.sh.in  examples test
34 pkginclude_HEADERS = include/pluto/libpluto.h
36 polycc: polycc.sh
37         rm -f polycc
38         echo "#! " $(BASH) > polycc
39         cat $(srcdir)/polycc.sh >> polycc
40         chmod ugo+x polycc
42 .PHONY: bin binit
44 bindir:
45         @if [ ! -d bin ];then \
46                 echo mkdir bin; \
47                 mkdir bin; \
48                 fi
50 binit:
51         cp -f src/pluto bin/
52         cp -r polycc bin/
54 pclean:
55         $(MAKE) -C src clean
57 test_libpluto: src/test_libpluto.c
58         libtool --mode=link gcc -g src/test_libpluto.c -Lsrc/.libs/ $(ISL_INCLUDE) $(ISL_LIBADD) -I include -I openscop/include -lpluto -lgomp -o test_libpluto
60 test: .PHO
62 .PHO: 
63         ./test.sh --silent
64         ./test.sh --silent --tile --parallel --cloogsh --nocloogbacktrack
65         ./test.sh --silent --lastwriter --tile --parallel --cloogsh --nocloogbacktrack
66         ./test.sh --silent --partlbtile --cloogsh --nocloogbacktrack
67         ./test.sh --silent --lastwriter
68         ./test.sh --silent --nofuse --tile --parallel --cloogsh --nocloogbacktrack
69         ./test.sh --silent --lastwriter --partlbtile --cloogsh --nocloogbacktrack
70         ./test.sh --silent --maxfuse --tile --parallel --cloogsh --nocloogbacktrack
71         ./test.sh --silent --nofuse
72         ./test.sh --silent --iss