]>
Commit | Line | Data |
---|---|---|
1 | # .Sanitize for devo/gdb/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 | ||
16 | Do-first: | |
17 | ||
18 | if ( echo $* | grep keep\-arc > /dev/null ) ; then | |
19 | keep_these_too="arc ${keep_these_too}" | |
20 | else | |
21 | lose_these_too="arc ${lose_these_too}" | |
22 | fi | |
23 | ||
24 | gm_files="tm-magic.h" | |
25 | ||
26 | if ( echo $* | grep keep\-gm > /dev/null ) ; then | |
27 | keep_these_too="${gm_files} ${keep_these_too}" | |
28 | if [ -n "${verbose}" ] ; then | |
29 | echo Keeping ${gm_files} | |
30 | fi | |
31 | else | |
32 | lose_these_too="${gm_files} ${lose_these_too}" | |
33 | if [ -n "${verbose}" ] ; then | |
34 | echo Deleting ${gm_files} | |
35 | fi | |
36 | fi | |
37 | ||
38 | d10v_files="d10v" | |
39 | ||
40 | if ( echo $* | grep keep\-d10v > /dev/null ) ; then | |
41 | keep_these_too="${d10v_files} ${keep_these_too}" | |
42 | if [ -n "${verbose}" ] ; then | |
43 | echo Keeping ${d10v_files} | |
44 | fi | |
45 | else | |
46 | lose_these_too="${d10v_files} ${lose_these_too}" | |
47 | if [ -n "${verbose}" ] ; then | |
48 | echo Deleting ${d10v_files} | |
49 | fi | |
50 | fi | |
51 | ||
52 | # All files listed between the "Things-to-keep:" line and the | |
53 | # "Files-to-sed:" line will be kept. All other files will be removed. | |
54 | # Directories listed in this section will have their own Sanitize | |
55 | # called. Directories not listed will be removed in their entirety | |
56 | # with rm -rf. | |
57 | ||
58 | Things-to-keep: | |
59 | ||
60 | a29k | |
61 | alpha | |
62 | arm | |
63 | convex | |
64 | gould | |
65 | h8300 | |
66 | h8500 | |
67 | i386 | |
68 | i960 | |
69 | m68k | |
70 | m88k | |
71 | mips | |
72 | nm-empty.h | |
73 | nm-gnu.h | |
74 | nm-lynx.h | |
75 | nm-m3.h | |
76 | nm-nbsd.h | |
77 | nm-sysv4.h | |
78 | none | |
79 | ns32k | |
80 | pa | |
81 | powerpc | |
82 | pyr | |
83 | romp | |
84 | rs6000 | |
85 | sh | |
86 | sparc | |
87 | tahoe | |
88 | tm-lynx.h | |
89 | tm-nbsd.h | |
90 | tm-sunos.h | |
91 | tm-sysv4.h | |
92 | vax | |
93 | xm-aix4.h | |
94 | xm-lynx.h | |
95 | xm-mpw.h | |
96 | xm-nbsd.h | |
97 | xm-sysv4.h | |
98 | w65 | |
99 | z8k | |
100 | ||
101 | Things-to-lose: | |
102 | ||
103 | Do-last: | |
104 | ||
105 | # End of file. |