da8e5169700c7ef54b8a0bacbea94f360990e01d
[platform/upstream/binutils.git] / ld / emulparams / .Sanitize
1 # .Sanitize for devo/ld/emulparams
2
3 # Each directory to survive its 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 directory.
15
16 Do-first:
17
18 arc_files="arcelf.sh"
19
20 if ( echo $* | grep keep\-arc > /dev/null ) ; then
21         keep_these_too="${arc_files} ${keep_these_too}"
22 else
23         lose_these_too="${arc_files} ${lose_these_too}"
24 fi
25
26 h8s_files="h8300s.sh"
27  
28 if ( echo $* | grep keep\-h8s > /dev/null ) ; then
29         keep_these_too="${h8s_files} ${keep_these_too}"
30 else
31         lose_these_too="${h8s_files} ${lose_these_too}"
32 fi
33
34 # All files listed between the "Things-to-keep:" line and the
35 # "Do-last:" line will be kept.  All other files will be removed.
36 # Directories listed in this section will have their own Sanitize
37 # called.  Directories not listed will be removed in their entirety
38 # with rm -rf.
39
40 Things-to-keep:
41
42 README
43 a29k.sh
44 aixppc.sh
45 aixrs6.sh
46 alpha.sh
47 armaoutb.sh
48 armaoutl.sh
49 armcoff.sh
50 armpe.sh
51 coff_sparc.sh
52 delta68.sh
53 ebmon29k.sh
54 elf32_sparc.sh
55 elf32bmip.sh
56 elf32lmip.sh
57 elf32lppc.sh
58 elf32ppc.sh
59 elf32b4300.sh
60 elf32l4300.sh
61 elf64alpha.sh
62 elf64_sparc.sh
63 elf_i386.sh
64 gld960.sh
65 gld960coff.sh
66 go32.sh
67 h8300.sh
68 h8300h.sh
69 h8500.sh
70 h8500b.sh
71 h8500c.sh
72 h8500m.sh
73 h8500s.sh
74 hp300bsd.sh
75 hp3hpux.sh
76 hppaelf.sh
77 i386aout.sh
78 i386bsd.sh
79 i386coff.sh
80 i386go32.sh
81 i386linux.sh
82 i386lynx.sh
83 i386mach.sh
84 i386moss.sh
85 i386msdos.sh
86 i386nbsd.sh
87 i386nw.sh
88 i386pe.sh
89 lnk960.sh
90 m68k4knbsd.sh
91 m68kaout.sh
92 m68kaux.sh
93 m68kcoff.sh
94 m68kelf.sh
95 m68klinux.sh
96 m68klynx.sh
97 m68knbsd.sh
98 m68kpsos.sh
99 m88kbcs.sh
100 mipsbig.sh
101 mipsbsd.sh
102 mipsidt.sh
103 mipsidtl.sh
104 mipslit.sh
105 news.sh
106 ns32knbsd.sh
107 pc532macha.sh
108 ppcmacos.sh
109 ppcnw.sh
110 ppcpe.sh
111 riscix.sh
112 sa29200.sh
113 sh.sh
114 shl.sh
115 sparcaout.sh
116 sparclynx.sh
117 sparcnbsd.sh
118 st2000.sh
119 sun3.sh
120 sun4.sh
121 vanilla.sh
122 vax.sh
123 vsta.sh
124 w65.sh
125 z8001.sh
126 z8002.sh
127
128 Things-to-lose:
129
130 # The lines between the "Do-last:" line and the end of the file
131 # are executed as a /bin/sh shell script after everything else is
132 # done.
133
134 Do-last: