Makefile revision 38ed80aefb37185686d4b93a42375030b6f26c1a
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#===------------------------------------------------------------------------===#
9LEVEL = .
10DIRS = lib/System lib/Support utils lib tools 
11
12
13ifneq ($(MAKECMDGOALS),tools-only)
14DIRS += runtime
15OPTIONAL_DIRS = examples projects
16endif
17
18EXTRA_DIST := test llvm.spec include
19
20include $(LEVEL)/Makefile.common
21
22dist-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
34check :: 
35	cd test; $(MAKE) 
36
37tools-only: all
38
39check-dejagnu:
40	cd test; $(MAKE) check-dejagnu $(TEST)
41