5f545a5a4fff7e80bf5ffb52af581dd1ccc468fb
[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 a.out.vax.h
37 a29k-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 gdbm.h
49 getopt.h
50 i386-opcode.h
51 i386coff.h
52 i860-opcode.h
53 i960-opcode.h
54 ieee.h
55 intel-coff.h
56 m68k-opcode.h
57 m68kcoff.h
58 m88k-bcs.h
59 internalcoff.h
60 m88k-opcode.h
61 mips-opcode.h
62 np1-opcode.h
63 ns32k-opcode.h
64 oasys.h
65 obstack.h
66 pn-opcode.h
67 pyr-opcode.h
68 ranlib.h
69 reloc.h
70 sparc-opcode.h
71 stab.def
72 stab.gnu.h
73 sys
74 sysdep.h
75 tahoe-opcode.h
76 vax-opcode.h
77 wait.h
78
79 Do-last:
80
81 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
82 echo Keeping v9 in sparc-opcode.h.
83 else
84 echo Sanitizing v9 in sparc-opcode.h.
85 rm -f new
86 grep -v v9 sparc-opcode.h > new
87 rm sparc-opcode.h
88 mv new sparc-opcode.h
89 fi
90
91 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
92 echo Keeping v9 in aout64.h.
93 else
94 echo Sanitizing v9 in aout64.h.
95 rm -f new
96 grep -v v9 aout64.h > new
97 rm aout64.h
98 mv new aout64.h
99 fi
100
101 echo Done in `pwd`.
102
103 #
104 #
105 # $Log$
106 # Revision 1.10 1991/08/29 00:34:45 gnu
107 # Paperwork handled for AMD Coff.
108 #
109 # Revision 1.9 1991/08/22 08:00:35 gnu
110 # Add ChangeLog for Include.
111 #
112 # Revision 1.8 1991/07/31 17:36:04 gnu
113 # Remove amdcoff.h by default because its copyright is not assigned to FSF.
114 # "Sanitize -keep-29k" will keep it.
115 #
116 # Revision 1.7 1991/07/31 03:11:46 gnu
117 # Remove symseg.h, the ancient GDB symbol-segments (gdb-specific debug
118 # information) definition.
119 #
120 # Revision 1.6 1991/07/24 01:07:25 gnu
121 # Add COPYING file.
122 #
123 # Revision 1.5 1991/07/24 00:47:13 gnu
124 # Blow away v9 stuff in aout64.h too.
125 #
126 # Revision 1.4 1991/07/15 23:34:14 steve
127 # *** empty log message ***
128 #
129 # Revision 1.3 1991/06/14 22:14:07 steve
130 # *** empty log message ***
131 #
132 # Revision 1.2 1991/05/31 11:26:52 gnu
133 # Add i386coff.h. Print msg when sanitizing sparc-opcode.h.
134 #
135 # Revision 1.1 1991/05/23 17:00:59 rich
136 # Initial revision
137 #
138 #
139 #
140
141 # End of file.
This page took 0.03246 seconds and 4 git commands to generate.