1994-02-28 19:14:06 +00:00
|
|
|
# .Sanitize for devo/ld.
|
1991-05-23 21:49:14 +00:00
|
|
|
|
1994-01-26 04:19:32 +00:00
|
|
|
# Each directory to survive its way into a release will need a file
|
1991-05-23 21:49:14 +00:00
|
|
|
# like this one called "./.Sanitize". All keyword lines must exist,
|
|
|
|
# and must exist in the order specified by this file. Each directory
|
|
|
|
# in the tree will be processed, top down, in the following order.
|
|
|
|
|
|
|
|
# Hash started lines like this one are comments and will be deleted
|
|
|
|
# before anything else is done. Blank lines will also be squashed
|
|
|
|
# out.
|
|
|
|
|
|
|
|
# The lines between the "Do-first:" line and the "Things-to-keep:"
|
|
|
|
# line are executed as a /bin/sh shell script before anything else is
|
1994-01-26 04:19:32 +00:00
|
|
|
# done in this directory.
|
1991-05-23 21:49:14 +00:00
|
|
|
|
|
|
|
Do-first:
|
|
|
|
|
|
|
|
# All files listed between the "Things-to-keep:" line and the
|
|
|
|
# "Files-to-sed:" line will be kept. All other files will be removed.
|
|
|
|
# Directories listed in this section will have their own Sanitize
|
|
|
|
# called. Directories not listed will be removed in their entirety
|
|
|
|
# with rm -rf.
|
|
|
|
|
|
|
|
Things-to-keep:
|
1993-05-27 06:44:29 +00:00
|
|
|
|
1991-10-05 04:55:05 +00:00
|
|
|
ChangeLog
|
1991-05-23 21:49:14 +00:00
|
|
|
Makefile.in
|
1993-05-17 19:45:17 +00:00
|
|
|
NEWS
|
1992-02-16 20:49:26 +00:00
|
|
|
README
|
1992-09-03 22:56:45 +00:00
|
|
|
TODO
|
1995-09-06 18:58:05 +00:00
|
|
|
acconfig.h
|
|
|
|
aclocal.m4
|
1995-09-07 17:20:53 +00:00
|
|
|
config.in
|
1995-09-06 18:58:05 +00:00
|
|
|
configure
|
1992-02-22 00:11:39 +00:00
|
|
|
configure.bat
|
1995-09-06 18:58:05 +00:00
|
|
|
configure.host
|
1991-05-23 21:49:14 +00:00
|
|
|
configure.in
|
1995-09-06 18:58:05 +00:00
|
|
|
configure.tgt
|
1993-12-13 19:37:22 +00:00
|
|
|
dep-in.sed
|
1993-06-21 23:40:21 +00:00
|
|
|
emulparams
|
|
|
|
emultempl
|
1992-02-16 20:49:26 +00:00
|
|
|
genscripts.sh
|
1993-03-30 23:25:03 +00:00
|
|
|
h8-doc.texi
|
1992-08-17 18:35:59 +00:00
|
|
|
ld.1
|
1993-03-30 23:25:03 +00:00
|
|
|
gen-doc.texi
|
1991-09-23 20:59:12 +00:00
|
|
|
ld.h
|
|
|
|
ld.texinfo
|
1996-06-04 23:37:13 +00:00
|
|
|
ldcref.c
|
1991-11-05 20:36:54 +00:00
|
|
|
ldctor.c
|
1991-12-08 01:27:59 +00:00
|
|
|
ldctor.h
|
1992-02-16 20:49:26 +00:00
|
|
|
ldemul.c
|
|
|
|
ldemul.h
|
1991-09-23 20:59:12 +00:00
|
|
|
ldexp.c
|
|
|
|
ldexp.h
|
|
|
|
ldfile.c
|
|
|
|
ldfile.h
|
|
|
|
ldgram.y
|
1992-08-07 01:37:39 +00:00
|
|
|
ldint.texinfo
|
1991-09-23 20:59:12 +00:00
|
|
|
ldlang.c
|
|
|
|
ldlang.h
|
|
|
|
ldlex.h
|
|
|
|
ldlex.l
|
|
|
|
ldmain.c
|
|
|
|
ldmain.h
|
|
|
|
ldmisc.c
|
|
|
|
ldmisc.h
|
|
|
|
ldver.c
|
|
|
|
ldver.h
|
|
|
|
ldwrite.c
|
|
|
|
ldwrite.h
|
1992-01-29 16:44:09 +00:00
|
|
|
lexsup.c
|
1995-10-27 05:30:14 +00:00
|
|
|
mac-ld.r
|
1995-04-12 18:46:15 +00:00
|
|
|
mpw-config.in
|
1997-04-03 05:50:32 +00:00
|
|
|
mpw-elfmips.c
|
|
|
|
mpw-idtmips.c
|
1995-12-12 22:37:05 +00:00
|
|
|
mpw-eppcmac.c
|
1995-06-21 20:00:22 +00:00
|
|
|
mpw-esh.c
|
1995-10-27 05:30:14 +00:00
|
|
|
mpw-make.sed
|
1992-04-15 23:11:53 +00:00
|
|
|
mri.c
|
1992-05-01 22:08:40 +00:00
|
|
|
mri.h
|
1993-06-21 23:40:21 +00:00
|
|
|
scripttempl
|
1995-09-06 18:58:05 +00:00
|
|
|
sysdep.h
|
1994-01-28 17:19:22 +00:00
|
|
|
testsuite
|
1991-05-23 21:49:14 +00:00
|
|
|
|
1993-05-27 06:44:29 +00:00
|
|
|
Things-to-lose:
|
|
|
|
|
1991-05-23 21:49:14 +00:00
|
|
|
Do-last:
|
|
|
|
|
1996-09-30 19:16:26 +00:00
|
|
|
arc_files="ChangeLog configure.tgt Makefile.in"
|
1994-12-14 21:45:07 +00:00
|
|
|
|
|
|
|
if ( echo $* | grep keep\-arc > /dev/null ) ; then
|
|
|
|
for i in $arc_files ; do
|
|
|
|
if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Keeping arc stuff in $i
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
else
|
|
|
|
for i in $arc_files ; do
|
|
|
|
if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Removing traces of \"arc\" from $i...
|
|
|
|
fi
|
|
|
|
cp $i new
|
|
|
|
sed '/start\-sanitize\-arc/,/end-\sanitize\-arc/d' < $i > new
|
|
|
|
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Caching $i in .Recover...
|
|
|
|
fi
|
|
|
|
mv $i .Recover
|
|
|
|
fi
|
|
|
|
mv new $i
|
1996-07-23 18:00:39 +00:00
|
|
|
fi
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
|
1996-08-22 22:32:21 +00:00
|
|
|
v850_files="ChangeLog configure.tgt Makefile.in"
|
|
|
|
|
|
|
|
if ( echo $* | grep keep\-v850 > /dev/null ) ; then
|
|
|
|
for i in $v850_files ; do
|
|
|
|
if test ! -d $i && (grep sanitize-v850 $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Keeping v850 stuff in $i
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
else
|
|
|
|
for i in $v850_files ; do
|
|
|
|
if test ! -d $i && (grep sanitize-v850 $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Removing traces of \"v850\" from $i...
|
|
|
|
fi
|
|
|
|
cp $i new
|
|
|
|
sed '/start\-sanitize\-v850/,/end-\sanitize\-v850/d' < $i > new
|
|
|
|
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
1997-02-11 13:26:34 +00:00
|
|
|
echo Caching $i in .Recover...
|
|
|
|
fi
|
|
|
|
mv $i .Recover
|
|
|
|
fi
|
|
|
|
mv new $i
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
|
|
|
|
r5900_files="ChangeLog configure.tgt"
|
|
|
|
|
|
|
|
if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
|
|
|
|
for i in $r5900_files ; do
|
|
|
|
if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Keeping r5900 stuff in $i
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
else
|
|
|
|
for i in $r5900_files ; do
|
|
|
|
if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Removing traces of \"r5900\" from $i...
|
|
|
|
fi
|
|
|
|
cp $i new
|
|
|
|
sed '/start\-sanitize\-r5900/,/end-\sanitize\-r5900/d' < $i > new
|
|
|
|
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
1996-08-22 22:32:21 +00:00
|
|
|
echo Caching $i in .Recover...
|
|
|
|
fi
|
|
|
|
mv $i .Recover
|
|
|
|
fi
|
|
|
|
mv new $i
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
|
1997-02-10 01:17:14 +00:00
|
|
|
tic80_files="ChangeLog configure.tgt Makefile.in"
|
|
|
|
|
|
|
|
if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
|
|
|
|
for i in $tic80_files ; do
|
|
|
|
if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Keeping tic80 stuff in $i
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
else
|
|
|
|
for i in $tic80_files ; do
|
|
|
|
if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Removing traces of \"tic80\" from $i...
|
|
|
|
fi
|
|
|
|
cp $i new
|
|
|
|
sed '/start\-sanitize\-tic80/,/end-\sanitize\-tic80/d' < $i > new
|
|
|
|
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Caching $i in .Recover...
|
|
|
|
fi
|
|
|
|
mv $i .Recover
|
|
|
|
fi
|
|
|
|
mv new $i
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
|
1997-02-22 01:42:27 +00:00
|
|
|
d30v_files="ChangeLog configure.tgt Makefile.in"
|
|
|
|
|
|
|
|
if ( echo $* | grep keep\-d30v > /dev/null ) ; then
|
|
|
|
for i in $d30v_files ; do
|
|
|
|
if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Keeping d30v stuff in $i
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
else
|
|
|
|
for i in $d30v_files ; do
|
|
|
|
if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Removing traces of \"d30v\" from $i...
|
|
|
|
fi
|
|
|
|
cp $i new
|
|
|
|
sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/d' < $i > new
|
|
|
|
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Caching $i in .Recover...
|
|
|
|
fi
|
|
|
|
mv $i .Recover
|
|
|
|
fi
|
|
|
|
mv new $i
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
|
1996-08-22 22:32:21 +00:00
|
|
|
for i in * ; do
|
|
|
|
if test ! -d $i && (grep sanitize $i > /dev/null) ; then
|
|
|
|
echo '***' Some mentions of Sanitize are still left in $i! 1>&2
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
1994-11-24 22:02:18 +00:00
|
|
|
#
|
1991-05-23 21:49:14 +00:00
|
|
|
# End of file.
|