diff --git a/makefile b/makefile index b08506ccf2e..c53143ab4d2 100644 --- a/makefile +++ b/makefile @@ -82,7 +82,6 @@ # OPENMP = 1 # FASTDEBUG = 1 -# FILTER_DEPS = 1 # SEPARATE_BIN = 1 # PYTHON_EXECUTABLE = python3 # SHADOW_CHECK = 1 @@ -637,10 +636,6 @@ ifdef FASTDEBUG PARAMS += --FASTDEBUG='$(FASTDEBUG)' endif -ifdef FILTER_DEPS -PARAMS += --FILTER_DEPS='$(FILTER_DEPS)' -endif - ifdef SEPARATE_BIN PARAMS += --SEPARATE_BIN='$(SEPARATE_BIN)' endif diff --git a/scripts/depfilter.awk b/scripts/depfilter.awk deleted file mode 100644 index 74f3cce9ce7..00000000000 --- a/scripts/depfilter.awk +++ /dev/null @@ -1,25 +0,0 @@ -function base_dir(f) -{ - ne = split(f, s, "/") - for(k=ne;k>=1 && s[k] != "src";k--); - r = s[k] - for(j=k+1;j NUL") - if (AWK_TEST~='') then - AWK = "awk" - else - AWK_TEST = backtick("gawk --version 2> NUL") - if (AWK_TEST~='') then - AWK = "gawk" - end - end -else - AWK_TEST = backtick("awk --version 2> /dev/null") - if (AWK_TEST~='') then - AWK = "awk" - else - AWK_TEST = backtick("gawk --version 2> /dev/null") - if (AWK_TEST~='') then - AWK = "gawk" - end - end -end - -if (_OPTIONS["FILTER_DEPS"]=="1") and (AWK~='') then - postcompiletasks { - AWK .. " -f ../../../../../scripts/depfilter.awk $(@:%.o=%.d) > $(@:%.o=%.dep)", - "mv $(@:%.o=%.dep) $(@:%.o=%.d)", - } -end - msgcompile ("Compiling $(subst ../,,$<)...") msgcompile_objc ("Objective-C compiling $(subst ../,,$<)...")