* srec.c (srec_write_records): one of my boards wants a CR between
[deliverable/binutils-gdb.git] / bfd / .Sanitize
1 # Sanitize.in for devo/bfd.
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
16 Do-first:
17
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
24 Things-to-keep:
25 COPYING
26 PORTING
27 doc
28 ChangeLog
29 Makefile.dos
30 Makefile.in
31 TODO
32 VERSION
33 aix386-core.c
34 aout32.c
35 aout64.c
36 aoutf1.h
37 aoutx.h
38 aout-adobe.c
39 aout-encap.c
40 aout-target.h
41 archive.c
42 archures.c
43 bfd-in.h
44 bfd.c
45 bout.c
46 cache.c
47 ctor.c
48 coff-a29k.c
49 coff-h8300.c
50 coff-i386.c
51 coff-i960.c
52 coff-m68k.c
53 coff-m88k.c
54 coff-mips.c
55 coff-msym.c
56 coff-rs6000.c
57 coff-we32k.c
58 coff-z8k.c
59 coffcode.h
60 config
61 configure.bat
62 configure.in
63 configure.host
64 core.c
65 demo64.c
66 elf.c
67 filemode.c
68 format.c
69 gen-aout.c
70 host-aout.c
71 hosts
72 hppa.c
73 i386aout.c
74 i386bsd.c
75 i386linux.c
76 ieee.c
77 libaout.h
78 libbfd-in.h
79 cpu-a29k.c
80 cpu-i386.c
81 cpu-m68k.c
82 cpu-mips.c
83 cpu-vax.c
84 cpu-h8300.c
85 cpu-hppa.c
86 cpu-i960.c
87 cpu-m88k.c
88 cpu-rs6000.c
89 cpu-we32k.c
90 cpu-z8k.c
91 hp300bsd.c
92 init.c
93 cpu-sparc.c
94 libbfd.c
95 libbfd.h
96 libcoff-in.h
97 libcoff.h
98 libhppa.h
99 libieee.h
100 liboasys.h
101 newsos3.c
102 oasys.c
103 opncls.c
104 reloc.c
105 rs6000-core.c
106 sco-core.c
107 seclet.c
108 seclet.h
109 section.c
110 srec.c
111 stab-syms.c
112 sunos.c
113 syms.c
114 targets.c
115 tekhex.c
116 trad-core.c
117
118 Do-last:
119
120 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
121 echo Keeping v9 in aoutx.h
122 else
123 echo Sanitizing v9 in aoutx.h
124 rm -f new
125 while grep -s start-sanitize-v9 aoutx.h ; do
126 sed -e '/start-sanitize-v9/,/end-sanitize-v9/d' <aoutx.h >new
127 if [ -n "${safe}" ] ; then
128 mv aoutx.h .Recover
129 else
130 rm aoutx.h
131 fi
132 mv new aoutx.h
133 done
134 fi
135
136 echo Done in `pwd`.
137
138 # End of file.
This page took 0.036403 seconds and 4 git commands to generate.