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