diff options
| author | 2016-01-03 17:13:16 +0100 | |
|---|---|---|
| committer | 2016-01-03 17:13:16 +0100 | |
| commit | 698cec634435eccf1ce7c2cb986f3853c89017d8 (patch) | |
| tree | 8d36d5ee02d847cfa55a7f17ac5cc28e1d97e1f9 /scripts | |
| parent | 842519672edd7cb8d9724aad7b11c780d8dc2567 (diff) | |
Removed FILTER_DEPS, not stable and not functional (nw)
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/depfilter.awk | 25 | ||||
| -rw-r--r-- | scripts/genie.lua | 39 |
2 files changed, 0 insertions, 64 deletions
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<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 -}
\ No newline at end of file diff --git a/scripts/genie.lua b/scripts/genie.lua index c240d087edc..93cde1c42b1 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -328,15 +328,6 @@ newoption { } newoption { - trigger = "FILTER_DEPS", - description = "Filter dependency files.", - allowed = { - { "0", "Disabled" }, - { "1", "Enabled" }, - } -} - -newoption { trigger = "SEPARATE_BIN", description = "Use separate bin folders.", allowed = { @@ -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 ../,,$<)...") |
