X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=Makefile;h=71534d16f04ab68fb795edd6e1ca53c983999db0;hb=6fbcc26f1460eaee4e0eb8b426fc1ff0c7af11be;hp=8ab075fc1473fa72c25676378023e4d8ea48fe04;hpb=737ae6ea610a68a897b9314c4965124c7af578fa;p=oota-llvm.git diff --git a/Makefile b/Makefile index 8ab075fc147..71534d16f04 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,25 @@ LEVEL = . -DIRS = lib/Support utils lib tools +DIRS = lib/Support utils lib tools runtime +OPTIONAL_DIRS = projects include $(LEVEL)/Makefile.common test :: all cd test; $(MAKE) + +distclean:: clean + $(VERB) $(RM) -rf $(LEVEL)/Makefile.config \ + $(LEVEL)/include/Config/config.h \ + $(LEVEL)/autoconf/autom4te.cache \ + $(LEVEL)/config.log \ + $(LEVEL)/TAGS + +AUTOCONF = autoconf +AUTOHEADER = autoheader + +configure: autoconf/configure.ac autoconf/aclocal.m4 + cd autoconf && $(AUTOCONF) -o ../configure configure.ac + +include/Config/config.h.in: autoconf/configure.ac autoconf/aclocal.m4 + $(AUTOHEADER) -I autoconf autoconf/configure.ac +