11.2Srillig# $NetBSD: suff-incomplete.mk,v 1.2 2020/11/22 11:05:49 rillig Exp $ 21.1Srillig# 31.1Srillig# Tests incomplete transformation rules, which are ignored. 41.1Srillig 51.1Srilligall: suff-incomplete.c 61.1Srillig 71.1Srillig.MAKEFLAGS: -dps 81.1Srillig 91.1Srillig.SUFFIXES: 101.1Srillig 111.1Srillig.SUFFIXES: .a .b .c 121.1Srillig 131.1Srillig# This rule has no commands and no dependencies, therefore it is incomplete 141.1Srillig# and not added to the transformation rules. 151.1Srillig# 161.1Srillig# See Suff_EndTransform. 171.1Srillig.a.b: 181.1Srillig 191.1Srillig# This rule has a dependency, therefore it is a complete transformation. 201.1Srillig# Its commands are taken from a .DEFAULT target, if there is any. 211.1Srillig.a.c: ${.PREFIX}.dependency 221.1Srillig 231.1Srillig.DEFAULT: 241.1Srillig : Making ${.TARGET} from ${.IMPSRC} all ${.ALLSRC} by default. 251.1Srillig 261.2Srillig# The debug log says "transformation .DEFAULT complete", which seems wrong 271.2Srillig# on the first sight. It is intentionally done though, in the call to 281.2Srillig# GNode_New(".DEFAULT"). 291.1Srillig 301.1Srillig# XXX: The output of this test says "Making suff-incomplete.c from 311.1Srillig# suff-incomplete.c". It doesn't make sense to make something out of itself. 32