Lines Matching defs:begin
1 # $NetBSD: deptgt-begin.mk,v 1.8 2025/06/30 21:44:39 rillig Exp $
3 # Tests for the special target .BEGIN in dependency declarations,
7 .BEGIN:
11 # to directly place some commands on the '.BEGIN' target. This doesn't scale
16 # expect+3: warning: duplicate script for target ".BEGIN" ignored
17 # expect-9: warning: using previous script for ".BEGIN" defined here
18 .BEGIN:
22 # make the .BEGIN depend on that target. This way, the commands from the
23 # custom target are run even before the .BEGIN target.
24 .BEGIN: before-begin
25 before-begin: .PHONY .NOTMAIN
26 : Making $@ before .BEGIN.
29 # For the .BEGIN target, .USE dependencies do not work though, since in
31 # .BEGIN target has been made, which is too late.
32 .BEGIN: use
37 # .BEGIN target.
39 # For the .BEGIN target, .USEBEFORE dependencies do not work though, since in
41 # .BEGIN target has been made, which is too late.
42 .BEGIN: use-before