Simon Wilkinson <[email protected]> writes:
> It's actually an AFS_CCRULE that you should be invoking.
> My suspicion is that this is down to suffix rules. POSIX make should
> have a default .y.c suffix rule, which is used to produce
> error_table.c. Our .c.o rule then uses that to build error_table.o.
> However, your make seems to be going directly from .y to .o (going via
> y.tab.c on the way). This suggests to me that it has a .y.o rule, which
> uses its own compiler line, and so doesn't pick up AFS_CCRULE at all.
> You may be able to fix this by explicitly defining a y.c rule - although
> I'm not sure if that will 'win' over a default .y.o one.
I don't think we want to rely on any of the default suffix rules. Does
BSD support:
.SUFFIXES:
to disable all built-in suffix rules?
--
Russ Allbery ([email protected]) <http://www.eyrie.org/~eagle/>
_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel