1# this file will clean up ONE makefile dependency rule in a file.  It must
2# be run on every rule as it is generated by the compiler.
3
4# change all back slashes
5sX\\X/Xg
6
7# eliminate quotes
8sX\"XXg
9
10# change all spaces
11sX/\ X\\ Xg
12
13# except the separator after colon
14sX:\\X: Xg
15
16# replace last slash with backslash
17sX/$X \\Xg
18
19# older sed may convert newline character from 0x0d+0x0a to 0x0a
20# latest sed keeps newline characters of input file, so just '$' doesn't work
21sX/\r$X \\\rXg
22
23# kill everything before the colon
24sX.*o:XXg
25