mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
29d42331ad
Add HAVE_PTHREAD to makefiles with support from configure and use it to determine whether to build examples/ParallelJIT. Patch by Anton Korobeynikov. llvm-svn: 32054
20 lines
581 B
Makefile
20 lines
581 B
Makefile
##===- examples/Makefile -----------------------------------*- Makefile -*-===##
|
|
#
|
|
# 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.
|
|
#
|
|
##===----------------------------------------------------------------------===##
|
|
LEVEL=..
|
|
|
|
include $(LEVEL)/Makefile.config
|
|
|
|
PARALLEL_DIRS:= Fibonacci HowToUseJIT ModuleMaker BFtoLLVM
|
|
|
|
ifeq ($(HAVE_PTHREAD),1)
|
|
PARALLEL_DIRS += ParallelJIT
|
|
endif
|
|
|
|
include $(LEVEL)/Makefile.common
|