targmatch.sed revision 33965
11,/START OF targmatch.h/	d
2/END OF targmatch.h/,$		d
3s/^#if/KEEP #if/
4s/^#endif/KEEP #endif/
5s/^[ 	]*#.*$//
6s/^KEEP #/#/
7s/[ 	]*\\$//
8t lab1
9	:lab1
10s/[| 	][| 	]*\([^|() 	][^|() 	]*\)[ 	]*|/{ "\1", NULL },/g
11s/[| 	][| 	]*\([^|() 	][^|() 	]*\)[ 	]*)/{ "\1",/g
12t lab2
13s/^[ 	]*targ_defvec=\([^ 	]*\)/#if !defined (SELECT_VECS) || defined (HAVE_\1)/
14t lab3
15s/.*=.*//
16s/;;//
17b
18	:lab2
19H
20d
21	:lab3
22G
23s/\n/%EOL%/g
24s/\(defined (HAVE_\)\([^)]*\)\(.*\)/\1\2\3\
25\&\2 },\
26#endif/
27s/%EOL%/\
28/g
29p
30s/.*//g
31s/\n//g
32h
33