blob: b966fc7f780c15f16bdf52a1b5477a54a1ec1d79 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001##===- projects/Makefile ------------------------------*- Makefile -*-===##
2#
3# The LLVM Compiler Infrastructure
4#
Chris Lattner3876aa72007-12-29 20:11:13 +00005# This file is distributed under the University of Illinois Open Source
6# License. See LICENSE.TXT for details.
Dan Gohmanf17a25c2007-07-18 16:29:46 +00007#
8##===----------------------------------------------------------------------===##
9LEVEL=..
10
11include $(LEVEL)/Makefile.config
12
Matthijs Kooijman0b8be862008-06-24 13:01:57 +000013# Compile all subdirs, except for the test suite, which lives in test-suite.
14# Before 2008.06.24 it lived in llvm-test, so exclude that as well for now.
15DIRS:= $(filter-out llvm-test test-suite,$(patsubst $(PROJ_SRC_DIR)/%/Makefile,%,$(wildcard $(PROJ_SRC_DIR)/*/Makefile)))
Dan Gohmanf17a25c2007-07-18 16:29:46 +000016
17# Sparc cannot link shared libraries (libtool problem?)
18ifeq ($(ARCH), Sparc)
19DIRS := $(filter-out sample, $(DIRS))
20endif
21
22include $(PROJ_SRC_ROOT)/Makefile.rules