summaryrefslogtreecommitdiff
path: root/mk/wrapper/NOTES
blob: 447e9869c0a8b7a17718ceab02a156fded3b5b4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
$NetBSD: NOTES,v 1.4 2006/10/21 11:43:42 rillig Exp $

The wrapper scripts work roughly like the block diagram below.

===> {"$@"} ---> [scan]
      |
      v
     [arg-source]
      |
      v
     {argbuf}
      |                   / [arg-pp-main]
      v                   | [arg-pp]
     [logic] <---------> <| [cache]
      |                   | [transform.sed]
      v                   \ [transform]
     {cmdbuf}
      |
      v
     [cmd-sink] <---.
      |              |
      v              |
     [buildcmd] ----'
      |      |
      v      v
     {cmd}  {libs}
      |      |
      |      v
      |     [reorderlibs]
      |      |
      |     /
       \   /
        v v
<===   {cmd}