* sparc-desc.c: New file.
[deliverable/binutils-gdb.git] / sim / sparc / .Sanitize
CommitLineData
cd6245ce
DE
1# Sanitize.in for sim/sparc
2
3# Each directory to survive it's 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
15
16Do-first:
17
18# All files listed between the "Things-to-keep:" line and the
19# "Files-to-sed:" line will be kept. All other files will be removed.
20# Directories listed in this section will have their own Sanitize
21# called. Directories not listed will be removed in their entirety
22# with rm -rf.
23
24Things-to-keep:
25
26ChangeLog
27Makefile.in
28acconfig.h
29arch.c
30arch.h
31config.in
32configure
33configure.in
34cpu32.c
35cpu32.h
8d3b7234
DE
36cpu64.c
37cpu64.h
cd6245ce
DE
38cpuall.h
39decode32.c
40decode32.h
8d3b7234
DE
41decode64.c
42decode64.h
cd6245ce
DE
43dev32.c
44dev32.h
c14d22a7
DE
45dev64.c
46dev64.h
cd6245ce 47mloop32.in
8d3b7234 48mloop64.in
cd6245ce 49model32.c
8d3b7234 50model64.c
cd6245ce 51regs32.h
8d3b7234 52regs64.h
cd6245ce 53sem32.c
8d3b7234 54sem64.c
cd6245ce
DE
55sim-if.c
56sim-main.h
57sparc-sim.h
58sparc.c
59sparc32.c
c14d22a7 60sparc64.c
cd6245ce
DE
61tconfig.in
62trap32.c
63trap32.h
8d3b7234 64trap64.c
c14d22a7 65trap64.h
cd6245ce
DE
66
67Things-to-lose:
68
69Do-last:
70
71cygnus_files="ChangeLog Makefile.in"
72if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
73 for i in $cygnus_files ; do
74 if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
75 if [ -n "${verbose}" ] ; then
76 echo Keeping cygnus stuff in $i
77 fi
78 fi
79 done
80else
81 for i in $cygnus_files ; do
82 if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
83 if [ -n "${verbose}" ] ; then
84 echo Removing traces of \"cygnus\" from $i...
85 fi
86 cp $i new
87 sed '/start\-sanitize\-cygnus/,/end-\sanitize\-cygnus/d' < $i > new
88 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
89 if [ -n "${verbose}" ] ; then
90 echo Caching $i in .Recover...
91 fi
92 mv $i .Recover
93 fi
94 mv new $i
95 fi
96 done
97fi
98
99# End of file.
This page took 0.042285 seconds and 4 git commands to generate.