diff --git a/Makefile.in b/Makefile.in index f82e1176d6c..a30d6c571b0 100644 --- a/Makefile.in +++ b/Makefile.in @@ -467,7 +467,6 @@ include $(CFG_SRC_DIR)mk/host.mk include $(CFG_SRC_DIR)mk/stage0.mk include $(CFG_SRC_DIR)mk/rt.mk include $(CFG_SRC_DIR)mk/rustllvm.mk -include $(CFG_SRC_DIR)mk/autodep.mk include $(CFG_SRC_DIR)mk/tools.mk include $(CFG_SRC_DIR)mk/docs.mk include $(CFG_SRC_DIR)mk/llvm.mk diff --git a/mk/autodep.mk b/mk/autodep.mk deleted file mode 100644 index a53d0aa9bdf..00000000000 --- a/mk/autodep.mk +++ /dev/null @@ -1,30 +0,0 @@ -###################################################################### -# Auto-dependency -###################################################################### - -C_DEPFILES := $(RUNTIME_CS:%.cpp=%.d) $(RUSTLLVM_LIB_CS:%.cpp=%.d) \ - $(RUSTLLVM_OBJS_CS:%.cpp=%.d) - -rt/%.d: rt/%.cpp $(MKFILE_DEPS) - @$(call E, dep: $@) - $(Q)$(call CFG_DEPEND_C, $@ \ - $(subst $(S)src/,,$(patsubst %.cpp, %.o, $<)), \ - $(RUNTIME_INCS)) $< >$@.tmp - $(Q)$(CFG_PATH_MUNGE) $@.tmp - $(Q)rm -f $@.tmp.bak - $(Q)mv $@.tmp $@ - -rustllvm/%.d: rustllvm/%.cpp $(MKFILE_DEPS) $(LLVM_CONFIG_$(CFG_HOST_TRIPLE)) - @$(call E, dep: $@) - $(Q)$(call CFG_DEPEND_C, $@ \ - $(subst $(S)src/,,$(patsubst %.cpp, %.o, $<)), \ - $(LLVM_CXXFLAGS_$(CFG_HOST_TRIPLE)) $(RUSTLLVM_INCS)) $< >$@.tmp - $(Q)$(CFG_PATH_MUNGE) $@.tmp - $(Q)rm -f $@.tmp.bak - $(Q)mv $@.tmp $@ - -ifneq ($(MAKECMDGOALS),clean) --include $(C_DEPFILES) -endif - -depend: $(C_DEPFILES)