summaryrefslogtreecommitdiff
path: root/projects/Makefile
blob: 0997a2a3817ec02cb00271b51eea52c9349482c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
##===- 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