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