| # MultiSource/Applications/Makefile: Build all subdirectories automatically |
| |
| LEVEL = ../.. |
| |
| include $(LEVEL)/Makefile.config |
| |
| PARALLEL_DIRS = Burg aha sgefa siod d spiff treecc SPASS \ |
| oggenc JM viterbi SIBsim4 ClamAV sqlite3 lemon |
| ifndef DISABLE_CXX |
| PARALLEL_DIRS += lambda-0.1.3 hbd hexxagon minisat ALAC |
| endif |
| |
| ifndef SMALL_PROBLEM_SIZE |
| PARALLEL_DIRS += lua |
| endif |
| |
| # Obsequi uses Linux-only features; need to fix that |
| ifeq ($(TARGET_OS),Linux) |
| PARALLEL_DIRS += obsequi |
| endif |
| |
| # kimwitu++ uses multi-byte chars, not available on sparc/solaris |
| ifneq ($(TARGET_OS),SunOS) |
| ifndef DISABLE_CXX |
| PARALLEL_DIRS += kimwitu++ |
| endif |
| endif |
| |
| ifeq ($(TARGET_OS),SunOS) |
| PARALLEL_DIRS := $(filter-out SPASS, $(PARALLEL_DIRS)) |
| PARALLEL_DIRS := $(filter-out hexxagon, $(PARALLEL_DIRS)) |
| endif |
| |
| ifeq ($(ARCH),XCore) |
| # xcore does not support many file & dir operations |
| PARALLEL_DIRS := $(filter-out siod, $(PARALLEL_DIRS)) |
| PARALLEL_DIRS := $(filter-out ClamAV, $(PARALLEL_DIRS)) |
| PARALLEL_DIRS := $(filter-out sqlite3, $(PARALLEL_DIRS)) |
| PARALLEL_DIRS := $(filter-out obsequi, $(PARALLEL_DIRS)) |
| # XCore does not support fork(). |
| # lemon removed pending general method for running tests multiple times. |
| PARALLEL_DIRS := $(filter-out lemon, $(PARALLEL_DIRS)) |
| endif |
| |
| ifeq ($(ARCH),PowerPC) |
| # This test has problems running on powerpc starting with r295538 and should |
| # be restored when the issue is corrected. |
| PARALLEL_DIRS := $(filter-out oggenc, $(PARALLEL_DIRS)) |
| endif |
| |
| ifdef BENCHMARKING_ONLY |
| PARALLEL_DIRS := $(filter-out Burg, $(PARALLEL_DIRS)) |
| PARALLEL_DIRS := $(filter-out treecc, $(PARALLEL_DIRS)) |
| PARALLEL_DIRS := $(filter-out lemon, $(PARALLEL_DIRS)) |
| endif |
| |
| include $(LEVEL)/Makefile.programs |