2003-10-21 00:28:01 +02:00
|
|
|
##===- projects/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.
|
2003-10-21 00:28:01 +02:00
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
2003-07-01 00:12:19 +02:00
|
|
|
LEVEL=..
|
|
|
|
|
2003-11-25 21:37:45 +01:00
|
|
|
include $(LEVEL)/Makefile.config
|
|
|
|
|
2008-06-24 15:01:57 +02:00
|
|
|
# Compile all subdirs, except for the test suite, which lives in test-suite.
|
|
|
|
# Before 2008.06.24 it lived in llvm-test, so exclude that as well for now.
|
|
|
|
DIRS:= $(filter-out llvm-test test-suite,$(patsubst $(PROJ_SRC_DIR)/%/Makefile,%,$(wildcard $(PROJ_SRC_DIR)/*/Makefile)))
|
2003-07-01 00:12:19 +02:00
|
|
|
|
2010-09-09 17:49:32 +02:00
|
|
|
# Don't build compiler-rt, it isn't designed to be built directly.
|
2010-01-18 18:52:28 +01:00
|
|
|
DIRS := $(filter-out compiler-rt,$(DIRS))
|
|
|
|
|
2010-09-09 17:49:32 +02:00
|
|
|
# Don't build libcxx, it isn't designed to be built directly.
|
|
|
|
DIRS := $(filter-out libcxx,$(DIRS))
|
|
|
|
|
2013-06-24 09:21:35 +02:00
|
|
|
# DragonEgg may be checked out here but doesn't (yet) build directly.
|
|
|
|
DIRS := $(filter-out dragonegg,$(DIRS))
|
|
|
|
|
2007-01-17 06:26:57 +01:00
|
|
|
# Sparc cannot link shared libraries (libtool problem?)
|
2004-09-14 00:42:54 +02:00
|
|
|
ifeq ($(ARCH), Sparc)
|
2004-09-14 20:21:03 +02:00
|
|
|
DIRS := $(filter-out sample, $(DIRS))
|
2004-09-14 00:42:54 +02:00
|
|
|
endif
|
|
|
|
|
2005-01-16 03:21:29 +01:00
|
|
|
include $(PROJ_SRC_ROOT)/Makefile.rules
|