Makefile revision 3876aa7d638d15f9fd60dcd63d072e28ca2a422d
1f17a25c88b892d30c2b41ba7ecdfbdfb2b4be9cDan Gohman##===- projects/Makefile ------------------------------*- Makefile -*-===## 2f17a25c88b892d30c2b41ba7ecdfbdfb2b4be9cDan Gohman# 3f17a25c88b892d30c2b41ba7ecdfbdfb2b4be9cDan Gohman# The LLVM Compiler Infrastructure 4f17a25c88b892d30c2b41ba7ecdfbdfb2b4be9cDan Gohman# 53876aa7d638d15f9fd60dcd63d072e28ca2a422dChris Lattner# This file is distributed under the University of Illinois Open Source 63876aa7d638d15f9fd60dcd63d072e28ca2a422dChris Lattner# License. See LICENSE.TXT for details. 7f17a25c88b892d30c2b41ba7ecdfbdfb2b4be9cDan Gohman# 8f17a25c88b892d30c2b41ba7ecdfbdfb2b4be9cDan Gohman##===----------------------------------------------------------------------===## 9f17a25c88b892d30c2b41ba7ecdfbdfb2b4be9cDan GohmanLEVEL=.. 10f17a25c88b892d30c2b41ba7ecdfbdfb2b4be9cDan Gohman 11f17a25c88b892d30c2b41ba7ecdfbdfb2b4be9cDan Gohmaninclude $(LEVEL)/Makefile.config 12f17a25c88b892d30c2b41ba7ecdfbdfb2b4be9cDan Gohman 13f17a25c88b892d30c2b41ba7ecdfbdfb2b4be9cDan GohmanDIRS:= $(filter-out llvm-test,$(patsubst $(PROJ_SRC_DIR)/%/Makefile,%,$(wildcard $(PROJ_SRC_DIR)/*/Makefile))) 14f17a25c88b892d30c2b41ba7ecdfbdfb2b4be9cDan Gohman 15f17a25c88b892d30c2b41ba7ecdfbdfb2b4be9cDan Gohman# Sparc cannot link shared libraries (libtool problem?) 16f17a25c88b892d30c2b41ba7ecdfbdfb2b4be9cDan Gohmanifeq ($(ARCH), Sparc) 17f17a25c88b892d30c2b41ba7ecdfbdfb2b4be9cDan GohmanDIRS := $(filter-out sample, $(DIRS)) 18f17a25c88b892d30c2b41ba7ecdfbdfb2b4be9cDan Gohmanendif 19f17a25c88b892d30c2b41ba7ecdfbdfb2b4be9cDan Gohman 20f17a25c88b892d30c2b41ba7ecdfbdfb2b4be9cDan Gohmaninclude $(PROJ_SRC_ROOT)/Makefile.rules 21