Few more simple tls testcases.
[oota-llvm.git] / examples / Makefile
index 3e9ba22349b1c609b6875773d71c5de906d0451e..5594c05fa3a083e3e3a26e182933ee8d8e2e10d2 100644 (file)
@@ -2,18 +2,31 @@
 # 
 #                     The LLVM Compiler Infrastructure
 #
-# This file was developed by the LLVM research group and is distributed under
-# the University of Illinois Open Source License. See LICENSE.TXT for details.
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
 # 
 ##===----------------------------------------------------------------------===##
 LEVEL=..
 
 include $(LEVEL)/Makefile.config
 
-#PARALLEL_DIRS:= Fibonacci HowToUseJIT ModuleMaker BFtoLLVM
+PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT Kaleidoscope ModuleMaker
 
 ifeq ($(HAVE_PTHREAD),1)
-#PARALLEL_DIRS += ParallelJIT 
+PARALLEL_DIRS += ParallelJIT 
+endif
+
+ifeq ($(LLVM_ON_UNIX),1)
+    ifeq ($(ARCH),x86)
+       PARALLEL_DIRS += ExceptionDemo
+    endif
+    ifeq ($(ARCH),x86_64)
+       PARALLEL_DIRS += ExceptionDemo
+    endif
+endif
+
+ifeq ($(filter $(BINDINGS_TO_BUILD),ocaml),ocaml)
+       PARALLEL_DIRS += OCaml-Kaleidoscope
 endif
 
 include $(LEVEL)/Makefile.common