* Makefile.in: add target "binutils.ms"
[deliverable/binutils-gdb.git] / include / .Sanitize
1 # Sanitize.in for devo.
2 # $Id$
3 #
4
5 # Each directory to survive it's way into a release will need a file
6 # like this one called "./.Sanitize". All keyword lines must exist,
7 # and must exist in the order specified by this file. Each directory
8 # in the tree will be processed, top down, in the following order.
9
10 # Hash started lines like this one are comments and will be deleted
11 # before anything else is done. Blank lines will also be squashed
12 # out.
13
14 # The lines between the "Do-first:" line and the "Things-to-keep:"
15 # line are executed as a /bin/sh shell script before anything else is
16 # done in this
17
18 Do-first:
19
20 echo Sanitizing `pwd`...
21
22 # All files listed between the "Things-to-keep:" line and the
23 # "Files-to-sed:" line will be kept. All other files will be removed.
24 # Directories listed in this section will have their own Sanitize
25 # called. Directories not listed will be removed in their entirety
26 # with rm -rf.
27
28 Things-to-keep:
29
30 COPYING
31 ChangeLog
32 a.out.encap.h
33 a.out.gnu.h
34 a.out.host.h
35 a.out.sun4.h
36 a29k-opcode.h
37 h8300-opcode.h
38 amdcoff.h
39 ansidecl.h
40 aout64.h
41 ar.h
42 arm-opcode.h
43 bcs88kcoff.h
44 bfd.h
45 bout.h
46 convx-opcode.h
47 ecoff.h
48 elf-common.h
49 elf-external.h
50 elf-internal.h
51 gdbm.h
52 getopt.h
53 i386-opcode.h
54 i386coff.h
55 i860-opcode.h
56 i960-opcode.h
57 ieee.h
58 intel-coff.h
59 m68k-opcode.h
60 m68kcoff.h
61 m88k-bcs.h
62 internalcoff.h
63 m88k-opcode.h
64 mips-opcode.h
65 np1-opcode.h
66 ns32k-opcode.h
67 oasys.h
68 obstack.h
69 pn-opcode.h
70 pyr-opcode.h
71 ranlib.h
72 reloc.h
73 sparc-opcode.h
74 stab.def
75 stab.gnu.h
76 sys
77 sysdep.h
78 tahoe-opcode.h
79 vax-opcode.h
80 wait.h
81
82 Do-last:
83
84 v9dirty="sparc-opcode.h aout64.h"
85
86 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
87 echo Keeping v9 in ${v9dirty}
88 else
89 for i in ${v9dirty} ; do
90 echo Sanitizing v9 in $i
91 rm -f new
92 grep -v v9 $i > new
93 if [ -n "${safe}" ] ; then
94 mv $i .Recover
95 else
96 rm $i
97 fi
98 mv new $i
99 done
100 fi
101
102 echo Done in `pwd`.
103
104 #
105 #
106 # $Log$
107 # Revision 1.16 1991/10/05 06:18:24 gnu
108 # a.out.vax.h gone.
109 #
110 # Revision 1.15 1991/10/03 22:24:27 gnu
111 # Add elf-*.h files.
112 #
113 # Revision 1.14 1991/09/26 22:46:53 steve
114 # Newly created
115 #
116 # Revision 1.13 1991/09/13 05:17:53 gnu
117 # Removes sparc-opcode.h rather than the file it is sanitizing, if not testing!
118 # (fixed...)
119 #
120 # Revision 1.12 1991/09/04 02:51:18 rich
121 # Adding "recover"'ability.
122 #
123 # Revision 1.11 1991/09/02 21:21:47 rich
124 # Recover the editted files.
125 #
126 # Revision 1.10 1991/08/29 00:34:45 gnu
127 # Paperwork handled for AMD Coff.
128 #
129 # Revision 1.9 1991/08/22 08:00:35 gnu
130 # Add ChangeLog for Include.
131 #
132 # Revision 1.8 1991/07/31 17:36:04 gnu
133 # Remove amdcoff.h by default because its copyright is not assigned to FSF.
134 # "Sanitize -keep-29k" will keep it.
135 #
136 # Revision 1.7 1991/07/31 03:11:46 gnu
137 # Remove symseg.h, the ancient GDB symbol-segments (gdb-specific debug
138 # information) definition.
139 #
140 # Revision 1.6 1991/07/24 01:07:25 gnu
141 # Add COPYING file.
142 #
143 # Revision 1.5 1991/07/24 00:47:13 gnu
144 # Blow away v9 stuff in aout64.h too.
145 #
146 # Revision 1.4 1991/07/15 23:34:14 steve
147 # *** empty log message ***
148 #
149 # Revision 1.3 1991/06/14 22:14:07 steve
150 # *** empty log message ***
151 #
152 # Revision 1.2 1991/05/31 11:26:52 gnu
153 # Add i386coff.h. Print msg when sanitizing sparc-opcode.h.
154 #
155 # Revision 1.1 1991/05/23 17:00:59 rich
156 # Initial revision
157 #
158 #
159 #
160
161 # End of file.
This page took 0.033852 seconds and 4 git commands to generate.