Removed FILTER_DEPS, not stable and not functional (nw)

This commit is contained in:
Miodrag Milanovic 2016-01-03 17:13:16 +01:00
parent 842519672e
commit 698cec6344
3 changed files with 0 additions and 69 deletions

View File

@ -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

View File

@ -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<ne;j++)
r = r "/" s[j]
return r
}
{
for(i=1; i<=NF; i++) {
if($i != "\\") {
ff = $i
fd = base_dir(ff)
if(substr(ff,length(ff)) == ":") {
root_dir = fd
} else if(fd != root_dir) {
if(fd == "src/emu" || fd == "src/osd" || fd == "src/lib/util")
$i = ""
}
}
}
print
}

View File

@ -327,15 +327,6 @@ newoption {
}
}
newoption {
trigger = "FILTER_DEPS",
description = "Filter dependency files.",
allowed = {
{ "0", "Disabled" },
{ "1", "Enabled" },
}
}
newoption {
trigger = "SEPARATE_BIN",
description = "Use separate bin folders.",
@ -488,36 +479,6 @@ configuration { "Release", "vs*" }
configuration {}
local AWK = ""
if (os.is("windows")) then
AWK_TEST = backtick("awk --version 2> 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 ../,,$<)...")