5ab6ca68fd
* 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.
94 lines
1.5 KiB
Plaintext
94 lines
1.5 KiB
Plaintext
# .Sanitize for devo/binutils.
|
|
|
|
# Each directory to survive its way into a release will need a file
|
|
# 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
|
|
# done in this directory.
|
|
|
|
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:
|
|
|
|
ChangeLog
|
|
Makefile.in
|
|
NEWS
|
|
README
|
|
TODO
|
|
acconfig.h
|
|
aclocal.m4
|
|
alloca.c
|
|
ar.1
|
|
ar.c
|
|
arlex.l
|
|
arparse.y
|
|
arsup.c
|
|
arsup.h
|
|
binutils.texi
|
|
bucomm.c
|
|
bucomm.h
|
|
coffdump.c
|
|
coffgrok.c
|
|
coffgrok.h
|
|
config
|
|
config.h.in
|
|
configure
|
|
configure.bat
|
|
configure.in
|
|
cxxfilt.man
|
|
dlltool.c
|
|
defparse.y
|
|
deflex.l
|
|
filemode.c
|
|
gmalloc.c
|
|
is-ranlib.c
|
|
is-strip.c
|
|
maybe-ranlib.c
|
|
maybe-strip.c
|
|
mpw-config.in
|
|
mpw-make.in
|
|
nlmconv.1
|
|
nlmconv.c
|
|
nlmconv.h
|
|
nlmheader.y
|
|
nm.1
|
|
nm.c
|
|
not-ranlib.c
|
|
not-strip.c
|
|
objcopy.1
|
|
objcopy.c
|
|
objdump.1
|
|
objdump.c
|
|
ranlib.1
|
|
ranlib.sh
|
|
sanity.sh
|
|
size.1
|
|
size.c
|
|
srconv.c
|
|
strings.1
|
|
strings.c
|
|
strip.1
|
|
sysdump.c
|
|
sysinfo.y
|
|
syslex.l
|
|
sysroff.info
|
|
testsuite
|
|
version.c
|
|
|
|
Things-to-lose:
|
|
|
|
Do-last:
|