* Documentation corrections (thanks to Chris for nit-picking)
[oota-llvm.git] / Makefile
1 #===- ./Makefile -------------------------------------------*- Makefile -*--===#
2
3 #                     The LLVM Compiler Infrastructure
4 #
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.
7
8 #===------------------------------------------------------------------------===#
9 LEVEL = .
10 DIRS = lib/System lib/Support utils lib tools 
11
12
13 ifneq ($(MAKECMDGOALS),tools-only)
14 DIRS += runtime
15 OPTIONAL_DIRS = examples projects
16 endif
17
18 EXTRA_DIST := test llvm.spec include
19
20 include $(LEVEL)/Makefile.common
21
22 dist-hook::
23         $(Echo) Eliminating CVS directories from distribution
24         $(Verb) $(RM) -rf `find $(TopDistDir) -type d -name CVS -print`
25         $(Echo) Eliminating files constructed by configure
26         $(Verb) $(RM) -f \
27           $(TopDistDir)/include/llvm/ADT/hash_map  \
28           $(TopDistDir)/include/llvm/ADT/hash_set  \
29           $(TopDistDir)/include/llvm/ADT/iterator  \
30           $(TopDistDir)/include/llvm/Config/config.h  \
31           $(TopDistDir)/include/llvm/Support/DataTypes.h  \
32           $(TopDistDir)/include/llvm/Support/ThreadSupport.h
33
34 check :: 
35         cd test; $(MAKE) 
36
37 tools-only: all