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
11 OPTIONAL_DIRS = projects
13 ifneq ($(MAKECMDGOALS),tools-only)
17 include $(LEVEL)/Makefile.common
23 $(VERB) $(RM) -rf $(LEVEL)/Makefile.config \
24 $(LEVEL)/include/Config/config.h \
25 $(LEVEL)/autoconf/autom4te.cache \
31 # Install support for llvm include files:
32 .PHONY: install-includes
35 $(MKDIR) $(includedir)/llvm
36 cd include && find * '!' '(' -name '*~' -o -name .cvsignore ')' -print | grep -v CVS | pax -rwdvpe $(DESTDIR)$(includedir)/llvm
38 install:: install-includes
40 # Build tags database for Emacs/Xemacs:
48 $(ETAGS) $(ETAGSFLAGS) `find $(wildcard $(SourceDir)/include $(SourceDir)/lib $(SourceDir)/tools) -name '*.cpp' -o -name '*.h'`