ia64/linux-2.6.18-xen.hg

view scripts/Makefile.xen.awk @ 562:66faefe721eb

pvSCSI backend driver

Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
Signed-off-by: Jun Kamada <kama@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Jun 02 09:58:27 2008 +0100 (2008-06-02)
parents 50477b1b3016
children
line source
1 BEGIN {
2 is_rule = 0
3 }
5 /^[[:space:]]*#/ {
6 next
7 }
9 /^[[:space:]]*$/ {
10 if (is_rule)
11 print("")
12 is_rule = 0
13 next
14 }
16 /:[[:space:]]*%\.[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 }
24 /^[^\t]$/ {
25 if (is_rule)
26 print("")
27 is_rule = 0
28 next
29 }
31 is_rule {
32 print $0
33 next
34 }