Fri Jan 7 10:29:27 1994 Stan Shebs (shebs@andros.cygnus.com)
[deliverable/binutils-gdb.git] / bfd / .Sanitize
CommitLineData
a92c5906 1# .Sanitize for devo/bfd
08942d11 2
a92c5906 3# Each directory to survive its way into a release will need a file
08942d11
RP
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
1bea1b6f
KR
18if ( echo $* | grep keep\-v9 > /dev/null ) ; then
19 keep_these_too="elf64-sparc.c"
f7df1b2b
FF
20else
21 lose_these_too="elf64-sparc.c"
1bea1b6f
KR
22fi
23
a92c5906
SS
24if ( echo $* | grep keep\-mpw > /dev/null ) ; then
25 keep_these_too="mpw-make.in mpw-config.in ChangeLog.mpw"
26 if ( echo $* | grep keep\-gm > /dev/null ) ; then
27 keep_these_too="mpw-xconfig.in ChangeLog.gm ${keep_these_too}"
28 fi
29fi
30
08942d11
RP
31# All files listed between the "Things-to-keep:" line and the
32# "Files-to-sed:" line will be kept. All other files will be removed.
33# Directories listed in this section will have their own Sanitize
34# called. Directories not listed will be removed in their entirety
35# with rm -rf.
36
37Things-to-keep:
87756e15 38
08942d11
RP
39COPYING
40ChangeLog
ceeca31c 41ChangeLog.1
08942d11 42Makefile.in
c3e964b9 43PORTING
08942d11 44TODO
8c1891af 45VERSION
60ac749c 46aix386-core.c
c3e964b9
FF
47aout-adobe.c
48aout-encap.c
49aout-target.h
08942d11
RP
50aout32.c
51aout64.c
52aoutf1.h
08942d11
RP
53aoutx.h
54archive.c
55archures.c
901c5bfd 56bfd-in.h
b9653d81 57bfd-in2.h
08942d11 58bfd.c
08942d11
RP
59bout.c
60cache.c
e3b5bfa8
SS
61cf-i386lynx.c
62cf-m68klynx.c
63cf-sparclynx.c
156e3852 64coff-a29k.c
c3e964b9 65coff-alpha.c
97eb2f0c 66coff-apollo.c
71e34032 67coff-h8300.c
ff975a2c 68coff-h8500.c
156e3852
JG
69coff-i386.c
70coff-i960.c
c3e964b9 71coff-m68k.c
156e3852
JG
72coff-m88k.c
73coff-mips.c
74coff-rs6000.c
9faacb92 75coff-sh.c
e3b5bfa8 76coff-sparc.c
df61743d 77coff-u68k.c
c7551f76 78coff-we32k.c
d41ab714 79coff-z8k.c
08942d11 80coffcode.h
075caafd
ILT
81coffgen.c
82coffswap.h
fb1c4481 83config
14616002 84config.bfd
13b351cc 85configure.bat
5a5fa368 86configure.host
c3e964b9 87configure.in
6f715d66 88core.c
c3e964b9
FF
89cpu-a29k.c
90cpu-alpha.c
91cpu-h8300.c
92cpu-h8500.c
93cpu-hppa.c
94cpu-i386.c
95cpu-i960.c
96cpu-m68k.c
97cpu-m88k.c
98cpu-mips.c
99cpu-rs6000.c
100cpu-sh.c
101cpu-sparc.c
102cpu-vax.c
103cpu-we32k.c
104cpu-z8k.c
105ctor.c
08942d11 106demo64.c
97eb2f0c 107dep-in.sed
c3e964b9 108doc
dae31cf5 109ecoff.c
71efdf83 110ecofflink.c
dae31cf5 111ecoffswap.h
cef91d75 112elf.c
d39d83c1 113elf32-gen.c
c268b400
KR
114elf32-hppa.c
115elf32-hppa.h
4743848f
KR
116elf32-i386.c
117elf32-i860.c
118elf32-m68k.c
2c4f2c72
JK
119elf32-m88k.c
120elf32-mips.c
8d936d1f 121elf32-sparc.c
4743848f
KR
122elf32-target.h
123elf32.c
d39d83c1 124elf64-gen.c
b864c03c 125elf64-target.h
4bf86ecb 126elf64.c
ef7e172e 127elfcode.h
08942d11 128filemode.c
6f715d66 129format.c
608de555 130gen-aout.c
da6b2d99
ILT
131genlink.h
132hash.c
08942d11 133host-aout.c
90c7c720 134hosts
c3e964b9 135hp300bsd.c
c268b400 136hp300hpux.c
cef91d75 137hppa_stubs.h
8a71bf96 138hppabsd-core.c
3f933620 139hpux-core.c
b7de6963 140i386aout.c
256b39e0 141i386bsd.c
afff60cd 142i386linux.c
aef0bd99 143i386lynx.c
890eafc0 144i386mach3.c
08942d11 145ieee.c
c3e964b9 146init.c
7ce1a446 147irix-core.c
141c97ea 148libaout.h
901c5bfd 149libbfd-in.h
08942d11
RP
150libbfd.c
151libbfd.h
901c5bfd 152libcoff-in.h
08942d11 153libcoff.h
a3b3dbdd 154libecoff.h
c3e964b9 155libelf.h
76b731f9 156libhppa.h
08942d11 157libieee.h
c3e964b9 158libnlm.h
08942d11 159liboasys.h
da6b2d99 160linker.c
3151f12f 161lynx-core.c
eefe075d 162m68klynx.c
044c1ba9 163mipsbsd.c
08942d11 164newsos3.c
fbd5481a 165netbsd386.c
d1f83f44 166nlm-target.h
c3e964b9 167nlm.c
1bbabdad 168nlm32-alpha.c
8fa7a236 169nlm32-i386.c
38f422db 170nlm32-sparc.c
c3e964b9 171nlm32.c
c3e964b9
FF
172nlm64.c
173nlmcode.h
38f422db 174nlmswap.h
08942d11
RP
175oasys.c
176opncls.c
4346ee0f 177osf-core.c
c236d8b3 178ptrace-core.c
6f715d66 179reloc.c
075caafd 180reloc16.c
cf15d9e9 181rs6000-core.c
6f715d66 182section.c
66eca5ee
JK
183som.c
184som.h
e3b5bfa8 185sparclynx.c
08942d11 186srec.c
7de245d3 187stab-syms.c
08942d11 188sunos.c
6f715d66 189syms.c
08942d11 190targets.c
a14b2941 191tekhex.c
08942d11 192trad-core.c
08942d11 193
87756e15
RP
194Things-to-lose:
195
775d4a40 196
08942d11
RP
197Do-last:
198
3d7de4c2 199v9files="configure.in elfcode.h reloc.c bfd-in2.h targets.c config.bfd"
b9653d81 200if ( echo $* | grep keep\-v9 > /dev/null ) ; then
b864c03c
KR
201 if [ -n "${verbose}" ] ; then
202 echo Keeping v9 stuff in $v9files.
203 fi
b9653d81 204else
b864c03c 205 if [ -n "${verbose}" ]; then
1bea1b6f 206 echo -n Cleaning v9 in `pwd`:
b864c03c
KR
207 fi
208 for f in $v9files ; do
209 if [ -n "${verbose}" ] ; then
210 echo -n " " $f
211 fi
1bea1b6f 212 sed '/start\-sanitize\-v9/,/end\-sanitize\-v9/d' < $f > new
b864c03c 213 if [ -n "${safe}" ] ; then
1bea1b6f 214 mv $f .Recover
b864c03c
KR
215 fi
216 mv new $f
217 done
3ba17f70 218 chmod a+x config.bfd
b9653d81
KR
219fi
220
3ba17f70 221
08942d11 222# End of file.
This page took 0.099695 seconds and 4 git commands to generate.