Save i386bsd.c since it is now required to build bfd.
[deliverable/binutils-gdb.git] / bfd / .Sanitize
CommitLineData
aee06af3 1# Sanitize.in for devo/bfd.
08942d11
RP
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
08942d11
RP
18# All files listed between the "Things-to-keep:" line and the
19# "Files-to-sed:" line will be kept. All other files will be removed.
20# Directories listed in this section will have their own Sanitize
21# called. Directories not listed will be removed in their entirety
22# with rm -rf.
23
24Things-to-keep:
08942d11 25COPYING
9ef1e2da 26PORTING
86835b01 27doc
08942d11 28ChangeLog
13b351cc 29Makefile.dos
08942d11
RP
30Makefile.in
31TODO
8c1891af 32VERSION
08942d11
RP
33aout32.c
34aout64.c
35aoutf1.h
08942d11 36aoutx.h
4846e30f 37aout-adobe.c
9e2b3581 38aout-encap.c
a89f7423 39aout-target.h
08942d11
RP
40archive.c
41archures.c
901c5bfd 42bfd-in.h
08942d11 43bfd.c
08942d11
RP
44bout.c
45cache.c
e181b631 46ctor.c
156e3852 47coff-a29k.c
71e34032 48coff-h8300.c
156e3852
JG
49coff-i386.c
50coff-i960.c
51coff-m68k.c
52coff-m88k.c
53coff-mips.c
583f79e9 54coff-msym.c
156e3852 55coff-rs6000.c
c7551f76 56coff-we32k.c
d41ab714 57coff-z8k.c
08942d11 58coffcode.h
fb1c4481 59config
13b351cc 60configure.bat
08942d11 61configure.in
6f715d66 62core.c
08942d11 63demo64.c
ea3768dc 64elf.c
08942d11 65filemode.c
6f715d66 66format.c
608de555 67gen-aout.c
08942d11 68host-aout.c
90c7c720 69hosts
76b731f9 70hppa.c
b7de6963 71i386aout.c
256b39e0 72i386bsd.c
afff60cd 73i386linux.c
08942d11 74ieee.c
141c97ea 75libaout.h
901c5bfd 76libbfd-in.h
63ffe5ef
SC
77cpu-a29k.c
78cpu-i386.c
79cpu-m68k.c
80cpu-mips.c
81cpu-vax.c
82cpu-h8300.c
76b731f9 83cpu-hppa.c
63ffe5ef
SC
84cpu-i960.c
85cpu-m88k.c
cc97dfbb 86cpu-rs6000.c
c7551f76 87cpu-we32k.c
d41ab714 88cpu-z8k.c
1d535e75 89hp300bsd.c
63ffe5ef 90init.c
63ffe5ef 91cpu-sparc.c
08942d11
RP
92libbfd.c
93libbfd.h
901c5bfd 94libcoff-in.h
08942d11 95libcoff.h
76b731f9 96libhppa.h
08942d11
RP
97libieee.h
98liboasys.h
08942d11
RP
99newsos3.c
100oasys.c
101opncls.c
6f715d66 102reloc.c
cf15d9e9 103rs6000-core.c
42c39b69 104sco-core.c
e98e6ec1 105seclet.c
dc72b0b6 106seclet.h
6f715d66 107section.c
08942d11 108srec.c
7de245d3 109stab-syms.c
08942d11 110sunos.c
6f715d66 111syms.c
08942d11 112targets.c
a14b2941 113tekhex.c
08942d11
RP
114trad-core.c
115trad-core.h
116
117Do-last:
118
446545dd 119if ( echo $* | grep keep\-v9 > /dev/null ) ; then
5d74c1e5 120 echo Keeping v9 in aoutx.h
446545dd
JG
121else
122 echo Sanitizing v9 in aoutx.h
123 rm -f new
124 while grep -s start-sanitize-v9 aoutx.h ; do
125 sed -e '/start-sanitize-v9/,/end-sanitize-v9/d' <aoutx.h >new
01f0a88e
RP
126 if [ -n "${safe}" ] ; then
127 mv aoutx.h .Recover
128 else
129 rm aoutx.h
130 fi
446545dd
JG
131 mv new aoutx.h
132 done
133fi
134
08942d11
RP
135echo Done in `pwd`.
136
08942d11 137# End of file.
This page took 0.056695 seconds and 4 git commands to generate.