Reid Spencer | c21214a | 2004-08-23 18:06:31 +0000 | [diff] [blame] | 1 | ##===- examples/Makefile -----------------------------------*- Makefile -*-===## |
Mikhail Glushenkov | 8f2766d | 2010-08-19 20:03:53 +0000 | [diff] [blame] | 2 | # |
Reid Spencer | f3b4755 | 2004-08-19 20:09:14 +0000 | [diff] [blame] | 3 | # The LLVM Compiler Infrastructure |
| 4 | # |
Chris Lattner | 57360d1 | 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 | 8f2766d | 2010-08-19 20:03:53 +0000 | [diff] [blame] | 7 | # |
Reid Spencer | f3b4755 | 2004-08-19 20:09:14 +0000 | [diff] [blame] | 8 | ##===----------------------------------------------------------------------===## |
Reid Spencer | 3a168a7 | 2004-08-23 19:29:54 +0000 | [diff] [blame] | 9 | LEVEL=.. |
Reid Spencer | f3b4755 | 2004-08-19 20:09:14 +0000 | [diff] [blame] | 10 | |
| 11 | include $(LEVEL)/Makefile.config |
| 12 | |
Garrison Venn | 161b4c4 | 2010-09-15 14:55:32 +0000 | [diff] [blame] | 13 | PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT Kaleidoscope ModuleMaker |
Reid Spencer | b756c79 | 2006-06-01 01:09:43 +0000 | [diff] [blame] | 14 | |
Reid Spencer | 1000b73 | 2006-12-01 00:37:14 +0000 | [diff] [blame] | 15 | ifeq ($(HAVE_PTHREAD),1) |
Mikhail Glushenkov | 8f2766d | 2010-08-19 20:03:53 +0000 | [diff] [blame] | 16 | PARALLEL_DIRS += ParallelJIT |
Reid Spencer | b756c79 | 2006-06-01 01:09:43 +0000 | [diff] [blame] | 17 | endif |
Reid Spencer | f3b4755 | 2004-08-19 20:09:14 +0000 | [diff] [blame] | 18 | |
Garrison Venn | 0f08a27 | 2010-02-10 03:38:29 +0000 | [diff] [blame] | 19 | ifeq ($(LLVM_ON_UNIX),1) |
Garrison Venn | c80a1f7 | 2010-02-23 16:27:59 +0000 | [diff] [blame] | 20 | ifeq ($(ARCH),x86) |
| 21 | PARALLEL_DIRS += ExceptionDemo |
| 22 | endif |
| 23 | ifeq ($(ARCH),x86_64) |
| 24 | PARALLEL_DIRS += ExceptionDemo |
| 25 | endif |
Garrison Venn | 0f08a27 | 2010-02-10 03:38:29 +0000 | [diff] [blame] | 26 | endif |
| 27 | |
Erick Tryzelaar | 7129a67 | 2010-03-08 20:07:32 +0000 | [diff] [blame] | 28 | ifeq ($(filter $(BINDINGS_TO_BUILD),ocaml),ocaml) |
| 29 | PARALLEL_DIRS += OCaml-Kaleidoscope |
| 30 | endif |
| 31 | |
Reid Spencer | 3a168a7 | 2004-08-23 19:29:54 +0000 | [diff] [blame] | 32 | include $(LEVEL)/Makefile.common |