Rework generating of files so that every generation tool will only run once.
authorSimon Schubert <corecode@dragonflybsd.org>
Sat, 25 Aug 2007 15:29:29 +0000 (15:29 +0000)
committerSimon Schubert <corecode@dragonflybsd.org>
Sat, 25 Aug 2007 15:29:29 +0000 (15:29 +0000)
commitf685247ef9d13454a3efa0f01da91243d9d5d9dd
tree8f50e096813c9f52224b8e6e0bc0e04910beaa08
parent29e3bdaec8bbdbf6bac07137143c359ead5c8c4f
Rework generating of files so that every generation tool will only run once.

Before, we generated a file over and over again where it was needed by the
build process, instead of generating the files once and reusing them.
This commit changes this behavior and makes the build match more gcc's own
build way, which is quite optimized.

Additionally, use move-if-change, to avoid rebuilds if the generated files
didn't change.
22 files changed:
gnu/usr.bin/cc41/cc_tools/Makefile
gnu/usr.bin/cc41/cc_tools/Makefile.gen [new file with mode: 0644]
gnu/usr.bin/cc41/cc_tools/Makefile.tools
gnu/usr.bin/cc41/cc_tools/gcov-iov/Makefile
gnu/usr.bin/cc41/cc_tools/genattr/Makefile
gnu/usr.bin/cc41/cc_tools/genattrtab/Makefile
gnu/usr.bin/cc41/cc_tools/gencheck/Makefile
gnu/usr.bin/cc41/cc_tools/gencodes/Makefile
gnu/usr.bin/cc41/cc_tools/genconditions/Makefile
gnu/usr.bin/cc41/cc_tools/genconfig/Makefile
gnu/usr.bin/cc41/cc_tools/genconstants/Makefile
gnu/usr.bin/cc41/cc_tools/genemit/Makefile
gnu/usr.bin/cc41/cc_tools/genextract/Makefile
gnu/usr.bin/cc41/cc_tools/genflags/Makefile
gnu/usr.bin/cc41/cc_tools/gengenrtl/Makefile
gnu/usr.bin/cc41/cc_tools/gengtype/Makefile
gnu/usr.bin/cc41/cc_tools/genmodes/Makefile
gnu/usr.bin/cc41/cc_tools/genopinit/Makefile
gnu/usr.bin/cc41/cc_tools/genoutput/Makefile
gnu/usr.bin/cc41/cc_tools/genpeep/Makefile
gnu/usr.bin/cc41/cc_tools/genpreds/Makefile
gnu/usr.bin/cc41/cc_tools/genrecog/Makefile