Thu Feb 4 12:35:02 1993 Ian Lance Taylor (ian@cygnus.com)
[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-mipsbsd.c
41 aout-target.h
42 archive.c
43 archures.c
44 bfd-in.h
45 bfd.c
46 bout.c
47 cache.c
48 ctor.c
49 coff-a29k.c
50 coff-h8300.c
51 coff-i386.c
52 coff-i960.c
53 coff-m68k.c
54 coff-m88k.c
55 coff-mips.c
56 coff-msym.c
57 coff-rs6000.c
58 coff-we32k.c
59 coff-z8k.c
60 coffcode.h
61 coffgen.c
62 coffswap.h
63 config
64 configure.bat
65 configure.in
66 configure.host
67 core.c
68 demo64.c
69 elf.c
70 filemode.c
71 format.c
72 gen-aout.c
73 host-aout.c
74 hosts
75 hppa.c
76 i386aout.c
77 i386bsd.c
78 i386linux.c
79 ieee.c
80 libaout.h
81 libbfd-in.h
82 cpu-a29k.c
83 cpu-i386.c
84 cpu-m68k.c
85 cpu-mips.c
86 cpu-vax.c
87 cpu-h8300.c
88 cpu-hppa.c
89 cpu-i960.c
90 cpu-m88k.c
91 cpu-rs6000.c
92 cpu-we32k.c
93 cpu-z8k.c
94 hp300bsd.c
95 init.c
96 cpu-sparc.c
97 libbfd.c
98 libbfd.h
99 libcoff-in.h
100 libcoff.h
101 libecoff.h
102 libhppa.h
103 libieee.h
104 liboasys.h
105 newsos3.c
106 oasys.c
107 opncls.c
108 reloc.c
109 reloc16.c
110 rs6000-core.c
111 sco-core.c
112 seclet.c
113 seclet.h
114 section.c
115 srec.c
116 stab-syms.c
117 sunos.c
118 syms.c
119 targets.c
120 tekhex.c
121 trad-core.c
122
123 Do-last:
124
125 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
126 echo Keeping v9 in aoutx.h
127 else
128 echo Sanitizing v9 in aoutx.h
129 rm -f new
130 while grep -s start-sanitize-v9 aoutx.h ; do
131 sed -e '/start-sanitize-v9/,/end-sanitize-v9/d' <aoutx.h >new
132 if [ -n "${safe}" ] ; then
133 mv aoutx.h .Recover
134 else
135 rm aoutx.h
136 fi
137 mv new aoutx.h
138 done
139 fi
140
141 # End of file.
This page took 0.037242 seconds and 5 git commands to generate.