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/System lib/Support utils lib tools
12 ifneq ($(MAKECMDGOALS),tools-only)
14 OPTIONAL_DIRS = examples projects
17 EXTRA_DIST := test llvm.spec include
19 include $(LEVEL)/Makefile.common
21 .PHONY: debug-opt-prof
23 $(Echo) Building Debug Version
26 $(Echo) Building Optimized Version
28 $(Verb) $(MAKE) ENABLE_OPTIMIZED=1
30 $(Echo) Building Profiling Version
32 $(Verb) $(MAKE) ENABLE_PROFILING=1
35 $(Echo) Eliminating files constructed by configure
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