Home | History | Annotate | Download | only in examples
      1 ##===- examples/Makefile -----------------------------------*- Makefile -*-===##
      2 #
      3 #                     The LLVM Compiler Infrastructure
      4 #
      5 # This file is distributed under the University of Illinois Open Source
      6 # License. See LICENSE.TXT for details.
      7 #
      8 ##===----------------------------------------------------------------------===##
      9 LEVEL=..
     10 
     11 include $(LEVEL)/Makefile.config
     12 
     13 PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT Kaleidoscope ModuleMaker
     14 
     15 ifeq ($(HAVE_PTHREAD),1)
     16 PARALLEL_DIRS += ParallelJIT
     17 endif
     18 
     19 ifeq ($(LLVM_ON_UNIX),1)
     20     ifeq ($(ARCH),x86)
     21 	PARALLEL_DIRS += ExceptionDemo
     22     endif
     23     ifeq ($(ARCH),x86_64)
     24 	PARALLEL_DIRS += ExceptionDemo
     25     endif
     26 endif
     27 
     28 ifeq ($(filter $(BINDINGS_TO_BUILD),ocaml),ocaml)
     29 	PARALLEL_DIRS += OCaml-Kaleidoscope
     30 endif
     31 
     32 include $(LEVEL)/Makefile.common
     33