mgear/mgear.git
16 years agoMade a bunch of cleanups/improvements, including:
Matt McCutchen [Mon, 4 Jun 2007 05:42:45 +0000 (01:42 -0400)]
Made a bunch of cleanups/improvements, including:

- Changed some variable/function names.  mg-rule -> mg-define-rule.  (Changed
  demo to match.)  Changed Mage target variables: cmd-foo.o -> foo.o@cmd.
- Took out exit code replay because it introduced lots of complexity for little
  benefit.
- Changed scouted target from abspath to /./proc/self/cwd format.  This fits
  with the planned target obfuscation system but isn't so portable; I'll
  reconsider later.
- Massively refactored mg-commands -> mg-generate so that it's understandable.
- FORCEd *.g rules and moved a bunch of processing from second-expansion to the
  command script.  This way the processing only runs if make actually uses the
  rule (not just second-expanding anyway or implicit rule searching).
- Detection of command change for implicit rules was broken because evidently
  only the prereqs given with the command take effect.  I moved all the prereqs
  to the same line but then the new command was evaluated too early to see the
  automatic variables with the user-specified prereqs.  Moving the command check
  into the command script fixed it.
- Put more complete title and Web site at the top.

I have been preparing to add the dependency-logging command support, which is
going to be dauntingly complicated.  I wanted to nail down the basics first.

16 years agoMore experimentation with obfuscation. Wondering why it is slow.
Matt McCutchen [Sun, 3 Jun 2007 13:45:01 +0000 (09:45 -0400)]
More experimentation with obfuscation.  Wondering why it is slow.
Evidently all the stat calls are the bottleneck.  That makes me
wonder whether there is a way to get make to think a file was
explicitly named as an alternative to using a file that exists.

16 years agoMore experimentation with the dependency logging features of cpp and xsltproc.
Matt McCutchen [Sun, 3 Jun 2007 13:43:13 +0000 (09:43 -0400)]
More experimentation with the dependency logging features of cpp and xsltproc.

17 years agoAdd test of directory relative to which Make looks for included makefiles.
Matt McCutchen [Sun, 22 Apr 2007 19:53:08 +0000 (15:53 -0400)]
Add test of directory relative to which Make looks for included makefiles.

17 years agoHere's what I have so far related to the Mage build tool.
Matt McCutchen [Sun, 22 Apr 2007 19:26:24 +0000 (15:26 -0400)]
Here's what I have so far related to the Mage build tool.