llvm-6502/projects/Makefile

28 lines
881 B
Makefile
Raw Normal View History

##===- 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