2003-10-20 22:28:01 +00:00
|
|
|
##===- projects/Makefile ------------------------------*- Makefile -*-===##
|
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
|
|
|
# This file was developed by the LLVM research group and is distributed under
|
|
|
|
# the University of Illinois Open Source License. See LICENSE.TXT for details.
|
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
2003-06-30 22:12:19 +00:00
|
|
|
LEVEL=..
|
|
|
|
|
2003-11-25 20:37:45 +00:00
|
|
|
include $(LEVEL)/Makefile.config
|
|
|
|
|
2005-01-16 02:21:29 +00:00
|
|
|
DIRS:= $(filter-out llvm-test,$(patsubst $(PROJ_SRC_DIR)/%/Makefile,%,$(wildcard $(PROJ_SRC_DIR)/*/Makefile)))
|
2003-06-30 22:12:19 +00:00
|
|
|
|
2004-09-13 22:42:54 +00:00
|
|
|
# Sparc cannot link shared libraries (libtool problem?) which Stacker uses
|
|
|
|
ifeq ($(ARCH), Sparc)
|
|
|
|
DIRS := $(filter-out Stacker, $(DIRS))
|
2004-09-14 18:21:03 +00:00
|
|
|
DIRS := $(filter-out sample, $(DIRS))
|
2004-09-13 22:42:54 +00:00
|
|
|
endif
|
|
|
|
|
2006-09-30 00:24:20 +00:00
|
|
|
|
|
|
|
# Universal builds can't build stacker, which uses llvm-gcc -S.
|
|
|
|
ifdef UNIVERSAL
|
|
|
|
DIRS := $(filter-out Stacker, $(DIRS))
|
|
|
|
endif
|
|
|
|
|
2005-01-16 02:21:29 +00:00
|
|
|
include $(PROJ_SRC_ROOT)/Makefile.rules
|