define the IntBinOp class and use it to implement the multiply instructions
[oota-llvm.git] / projects / Makefile
index e382e86e4d598d231e7061772226a148b8d7cfe7..0997a2a3817ec02cb00271b51eea52c9349482c7 100644 (file)
@@ -10,6 +10,18 @@ LEVEL=..
 
 include $(LEVEL)/Makefile.config
 
-DIRS:= $(patsubst %/Makefile,%,$(wildcard $(SourceDir)/*/Makefile))
+DIRS:= $(filter-out llvm-test,$(patsubst $(PROJ_SRC_DIR)/%/Makefile,%,$(wildcard $(PROJ_SRC_DIR)/*/Makefile)))
 
-include $(BUILD_SRC_ROOT)/Makefile.rules
+# 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