*** empty log message ***
[oota-llvm.git] / Makefile.common
index d48647db9c5cdc86b9236f3719c0ddf71c78eb4d..c3f5af220113ed0f94c024a2b6f12e4e190e44b7 100644 (file)
@@ -162,6 +162,13 @@ prdirs::
        echo "LLVM  Source Root: " $(LLVM_SRC_ROOT);
        echo "LLVM  Object Root: " $(LLVM_OBJ_ROOT);
 
+#
+# Mark all of these targets as phony.  This will hopefully speed up builds
+# slightly since GNU Make will not try to find implicit rules for targets
+# which are marked as Phony.
+#
+.PHONY: all dynamic clean distclean install test bytecode prdirs
+
 ###########################################################################
 # Miscellaneous paths and commands:
 #      This section defines various configuration macros, such as where
@@ -259,9 +266,9 @@ PROJTOOLCURRENT := $(BUILD_OBJ_ROOT)/tools/$(CONFIGURATION)
 # Libtool is found in the current directory.
 #
 ifdef VERBOSE
-LIBTOOL=$(LLVM_SRC_ROOT)/libtool
+LIBTOOL=$(LLVM_SRC_ROOT)/mklib
 else
-LIBTOOL=$(LLVM_SRC_ROOT)/libtool --silent
+LIBTOOL=$(LLVM_SRC_ROOT)/mklib --silent
 endif
 
 #
@@ -592,7 +599,7 @@ LIB_OPTS_P :=  $(LLVM_LIBS_OPTIONS_P) $(PROJ_LIBS_OPTIONS_P)
 
 # USED_LIB_PATHS - Compute the path of the libraries used so that tools are
 # rebuilt if libraries change.  This has to make sure to handle .a/.so and .o
-# files seperately.
+# files separately.
 #
 STATICUSEDLIBS   := $(patsubst %.a.o, lib%.a, $(addsuffix .o, $(USEDLIBS)))
 USED_LIB_PATHS_G := $(addprefix $(DESTLIBDEBUG)/, $(STATICUSEDLIBS))