]> git.draconx.ca Git - cdecl99.git/commit
Work around some ULTRIX make bugs.
authorNick Bowler <nbowler@draconx.ca>
Wed, 6 Dec 2023 04:05:17 +0000 (23:05 -0500)
committerNick Bowler <nbowler@draconx.ca>
Wed, 6 Dec 2023 04:10:24 +0000 (23:10 -0500)
commitb7a28feb2de95d5148a5918a8348047559f3c7ae
tree4f2658c39013d0bcdcd068410df90b0d85f22830
parenteb7be85350a2dd971bb509e9191c33fc640cd0d5
Work around some ULTRIX make bugs.

ULTRIX 4.5 make fails during rule lookup when it tries to build a
target in a nonexistent directory that might have inference rules
associated with it (i.e., ends with a defined suffix), for example:

  % echo 'nonexistent/baz.o: ;' | make -f -
  Directory nonexistent/: Make: Cannot open.  Stop.

We can work around this problem by using a prerequisite to create the
output directory instead of trying to create it directly in the rule.
Automake actually does this already for its own rules, so let's try
to hook the same mechanism.

Pull in similar fixes from dxcommon.
Makefile.am
common