rust/mk
Felix S. Klock II 25f51eeda0 Fix #3225: Incorporate feedback from Graydon.
Namely, switched in many places to using GNU make provided functions
for directory listing and text processing, rather than spawning a
shell process to do that work.

In the process of the revision, learned about Target-specific
variables, which were very applicable to INSTALL_LIB (which, on a
per-recipe basis, was always receiving the same actual arguments for
its first two formal parameters in every invocation).

  http://www.gnu.org/software/make/manual/html_node/Target_002dspecific.html

(We might be able to make use of those in future refactorings.)

----

Also adds a cleanup pass to get-snapshot.py as well, since the same
problem arises when we unpack libraries from the snapshot archive into
a build directory with a prior snapshot's artifacts.  (I put this step
into the python script rather than the makefile because I wanted to
delay the cleanup pass until after we have at least successfully
downloaded the tarball.  That way, if the download fails, you should
not destroy the previous unarchived snapshot libraries and build
products.)

----

Also reverted whitespace changes to minimize diff.
I plan to put them back in in a dedicated commit elsewhere.
2013-07-09 13:08:50 +02:00
..
clean.mk mk: clean-llvm for cross-compile 2013-06-30 12:54:17 +09:00
ctags.mk Reliciense makefiles and testsuite. Yup. 2012-12-10 17:32:58 -08:00
dist.mk mk: Include all bins in the windows install 2013-06-27 19:00:12 -07:00
docs.mk add a tutorial on containers and iterators 2013-06-28 00:24:09 -04:00
host.mk Fix #3225: Incorporate feedback from Graydon. 2013-07-09 13:08:50 +02:00
install.mk Fix #3225: Incorporate feedback from Graydon. 2013-07-09 13:08:50 +02:00
llvm.mk mk: Split target triples into bulid triple + host triples + target triples 2013-02-21 17:51:55 -08:00
perf.mk mk: cleanup - lib and executable suffix handling 2013-03-02 21:25:12 +09:00
platform.mk Add x64 windows to platform.mk and mingw64 header fixes. 2013-07-03 23:33:59 -04:00
pp.mk Remove the fuzzer 2013-06-15 16:12:56 -07:00
rt.mk Turn off jemalloc 2013-06-18 12:03:14 -07:00
rustllvm.mk Refactor optimization pass handling. 2013-05-29 14:16:49 +12:00
snap.mk mk: Split target triples into bulid triple + host triples + target triples 2013-02-21 17:51:55 -08:00
stage0.mk Fix #3225: Incorporate feedback from Graydon. 2013-07-09 13:08:50 +02:00
target.mk Fix #3225: Incorporate feedback from Graydon. 2013-07-09 13:08:50 +02:00
tests.mk Update tests.mk 2013-07-06 02:19:37 -07:00
tools.mk Fix #3225: Incorporate feedback from Graydon. 2013-07-09 13:08:50 +02:00