1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 15:32:52 +01:00
llvm-mirror/projects/Makefile
Chris Lattner fb306aaf2d Stacker doesn't build universal right.
llvm-svn: 30675
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