Misha Brukman | 6d5ab86 | 2004-04-24 00:10:56 +0000 | [diff] [blame] | 1 | #===- ./Makefile -------------------------------------------*- Makefile -*--===# |
John Criswell | e488e93 | 2003-10-20 22:26:57 +0000 | [diff] [blame] | 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 | # |
Misha Brukman | 6d5ab86 | 2004-04-24 00:10:56 +0000 | [diff] [blame] | 8 | #===------------------------------------------------------------------------===# |
Chris Lattner | 0095054 | 2001-06-06 20:29:01 +0000 | [diff] [blame] | 9 | LEVEL = . |
Reid Spencer | f13562f | 2004-08-29 19:33:21 +0000 | [diff] [blame] | 10 | DIRS = lib/System lib/Support utils lib tools |
Chris Lattner | 0095054 | 2001-06-06 20:29:01 +0000 | [diff] [blame] | 11 | |
Reid Spencer | 151f8ba | 2004-10-25 08:27:37 +0000 | [diff] [blame] | 12 | |
Chris Lattner | 6a8c290 | 2004-02-03 23:05:24 +0000 | [diff] [blame] | 13 | ifneq ($(MAKECMDGOALS),tools-only) |
| 14 | DIRS += runtime |
Reid Spencer | 5f28539 | 2004-08-24 16:32:21 +0000 | [diff] [blame] | 15 | OPTIONAL_DIRS = examples projects |
Chris Lattner | 6a8c290 | 2004-02-03 23:05:24 +0000 | [diff] [blame] | 16 | endif |
| 17 | |
Reid Spencer | 90c2949 | 2004-10-26 07:05:09 +0000 | [diff] [blame^] | 18 | EXTRA_DIST := test llvm.spec include |
| 19 | |
Chris Lattner | 0095054 | 2001-06-06 20:29:01 +0000 | [diff] [blame] | 20 | include $(LEVEL)/Makefile.common |
| 21 | |
Reid Spencer | 151f8ba | 2004-10-25 08:27:37 +0000 | [diff] [blame] | 22 | dist-hook:: |
| 23 | @$(ECHO) Eliminating CVS directories from distribution |
| 24 | $(VERB) rm -rf `find $(TopDistDir) -type d -name CVS -print` |
Reid Spencer | 90c2949 | 2004-10-26 07:05:09 +0000 | [diff] [blame^] | 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 |
Reid Spencer | 151f8ba | 2004-10-25 08:27:37 +0000 | [diff] [blame] | 33 | |
Chris Lattner | 0095054 | 2001-06-06 20:29:01 +0000 | [diff] [blame] | 34 | test :: all |
| 35 | cd test; $(MAKE) |
John Criswell | d741bcf | 2003-08-12 18:51:51 +0000 | [diff] [blame] | 36 | |
Chris Lattner | 9cf662b | 2004-02-03 22:56:40 +0000 | [diff] [blame] | 37 | tools-only: all |