1#----------------------------------------------------------------------------
2# Project:  NW4R - Library - build - buildtools
3# File:     eppccleandepend.sed
4#
5#  Copyright 2005 Nintendo.  All rights reserved.
6#
7# These coded instructions, statements, and computer programs contain
8# proprietary information of Nintendo of America Inc. and/or Nintendo
9# Company Ltd., and are protected by Federal copyright law.  They may
10# not be disclosed to third parties or copied or duplicated in any form,
11# in whole or in part, without the prior written consent of Nintendo.
12#
13# $Revision: 1.3 $
14#----------------------------------------------------------------------------
15
16
17#----------------------------------------------------------------------------
18#
19# this file will clean up ONE makefile dependency rule in a file.  It must
20# be run on every rule as it is generated by the compiler.
21#
22
23# change all back slashes
24sX\\X/Xg
25
26# eliminate quotes
27sX\"XXg
28
29# change all spaces
30sX/\ X\\ Xg
31
32# except the separateor after colon
33sX:\\X: Xg
34
35# replace last slash with backslash
36sX/$X \\Xg
37
38# replace last slash with backslash
39sX/
40$X \\
41Xg
42
43# kill everything before the colon
44sX.*o:XXg
45
46# kill *.mch before the colon
47sX.*mch:XXg
48