Update these register allocators to set the PhysRegUsed info in MachineFunction.
[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 ifneq ($(MAKECMDGOALS),tools-only)
13 DIRS += runtime docs
14 OPTIONAL_DIRS = examples projects
15 endif
16
17 EXTRA_DIST := test llvm.spec include
18
19 include $(LEVEL)/Makefile.common
20
21 .PHONY: debug-opt-prof
22 debug-opt-prof:
23         $(Echo) Building Debug Version
24         $(Verb) $(MAKE)
25         $(Echo)
26         $(Echo) Building Optimized Version
27         $(Echo)
28         $(Verb) $(MAKE) ENABLE_OPTIMIZED=1
29         $(Echo)
30         $(Echo) Building Profiling Version
31         $(Echo)
32         $(Verb) $(MAKE) ENABLE_PROFILING=1
33
34 dist-hook::
35         $(Echo) Eliminating files constructed by configure
36         $(Verb) $(RM) -f \
37           $(TopDistDir)/include/llvm/ADT/hash_map  \
38           $(TopDistDir)/include/llvm/ADT/hash_set  \
39           $(TopDistDir)/include/llvm/ADT/iterator  \
40           $(TopDistDir)/include/llvm/Config/config.h  \
41           $(TopDistDir)/include/llvm/Support/DataTypes.h  \
42           $(TopDistDir)/include/llvm/Support/ThreadSupport.h
43
44 tools-only: all