projects
/
linux-flexiantxendom0-3.2.10.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Update to 3.4-final.
[linux-flexiantxendom0-3.2.10.git]
/
scripts
/
Makefile.xen.awk
1
BEGIN {
2
is_rule = 0
3
}
4
5
/^[[:space:]]*#/ {
6
next
7
}
8
9
/^[[:space:]]*$/ {
10
if (is_rule)
11
print("")
12
is_rule = 0
13
next
14
}
15
16
/:[[:space:]]*\$\(src\)\/%\.[cS][[:space:]]/ {
17
line = gensub(/%.([cS])/, "%-xen.\\1", "g", $0)
18
line = gensub(/(single-used-m)/, "xen-\\1", "g", line)
19
print line
20
is_rule = 1
21
next
22
}
23
24
/^[^\t]$/ {
25
if (is_rule)
26
print("")
27
is_rule = 0
28
next
29
}
30
31
is_rule {
32
print $0
33
next
34
}