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