experimental linux support
[deliverable/binutils-gdb.git] / ld / emulparams / .Sanitize
CommitLineData
8ddef552
DM
1# .Sanitize for devo/ld/config
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
16Do-first:
17
18
19# All files listed between the "Things-to-keep:" line and the
20# "Do-last:" line will be kept. All other files will be removed.
21# Directories listed in this section will have their own Sanitize
22# called. Directories not listed will be removed in their entirety
23# with rm -rf.
24
25Things-to-keep:
26
27README
28a29k.sh
29ebmon29k.sh
e900b30c
KR
30elf32-sparc.sh
31elf64-sparc.sh
8ddef552
DM
32gld960.sh
33go32.sh
34h8300.sh
35h8500.sh
36hp300bsd.sh
37hp3hpux.sh
38hppaosf.sh
39i386aout.sh
40i386bsd.sh
41i386coff.sh
42lnk960.sh
43m68kcoff.sh
44m88kbcs.sh
45mipsbig.sh
46mipsbsd.sh
47mipsidt.sh
48mipsidtl.sh
49mipslit.sh
50news.sh
51sa29200.sh
52sh.sh
53st2000.sh
54sun3.sh
55sun4.sh
56vanilla.sh
57vax.sh
58z8ksim.sh
59
60Things-to-lose:
61
62# The lines between the "Do-last:" line and the end of the file
63# are executed as a /bin/sh shell script after everything else is
64# done.
65
66Do-last:
67
e900b30c
KR
68if ( echo $* | grep keep-v9 > /dev/null ) ; then
69 if [ -n "${verbose}" ] ; then
70 echo Keeping `pwd`/elf64-sparc.sh.
71 fi
72else
73 if [ -n "${verbose}" ] ; then
74 echo Removing `pwd`/elf64-sparc.sh.
75 fi
76 if [ -n "${safe}" ] ; then
77 mv elf64-sparc.sh .Recover
78 else
79 rm elf64-sparc.sh
80 fi
81fi
82
This page took 0.06306 seconds and 4 git commands to generate.