llvm-6502/projects/Makefile
Chris Lattner 0d59c03432 Stacker doesn't build universal right.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30675 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-30 00:24:20 +00:00

28 lines
881 B
Makefile

##===- 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.
#
##===----------------------------------------------------------------------===##
LEVEL=..
include $(LEVEL)/Makefile.config
DIRS:= $(filter-out llvm-test,$(patsubst $(PROJ_SRC_DIR)/%/Makefile,%,$(wildcard $(PROJ_SRC_DIR)/*/Makefile)))
# Sparc cannot link shared libraries (libtool problem?) which Stacker uses
ifeq ($(ARCH), Sparc)
DIRS := $(filter-out Stacker, $(DIRS))
DIRS := $(filter-out sample, $(DIRS))
endif
# Universal builds can't build stacker, which uses llvm-gcc -S.
ifdef UNIVERSAL
DIRS := $(filter-out Stacker, $(DIRS))
endif
include $(PROJ_SRC_ROOT)/Makefile.rules