1 ##===- ./Makefile ------------------------------------------*- Makefile -*-===##
3 # The LLVM Compiler Infrastructure
5 # This file was developed by the LLVM research group and is distributed under
6 # the University of Illinois Open Source License. See LICENSE.TXT for details.
8 ##===----------------------------------------------------------------------===##
10 DIRS = lib/Support utils lib tools runtime
11 OPTIONAL_DIRS = projects
13 include $(LEVEL)/Makefile.common
19 $(VERB) $(RM) -rf $(LEVEL)/Makefile.config \
20 $(LEVEL)/include/Config/config.h \
21 $(LEVEL)/autoconf/autom4te.cache \
26 @for dir in lib/Support utils lib tools; do $(MAKE) -C $$dir; done
28 configure: autoconf/configure.ac autoconf/aclocal.m4
29 cd autoconf && aclocal && autoconf -o ../configure configure.ac
31 include/Config/config.h.in: autoconf/configure.ac autoconf/aclocal.m4
32 autoheader -I autoconf autoconf/configure.ac
34 # Install support for llvm include files.
36 .PHONY: install-includes
39 $(MKDIR) $(includedir)/llvm
40 cd include && find * '!' '(' -name '*~' -o -name .cvsignore ')' -print | grep -v CVS | pax -rwdvpe $(includedir)/llvm
42 install:: install-includes