2004-08-23 20:06:31 +02:00
|
|
|
##===- examples/Makefile -----------------------------------*- Makefile -*-===##
|
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
2007-12-29 21:11:13 +01:00
|
|
|
# This file is distributed under the University of Illinois Open Source
|
|
|
|
# License. See LICENSE.TXT for details.
|
2004-08-23 20:06:31 +02:00
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
2004-08-23 21:29:54 +02:00
|
|
|
LEVEL=..
|
2004-08-23 20:06:31 +02:00
|
|
|
|
|
|
|
include $(LEVEL)/Makefile.config
|
|
|
|
|
2010-03-08 21:07:32 +01:00
|
|
|
PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT Kaleidoscope ModuleMaker
|
2006-06-01 03:09:43 +02:00
|
|
|
|
2006-12-01 01:37:14 +01:00
|
|
|
ifeq ($(HAVE_PTHREAD),1)
|
2007-03-06 18:26:14 +01:00
|
|
|
PARALLEL_DIRS += ParallelJIT
|
2006-06-01 03:09:43 +02:00
|
|
|
endif
|
2004-08-23 20:06:31 +02:00
|
|
|
|
2010-02-10 04:38:29 +01:00
|
|
|
ifeq ($(LLVM_ON_UNIX),1)
|
2010-02-23 17:27:59 +01:00
|
|
|
ifeq ($(ARCH),x86)
|
|
|
|
PARALLEL_DIRS += ExceptionDemo
|
|
|
|
endif
|
|
|
|
ifeq ($(ARCH),x86_64)
|
|
|
|
PARALLEL_DIRS += ExceptionDemo
|
|
|
|
endif
|
2010-02-10 04:38:29 +01:00
|
|
|
endif
|
|
|
|
|
2010-03-08 21:07:32 +01:00
|
|
|
ifeq ($(filter $(BINDINGS_TO_BUILD),ocaml),ocaml)
|
|
|
|
PARALLEL_DIRS += OCaml-Kaleidoscope
|
|
|
|
endif
|
|
|
|
|
2004-08-23 21:29:54 +02:00
|
|
|
include $(LEVEL)/Makefile.common
|