X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Flib%2Fmake_extra_deps;fp=ghc%2Flib%2Fmake_extra_deps;h=0000000000000000000000000000000000000000;hb=1c37333b30056142c5259226b1b7ff1e3d12e5d1;hp=7c1f74a5e1847771d9f53f0bf08e9a224659b4d7;hpb=44e1ffc9ce7dd01064defdd8abfbde9058f9053d;p=ghc-hetmet.git diff --git a/ghc/lib/make_extra_deps b/ghc/lib/make_extra_deps deleted file mode 100644 index 7c1f74a..0000000 --- a/ghc/lib/make_extra_deps +++ /dev/null @@ -1,31 +0,0 @@ -#! /usr/local/bin/perl -# see comments in ghc/lib/Jmakefile - -open(MKF, "< Makefile") || die "Can't open Makefile\n"; - -# read down to start of dependencies -while () { - last if /# DO NOT DELETE: Beginning of Haskell dependencies/; -} - -# slurp through dependencies, duplicating them -while () { - last if /# DO NOT DELETE: End of Haskell dependencies/; - chop; - - foreach $k ( '_p', '_t', - '_mc', '_mr', '_mt', '_mp', '_mg', - '_2s', '_1s', '_du', - '_a', '_b', '_c', '_d', '_e', '_f', '_g', '_h', - '_i', '_j', '_k', '_o', '_m', '_n', '_o', '_A', '_B' ) { - $copy = $_; - - # change all .hc and .hi - $copy =~ s/\.hc\b/$k.hc/; - $copy =~ s/\.hi\b/$k.hi/; - - print STDOUT "IfBuild$k(", $copy, ")\n"; - } -} - -close(MKF) || die "Failed in closing Makefile\n";