about summary refs log tree commit diff
path: root/make/lib/find-includes.pl
diff options
context:
space:
mode:
Diffstat (limited to 'make/lib/find-includes.pl')
-rw-r--r--make/lib/find-includes.pl21
1 files changed, 0 insertions, 21 deletions
diff --git a/make/lib/find-includes.pl b/make/lib/find-includes.pl
deleted file mode 100644
index 43406825aeac..000000000000
--- a/make/lib/find-includes.pl
+++ /dev/null
@@ -1,21 +0,0 @@
-use strict;
-
-my $root = $ENV{"main"};
-my $out = $ENV{"out"};
-
-open OUT, ">$out" or die "$!";
-print OUT "[\n";
-
-open IN, "<$root" or die "$!";
-while (<IN>) {
-    if (/^\#include\s+\"(.*)\"/) {
-        print OUT "\"$1\"\n";
-    }
-    if (/^\#include\s+\<(.*)\>/) {
-        print OUT "\"$1\"\n";
-    }
-}
-close IN;
-
-print OUT "]\n";
-close OUT;