Add support for 386 disassembly
[deliverable/binutils-gdb.git] / binutils / .Sanitize
CommitLineData
86e4d6e4
RP
1# Sanitize.in for devo.
2# $Id$
3#
4
5# Each directory to survive it's way into a release will need a file
6# like this one called "./.Sanitize". All keyword lines must exist,
7# and must exist in the order specified by this file. Each directory
8# in the tree will be processed, top down, in the following order.
9
10# Hash started lines like this one are comments and will be deleted
11# before anything else is done. Blank lines will also be squashed
12# out.
13
14# The lines between the "Do-first:" line and the "Things-to-keep:"
15# line are executed as a /bin/sh shell script before anything else is
16# done in this
17
18Do-first:
19
20echo Sanitizing `pwd`...
21
22# All files listed between the "Things-to-keep:" line and the
23# "Files-to-sed:" line will be kept. All other files will be removed.
24# Directories listed in this section will have their own Sanitize
25# called. Directories not listed will be removed in their entirety
26# with rm -rf.
27
28Things-to-keep:
29
30ChangeLog
0ce51ae9 31Makefile.dos
86e4d6e4 32Makefile.in
5a77e916 33README
86e4d6e4
RP
34TODO
35alloca.c
5a77e916 36am29k-pinsn.c
05b47bfb 37ar.1
5a77e916 38ar.c
c0cc6912
SC
39arlex.l
40arsup.c
41arsup.h
42arparse.y
c83497f5 43binutils.texi
86e4d6e4 44bucomm.c
5a77e916 45bucomm.h
0ce51ae9 46configure.bat
86e4d6e4
RP
47configure.in
48copy.c
49cplus-dem.c
50filemode.c
51gmalloc.c
60c80016 52i386-pinsn.c
86e4d6e4 53i960-pinsn.c
5a77e916
SC
54is-ranlib.c
55is-strip.c
86e4d6e4 56m68k-pinsn.c
5a77e916
SC
57maybe-ranlib.c
58maybe-strip.c
59nm.1
86e4d6e4 60nm.c
5a77e916
SC
61not-ranlib.c
62not-strip.c
63objdump.1
86e4d6e4 64objdump.c
5a77e916
SC
65objdump.h
66ranlib.1
06a97fbd 67ranlib.sh
5a77e916 68size.1
86e4d6e4
RP
69size.c
70sparc-pinsn.c
5a77e916 71strip.1
86e4d6e4
RP
72version.c
73
74Do-last:
75
5d138676 76v9dirty="sparc-pinsn.c"
86e4d6e4 77
5d138676
JG
78if ( echo $* | grep keep\-v9 > /dev/null ) ; then
79 echo Keeping v9 in ${v9dirty}
80else
81 for i in ${v9dirty} ; do
82 echo Sanitizing v9 in $i
83 rm -f new
84 sed '/^#ifndef[ ]NO_V9/,/^#endif/d' < $i > new
85 if grep -s -i v9 new ; then
86 echo ***** SANITIZING V9 IN $i FAILED *****\a\a
87 fi
88 if [ -n "${safe}" ] ; then
89 mv $i .Recover
90 else
91 rm $i
92 fi
93 mv new $i
94 done
95fi
This page took 0.045648 seconds and 4 git commands to generate.