Fix file mode.
[llvm-testsuite.git] / External / Makefile
blob97b6256517a0bcf92b005370c4a673cc20f66d9f
1 LEVEL = ..
4 # Include the configuration so that we know whether or not to include SPEC
6 include $(LEVEL)/Makefile.config
9 # Create the list of directories to compile
11 PARALLEL_DIRS := SPEC Povray Namd FPGrowth BoxedSim skidmarks10
13 ifneq (,$(findstring x86,$(ARCH)))
14 # Nurbs uses SSE and only works on x86 and x86_64.
15 PARALLEL_DIRS += Nurbs
16 endif
18 ifndef USE_POVRAY
19 PARALLEL_DIRS := $(filter-out Povray, $(PARALLEL_DIRS))
20 endif
22 ifndef USE_NAMD
23 PARALLEL_DIRS := $(filter-out Namd, $(PARALLEL_DIRS))
24 endif
26 ifndef USE_FPGROWTH
27 PARALLEL_DIRS := $(filter-out FPGrowth, $(PARALLEL_DIRS))
28 endif
30 ifndef USE_BOXEDSIM
31 PARALLEL_DIRS := $(filter-out BoxedSim, $(PARALLEL_DIRS))
32 endif
34 ifndef USE_NURBS
35 PARALLEL_DIRS := $(filter-out Nurbs, $(PARALLEL_DIRS))
36 endif
38 ifndef USE_HMMER
39 PARALLEL_DIRS := $(filter-out HMMER, $(PARALLEL_DIRS))
40 endif
42 ifndef USE_SKIDMARKS10
43 PARALLEL_DIRS := $(filter-out skidmarks10, $(PARALLEL_DIRS))
44 endif
46 # Sparc can't handle Namd: infinite loop, cause unknown
47 ifeq ($(ARCH),Sparc)
48 PARALLEL_DIRS := $(filter-out Namd, $(PARALLEL_DIRS))
49 endif
51 ifdef DISABLE_CXX
52 PARALLEL_DIRS := $(filter-out Nurbs, $(PARALLEL_DIRS))
53 endif
55 include Makefile.external