2003-10-21 06:28:01 +08: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-07-01 06:12:19 +08:00
|
|
|
LEVEL=..
|
|
|
|
|
2003-11-26 04:37:45 +08:00
|
|
|
include $(LEVEL)/Makefile.config
|
|
|
|
|
2005-01-16 10:21:29 +08:00
|
|
|
DIRS:= $(filter-out llvm-test,$(patsubst $(PROJ_SRC_DIR)/%/Makefile,%,$(wildcard $(PROJ_SRC_DIR)/*/Makefile)))
|
2003-07-01 06:12:19 +08:00
|
|
|
|
2007-01-17 13:26:57 +08:00
|
|
|
# Sparc cannot link shared libraries (libtool problem?)
|
2004-09-14 06:42:54 +08:00
|
|
|
ifeq ($(ARCH), Sparc)
|
2004-09-15 02:21:03 +08:00
|
|
|
DIRS := $(filter-out sample, $(DIRS))
|
2004-09-14 06:42:54 +08:00
|
|
|
endif
|
|
|
|
|
2005-01-16 10:21:29 +08:00
|
|
|
include $(PROJ_SRC_ROOT)/Makefile.rules
|