1998-04-22 16:00:14 +00:00
|
|
|
# .Sanitize for devo/binutils
|
1991-05-23 21:49:14 +00:00
|
|
|
|
1994-01-23 00:34:31 +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 03:46:17 +00:00
|
|
|
# done in this directory.
|
1991-05-23 21:49:14 +00:00
|
|
|
|
|
|
|
Do-first:
|
|
|
|
|
1998-04-22 16:00:14 +00:00
|
|
|
|
1991-05-23 21:49:14 +00:00
|
|
|
# All files listed between the "Things-to-keep:" line and the
|
1998-04-22 16:00:14 +00:00
|
|
|
# "Do-last:" line will be kept. All other files will be removed.
|
1991-05-23 21:49:14 +00:00
|
|
|
# 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:
|
|
|
|
|
|
|
|
ChangeLog
|
1997-08-01 03:49:39 +00:00
|
|
|
Makefile.am
|
1991-05-23 21:49:14 +00:00
|
|
|
Makefile.in
|
1993-02-13 08:52:56 +00:00
|
|
|
NEWS
|
1991-12-08 01:14:09 +00:00
|
|
|
README
|
* configure.in: Rewrite to use autoconf.
* aclocal.m4: New file.
* configure: New file, built by autoconf.
* acconfig.h: New file.
* config.h.in: New file, built by autoheader.
* Makefile.in: Various changes for new configure script. Also:
(PROGS): Remove $(SYSINFO_PROG).
(ALL_CFLAGS): Remove $(TDEFINES).
(version.o): Use $(ALL_CFLAGS).
(cplus-dem.o, dlltool.o, nlmconv.o): Likewise.
(sysdump.o): Depend upon bucomm.h and config.h.
(srconv.o, arsup.o, strings.o): Depend upon config.h.
(filemode.o): Don't depend upon ../bfd/sysdep.h.
(bucomm.o): Depend upon config.h, not ../bfd/sysdep.h.
(size.o, objdump.o, nm.o, ar.o, objcopy.o): Likewise.
(nlmheader.o, nlmconv.o): Likewise.
(distclean): Don't remove sysdep.h.
* bucomm.h: Include "ansidecl.h", <stdio.h>, and "config.h".
Include "fopen-same.h" or "fopen-bin.h", based on
USE_BINARY_FOPEN. Include <errno.h>, and declare errno if it is
not a macro. Include <unistd.h>, <string.h>, <strings.h>,
<stdlib.h>, and <fcntl.h> if they are present. Declare strchr,
strrchr, and strstr if no string header file exists. Include
<sys/file.h> if it exists and <fcntl.h> does not. Define
O_RDONLY and O_RDWR if necessary.
* ar.c: Don't include "sysdep.h". Do include <sys/types.h> and
<sys/stat.h>. Use HAVE_GOOD_UTIME_H rather than POSIX_UTIME. Use
HAVE_UTIMES rather than !USE_UTIME. Don't include <errno.h>, and
don't declare errno.
* arsup.c: Don't include <sysdep.h>.
* bucomm.c: Don't include "sysdep.h". Include <stdio.h>,
<sys/types.h>, and <sys/stat.h>. Include <time.h> if it defines
time_t. Define time_t if necessary.
* coffdump.c: Don't include "sysdep.h".
* coffgrok.c, filemode.c, nlmconv.c, size.c: Likewise.
* srconv.c, strings.c: Likewise.
* nm.c: Don't include "sysdep.h". Don't try to define HAVE_SBRK.
* objcopy.c: Don't include "sysdep.h". Include <sys/types.h> and
<sys/stat.h>.
(simple_copy): Use creat rather than assuming that O_CREAT is
defined.
* objdump.c: Don't include "sysdep.h". Use
NEED_DECLARATION_PRINTF rather than !FPRINTF_ALREADY_DECLARED.
* sysdump.c: Include "bfd.h" and "bucomm.h". Don't include
"sysdep.h" or <stdlib.h>.
(dump_symbol_info): Rename from symbol_info. Change all callers.
1995-09-06 00:52:07 +00:00
|
|
|
acconfig.h
|
1997-08-01 03:49:39 +00:00
|
|
|
acinclude.m4
|
* configure.in: Rewrite to use autoconf.
* aclocal.m4: New file.
* configure: New file, built by autoconf.
* acconfig.h: New file.
* config.h.in: New file, built by autoheader.
* Makefile.in: Various changes for new configure script. Also:
(PROGS): Remove $(SYSINFO_PROG).
(ALL_CFLAGS): Remove $(TDEFINES).
(version.o): Use $(ALL_CFLAGS).
(cplus-dem.o, dlltool.o, nlmconv.o): Likewise.
(sysdump.o): Depend upon bucomm.h and config.h.
(srconv.o, arsup.o, strings.o): Depend upon config.h.
(filemode.o): Don't depend upon ../bfd/sysdep.h.
(bucomm.o): Depend upon config.h, not ../bfd/sysdep.h.
(size.o, objdump.o, nm.o, ar.o, objcopy.o): Likewise.
(nlmheader.o, nlmconv.o): Likewise.
(distclean): Don't remove sysdep.h.
* bucomm.h: Include "ansidecl.h", <stdio.h>, and "config.h".
Include "fopen-same.h" or "fopen-bin.h", based on
USE_BINARY_FOPEN. Include <errno.h>, and declare errno if it is
not a macro. Include <unistd.h>, <string.h>, <strings.h>,
<stdlib.h>, and <fcntl.h> if they are present. Declare strchr,
strrchr, and strstr if no string header file exists. Include
<sys/file.h> if it exists and <fcntl.h> does not. Define
O_RDONLY and O_RDWR if necessary.
* ar.c: Don't include "sysdep.h". Do include <sys/types.h> and
<sys/stat.h>. Use HAVE_GOOD_UTIME_H rather than POSIX_UTIME. Use
HAVE_UTIMES rather than !USE_UTIME. Don't include <errno.h>, and
don't declare errno.
* arsup.c: Don't include <sysdep.h>.
* bucomm.c: Don't include "sysdep.h". Include <stdio.h>,
<sys/types.h>, and <sys/stat.h>. Include <time.h> if it defines
time_t. Define time_t if necessary.
* coffdump.c: Don't include "sysdep.h".
* coffgrok.c, filemode.c, nlmconv.c, size.c: Likewise.
* srconv.c, strings.c: Likewise.
* nm.c: Don't include "sysdep.h". Don't try to define HAVE_SBRK.
* objcopy.c: Don't include "sysdep.h". Include <sys/types.h> and
<sys/stat.h>.
(simple_copy): Use creat rather than assuming that O_CREAT is
defined.
* objdump.c: Don't include "sysdep.h". Use
NEED_DECLARATION_PRINTF rather than !FPRINTF_ALREADY_DECLARED.
* sysdump.c: Include "bfd.h" and "bucomm.h". Don't include
"sysdep.h" or <stdlib.h>.
(dump_symbol_info): Rename from symbol_info. Change all callers.
1995-09-06 00:52:07 +00:00
|
|
|
aclocal.m4
|
1997-03-27 21:35:00 +00:00
|
|
|
addr2line.1
|
|
|
|
addr2line.c
|
1991-11-06 09:06:02 +00:00
|
|
|
ar.1
|
1991-12-08 01:14:09 +00:00
|
|
|
ar.c
|
1992-04-15 21:36:37 +00:00
|
|
|
arlex.l
|
1992-05-01 23:30:01 +00:00
|
|
|
arparse.y
|
1992-04-15 21:36:37 +00:00
|
|
|
arsup.c
|
|
|
|
arsup.h
|
1991-11-15 23:34:35 +00:00
|
|
|
binutils.texi
|
1991-05-23 21:49:14 +00:00
|
|
|
bucomm.c
|
1991-12-08 01:14:09 +00:00
|
|
|
bucomm.h
|
1996-01-02 22:48:58 +00:00
|
|
|
budbg.h
|
1994-03-08 21:53:19 +00:00
|
|
|
coffdump.c
|
|
|
|
coffgrok.c
|
|
|
|
coffgrok.h
|
1995-09-07 17:12:26 +00:00
|
|
|
config.in
|
* configure.in: Rewrite to use autoconf.
* aclocal.m4: New file.
* configure: New file, built by autoconf.
* acconfig.h: New file.
* config.h.in: New file, built by autoheader.
* Makefile.in: Various changes for new configure script. Also:
(PROGS): Remove $(SYSINFO_PROG).
(ALL_CFLAGS): Remove $(TDEFINES).
(version.o): Use $(ALL_CFLAGS).
(cplus-dem.o, dlltool.o, nlmconv.o): Likewise.
(sysdump.o): Depend upon bucomm.h and config.h.
(srconv.o, arsup.o, strings.o): Depend upon config.h.
(filemode.o): Don't depend upon ../bfd/sysdep.h.
(bucomm.o): Depend upon config.h, not ../bfd/sysdep.h.
(size.o, objdump.o, nm.o, ar.o, objcopy.o): Likewise.
(nlmheader.o, nlmconv.o): Likewise.
(distclean): Don't remove sysdep.h.
* bucomm.h: Include "ansidecl.h", <stdio.h>, and "config.h".
Include "fopen-same.h" or "fopen-bin.h", based on
USE_BINARY_FOPEN. Include <errno.h>, and declare errno if it is
not a macro. Include <unistd.h>, <string.h>, <strings.h>,
<stdlib.h>, and <fcntl.h> if they are present. Declare strchr,
strrchr, and strstr if no string header file exists. Include
<sys/file.h> if it exists and <fcntl.h> does not. Define
O_RDONLY and O_RDWR if necessary.
* ar.c: Don't include "sysdep.h". Do include <sys/types.h> and
<sys/stat.h>. Use HAVE_GOOD_UTIME_H rather than POSIX_UTIME. Use
HAVE_UTIMES rather than !USE_UTIME. Don't include <errno.h>, and
don't declare errno.
* arsup.c: Don't include <sysdep.h>.
* bucomm.c: Don't include "sysdep.h". Include <stdio.h>,
<sys/types.h>, and <sys/stat.h>. Include <time.h> if it defines
time_t. Define time_t if necessary.
* coffdump.c: Don't include "sysdep.h".
* coffgrok.c, filemode.c, nlmconv.c, size.c: Likewise.
* srconv.c, strings.c: Likewise.
* nm.c: Don't include "sysdep.h". Don't try to define HAVE_SBRK.
* objcopy.c: Don't include "sysdep.h". Include <sys/types.h> and
<sys/stat.h>.
(simple_copy): Use creat rather than assuming that O_CREAT is
defined.
* objdump.c: Don't include "sysdep.h". Use
NEED_DECLARATION_PRINTF rather than !FPRINTF_ALREADY_DECLARED.
* sysdump.c: Include "bfd.h" and "bucomm.h". Don't include
"sysdep.h" or <stdlib.h>.
(dump_symbol_info): Rename from symbol_info. Change all callers.
1995-09-06 00:52:07 +00:00
|
|
|
configure
|
1992-02-21 23:06:42 +00:00
|
|
|
configure.bat
|
1997-04-01 21:22:54 +00:00
|
|
|
configure.com
|
1991-05-23 21:49:14 +00:00
|
|
|
configure.in
|
1994-06-03 21:36:26 +00:00
|
|
|
cxxfilt.man
|
1996-01-02 22:48:58 +00:00
|
|
|
debug.c
|
|
|
|
debug.h
|
1995-06-14 20:28:36 +00:00
|
|
|
deflex.l
|
1998-04-22 16:00:14 +00:00
|
|
|
defparse.y
|
|
|
|
dep-in.sed
|
|
|
|
dlltool.c
|
|
|
|
dlltool.h
|
1991-05-23 21:49:14 +00:00
|
|
|
filemode.c
|
1996-01-04 21:35:04 +00:00
|
|
|
ieee.c
|
1991-12-08 01:14:09 +00:00
|
|
|
is-ranlib.c
|
|
|
|
is-strip.c
|
1995-09-29 03:11:46 +00:00
|
|
|
mac-binutils.r
|
1996-06-18 19:10:39 +00:00
|
|
|
makefile.vms
|
1991-12-08 01:14:09 +00:00
|
|
|
maybe-ranlib.c
|
|
|
|
maybe-strip.c
|
1995-04-11 18:45:25 +00:00
|
|
|
mpw-config.in
|
1995-09-29 03:11:46 +00:00
|
|
|
mpw-make.sed
|
1993-11-17 22:51:16 +00:00
|
|
|
nlmconv.1
|
1993-08-10 17:50:28 +00:00
|
|
|
nlmconv.c
|
|
|
|
nlmconv.h
|
|
|
|
nlmheader.y
|
1991-12-08 01:14:09 +00:00
|
|
|
nm.1
|
1991-05-23 21:49:14 +00:00
|
|
|
nm.c
|
1991-12-08 01:14:09 +00:00
|
|
|
not-ranlib.c
|
|
|
|
not-strip.c
|
1993-06-03 17:44:34 +00:00
|
|
|
objcopy.1
|
1993-05-12 19:08:53 +00:00
|
|
|
objcopy.c
|
1991-12-08 01:14:09 +00:00
|
|
|
objdump.1
|
1991-05-23 21:49:14 +00:00
|
|
|
objdump.c
|
1998-04-22 16:00:14 +00:00
|
|
|
po
|
1996-01-02 22:48:58 +00:00
|
|
|
prdbg.c
|
1991-12-08 01:14:09 +00:00
|
|
|
ranlib.1
|
1991-10-07 23:14:30 +00:00
|
|
|
ranlib.sh
|
1997-06-22 21:35:35 +00:00
|
|
|
rclex.l
|
|
|
|
rcparse.y
|
1998-04-22 16:00:14 +00:00
|
|
|
rdcoff.c
|
|
|
|
rddbg.c
|
1997-06-26 00:59:44 +00:00
|
|
|
resbin.c
|
1997-06-23 00:08:54 +00:00
|
|
|
rescoff.c
|
1997-06-22 21:35:35 +00:00
|
|
|
resrc.c
|
1992-05-01 23:30:01 +00:00
|
|
|
sanity.sh
|
1991-12-08 01:14:09 +00:00
|
|
|
size.1
|
1991-05-23 21:49:14 +00:00
|
|
|
size.c
|
1994-03-08 21:53:19 +00:00
|
|
|
srconv.c
|
1996-01-02 22:48:58 +00:00
|
|
|
stabs.c
|
1997-08-01 03:49:39 +00:00
|
|
|
stamp-h.in
|
1993-06-26 06:37:17 +00:00
|
|
|
strings.1
|
|
|
|
strings.c
|
1991-12-08 01:14:09 +00:00
|
|
|
strip.1
|
1994-03-08 21:53:19 +00:00
|
|
|
sysdump.c
|
|
|
|
sysinfo.y
|
|
|
|
syslex.l
|
|
|
|
sysroff.info
|
1993-04-22 04:38:31 +00:00
|
|
|
testsuite
|
1991-05-23 21:49:14 +00:00
|
|
|
version.c
|
1997-06-22 21:35:35 +00:00
|
|
|
windres.c
|
1998-04-22 16:00:14 +00:00
|
|
|
windres.h
|
1996-03-20 21:51:25 +00:00
|
|
|
wrstabs.c
|
1991-05-23 21:49:14 +00:00
|
|
|
|
1993-05-27 06:44:29 +00:00
|
|
|
Things-to-lose:
|
|
|
|
|
1998-04-22 16:00:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
# The lines between the "Do-last:" line and the end of the file
|
|
|
|
# are executed as a /bin/sh shell script after everything else is
|
|
|
|
# done.
|
|
|
|
|
1991-05-23 21:49:14 +00:00
|
|
|
Do-last:
|
1998-04-22 16:00:14 +00:00
|
|
|
|
1998-04-22 22:40:45 +00:00
|
|
|
# This must come after all other sanitizations. Re-sanitize the .pot
|
|
|
|
# file.
|
|
|
|
if [ -n "${verbose}" ]; then
|
|
|
|
echo Re-computing files for gettext ...
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -n "${safe}" -a ! -f po/.Recover/POTFILES.in ]; then
|
|
|
|
if [ -n "${verbose}" ]; then
|
|
|
|
echo Caching po/POTFILES.in in .Recover...
|
|
|
|
fi
|
|
|
|
mv po/POTFILES.in po/.Recover
|
|
|
|
fi
|
|
|
|
find . -name '*.[ch]' | sed -e 's,^\./,,' > po/POTFILES.in
|
|
|
|
|
|
|
|
if [ -n "${safe}" -a ! -f po/.Recover/binutils.pot ]; then
|
|
|
|
if [ -n "${verbose}" ]; then
|
|
|
|
echo Caching po/binutils.pot in .Recover...
|
|
|
|
fi
|
|
|
|
mv po/binutils.pot po/.Recover
|
|
|
|
fi
|
1998-04-23 05:17:30 +00:00
|
|
|
# If this fails, Sanitization must fail.
|
1998-04-29 00:11:07 +00:00
|
|
|
xgettext -c -k _ -k N_ -f po/POTFILES.in -o po/binutils.pot || exit 1
|
1998-04-22 22:40:45 +00:00
|
|
|
|
1998-04-22 16:00:14 +00:00
|
|
|
# eof
|