cvs commit: src/gnu/usr.bin/cc41/cc_tools Makefile Makefile.gen Makefile.tools src/gnu/usr.bin/cc41/cc_tools/gcov-iov Makefile src/gnu/usr.bin/cc41/cc_tools/genattr Makefile src/gnu/usr.bin/cc41/cc_tools/genattrtab Makefile src/gnu/usr.bin/cc41/cc_tools/gencheck Makefile ...
Simon Schubert
corecode at crater.dragonflybsd.org
Sat Aug 25 08:30:17 PDT 2007
corecode 2007/08/25 08:29:29 PDT
DragonFly src repository
Modified files:
gnu/usr.bin/cc41/cc_tools Makefile 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
Added files:
gnu/usr.bin/cc41/cc_tools Makefile.gen
Log:
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.
Revision Changes Path
1.2 +9 -1 src/gnu/usr.bin/cc41/cc_tools/Makefile
1.2 +4 -100 src/gnu/usr.bin/cc41/cc_tools/Makefile.tools
1.2 +6 -0 src/gnu/usr.bin/cc41/cc_tools/gcov-iov/Makefile
1.2 +4 -0 src/gnu/usr.bin/cc41/cc_tools/genattr/Makefile
1.2 +4 -0 src/gnu/usr.bin/cc41/cc_tools/genattrtab/Makefile
1.2 +3 -0 src/gnu/usr.bin/cc41/cc_tools/gencheck/Makefile
1.2 +4 -0 src/gnu/usr.bin/cc41/cc_tools/gencodes/Makefile
1.2 +4 -0 src/gnu/usr.bin/cc41/cc_tools/genconditions/Makefile
1.2 +4 -0 src/gnu/usr.bin/cc41/cc_tools/genconfig/Makefile
1.2 +4 -0 src/gnu/usr.bin/cc41/cc_tools/genconstants/Makefile
1.2 +4 -0 src/gnu/usr.bin/cc41/cc_tools/genemit/Makefile
1.2 +4 -0 src/gnu/usr.bin/cc41/cc_tools/genextract/Makefile
1.2 +4 -0 src/gnu/usr.bin/cc41/cc_tools/genflags/Makefile
1.2 +10 -0 src/gnu/usr.bin/cc41/cc_tools/gengenrtl/Makefile
1.2 +7 -1 src/gnu/usr.bin/cc41/cc_tools/gengtype/Makefile
1.2 +14 -0 src/gnu/usr.bin/cc41/cc_tools/genmodes/Makefile
1.2 +4 -0 src/gnu/usr.bin/cc41/cc_tools/genopinit/Makefile
1.2 +4 -0 src/gnu/usr.bin/cc41/cc_tools/genoutput/Makefile
1.2 +4 -0 src/gnu/usr.bin/cc41/cc_tools/genpeep/Makefile
1.2 +10 -0 src/gnu/usr.bin/cc41/cc_tools/genpreds/Makefile
1.2 +4 -0 src/gnu/usr.bin/cc41/cc_tools/genrecog/Makefile
http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/cc41/cc_tools/Makefile.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/cc41/cc_tools/Makefile.tools.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/cc41/cc_tools/gcov-iov/Makefile.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/cc41/cc_tools/genattr/Makefile.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/cc41/cc_tools/genattrtab/Makefile.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/cc41/cc_tools/gencheck/Makefile.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/cc41/cc_tools/gencodes/Makefile.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/cc41/cc_tools/genconditions/Makefile.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/cc41/cc_tools/genconfig/Makefile.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/cc41/cc_tools/genconstants/Makefile.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/cc41/cc_tools/genemit/Makefile.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/cc41/cc_tools/genextract/Makefile.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/cc41/cc_tools/genflags/Makefile.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/cc41/cc_tools/gengenrtl/Makefile.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/cc41/cc_tools/gengtype/Makefile.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/cc41/cc_tools/genmodes/Makefile.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/cc41/cc_tools/genopinit/Makefile.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/cc41/cc_tools/genoutput/Makefile.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/cc41/cc_tools/genpeep/Makefile.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/cc41/cc_tools/genpreds/Makefile.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/gnu/usr.bin/cc41/cc_tools/genrecog/Makefile.diff?r1=1.1&r2=1.2&f=u
More information about the Commits
mailing list