| Reid Spencer | 3003969 | 2004-08-23 18:06:31 +0000 | [diff] [blame] | 1 | ##===- examples/Makefile -----------------------------------*- Makefile -*-===## | 
| Mikhail Glushenkov | 34c5f1b | 2010-08-19 20:03:53 +0000 | [diff] [blame] | 2 | # | 
| Reid Spencer | 3003969 | 2004-08-23 18:06:31 +0000 | [diff] [blame] | 3 | #                     The LLVM Compiler Infrastructure | 
|  | 4 | # | 
| Chris Lattner | 11cc8b3 | 2007-12-29 20:11:13 +0000 | [diff] [blame] | 5 | # This file is distributed under the University of Illinois Open Source | 
|  | 6 | # License. See LICENSE.TXT for details. | 
| Mikhail Glushenkov | 34c5f1b | 2010-08-19 20:03:53 +0000 | [diff] [blame] | 7 | # | 
| Reid Spencer | 3003969 | 2004-08-23 18:06:31 +0000 | [diff] [blame] | 8 | ##===----------------------------------------------------------------------===## | 
| Reid Spencer | 5b81eea | 2004-08-23 19:29:54 +0000 | [diff] [blame] | 9 | LEVEL=.. | 
| Reid Spencer | 3003969 | 2004-08-23 18:06:31 +0000 | [diff] [blame] | 10 |  | 
|  | 11 | include $(LEVEL)/Makefile.config | 
|  | 12 |  | 
| Owen Anderson | 75c205e | 2010-08-30 07:33:39 +0000 | [diff] [blame] | 13 | PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT Kaleidoscope ModuleMaker \ | 
|  | 14 | TracingBrainF | 
| Reid Spencer | 6c8368b | 2006-06-01 01:09:43 +0000 | [diff] [blame] | 15 |  | 
| Reid Spencer | d439992 | 2006-12-01 00:37:14 +0000 | [diff] [blame] | 16 | ifeq ($(HAVE_PTHREAD),1) | 
| Mikhail Glushenkov | 34c5f1b | 2010-08-19 20:03:53 +0000 | [diff] [blame] | 17 | PARALLEL_DIRS += ParallelJIT | 
| Reid Spencer | 6c8368b | 2006-06-01 01:09:43 +0000 | [diff] [blame] | 18 | endif | 
| Reid Spencer | 3003969 | 2004-08-23 18:06:31 +0000 | [diff] [blame] | 19 |  | 
| Garrison Venn | b282f60 | 2010-02-10 03:38:29 +0000 | [diff] [blame] | 20 | ifeq ($(LLVM_ON_UNIX),1) | 
| Garrison Venn | 26a18ca | 2010-02-23 16:27:59 +0000 | [diff] [blame] | 21 | ifeq ($(ARCH),x86) | 
|  | 22 | PARALLEL_DIRS += ExceptionDemo | 
|  | 23 | endif | 
|  | 24 | ifeq ($(ARCH),x86_64) | 
|  | 25 | PARALLEL_DIRS += ExceptionDemo | 
|  | 26 | endif | 
| Garrison Venn | b282f60 | 2010-02-10 03:38:29 +0000 | [diff] [blame] | 27 | endif | 
|  | 28 |  | 
| Erick Tryzelaar | dc7e85f | 2010-03-08 20:07:32 +0000 | [diff] [blame] | 29 | ifeq ($(filter $(BINDINGS_TO_BUILD),ocaml),ocaml) | 
|  | 30 | PARALLEL_DIRS += OCaml-Kaleidoscope | 
|  | 31 | endif | 
|  | 32 |  | 
| Reid Spencer | 5b81eea | 2004-08-23 19:29:54 +0000 | [diff] [blame] | 33 | include $(LEVEL)/Makefile.common |