1 # $NetBSD: suff-add-later.mk,v 1.2 2020/10/21 08:18:24 rillig Exp $
3 # https://gnats.netbsd.org/49086, issue 5:
4 # Adding more suffixes does not turn existing rules into suffix rules.
8 all: issue5a.d issue5b.c issue5c issue5d.e issue5e.d
12 # At this point, only .c is a suffix, therefore the following are all regular
14 .c.d .d.c .d .d.e .e.d:
15 : 'Making ${.TARGET} from ${.IMPSRC}.'
17 # Adding .d and .e as suffixes should turn the above regular rules into
21 issue5a.c issue5b.d issue5c.d issue5d.d issue5e.e:
22 : 'Making ${.TARGET} out of nothing.'
24 # XXX: As of 2020-10-20, the result is unexpected.
25 # XXX: .d.c is not a transformation rule but a regular target.
26 # XXX: .d is not a transformation rule but a regular target.
27 # XXX: .e.d is not a transformation but a regular target.
28 # XXX: .c.d is listed as "Files that are only sources".
29 # XXX: .d.e is listed as "Files that are only sources".
30 # XXX: The suffixes .c and .e both have the number 2.
31 # XXX: don't know how to make issue5a.d (even though .c.d is a transformation
32 # rule and issue5a.c can be readily made)