Powerpc and Pe support.
[deliverable/binutils-gdb.git] / include / coff / .Sanitize
CommitLineData
2a6795f1 1# Sanitize.in for include/coff.
1ee1fd7e
SC
2
3# Each directory to survive it's way into a release will need a file
4# like this one called "./.Sanitize". All keyword lines must exist,
5# and must exist in the order specified by this file. Each directory
6# in the tree will be processed, top down, in the following order.
7
8# Hash started lines like this one are comments and will be deleted
9# before anything else is done. Blank lines will also be squashed
10# out.
11
12# The lines between the "Do-first:" line and the "Things-to-keep:"
13# line are executed as a /bin/sh shell script before anything else is
14# done in this
15
16Do-first:
17
dfbbce32 18
1ee1fd7e
SC
19# All files listed between the "Things-to-keep:" line and the
20# "Files-to-sed:" line will be kept. All other files will be removed.
21# Directories listed in this section will have their own Sanitize
22# called. Directories not listed will be removed in their entirety
23# with rm -rf.
24
25Things-to-keep:
26
27ChangeLog
28a29k.h
f581f995 29alpha.h
8bd3f876 30apollo.h
f581f995 31arm.h
045f6b66 32ecoff.h
1ee1fd7e 33h8300.h
ff975a2c 34h8500.h
1ee1fd7e
SC
35i386.h
36i960.h
37internal.h
38m68k.h
39m88k.h
40mips.h
9111b25a 41pe.h
1ee1fd7e 42rs6000.h
dfbbce32 43sh.h
a3ffe730 44sparc.h
291dcdc6
JG
45sym.h
46symconst.h
08acc833 47w65.h
f581f995 48we32k.h
eaa0f4f8 49z8k.h
1ee1fd7e 50
87756e15
RP
51Things-to-lose:
52
775d4a40 53
2a6795f1 54Do-last:
1ee1fd7e 55
b55701fa
KR
56i960xl_files="ChangeLog i960.h"
57if ( echo $* | grep keep\-i960xl > /dev/null ) ; then
58 if [ -n "${verbose}" ] ; then
59 echo Keeping i960xl stuff in $i960xl_files.
60 fi
61else
62 if [ -n "${verbose}" ]; then
63 echo -n Cleaning i960xl in `pwd`:
64 fi
65 for f in $i960xl_files ; do
66 if [ -n "${verbose}" ] ; then
67 echo -n " " $f
68 fi
69 sed '/start\-sanitize\-i960xl/,/end\-sanitize\-i960xl/d' < $f > new
70 if [ -n "${safe}" ] ; then
71 mv $f .Recover
72 fi
73 mv new $f
74 done
75fi
76
1ee1fd7e 77# End of file.
This page took 0.130754 seconds and 4 git commands to generate.