Thu Mar 20 13:42:01 1997 H.J. Lu <hjl@lucon.org>
[binutils-gdb.git] / bfd / targmatch.sed
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/[ ]*\\$//
8 s/[| ][| ]*\([^|() ][^|() ]*\)[ ]*\|/{ "\1", NULL },/g
9 s/[| ][| ]*\([^|() ][^|() ]*\)[ ]*)/{ "\1",/g
10 s/^[ ]*targ_defvec=\([^ ]*\)/#if !defined (SELECT_VECS) || defined (HAVE_\1)\
11 \&\1\
12 #else\
13 UNSUPPORTED_TARGET\
14 #endif\
15 },/
16 s/.*=.*//
17 s/;;//