old-cross-binutils/binutils/.Sanitize

149 lines
2.5 KiB
Text
Raw Normal View History

1998-04-22 16:00:14 +00:00
# .Sanitize for devo/binutils
1991-05-23 21:49:14 +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
Makefile.am
1991-05-23 21:49:14 +00:00
Makefile.in
1993-02-13 08:52:56 +00:00
NEWS
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
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
addr2line.1
addr2line.c
ar.1
ar.c
arlex.l
1992-05-01 23:30:01 +00:00
arparse.y
arsup.c
arsup.h
binutils.texi
1991-05-23 21:49:14 +00:00
bucomm.c
bucomm.h
budbg.h
coffdump.c
coffgrok.c
coffgrok.h
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
configure.com
1991-05-23 21:49:14 +00:00
configure.in
1994-06-03 21:36:26 +00:00
cxxfilt.man
debug.c
debug.h
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
ieee.c
is-ranlib.c
is-strip.c
mac-binutils.r
makefile.vms
maybe-ranlib.c
maybe-strip.c
1995-04-11 18:45:25 +00:00
mpw-config.in
mpw-make.sed
nlmconv.1
1993-08-10 17:50:28 +00:00
nlmconv.c
nlmconv.h
nlmheader.y
nm.1
1991-05-23 21:49:14 +00:00
nm.c
not-ranlib.c
not-strip.c
objcopy.1
objcopy.c
objdump.1
1991-05-23 21:49:14 +00:00
objdump.c
1998-04-22 16:00:14 +00:00
po
prdbg.c
ranlib.1
ranlib.sh
rclex.l
rcparse.y
1998-04-22 16:00:14 +00:00
rdcoff.c
rddbg.c
resbin.c
rescoff.c
resrc.c
1992-05-01 23:30:01 +00:00
sanity.sh
size.1
1991-05-23 21:49:14 +00:00
size.c
srconv.c
stabs.c
stamp-h.in
strings.1
strings.c
strip.1
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
windres.c
1998-04-22 16:00:14 +00:00
windres.h
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
# 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
xgettext `cat po/POTFILES.in` -o po/binutils.pot
1998-04-22 16:00:14 +00:00
# eof