blob: 8be3d40c2e50e36e50f6bbf5fa51e9e99950828a [file] [log] [blame]
John Criswelle26ba9f2003-10-20 22:28:01 +00001##===- projects/Makefile ------------------------------*- Makefile -*-===##
2#
3# The LLVM Compiler Infrastructure
4#
5# This file was developed by the LLVM research group and is distributed under
6# the University of Illinois Open Source License. See LICENSE.TXT for details.
7#
8##===----------------------------------------------------------------------===##
John Criswell2f8b4172003-06-30 22:12:19 +00009LEVEL=..
10
John Criswell9b3b5de2003-11-25 20:37:45 +000011include $(LEVEL)/Makefile.config
John Criswell2f8b4172003-06-30 22:12:19 +000012
Reid Spencerbdf6a392005-01-16 02:21:29 +000013DIRS:= $(filter-out llvm-test,$(patsubst $(PROJ_SRC_DIR)/%/Makefile,%,$(wildcard $(PROJ_SRC_DIR)/*/Makefile)))
John Criswell9b3b5de2003-11-25 20:37:45 +000014
Chris Lattnerde8dacf2007-01-17 05:26:57 +000015# Sparc cannot link shared libraries (libtool problem?)
Misha Brukmanb9210122004-09-13 22:42:54 +000016ifeq ($(ARCH), Sparc)
Misha Brukman1cf70ff2004-09-14 18:21:03 +000017DIRS := $(filter-out sample, $(DIRS))
Misha Brukmanb9210122004-09-13 22:42:54 +000018endif
19
Reid Spencerbdf6a392005-01-16 02:21:29 +000020include $(PROJ_SRC_ROOT)/Makefile.rules