1997-08-01 05:49:39 +02:00
|
|
|
# Makefile.in generated automatically by automake 1.2 from Makefile.am
|
1991-04-04 20:37:36 +02:00
|
|
|
|
1997-08-01 05:49:39 +02:00
|
|
|
# Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
|
|
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
|
|
# gives unlimited permission to copy, distribute and modify it.
|
1991-11-08 01:14:07 +01:00
|
|
|
|
1992-04-21 22:43:28 +02:00
|
|
|
|
1997-08-01 05:49:39 +02:00
|
|
|
SHELL = /bin/sh
|
|
|
|
|
|
|
|
srcdir = @srcdir@
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
prefix = @prefix@
|
* 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 02:52:07 +02:00
|
|
|
exec_prefix = @exec_prefix@
|
1992-04-21 22:43:28 +02:00
|
|
|
|
1997-08-01 05:49:39 +02:00
|
|
|
bindir = @bindir@
|
|
|
|
sbindir = @sbindir@
|
|
|
|
libexecdir = @libexecdir@
|
1996-10-01 21:10:40 +02:00
|
|
|
datadir = @datadir@
|
1997-08-01 05:49:39 +02:00
|
|
|
sysconfdir = @sysconfdir@
|
|
|
|
sharedstatedir = @sharedstatedir@
|
|
|
|
localstatedir = @localstatedir@
|
|
|
|
libdir = @libdir@
|
1996-10-01 21:10:40 +02:00
|
|
|
infodir = @infodir@
|
1997-08-01 05:49:39 +02:00
|
|
|
mandir = @mandir@
|
1996-10-01 21:10:40 +02:00
|
|
|
includedir = @includedir@
|
1997-08-01 05:49:39 +02:00
|
|
|
oldincludedir = /usr/include
|
1991-11-08 01:14:07 +01:00
|
|
|
|
1997-08-01 05:49:39 +02:00
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
|
|
|
|
|
|
top_builddir = .
|
|
|
|
|
|
|
|
ACLOCAL = @ACLOCAL@
|
|
|
|
AUTOCONF = @AUTOCONF@
|
|
|
|
AUTOMAKE = @AUTOMAKE@
|
|
|
|
AUTOHEADER = @AUTOHEADER@
|
1992-04-21 22:43:28 +02:00
|
|
|
|
1997-04-15 19:45:20 +02:00
|
|
|
INSTALL = @INSTALL@
|
1996-10-01 21:10:40 +02:00
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
1997-08-01 05:49:39 +02:00
|
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
|
|
transform = @program_transform_name@
|
|
|
|
|
|
|
|
NORMAL_INSTALL = true
|
|
|
|
PRE_INSTALL = true
|
|
|
|
POST_INSTALL = true
|
|
|
|
NORMAL_UNINSTALL = true
|
|
|
|
PRE_UNINSTALL = true
|
|
|
|
POST_UNINSTALL = true
|
|
|
|
build_alias = @build_alias@
|
|
|
|
build_triplet = @build@
|
|
|
|
host_alias = @host_alias@
|
|
|
|
host_triplet = @host@
|
|
|
|
target_alias = @target_alias@
|
|
|
|
target_triplet = @target@
|
|
|
|
AR = @AR@
|
|
|
|
BUILD_DLLTOOL = @BUILD_DLLTOOL@
|
|
|
|
BUILD_NLMCONV = @BUILD_NLMCONV@
|
|
|
|
BUILD_SRCONV = @BUILD_SRCONV@
|
|
|
|
BUILD_WINDRES = @BUILD_WINDRES@
|
1995-09-04 23:14:33 +02:00
|
|
|
CC = @CC@
|
1997-08-01 05:49:39 +02:00
|
|
|
DLLTOOL_DEFS = @DLLTOOL_DEFS@
|
|
|
|
EXEEXT = @EXEEXT@
|
|
|
|
HDEFINES = @HDEFINES@
|
|
|
|
LD = @LD@
|
|
|
|
LIBTOOL = @LIBTOOL@
|
|
|
|
LN_S = @LN_S@
|
|
|
|
MAINT = @MAINT@
|
|
|
|
MAKEINFO = @MAKEINFO@
|
|
|
|
NLMCONV_DEFS = @NLMCONV_DEFS@
|
|
|
|
PACKAGE = @PACKAGE@
|
|
|
|
RANLIB = @RANLIB@
|
|
|
|
UNDERSCORE = @UNDERSCORE@
|
|
|
|
VERSION = @VERSION@
|
|
|
|
|
|
|
|
AUTOMAKE_OPTIONS = dejagnu
|
1992-09-02 09:26:15 +02:00
|
|
|
|
1997-08-01 05:49:39 +02:00
|
|
|
tooldir = $(exec_prefix)/$(target_alias)
|
1992-05-22 22:44:24 +02:00
|
|
|
|
1997-08-01 05:49:39 +02:00
|
|
|
CC_FOR_BUILD = @CC_FOR_BUILD@
|
1991-10-08 01:56:23 +01:00
|
|
|
|
1997-08-01 05:49:39 +02:00
|
|
|
YACC = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L../bison/bison ; else echo bison -y ; fi`
|
|
|
|
YFLAGS = -d
|
|
|
|
LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo flex ; fi`
|
1991-10-08 23:01:41 +01:00
|
|
|
|
1991-10-08 00:14:30 +01:00
|
|
|
# these two are almost the same program
|
1991-04-10 01:44:28 +02:00
|
|
|
AR_PROG=ar
|
|
|
|
RANLIB_PROG=ranlib
|
1991-04-04 20:37:36 +02:00
|
|
|
|
1993-05-12 21:08:53 +02:00
|
|
|
# objcopy and strip should be the same program
|
|
|
|
OBJCOPY_PROG=objcopy
|
1997-08-05 06:04:31 +02:00
|
|
|
STRIP_PROG=strip-new
|
1991-04-04 20:37:36 +02:00
|
|
|
|
1993-06-26 08:38:57 +02:00
|
|
|
STRINGS_PROG=strings
|
|
|
|
|
1991-04-04 20:37:36 +02:00
|
|
|
# These should all be the same program too.
|
1991-04-10 01:44:28 +02:00
|
|
|
SIZE_PROG=size
|
1997-08-05 06:04:31 +02:00
|
|
|
NM_PROG=nm-new
|
1991-04-10 01:44:28 +02:00
|
|
|
OBJDUMP_PROG=objdump
|
1991-04-04 20:37:36 +02:00
|
|
|
|
1993-02-12 19:08:35 +01:00
|
|
|
# This is the demangler, as a standalone program.
|
1994-05-27 18:58:05 +02:00
|
|
|
# Note: This one is used as the installed name too, unlike the above.
|
1993-05-12 21:08:53 +02:00
|
|
|
DEMANGLER_PROG=c++filt
|
1993-02-12 19:08:35 +01:00
|
|
|
|
1997-04-03 20:19:26 +02:00
|
|
|
ADDR2LINE_PROG=addr2line
|
|
|
|
|
1993-08-11 22:14:37 +02:00
|
|
|
NLMCONV_PROG=nlmconv
|
1995-08-30 20:03:16 +02:00
|
|
|
DLLTOOL_PROG=dlltool
|
1997-06-22 23:35:35 +02:00
|
|
|
WINDRES_PROG=windres
|
1993-08-11 22:14:37 +02:00
|
|
|
|
1994-05-27 18:58:05 +02:00
|
|
|
SRCONV_PROG=srconv sysdump coffdump
|
|
|
|
|
1997-08-01 05:49:39 +02:00
|
|
|
man_MANS = ar.1 nm.1 objdump.1 ranlib.1 size.1 strings.1 strip.1 objcopy.1 \
|
|
|
|
addr2line.1 nlmconv.1 $(DEMANGLER_PROG).1
|
1994-03-08 22:53:19 +01:00
|
|
|
|
1997-06-22 23:35:35 +02:00
|
|
|
PROGS = $(SIZE_PROG) $(OBJDUMP_PROG) $(NM_PROG) $(AR_PROG) $(STRINGS_PROG) $(STRIP_PROG) $(RANLIB_PROG) $(DEMANGLER_PROG) $(OBJCOPY_PROG) $(ADDR2LINE_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@
|
1997-08-01 05:49:39 +02:00
|
|
|
|
|
|
|
bin_PROGRAMS = $(SIZE_PROG) $(OBJDUMP_PROG) $(AR_PROG) $(STRINGS_PROG) \
|
|
|
|
$(RANLIB_PROG) $(DEMANGLER_PROG) $(OBJCOPY_PROG) $(ADDR2LINE_PROG) \
|
|
|
|
@BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@
|
|
|
|
|
|
|
|
noinst_PROGRAMS = $(NM_PROG) $(STRIP_PROG)
|
|
|
|
|
|
|
|
EXTRA_PROGRAMS = $(NLMCONV_PROG) $(SRCONV_PROG) $(DLLTOOL_PROG) $(WINDRES_PROG)
|
1991-04-04 20:37:36 +02:00
|
|
|
|
1994-06-08 07:05:21 +02:00
|
|
|
# Stuff that goes in tooldir/ if appropriate
|
1997-08-05 06:04:31 +02:00
|
|
|
TOOL_PROGS = nm-new strip-new ar ranlib dlltool
|
1994-06-08 07:05:21 +02:00
|
|
|
|
1991-11-05 01:06:29 +01:00
|
|
|
BASEDIR = $(srcdir)/..
|
1993-08-12 20:00:36 +02:00
|
|
|
BFDDIR = $(BASEDIR)/bfd
|
|
|
|
INCDIR = $(BASEDIR)/include
|
1997-08-01 05:49:39 +02:00
|
|
|
|
1996-01-04 22:35:04 +01:00
|
|
|
DEP = mkdep
|
1991-04-10 01:44:28 +02:00
|
|
|
|
1997-08-01 05:49:39 +02:00
|
|
|
INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) @HDEFINES@
|
1994-01-23 01:31:14 +01:00
|
|
|
|
1997-06-22 23:35:35 +02:00
|
|
|
HFILES = arsup.h bucomm.h budbg.h coffgrok.h debug.h nlmconv.h dlltool.h \
|
|
|
|
windres.h
|
1996-01-04 22:35:04 +01:00
|
|
|
|
|
|
|
GENERATED_HFILES = arparse.h sysroff.h sysinfo.h defparse.h
|
|
|
|
|
1997-04-03 20:19:26 +02:00
|
|
|
CFILES = addr2line.c ar.c arsup.c bucomm.c coffdump.c coffgrok.c debug.c \
|
|
|
|
dlltool.c filemode.c ieee.c is-ranlib.c is-strip.c maybe-ranlib.c \
|
1996-01-04 22:35:04 +01:00
|
|
|
maybe-strip.c nlmconv.c nm.c not-ranlib.c not-strip.c \
|
1996-04-16 19:53:58 +02:00
|
|
|
objcopy.c objdump.c prdbg.c rdcoff.c rddbg.c size.c srconv.c \
|
1997-06-22 23:35:35 +02:00
|
|
|
stabs.c strings.c sysdump.c version.c wrstabs.c \
|
1997-06-26 02:59:44 +02:00
|
|
|
windres.c resrc.c rescoff.c resbin.c
|
1996-01-04 22:35:04 +01:00
|
|
|
|
|
|
|
GENERATED_CFILES = \
|
|
|
|
underscore.c arparse.c arlex.c sysroff.c sysinfo.c syslex.c \
|
1997-06-22 23:35:35 +02:00
|
|
|
defparse.c deflex.c nlmheader.c rcparse.c rclex.c
|
1996-01-04 22:35:04 +01:00
|
|
|
|
1997-08-01 05:49:39 +02:00
|
|
|
DEBUG_SRCS = rddbg.c debug.c stabs.c ieee.c rdcoff.c
|
|
|
|
WRITE_DEBUG_SRCS = $(DEBUG_SRCS) wrstabs.c
|
1991-04-04 20:37:36 +02:00
|
|
|
|
|
|
|
# Code shared by all the binutils.
|
1997-08-01 05:49:39 +02:00
|
|
|
BULIBS = bucomm.c version.c filemode.c
|
1991-04-04 20:37:36 +02:00
|
|
|
|
1997-08-01 05:49:39 +02:00
|
|
|
BFDLIB = ../bfd/libbfd.la
|
1991-04-04 20:37:36 +02:00
|
|
|
|
1997-08-01 05:49:39 +02:00
|
|
|
OPCODES = ../opcodes/libopcodes.la
|
1996-02-07 20:19:22 +01:00
|
|
|
|
1997-08-01 05:49:39 +02:00
|
|
|
LIBIBERTY = ../libiberty/libiberty.a
|
1993-05-04 04:12:50 +02:00
|
|
|
|
1995-11-22 19:18:21 +01:00
|
|
|
EXPECT = `if [ -f $$r/../expect/expect ] ; then \
|
|
|
|
echo $$r/../expect/expect ; \
|
1995-08-30 20:03:16 +02:00
|
|
|
else echo expect ; fi`
|
|
|
|
RUNTEST = `if [ -f ${srcdir}/../dejagnu/runtest ] ; then \
|
|
|
|
echo ${srcdir}/../dejagnu/runtest ; \
|
|
|
|
else echo runtest ; fi`
|
|
|
|
|
1995-11-16 11:12:33 +01:00
|
|
|
CC_FOR_TARGET = ` \
|
|
|
|
if [ -f $$r/../gcc/xgcc ] ; then \
|
|
|
|
if [ -f $$r/../newlib/Makefile ] ; then \
|
|
|
|
echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
|
|
|
|
else \
|
|
|
|
echo $$r/../gcc/xgcc -B$$r/../gcc/; \
|
|
|
|
fi; \
|
|
|
|
else \
|
1995-11-22 19:18:21 +01:00
|
|
|
if [ "@host@" = "@target@" ] ; then \
|
1995-11-16 11:12:33 +01:00
|
|
|
echo $(CC); \
|
|
|
|
else \
|
|
|
|
echo gcc | sed '$(program_transform_name)'; \
|
|
|
|
fi; \
|
|
|
|
fi`
|
|
|
|
|
1997-08-01 05:49:39 +02:00
|
|
|
info_TEXINFOS = binutils.texi
|
1992-04-21 22:43:28 +02:00
|
|
|
|
1997-08-01 05:49:39 +02:00
|
|
|
LDADD = $(BFDLIB) $(LIBIBERTY)
|
|
|
|
|
|
|
|
size_SOURCES = size.c $(BULIBS)
|
|
|
|
|
|
|
|
objcopy_SOURCES = objcopy.c not-strip.c $(WRITE_DEBUG_SRCS) $(BULIBS)
|
|
|
|
|
|
|
|
strings_SOURCES = strings.c $(BULIBS)
|
|
|
|
|
|
|
|
strip_new_SOURCES = objcopy.c is-strip.c $(WRITE_DEBUG_SRCS) $(BULIBS)
|
|
|
|
|
|
|
|
nm_new_SOURCES = nm.c $(BULIBS)
|
|
|
|
|
|
|
|
objdump_SOURCES = objdump.c prdbg.c $(DEBUG_SRCS) $(BULIBS)
|
|
|
|
objdump_LDADD = $(OPCODES) $(BFDLIB) $(LIBIBERTY)
|
|
|
|
|
|
|
|
c__filt_SOURCES =
|
|
|
|
c__filt_LDADD = cplus-dem.o underscore.o $(LIBIBERTY)
|
|
|
|
|
|
|
|
ar_SOURCES = arparse.y arlex.l ar.c not-ranlib.c arsup.c $(BULIBS)
|
|
|
|
ar_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@
|
|
|
|
|
|
|
|
ranlib_SOURCES = ar.c is-ranlib.c arparse.y arlex.l arsup.c $(BULIBS)
|
|
|
|
ranlib_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@
|
|
|
|
|
|
|
|
addr2line_SOURCES = addr2line.c $(BULIBS)
|
|
|
|
|
|
|
|
srconv_SOURCES = srconv.c coffgrok.c $(BULIBS)
|
|
|
|
|
|
|
|
dlltool_SOURCES = dlltool.c defparse.y deflex.l $(BULIBS)
|
|
|
|
dlltool_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@
|
|
|
|
|
|
|
|
coffdump_SOURCES = coffdump.c coffgrok.c $(BULIBS)
|
|
|
|
|
|
|
|
sysdump_SOURCES = sysdump.c $(BULIBS)
|
|
|
|
|
|
|
|
nlmconv_SOURCES = nlmconv.c nlmheader.y $(BULIBS)
|
|
|
|
|
1997-08-04 17:51:44 +02:00
|
|
|
windres_SOURCES = windres.c resrc.c rescoff.c resbin.c rcparse.y rclex.l \
|
|
|
|
$(BULIBS)
|
1997-08-01 05:49:39 +02:00
|
|
|
windres_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@
|
|
|
|
|
|
|
|
CLEANFILES = dep.sed .dep .dep1
|
|
|
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
|
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
|
|
|
|
CONFIG_HEADER = config.h
|
|
|
|
CONFIG_CLEAN_FILES =
|
1997-08-04 18:05:31 +02:00
|
|
|
bin_PROGRAMS = size$(EXEEXT) objdump$(EXEEXT) ar$(EXEEXT) \
|
|
|
|
strings$(EXEEXT) ranlib$(EXEEXT) c++filt$(EXEEXT) objcopy$(EXEEXT) \
|
1997-08-04 21:32:56 +02:00
|
|
|
addr2line$(EXEEXT) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ \
|
|
|
|
@BUILD_WINDRES@
|
1997-08-05 06:04:31 +02:00
|
|
|
noinst_PROGRAMS = nm-new$(EXEEXT) strip-new$(EXEEXT)
|
1997-08-01 05:49:39 +02:00
|
|
|
PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
|
|
|
|
|
|
|
|
|
|
|
|
DEFS = @DEFS@ -I. -I$(srcdir) -I.
|
|
|
|
CPPFLAGS = @CPPFLAGS@
|
|
|
|
LDFLAGS = @LDFLAGS@
|
|
|
|
LIBS = @LIBS@
|
|
|
|
nlmconv_OBJECTS = nlmconv.o nlmheader.o bucomm.o version.o filemode.o
|
|
|
|
nlmconv_LDADD = $(LDADD)
|
|
|
|
nlmconv_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
nlmconv_LDFLAGS =
|
|
|
|
srconv_OBJECTS = srconv.o coffgrok.o bucomm.o version.o filemode.o
|
|
|
|
srconv_LDADD = $(LDADD)
|
|
|
|
srconv_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
srconv_LDFLAGS =
|
|
|
|
sysdump_OBJECTS = sysdump.o bucomm.o version.o filemode.o
|
|
|
|
sysdump_LDADD = $(LDADD)
|
|
|
|
sysdump_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
sysdump_LDFLAGS =
|
|
|
|
coffdump_OBJECTS = coffdump.o coffgrok.o bucomm.o version.o filemode.o
|
|
|
|
coffdump_LDADD = $(LDADD)
|
|
|
|
coffdump_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
coffdump_LDFLAGS =
|
|
|
|
dlltool_OBJECTS = dlltool.o defparse.o deflex.o bucomm.o version.o \
|
|
|
|
filemode.o
|
|
|
|
dlltool_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
dlltool_LDFLAGS =
|
|
|
|
windres_OBJECTS = windres.o resrc.o rescoff.o resbin.o rcparse.o \
|
1997-08-04 17:51:44 +02:00
|
|
|
rclex.o bucomm.o version.o filemode.o
|
1997-08-01 05:49:39 +02:00
|
|
|
windres_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
windres_LDFLAGS =
|
|
|
|
size_OBJECTS = size.o bucomm.o version.o filemode.o
|
|
|
|
size_LDADD = $(LDADD)
|
|
|
|
size_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
size_LDFLAGS =
|
|
|
|
objdump_OBJECTS = objdump.o prdbg.o rddbg.o debug.o stabs.o ieee.o \
|
|
|
|
rdcoff.o bucomm.o version.o filemode.o
|
|
|
|
objdump_DEPENDENCIES = ../opcodes/libopcodes.la ../bfd/libbfd.la \
|
|
|
|
../libiberty/libiberty.a
|
|
|
|
objdump_LDFLAGS =
|
|
|
|
ar_OBJECTS = arparse.o arlex.o ar.o not-ranlib.o arsup.o bucomm.o \
|
|
|
|
version.o filemode.o
|
|
|
|
ar_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
ar_LDFLAGS =
|
|
|
|
strings_OBJECTS = strings.o bucomm.o version.o filemode.o
|
|
|
|
strings_LDADD = $(LDADD)
|
|
|
|
strings_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
strings_LDFLAGS =
|
|
|
|
ranlib_OBJECTS = ar.o is-ranlib.o arparse.o arlex.o arsup.o bucomm.o \
|
|
|
|
version.o filemode.o
|
|
|
|
ranlib_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
ranlib_LDFLAGS =
|
|
|
|
c__filt_OBJECTS =
|
|
|
|
c__filt_DEPENDENCIES = cplus-dem.o underscore.o \
|
|
|
|
../libiberty/libiberty.a
|
|
|
|
c__filt_LDFLAGS =
|
|
|
|
objcopy_OBJECTS = objcopy.o not-strip.o rddbg.o debug.o stabs.o ieee.o \
|
|
|
|
rdcoff.o wrstabs.o bucomm.o version.o filemode.o
|
|
|
|
objcopy_LDADD = $(LDADD)
|
|
|
|
objcopy_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
objcopy_LDFLAGS =
|
|
|
|
addr2line_OBJECTS = addr2line.o bucomm.o version.o filemode.o
|
|
|
|
addr2line_LDADD = $(LDADD)
|
|
|
|
addr2line_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
addr2line_LDFLAGS =
|
|
|
|
nm_new_OBJECTS = nm.o bucomm.o version.o filemode.o
|
|
|
|
nm_new_LDADD = $(LDADD)
|
|
|
|
nm_new_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
nm_new_LDFLAGS =
|
|
|
|
strip_new_OBJECTS = objcopy.o is-strip.o rddbg.o debug.o stabs.o ieee.o \
|
|
|
|
rdcoff.o wrstabs.o bucomm.o version.o filemode.o
|
|
|
|
strip_new_LDADD = $(LDADD)
|
|
|
|
strip_new_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
strip_new_LDFLAGS =
|
|
|
|
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
|
|
|
LEXLIB = @LEXLIB@
|
|
|
|
YLWRAP = $(top_srcdir)/../ylwrap
|
|
|
|
CFLAGS = @CFLAGS@
|
|
|
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
|
|
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
|
|
|
LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
|
|
|
TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi`
|
|
|
|
TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
|
|
|
|
INFO_DEPS = binutils.info
|
|
|
|
DVIS = binutils.dvi
|
|
|
|
TEXINFOS = binutils.texi
|
|
|
|
MANS = ar.1 nm.1 objdump.1 ranlib.1 size.1 strings.1 strip.1 objcopy.1 addr2line.1 nlmconv.1 $(DEMANGLER_PROG).1
|
|
|
|
|
|
|
|
|
|
|
|
NROFF = nroff
|
|
|
|
DIST_COMMON = README ChangeLog Makefile.am Makefile.in NEWS acconfig.h \
|
|
|
|
acinclude.m4 aclocal.m4 arlex.c arparse.c config.in configure \
|
|
|
|
configure.in deflex.c defparse.c nlmheader.c rclex.c rcparse.c \
|
|
|
|
stamp-h.in
|
|
|
|
|
|
|
|
|
|
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
|
|
|
|
TAR = tar
|
|
|
|
GZIP = --best
|
|
|
|
SOURCES = $(nlmconv_SOURCES) $(srconv_SOURCES) $(sysdump_SOURCES) $(coffdump_SOURCES) $(dlltool_SOURCES) $(windres_SOURCES) $(size_SOURCES) $(objdump_SOURCES) $(ar_SOURCES) $(strings_SOURCES) $(ranlib_SOURCES) $(c__filt_SOURCES) $(objcopy_SOURCES) $(addr2line_SOURCES) $(nm_new_SOURCES) $(strip_new_SOURCES)
|
|
|
|
OBJECTS = $(nlmconv_OBJECTS) $(srconv_OBJECTS) $(sysdump_OBJECTS) $(coffdump_OBJECTS) $(dlltool_OBJECTS) $(windres_OBJECTS) $(size_OBJECTS) $(objdump_OBJECTS) $(ar_OBJECTS) $(strings_OBJECTS) $(ranlib_OBJECTS) $(c__filt_OBJECTS) $(objcopy_OBJECTS) $(addr2line_OBJECTS) $(nm_new_OBJECTS) $(strip_new_OBJECTS)
|
|
|
|
|
|
|
|
default: all
|
|
|
|
|
|
|
|
.SUFFIXES:
|
|
|
|
.SUFFIXES: .c .dvi .h .info .l .lo .o .ps .texi .texinfo .y
|
|
|
|
$(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
|
|
cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile
|
|
|
|
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
|
|
cd $(top_builddir) \
|
|
|
|
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
|
|
|
|
$(ACLOCAL_M4): @MAINT@ configure.in acinclude.m4
|
|
|
|
cd $(srcdir) && $(ACLOCAL)
|
|
|
|
|
|
|
|
config.status: $(srcdir)/configure
|
|
|
|
$(SHELL) ./config.status --recheck
|
|
|
|
$(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
|
|
|
cd $(srcdir) && $(AUTOCONF)
|
|
|
|
|
|
|
|
config.h: stamp-h
|
|
|
|
stamp-h: $(srcdir)/config.in $(top_builddir)/config.status
|
|
|
|
cd $(top_builddir) \
|
|
|
|
&& CONFIG_FILES= CONFIG_HEADERS=config.h:config.in \
|
|
|
|
$(SHELL) ./config.status
|
|
|
|
@echo timestamp > stamp-h
|
|
|
|
$(srcdir)/config.in: @MAINT@$(srcdir)/stamp-h.in
|
|
|
|
$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
|
|
|
|
cd $(top_srcdir) && $(AUTOHEADER)
|
|
|
|
@echo timestamp > $(srcdir)/stamp-h.in
|
|
|
|
|
|
|
|
mostlyclean-hdr:
|
|
|
|
|
|
|
|
clean-hdr:
|
|
|
|
|
|
|
|
distclean-hdr:
|
|
|
|
rm -f config.h
|
|
|
|
|
|
|
|
maintainer-clean-hdr:
|
|
|
|
|
|
|
|
mostlyclean-binPROGRAMS:
|
|
|
|
|
|
|
|
clean-binPROGRAMS:
|
1997-08-04 18:05:31 +02:00
|
|
|
test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
1997-08-01 05:49:39 +02:00
|
|
|
|
|
|
|
distclean-binPROGRAMS:
|
|
|
|
|
|
|
|
maintainer-clean-binPROGRAMS:
|
|
|
|
|
|
|
|
install-binPROGRAMS: $(bin_PROGRAMS)
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
$(mkinstalldirs) $(bindir)
|
|
|
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
|
|
if test -f $$p; then \
|
1997-08-04 18:05:31 +02:00
|
|
|
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
|
|
|
|
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
|
1997-08-01 05:49:39 +02:00
|
|
|
else :; fi; \
|
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-binPROGRAMS:
|
|
|
|
$(NORMAL_UNINSTALL)
|
|
|
|
list='$(bin_PROGRAMS)'; for p in $$list; do \
|
1997-08-04 18:05:31 +02:00
|
|
|
rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
|
1997-08-01 05:49:39 +02:00
|
|
|
done
|
|
|
|
|
|
|
|
mostlyclean-noinstPROGRAMS:
|
1992-05-02 03:07:09 +02:00
|
|
|
|
1997-08-01 05:49:39 +02:00
|
|
|
clean-noinstPROGRAMS:
|
1997-08-04 18:05:31 +02:00
|
|
|
test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
|
1997-08-01 05:49:39 +02:00
|
|
|
|
|
|
|
distclean-noinstPROGRAMS:
|
|
|
|
|
|
|
|
maintainer-clean-noinstPROGRAMS:
|
|
|
|
|
|
|
|
.c.o:
|
|
|
|
$(COMPILE) -c $<
|
|
|
|
|
|
|
|
mostlyclean-compile:
|
|
|
|
rm -f *.o core
|
|
|
|
|
|
|
|
clean-compile:
|
|
|
|
|
|
|
|
distclean-compile:
|
|
|
|
rm -f *.tab.c
|
|
|
|
|
|
|
|
maintainer-clean-compile:
|
|
|
|
|
|
|
|
.c.lo:
|
|
|
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
|
|
|
|
|
|
|
mostlyclean-libtool:
|
|
|
|
rm -f *.lo
|
|
|
|
|
|
|
|
clean-libtool:
|
|
|
|
rm -rf .libs
|
|
|
|
|
|
|
|
distclean-libtool:
|
|
|
|
|
|
|
|
maintainer-clean-libtool:
|
|
|
|
|
1997-08-04 18:05:31 +02:00
|
|
|
nlmconv$(EXEEXT): $(nlmconv_OBJECTS) $(nlmconv_DEPENDENCIES)
|
1997-08-01 05:49:39 +02:00
|
|
|
@rm -f nlmconv$(EXEEXT)
|
|
|
|
$(LINK) $(nlmconv_LDFLAGS) $(nlmconv_OBJECTS) $(nlmconv_LDADD) $(LIBS)
|
|
|
|
|
1997-08-04 18:05:31 +02:00
|
|
|
srconv$(EXEEXT): $(srconv_OBJECTS) $(srconv_DEPENDENCIES)
|
1997-08-01 05:49:39 +02:00
|
|
|
@rm -f srconv$(EXEEXT)
|
|
|
|
$(LINK) $(srconv_LDFLAGS) $(srconv_OBJECTS) $(srconv_LDADD) $(LIBS)
|
|
|
|
|
1997-08-04 18:05:31 +02:00
|
|
|
sysdump$(EXEEXT): $(sysdump_OBJECTS) $(sysdump_DEPENDENCIES)
|
1997-08-01 05:49:39 +02:00
|
|
|
@rm -f sysdump$(EXEEXT)
|
|
|
|
$(LINK) $(sysdump_LDFLAGS) $(sysdump_OBJECTS) $(sysdump_LDADD) $(LIBS)
|
|
|
|
|
1997-08-04 18:05:31 +02:00
|
|
|
coffdump$(EXEEXT): $(coffdump_OBJECTS) $(coffdump_DEPENDENCIES)
|
1997-08-01 05:49:39 +02:00
|
|
|
@rm -f coffdump$(EXEEXT)
|
|
|
|
$(LINK) $(coffdump_LDFLAGS) $(coffdump_OBJECTS) $(coffdump_LDADD) $(LIBS)
|
|
|
|
|
1997-08-04 18:05:31 +02:00
|
|
|
dlltool$(EXEEXT): $(dlltool_OBJECTS) $(dlltool_DEPENDENCIES)
|
1997-08-01 05:49:39 +02:00
|
|
|
@rm -f dlltool$(EXEEXT)
|
|
|
|
$(LINK) $(dlltool_LDFLAGS) $(dlltool_OBJECTS) $(dlltool_LDADD) $(LIBS)
|
|
|
|
|
1997-08-04 18:05:31 +02:00
|
|
|
windres$(EXEEXT): $(windres_OBJECTS) $(windres_DEPENDENCIES)
|
1997-08-01 05:49:39 +02:00
|
|
|
@rm -f windres$(EXEEXT)
|
|
|
|
$(LINK) $(windres_LDFLAGS) $(windres_OBJECTS) $(windres_LDADD) $(LIBS)
|
|
|
|
|
1997-08-04 18:05:31 +02:00
|
|
|
size$(EXEEXT): $(size_OBJECTS) $(size_DEPENDENCIES)
|
1997-08-01 05:49:39 +02:00
|
|
|
@rm -f size$(EXEEXT)
|
|
|
|
$(LINK) $(size_LDFLAGS) $(size_OBJECTS) $(size_LDADD) $(LIBS)
|
|
|
|
|
1997-08-04 18:05:31 +02:00
|
|
|
objdump$(EXEEXT): $(objdump_OBJECTS) $(objdump_DEPENDENCIES)
|
1997-08-01 05:49:39 +02:00
|
|
|
@rm -f objdump$(EXEEXT)
|
|
|
|
$(LINK) $(objdump_LDFLAGS) $(objdump_OBJECTS) $(objdump_LDADD) $(LIBS)
|
|
|
|
|
1997-08-04 18:05:31 +02:00
|
|
|
ar$(EXEEXT): $(ar_OBJECTS) $(ar_DEPENDENCIES)
|
1997-08-01 05:49:39 +02:00
|
|
|
@rm -f ar$(EXEEXT)
|
|
|
|
$(LINK) $(ar_LDFLAGS) $(ar_OBJECTS) $(ar_LDADD) $(LIBS)
|
|
|
|
|
1997-08-04 18:05:31 +02:00
|
|
|
strings$(EXEEXT): $(strings_OBJECTS) $(strings_DEPENDENCIES)
|
1997-08-01 05:49:39 +02:00
|
|
|
@rm -f strings$(EXEEXT)
|
|
|
|
$(LINK) $(strings_LDFLAGS) $(strings_OBJECTS) $(strings_LDADD) $(LIBS)
|
|
|
|
|
1997-08-04 18:05:31 +02:00
|
|
|
ranlib$(EXEEXT): $(ranlib_OBJECTS) $(ranlib_DEPENDENCIES)
|
1997-08-01 05:49:39 +02:00
|
|
|
@rm -f ranlib$(EXEEXT)
|
|
|
|
$(LINK) $(ranlib_LDFLAGS) $(ranlib_OBJECTS) $(ranlib_LDADD) $(LIBS)
|
|
|
|
|
1997-08-04 18:05:31 +02:00
|
|
|
c++filt$(EXEEXT): $(c__filt_OBJECTS) $(c__filt_DEPENDENCIES)
|
1997-08-01 05:49:39 +02:00
|
|
|
@rm -f c++filt$(EXEEXT)
|
|
|
|
$(LINK) $(c__filt_LDFLAGS) $(c__filt_OBJECTS) $(c__filt_LDADD) $(LIBS)
|
|
|
|
|
1997-08-04 18:05:31 +02:00
|
|
|
objcopy$(EXEEXT): $(objcopy_OBJECTS) $(objcopy_DEPENDENCIES)
|
1997-08-01 05:49:39 +02:00
|
|
|
@rm -f objcopy$(EXEEXT)
|
|
|
|
$(LINK) $(objcopy_LDFLAGS) $(objcopy_OBJECTS) $(objcopy_LDADD) $(LIBS)
|
|
|
|
|
1997-08-04 18:05:31 +02:00
|
|
|
addr2line$(EXEEXT): $(addr2line_OBJECTS) $(addr2line_DEPENDENCIES)
|
1997-08-01 05:49:39 +02:00
|
|
|
@rm -f addr2line$(EXEEXT)
|
|
|
|
$(LINK) $(addr2line_LDFLAGS) $(addr2line_OBJECTS) $(addr2line_LDADD) $(LIBS)
|
|
|
|
|
1997-08-05 06:04:31 +02:00
|
|
|
nm-new$(EXEEXT): $(nm_new_OBJECTS) $(nm_new_DEPENDENCIES)
|
|
|
|
@rm -f nm-new$(EXEEXT)
|
1997-08-01 05:49:39 +02:00
|
|
|
$(LINK) $(nm_new_LDFLAGS) $(nm_new_OBJECTS) $(nm_new_LDADD) $(LIBS)
|
|
|
|
|
1997-08-05 06:04:31 +02:00
|
|
|
strip-new$(EXEEXT): $(strip_new_OBJECTS) $(strip_new_DEPENDENCIES)
|
|
|
|
@rm -f strip-new$(EXEEXT)
|
1997-08-01 05:49:39 +02:00
|
|
|
$(LINK) $(strip_new_LDFLAGS) $(strip_new_OBJECTS) $(strip_new_LDADD) $(LIBS)
|
|
|
|
.y.c:
|
|
|
|
$(SHELL) $(YLWRAP) "$(YACC)" $< y.tab.c $*.c y.tab.h $*.h -- $(YFLAGS)
|
|
|
|
.y.h:
|
|
|
|
$(SHELL) $(YLWRAP) "$(YACC)" $< y.tab.c $*.c y.tab.h $*.h -- $(YFLAGS)
|
|
|
|
.l.c:
|
|
|
|
$(SHELL) $(YLWRAP) "$(LEX)" $< $(LEX_OUTPUT_ROOT).c $@ -- $(LFLAGS)
|
|
|
|
|
|
|
|
binutils.info: binutils.texi
|
|
|
|
binutils.dvi: binutils.texi
|
|
|
|
|
|
|
|
|
|
|
|
DVIPS = dvips
|
|
|
|
|
|
|
|
.texi.info:
|
|
|
|
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
|
|
|
$(MAKEINFO) -I $(srcdir) $<
|
|
|
|
|
|
|
|
.texi.dvi:
|
|
|
|
TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
|
|
|
|
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
|
|
|
|
|
|
|
.texi:
|
|
|
|
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
|
|
|
$(MAKEINFO) -I $(srcdir) $<
|
|
|
|
|
|
|
|
.texinfo.info:
|
|
|
|
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
|
|
|
$(MAKEINFO) -I $(srcdir) $<
|
|
|
|
|
|
|
|
.texinfo:
|
|
|
|
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
|
|
|
$(MAKEINFO) -I $(srcdir) $<
|
|
|
|
|
|
|
|
.texinfo.dvi:
|
|
|
|
TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \
|
|
|
|
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
|
|
|
.dvi.ps:
|
|
|
|
$(DVIPS) $< -o $@
|
|
|
|
|
|
|
|
install-info-am: $(INFO_DEPS)
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
$(mkinstalldirs) $(infodir)
|
|
|
|
@for file in $(INFO_DEPS); do \
|
|
|
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
|
|
|
for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
|
|
|
|
if test -f $$d/$$ifile; then \
|
|
|
|
echo " $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile"; \
|
|
|
|
$(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile; \
|
|
|
|
else : ; fi; \
|
|
|
|
done; \
|
|
|
|
done
|
|
|
|
@$(POST_INSTALL)
|
|
|
|
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
|
|
|
|
for file in $(INFO_DEPS); do \
|
|
|
|
echo " install-info --info-dir=$(infodir) $(infodir)/$$file";\
|
|
|
|
install-info --info-dir=$(infodir) $(infodir)/$$file || :;\
|
|
|
|
done; \
|
|
|
|
else : ; fi
|
|
|
|
|
|
|
|
uninstall-info:
|
|
|
|
$(PRE_UNINSTALL)
|
|
|
|
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
|
|
|
|
ii=yes; \
|
|
|
|
else ii=; fi; \
|
|
|
|
for file in $(INFO_DEPS); do \
|
|
|
|
test -z $ii || install-info --info-dir=$(infodir) --remove $$file; \
|
|
|
|
done
|
|
|
|
$(NORMAL_UNINSTALL)
|
|
|
|
for file in $(INFO_DEPS); do \
|
|
|
|
(cd $(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
|
|
|
|
done
|
|
|
|
|
|
|
|
dist-info: $(INFO_DEPS)
|
|
|
|
for base in $(INFO_DEPS); do \
|
|
|
|
if test -f $$base; then d=.; else d=$(srcdir); fi; \
|
|
|
|
for file in `cd $$d && eval echo $$base*`; do \
|
|
|
|
test -f $(distdir)/$$file \
|
|
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
|
|
|| cp -p $$d/$$file $(distdir)/$$file; \
|
|
|
|
done; \
|
|
|
|
done
|
|
|
|
|
|
|
|
mostlyclean-aminfo:
|
|
|
|
rm -f binutils.aux binutils.cp binutils.cps binutils.dvi binutils.fn \
|
|
|
|
binutils.fns binutils.ky binutils.log binutils.pg \
|
|
|
|
binutils.toc binutils.tp binutils.tps binutils.vr \
|
|
|
|
binutils.vrs binutils.op binutils.tr binutils.cv
|
|
|
|
|
|
|
|
clean-aminfo:
|
|
|
|
|
|
|
|
distclean-aminfo:
|
|
|
|
|
|
|
|
maintainer-clean-aminfo:
|
|
|
|
for i in $(INFO_DEPS); do rm -f `eval echo $$i*`; done
|
|
|
|
clean-info: mostlyclean-aminfo
|
|
|
|
install-man: $(MANS)
|
|
|
|
$(NORMAL_INSTALL)
|
|
|
|
$(mkinstalldirs) $(mandir)/man1
|
|
|
|
@sect=1; \
|
|
|
|
inst=`echo "ar" | sed '$(transform)'`.1; \
|
|
|
|
if test -f $(srcdir)/ar.1; then file=$(srcdir)/ar.1; \
|
|
|
|
else file=ar.1; fi; \
|
|
|
|
echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
|
|
|
|
$(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
|
|
|
@sect=1; \
|
|
|
|
inst=`echo "nlmconv" | sed '$(transform)'`.1; \
|
|
|
|
if test -f $(srcdir)/nlmconv.1; then file=$(srcdir)/nlmconv.1; \
|
|
|
|
else file=nlmconv.1; fi; \
|
|
|
|
echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
|
|
|
|
$(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
|
|
|
@sect=1; \
|
|
|
|
inst=`echo "$(DEMANGLER_PROG)" | sed '$(transform)'`.1; \
|
|
|
|
if test -f $(srcdir)/$(DEMANGLER_PROG).1; then file=$(srcdir)/$(DEMANGLER_PROG).1; \
|
|
|
|
else file=$(DEMANGLER_PROG).1; fi; \
|
|
|
|
echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
|
|
|
|
$(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
|
|
|
@sect=1; \
|
|
|
|
inst=`echo "nm" | sed '$(transform)'`.1; \
|
|
|
|
if test -f $(srcdir)/nm.1; then file=$(srcdir)/nm.1; \
|
|
|
|
else file=nm.1; fi; \
|
|
|
|
echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
|
|
|
|
$(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
|
|
|
@sect=1; \
|
|
|
|
inst=`echo "objdump" | sed '$(transform)'`.1; \
|
|
|
|
if test -f $(srcdir)/objdump.1; then file=$(srcdir)/objdump.1; \
|
|
|
|
else file=objdump.1; fi; \
|
|
|
|
echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
|
|
|
|
$(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
|
|
|
@sect=1; \
|
|
|
|
inst=`echo "ranlib" | sed '$(transform)'`.1; \
|
|
|
|
if test -f $(srcdir)/ranlib.1; then file=$(srcdir)/ranlib.1; \
|
|
|
|
else file=ranlib.1; fi; \
|
|
|
|
echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
|
|
|
|
$(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
|
|
|
@sect=1; \
|
|
|
|
inst=`echo "size" | sed '$(transform)'`.1; \
|
|
|
|
if test -f $(srcdir)/size.1; then file=$(srcdir)/size.1; \
|
|
|
|
else file=size.1; fi; \
|
|
|
|
echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
|
|
|
|
$(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
|
|
|
@sect=1; \
|
|
|
|
inst=`echo "strings" | sed '$(transform)'`.1; \
|
|
|
|
if test -f $(srcdir)/strings.1; then file=$(srcdir)/strings.1; \
|
|
|
|
else file=strings.1; fi; \
|
|
|
|
echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
|
|
|
|
$(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
|
|
|
@sect=1; \
|
|
|
|
inst=`echo "strip" | sed '$(transform)'`.1; \
|
|
|
|
if test -f $(srcdir)/strip.1; then file=$(srcdir)/strip.1; \
|
|
|
|
else file=strip.1; fi; \
|
|
|
|
echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
|
|
|
|
$(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
|
|
|
@sect=1; \
|
|
|
|
inst=`echo "objcopy" | sed '$(transform)'`.1; \
|
|
|
|
if test -f $(srcdir)/objcopy.1; then file=$(srcdir)/objcopy.1; \
|
|
|
|
else file=objcopy.1; fi; \
|
|
|
|
echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
|
|
|
|
$(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
|
|
|
@sect=1; \
|
|
|
|
inst=`echo "addr2line" | sed '$(transform)'`.1; \
|
|
|
|
if test -f $(srcdir)/addr2line.1; then file=$(srcdir)/addr2line.1; \
|
|
|
|
else file=addr2line.1; fi; \
|
|
|
|
echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \
|
|
|
|
$(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst
|
|
|
|
|
|
|
|
uninstall-man:
|
|
|
|
$(NORMAL_UNINSTALL)
|
|
|
|
inst=`echo "ar" | sed '$(transform)'`.1; \
|
|
|
|
rm -f $(mandir)/man1/$$inst
|
|
|
|
inst=`echo "nlmconv" | sed '$(transform)'`.1; \
|
|
|
|
rm -f $(mandir)/man1/$$inst
|
|
|
|
inst=`echo "$(DEMANGLER_PROG)" | sed '$(transform)'`.1; \
|
|
|
|
rm -f $(mandir)/man1/$$inst
|
|
|
|
inst=`echo "nm" | sed '$(transform)'`.1; \
|
|
|
|
rm -f $(mandir)/man1/$$inst
|
|
|
|
inst=`echo "objdump" | sed '$(transform)'`.1; \
|
|
|
|
rm -f $(mandir)/man1/$$inst
|
|
|
|
inst=`echo "ranlib" | sed '$(transform)'`.1; \
|
|
|
|
rm -f $(mandir)/man1/$$inst
|
|
|
|
inst=`echo "size" | sed '$(transform)'`.1; \
|
|
|
|
rm -f $(mandir)/man1/$$inst
|
|
|
|
inst=`echo "strings" | sed '$(transform)'`.1; \
|
|
|
|
rm -f $(mandir)/man1/$$inst
|
|
|
|
inst=`echo "strip" | sed '$(transform)'`.1; \
|
|
|
|
rm -f $(mandir)/man1/$$inst
|
|
|
|
inst=`echo "objcopy" | sed '$(transform)'`.1; \
|
|
|
|
rm -f $(mandir)/man1/$$inst
|
|
|
|
inst=`echo "addr2line" | sed '$(transform)'`.1; \
|
|
|
|
rm -f $(mandir)/man1/$$inst
|
|
|
|
|
|
|
|
|
|
|
|
tags: TAGS
|
|
|
|
|
|
|
|
ID: $(HEADERS) $(SOURCES)
|
|
|
|
here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
|
|
|
|
|
|
|
|
TAGS: $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES)
|
|
|
|
tags=; \
|
|
|
|
here=`pwd`; \
|
|
|
|
test -z "$(ETAGS_ARGS)config.in$(SOURCES)$(HEADERS)$$tags" \
|
|
|
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.in $(SOURCES) $(HEADERS) -o $$here/TAGS)
|
|
|
|
|
|
|
|
mostlyclean-tags:
|
|
|
|
|
|
|
|
clean-tags:
|
|
|
|
|
|
|
|
distclean-tags:
|
|
|
|
rm -f TAGS ID
|
|
|
|
|
|
|
|
maintainer-clean-tags:
|
|
|
|
|
|
|
|
distdir = $(PACKAGE)-$(VERSION)
|
|
|
|
top_distdir = $(distdir)
|
|
|
|
|
|
|
|
# This target untars the dist file and tries a VPATH configuration. Then
|
|
|
|
# it guarantees that the distribution is self-contained by making another
|
|
|
|
# tarfile.
|
|
|
|
distcheck: dist
|
|
|
|
rm -rf $(distdir)
|
|
|
|
GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
|
|
|
|
mkdir $(distdir)/=build
|
|
|
|
mkdir $(distdir)/=inst
|
|
|
|
dc_install_base=`cd $(distdir)/=inst && pwd`; \
|
|
|
|
cd $(distdir)/=build \
|
|
|
|
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
|
|
|
&& $(MAKE) \
|
|
|
|
&& $(MAKE) dvi \
|
|
|
|
&& $(MAKE) check \
|
|
|
|
&& $(MAKE) install \
|
|
|
|
&& $(MAKE) installcheck \
|
|
|
|
&& $(MAKE) dist
|
|
|
|
rm -rf $(distdir)
|
|
|
|
@echo "========================"; \
|
|
|
|
echo "$(distdir).tar.gz is ready for distribution"; \
|
|
|
|
echo "========================"
|
|
|
|
dist: distdir
|
|
|
|
-chmod -R a+r $(distdir)
|
|
|
|
GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
|
|
|
rm -rf $(distdir)
|
|
|
|
dist-all: distdir
|
|
|
|
-chmod -R a+r $(distdir)
|
|
|
|
GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
|
|
|
rm -rf $(distdir)
|
|
|
|
distdir: $(DISTFILES)
|
|
|
|
rm -rf $(distdir)
|
|
|
|
mkdir $(distdir)
|
|
|
|
-chmod 777 $(distdir)
|
|
|
|
@for file in $(DISTFILES); do \
|
|
|
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
|
|
|
test -f $(distdir)/$$file \
|
|
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
|
|
|| cp -p $$d/$$file $(distdir)/$$file; \
|
|
|
|
done
|
|
|
|
$(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
|
|
|
|
|
|
|
|
RUNTESTFLAGS =
|
1991-04-10 01:44:28 +02:00
|
|
|
|
1997-08-01 05:49:39 +02:00
|
|
|
DEJATOOL = $(PACKAGE)
|
|
|
|
site.exp: Makefile
|
|
|
|
@echo 'Making a new site.exp file...'
|
|
|
|
-@rm -f site.bak
|
|
|
|
@echo '## these variables are automatically generated by make ##' > $@-t
|
|
|
|
@echo '# Do not edit here. If you wish to override these values' >> $@-t
|
|
|
|
@echo '# edit the last section' >> $@-t
|
|
|
|
@echo 'set tool $(DEJATOOL)' >> $@-t
|
|
|
|
@echo 'set srcdir $(srcdir)' >> $@-t
|
|
|
|
@echo 'set objdir' `pwd` >> $@-t
|
|
|
|
@echo 'set host_alias $(host_alias)' >> $@-t
|
|
|
|
@echo 'set host_triplet $(host_triplet)' >> $@-t
|
|
|
|
@echo 'set target_alias $(target_alias)' >> $@-t
|
|
|
|
@echo 'set target_triplet $(target_triplet)' >> $@-t
|
|
|
|
@echo 'set build_alias $(build_alias)' >> $@-t
|
|
|
|
@echo 'set build_triplet $(build_triplet)' >> $@-t
|
|
|
|
@echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t
|
|
|
|
-@sed '1,/^## All variables above are.*##/ d' site.bak >> $@-t
|
|
|
|
-@mv site.exp site.bak
|
|
|
|
@mv $@-t site.exp
|
|
|
|
info: $(INFO_DEPS)
|
|
|
|
dvi: $(DVIS)
|
|
|
|
check: all
|
|
|
|
$(MAKE) check-DEJAGNU
|
|
|
|
installcheck:
|
|
|
|
install-info: install-info-am
|
|
|
|
install-exec: install-binPROGRAMS install-exec-local
|
|
|
|
@$(NORMAL_INSTALL)
|
1993-02-12 19:08:35 +01:00
|
|
|
|
1997-08-01 05:49:39 +02:00
|
|
|
install-data: install-man
|
|
|
|
@$(NORMAL_INSTALL)
|
1991-04-04 20:37:36 +02:00
|
|
|
|
1997-08-01 05:49:39 +02:00
|
|
|
install: install-exec install-data all
|
|
|
|
@:
|
1992-04-21 22:43:28 +02:00
|
|
|
|
1997-08-01 05:49:39 +02:00
|
|
|
uninstall: uninstall-binPROGRAMS uninstall-man
|
1993-06-26 08:38:57 +02:00
|
|
|
|
1997-08-01 05:49:39 +02:00
|
|
|
all: Makefile $(PROGRAMS) $(MANS) config.h
|
1991-04-04 20:37:36 +02:00
|
|
|
|
1997-08-01 05:49:39 +02:00
|
|
|
install-strip:
|
|
|
|
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
|
|
|
|
installdirs:
|
|
|
|
$(mkinstalldirs) $(bindir) $(mandir)/man1
|
|
|
|
|
|
|
|
|
|
|
|
mostlyclean-generic:
|
|
|
|
test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
|
|
|
|
|
|
|
|
clean-generic:
|
|
|
|
test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
|
|
|
|
|
|
|
distclean-generic:
|
|
|
|
rm -f Makefile $(DISTCLEANFILES)
|
|
|
|
rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
|
|
test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
|
|
|
|
|
|
|
maintainer-clean-generic:
|
|
|
|
test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
|
|
|
test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
|
|
|
mostlyclean: mostlyclean-hdr mostlyclean-binPROGRAMS \
|
|
|
|
mostlyclean-noinstPROGRAMS mostlyclean-compile \
|
|
|
|
mostlyclean-libtool mostlyclean-aminfo mostlyclean-tags \
|
|
|
|
mostlyclean-generic
|
|
|
|
|
|
|
|
clean: clean-hdr clean-binPROGRAMS clean-noinstPROGRAMS clean-compile \
|
|
|
|
clean-libtool clean-aminfo clean-tags clean-generic \
|
|
|
|
mostlyclean
|
|
|
|
|
|
|
|
distclean: distclean-hdr distclean-binPROGRAMS distclean-noinstPROGRAMS \
|
|
|
|
distclean-compile distclean-libtool distclean-aminfo \
|
|
|
|
distclean-tags distclean-generic clean
|
|
|
|
rm -f config.status
|
|
|
|
rm -f libtool
|
|
|
|
|
|
|
|
maintainer-clean: maintainer-clean-hdr maintainer-clean-binPROGRAMS \
|
|
|
|
maintainer-clean-noinstPROGRAMS \
|
|
|
|
maintainer-clean-compile maintainer-clean-libtool \
|
|
|
|
maintainer-clean-aminfo maintainer-clean-tags \
|
|
|
|
maintainer-clean-generic distclean
|
|
|
|
@echo "This command is intended for maintainers to use;"
|
|
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
|
|
rm -f config.status
|
|
|
|
|
|
|
|
.PHONY: default mostlyclean-hdr distclean-hdr clean-hdr \
|
|
|
|
maintainer-clean-hdr mostlyclean-binPROGRAMS distclean-binPROGRAMS \
|
|
|
|
clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
|
|
|
|
install-binPROGRAMS mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
|
|
|
|
clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
|
|
|
|
mostlyclean-compile distclean-compile clean-compile \
|
|
|
|
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
|
|
|
|
clean-libtool maintainer-clean-libtool install-info-am uninstall-info \
|
|
|
|
mostlyclean-aminfo distclean-aminfo clean-aminfo \
|
|
|
|
maintainer-clean-aminfo install-man uninstall-man tags mostlyclean-tags \
|
|
|
|
distclean-tags clean-tags maintainer-clean-tags distdir check-DEJAGNU \
|
|
|
|
info dvi installcheck install-info install-exec install-data install \
|
|
|
|
uninstall all installdirs mostlyclean-generic distclean-generic \
|
|
|
|
clean-generic maintainer-clean-generic clean mostlyclean distclean \
|
|
|
|
maintainer-clean
|
|
|
|
|
|
|
|
|
|
|
|
check-DEJAGNU: site.exp
|
|
|
|
srcdir=`cd $(srcdir) && pwd`; export srcdir; \
|
1997-08-05 06:33:31 +02:00
|
|
|
r=`pwd`; export r; \
|
1997-08-01 05:49:39 +02:00
|
|
|
EXPECT=$(EXPECT); export EXPECT; \
|
|
|
|
if [ -f $(top_builddir)/../expect/expect ]; then \
|
|
|
|
TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \
|
|
|
|
export TCL_LIBRARY; \
|
|
|
|
fi; \
|
|
|
|
runtest=$(RUNTEST); \
|
|
|
|
if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
|
|
|
|
$$runtest --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite \
|
|
|
|
CC_FOR_TARGET="$(CC_FOR_TARGET)" \
|
|
|
|
CFLAGS_FOR_TARGET="$(CFLAGS)" $(RUNTESTFLAGS); \
|
|
|
|
else echo "WARNING: could not find \`runtest'" 1>&2; :;\
|
|
|
|
fi
|
1991-04-04 20:37:36 +02:00
|
|
|
|
1997-08-01 05:49:39 +02:00
|
|
|
installcheck:
|
|
|
|
/bin/sh $(srcdir)/sanity.sh $(bindir)
|
1996-01-04 22:35:04 +01:00
|
|
|
|
|
|
|
underscore.c: stamp-under ; @true
|
1993-08-12 20:00:36 +02:00
|
|
|
|
1996-01-04 22:35:04 +01:00
|
|
|
stamp-under: Makefile
|
1994-06-16 23:59:41 +02:00
|
|
|
echo '/*WARNING: This file is automatically generated!*/' >underscore.t
|
* 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 02:52:07 +02:00
|
|
|
echo "int prepends_underscore = @UNDERSCORE@;" >>underscore.t
|
1997-04-14 17:57:21 +02:00
|
|
|
$(SHELL) $(srcdir)/../move-if-change underscore.t underscore.c
|
1996-01-04 22:35:04 +01:00
|
|
|
touch stamp-under
|
1993-05-25 06:28:56 +02:00
|
|
|
|
1994-09-28 20:53:22 +01:00
|
|
|
version.o: version.c Makefile
|
1997-08-01 05:49:39 +02:00
|
|
|
$(COMPILE) -c -DVERSION='"$(VERSION)"' $(srcdir)/version.c
|
1993-08-12 20:00:36 +02:00
|
|
|
|
1997-03-18 17:37:42 +01:00
|
|
|
bucomm.o: bucomm.c Makefile
|
1997-08-01 05:49:39 +02:00
|
|
|
$(COMPILE) -c -DTARGET='"@target@"' $(srcdir)/bucomm.c
|
1997-03-18 17:37:42 +01:00
|
|
|
|
1994-06-16 23:59:41 +02:00
|
|
|
cplus-dem.o: $(BASEDIR)/libiberty/cplus-dem.c $(INCDIR)/getopt.h
|
1997-08-01 05:49:39 +02:00
|
|
|
$(COMPILE) -c -DMAIN -DVERSION='"$(VERSION)"' $(BASEDIR)/libiberty/cplus-dem.c
|
1997-04-03 20:19:26 +02:00
|
|
|
|
1997-08-01 05:49:39 +02:00
|
|
|
# The following is commented out for the convertion to automake.
|
1991-10-08 00:14:30 +01:00
|
|
|
# This rule creates a single binary that switches between ar and ranlib
|
|
|
|
# by looking at argv[0]. Use this kludge to save some disk space.
|
|
|
|
# However, you have to install things by hand.
|
|
|
|
# (That is after 'make install', replace the installed ranlib by a link to ar.)
|
|
|
|
# Alternatively, you can install ranlib.sh as ranlib.
|
1997-08-01 05:49:39 +02:00
|
|
|
# ar_with_ranlib: $(ADDL_DEPS) ar.o maybe-ranlib.o
|
|
|
|
# $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(AR_PROG) ar.o maybe-ranlib.o $(ADDL_LIBS) $(EXTRALIBS)
|
|
|
|
# -rm -f $(RANLIB_PROG)
|
|
|
|
# -ln $(AR_PROG) $(RANLIB_PROG)
|
|
|
|
#
|
1993-05-12 21:08:53 +02:00
|
|
|
# objcopy and strip in one binary that uses argv[0] to decide its action.
|
1997-08-01 05:49:39 +02:00
|
|
|
#
|
|
|
|
#objcopy_with_strip: $(ADDL_DEPS) objcopy.o maybe-strip.o
|
|
|
|
# $(HLDENV) $(CC) $(HLDFLAGS) $(CFLAGS) $(LDFLAGS) -o $(OBJCOPY_PROG) objcopy.o maybe-strip.o $(ADDL_LIBS) $(EXTRALIBS)
|
|
|
|
# -rm -f $(STRIP_PROG)
|
|
|
|
# -ln $(OBJCOPY_PROG) $(STRIP_PROG)
|
1991-04-04 20:37:36 +02:00
|
|
|
|
1994-03-08 22:53:19 +01:00
|
|
|
sysroff.c: sysinfo sysroff.info
|
|
|
|
./sysinfo -c <$(srcdir)/sysroff.info >sysroff.c
|
|
|
|
./sysinfo -i <$(srcdir)/sysroff.info >>sysroff.c
|
|
|
|
./sysinfo -g <$(srcdir)/sysroff.info >>sysroff.c
|
1994-10-10 02:06:20 +01:00
|
|
|
|
|
|
|
sysroff.h: sysinfo sysroff.info
|
1994-03-17 22:22:30 +01:00
|
|
|
./sysinfo -d <$(srcdir)/sysroff.info >sysroff.h
|
1994-03-08 22:53:19 +01:00
|
|
|
|
1994-09-28 20:53:22 +01:00
|
|
|
sysinfo: sysinfo.o syslex.o
|
1994-04-27 20:27:18 +02:00
|
|
|
$(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) -o $@ sysinfo.o syslex.o
|
|
|
|
|
1994-05-27 18:58:05 +02:00
|
|
|
syslex.o: syslex.c sysinfo.h
|
1994-09-28 20:53:22 +01:00
|
|
|
if [ -r syslex.c ]; then \
|
|
|
|
$(CC_FOR_BUILD) -c -I. $(CFLAGS) syslex.c ; \
|
|
|
|
else \
|
1995-11-01 21:06:30 +01:00
|
|
|
$(CC_FOR_BUILD) -c -I. -I$(srcdir) $(CFLAGS) $(srcdir)/syslex.c ;\
|
1994-09-28 20:53:22 +01:00
|
|
|
fi
|
1994-04-27 20:27:18 +02:00
|
|
|
|
|
|
|
sysinfo.o: sysinfo.c
|
1994-09-28 20:53:22 +01:00
|
|
|
if [ -r sysinfo.c ]; then \
|
|
|
|
$(CC_FOR_BUILD) -c -I. $(CFLAGS) sysinfo.c ; \
|
|
|
|
else \
|
|
|
|
$(CC_FOR_BUILD) -c -I. $(CFLAGS) $(srcdir)/sysinfo.c ; \
|
|
|
|
fi
|
1994-03-08 22:53:19 +01:00
|
|
|
|
1995-08-30 20:03:16 +02:00
|
|
|
dlltool.o:dlltool.c
|
1997-08-01 05:49:39 +02:00
|
|
|
$(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/dlltool.c
|
1993-08-11 22:14:37 +02:00
|
|
|
|
1996-01-04 22:35:04 +01:00
|
|
|
# coff/sym.h and coff/ecoff.h won't be found by the automatic dependency
|
|
|
|
# scripts, since they are only included conditionally.
|
|
|
|
nlmconv.o: nlmconv.c $(INCDIR)/coff/sym.h $(INCDIR)/coff/ecoff.h
|
* 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 02:52:07 +02:00
|
|
|
ldname=`echo ld | sed '$(program_transform_name)'`; \
|
1997-08-01 05:49:39 +02:00
|
|
|
$(COMPILE) -c -DLD_NAME="\"$${ldname}\"" @NLMCONV_DEFS@ $(srcdir)/nlmconv.c
|
1997-06-22 23:35:35 +02:00
|
|
|
|
1996-01-04 22:35:04 +01:00
|
|
|
# Targets to rebuild dependencies in this Makefile.
|
|
|
|
# Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
|
|
|
|
.dep: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h
|
|
|
|
rm -f .dep1
|
|
|
|
$(MAKE) DEP=$(DEP) .dep1
|
|
|
|
sed -f dep.sed <.dep1 >.dep
|
|
|
|
|
|
|
|
# This rule really wants a mkdep that runs "gcc -MM".
|
|
|
|
.dep1: $(CFILES) $(GENERATED_CFILES)
|
|
|
|
rm -f .dep2
|
|
|
|
echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
|
1997-08-05 06:33:31 +02:00
|
|
|
$(DEP) -f .dep2 $(INCLUDES) $?
|
1997-04-14 17:57:21 +02:00
|
|
|
$(SHELL) $(srcdir)/../move-if-change .dep2 .dep1
|
1996-01-04 22:35:04 +01:00
|
|
|
|
|
|
|
dep.sed: dep-in.sed config.status
|
|
|
|
sed <$(srcdir)/dep-in.sed >dep.sed \
|
|
|
|
-e 's!@INCDIR@!$(INCDIR)!' \
|
1996-10-01 21:10:40 +02:00
|
|
|
-e 's!@BFDDIR@!$(BFDDIR)!' \
|
1996-01-04 22:35:04 +01:00
|
|
|
-e 's!@SRCDIR@!$(srcdir)!'
|
|
|
|
|
|
|
|
dep: .dep
|
|
|
|
sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
|
|
|
|
cat .dep >> tmp-Makefile
|
1997-04-14 17:57:21 +02:00
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
|
1996-01-04 22:35:04 +01:00
|
|
|
|
|
|
|
dep-in: .dep
|
|
|
|
sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
|
|
|
|
cat .dep >> tmp-Makefile.in
|
1997-04-14 17:57:21 +02:00
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
|
1996-01-04 22:35:04 +01:00
|
|
|
|
1997-08-01 05:49:39 +02:00
|
|
|
dep-am: .dep
|
|
|
|
sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
|
|
|
|
cat .dep >> tmp-Makefile.am
|
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
|
|
|
|
|
|
|
|
.PHONY: dep dep-in dep-am
|
1991-04-24 18:52:32 +02:00
|
|
|
|
1995-08-30 20:03:16 +02:00
|
|
|
###
|
1991-10-12 00:11:17 +01:00
|
|
|
# DOCUMENTATION TARGETS
|
1995-08-30 20:03:16 +02:00
|
|
|
config.texi: Makefile
|
|
|
|
rm -f config.texi
|
|
|
|
echo '@set VERSION $(VERSION)' > config.texi
|
1997-08-01 05:49:39 +02:00
|
|
|
|
1995-08-30 20:03:16 +02:00
|
|
|
binutils.dvi: $(srcdir)/binutils.texi config.texi
|
1991-10-08 23:01:41 +01:00
|
|
|
|
1995-08-30 20:03:16 +02:00
|
|
|
binutils.info: $(srcdir)/binutils.texi config.texi
|
1991-10-08 23:01:41 +01:00
|
|
|
|
1994-05-27 18:58:05 +02:00
|
|
|
$(DEMANGLER_PROG).1: cxxfilt.man Makefile
|
|
|
|
sed -e 's/@PROGRAM@/$(DEMANGLER_PROG)/' < $(srcdir)/cxxfilt.man \
|
|
|
|
> $(DEMANGLER_PROG).1
|
|
|
|
|
1997-08-01 05:49:39 +02:00
|
|
|
.PHONY: install-exec-local
|
1991-10-15 01:35:13 +01:00
|
|
|
|
1997-08-01 05:49:39 +02:00
|
|
|
install-exec-local: $(bin_PROGRAMS) $(noinst_PROGRAMS)
|
|
|
|
@list='$(noinst_PROGRAMS)'; for p in $$list; do \
|
|
|
|
if test -f $$p; then \
|
1997-08-05 06:04:31 +02:00
|
|
|
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/-new//'|sed '$(transform)'`"; \
|
|
|
|
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/-new//'|sed '$(transform)'`; \
|
1997-08-01 05:49:39 +02:00
|
|
|
else :; fi; \
|
1991-11-14 01:14:57 +01:00
|
|
|
done
|
1997-08-04 21:55:49 +02:00
|
|
|
$(mkinstalldirs) $(tooldir)/bin
|
1997-04-15 19:45:20 +02:00
|
|
|
for i in $(TOOL_PROGS); do \
|
1997-08-05 06:04:31 +02:00
|
|
|
if [ -f $$i$(EXEEXT) ]; then \
|
|
|
|
j=`echo $$i | sed -e 's/-new//'`; \
|
1997-08-04 21:32:56 +02:00
|
|
|
rm -f $(tooldir)/bin/$$j$(EXEEXT); \
|
1997-08-01 05:49:39 +02:00
|
|
|
k=`echo $$j | sed '$(transform)'`; \
|
1997-08-04 21:32:56 +02:00
|
|
|
ln $(bindir)/$$k$(EXEEXT) $(tooldir)/bin/$$j$(EXEEXT) >/dev/null 2>/dev/null \
|
1997-08-05 06:04:31 +02:00
|
|
|
|| $(INSTALL_PROGRAM) $$i$(EXEEXT) $(tooldir)/bin/$$j$(EXEEXT); \
|
1996-12-31 21:43:28 +01:00
|
|
|
else true; \
|
1996-10-01 21:10:40 +02:00
|
|
|
fi; \
|
|
|
|
done
|
1991-11-16 00:34:35 +01:00
|
|
|
|
1996-01-04 22:35:04 +01:00
|
|
|
# What appears below is generated by a hacked mkdep using gcc -MM.
|
|
|
|
|
|
|
|
# DO NOT DELETE THIS LINE -- mkdep uses it.
|
|
|
|
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
|
|
|
|
|
1997-04-03 20:19:26 +02:00
|
|
|
addr2line.o: addr2line.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
|
|
|
$(INCDIR)/getopt.h $(INCDIR)/libiberty.h $(INCDIR)/demangle.h \
|
|
|
|
bucomm.h config.h $(INCDIR)/fopen-same.h
|
1997-03-18 17:37:42 +01:00
|
|
|
ar.o: ar.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
|
|
|
|
$(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/fopen-same.h \
|
|
|
|
$(INCDIR)/aout/ar.h $(BFDDIR)/libbfd.h arsup.h
|
1996-01-04 22:35:04 +01:00
|
|
|
arsup.o: arsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
1997-03-18 17:37:42 +01:00
|
|
|
arsup.h $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/fopen-same.h
|
1996-01-04 22:35:04 +01:00
|
|
|
bucomm.o: bucomm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
1997-03-18 17:37:42 +01:00
|
|
|
$(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/fopen-same.h
|
1996-01-04 22:35:04 +01:00
|
|
|
coffdump.o: coffdump.c coffgrok.h bucomm.h config.h \
|
|
|
|
$(INCDIR)/fopen-same.h
|
|
|
|
coffgrok.o: coffgrok.c bucomm.h config.h $(INCDIR)/fopen-same.h \
|
1996-10-01 21:10:40 +02:00
|
|
|
$(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h \
|
1996-01-04 22:35:04 +01:00
|
|
|
coffgrok.h
|
|
|
|
debug.o: debug.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
1997-03-18 17:37:42 +01:00
|
|
|
bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
|
|
|
|
debug.h
|
1996-01-04 22:35:04 +01:00
|
|
|
dlltool.o: dlltool.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
1997-03-18 17:37:42 +01:00
|
|
|
$(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/fopen-same.h \
|
1997-06-22 23:35:35 +02:00
|
|
|
$(INCDIR)/getopt.h $(INCDIR)/demangle.h dlltool.h
|
1997-04-03 20:19:26 +02:00
|
|
|
filemode.o: filemode.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
|
|
|
bucomm.h config.h $(INCDIR)/fopen-same.h
|
1997-03-18 17:37:42 +01:00
|
|
|
ieee.o: ieee.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/ieee.h \
|
|
|
|
bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
|
|
|
|
debug.h budbg.h
|
1996-01-04 22:35:04 +01:00
|
|
|
is-ranlib.o: is-ranlib.c
|
|
|
|
is-strip.o: is-strip.c
|
|
|
|
maybe-ranlib.o: maybe-ranlib.c
|
|
|
|
maybe-strip.o: maybe-strip.c
|
|
|
|
nlmconv.o: nlmconv.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
1997-03-18 17:37:42 +01:00
|
|
|
$(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/fopen-same.h \
|
|
|
|
$(BFDDIR)/libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
|
|
|
|
$(INCDIR)/nlm/external.h nlmconv.h
|
|
|
|
nm.o: nm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/progress.h \
|
|
|
|
bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/getopt.h \
|
|
|
|
$(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ranlib.h \
|
|
|
|
$(INCDIR)/demangle.h $(INCDIR)/libiberty.h
|
1996-01-04 22:35:04 +01:00
|
|
|
not-ranlib.o: not-ranlib.c
|
|
|
|
not-strip.o: not-strip.c
|
|
|
|
objcopy.o: objcopy.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
1997-03-18 17:37:42 +01:00
|
|
|
$(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/fopen-same.h \
|
|
|
|
$(INCDIR)/getopt.h $(INCDIR)/libiberty.h budbg.h
|
1996-01-04 22:35:04 +01:00
|
|
|
objdump.o: objdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
1997-03-18 17:37:42 +01:00
|
|
|
$(INCDIR)/getopt.h $(INCDIR)/progress.h bucomm.h config.h \
|
|
|
|
$(INCDIR)/fopen-same.h $(INCDIR)/dis-asm.h $(INCDIR)/libiberty.h \
|
|
|
|
$(INCDIR)/demangle.h debug.h budbg.h $(INCDIR)/aout/aout64.h
|
1996-01-04 22:35:04 +01:00
|
|
|
prdbg.o: prdbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
1997-03-18 17:37:42 +01:00
|
|
|
bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
|
|
|
|
debug.h budbg.h
|
1996-04-16 19:53:58 +02:00
|
|
|
rdcoff.o: rdcoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
1997-03-18 17:37:42 +01:00
|
|
|
$(INCDIR)/coff/internal.h bucomm.h config.h $(INCDIR)/fopen-same.h \
|
|
|
|
$(INCDIR)/libiberty.h $(INCDIR)/demangle.h debug.h \
|
|
|
|
budbg.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h
|
1996-01-04 22:35:04 +01:00
|
|
|
rddbg.o: rddbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
1997-03-18 17:37:42 +01:00
|
|
|
bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
|
|
|
|
debug.h budbg.h
|
|
|
|
size.o: size.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/getopt.h \
|
|
|
|
bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h
|
1996-01-04 22:35:04 +01:00
|
|
|
srconv.o: srconv.c bucomm.h config.h $(INCDIR)/fopen-same.h \
|
1996-10-01 21:10:40 +02:00
|
|
|
sysroff.h coffgrok.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \
|
1996-01-04 22:35:04 +01:00
|
|
|
$(INCDIR)/bfdlink.h sysroff.c
|
|
|
|
stabs.o: stabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
1997-03-18 17:37:42 +01:00
|
|
|
bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
|
|
|
|
$(INCDIR)/demangle.h debug.h budbg.h $(INCDIR)/aout/aout64.h \
|
|
|
|
$(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
|
1996-01-04 22:35:04 +01:00
|
|
|
strings.o: strings.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
1997-03-18 17:37:42 +01:00
|
|
|
bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h
|
1996-01-04 22:35:04 +01:00
|
|
|
sysdump.o: sysdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
1997-03-18 17:37:42 +01:00
|
|
|
bucomm.h config.h $(INCDIR)/fopen-same.h sysroff.h \
|
|
|
|
sysroff.c
|
1996-10-01 21:10:40 +02:00
|
|
|
version.o: version.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
1997-03-18 17:37:42 +01:00
|
|
|
bucomm.h config.h $(INCDIR)/fopen-same.h
|
1996-04-16 19:53:58 +02:00
|
|
|
wrstabs.o: wrstabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
1997-03-18 17:37:42 +01:00
|
|
|
bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
|
|
|
|
debug.h budbg.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
|
|
|
|
$(INCDIR)/aout/stab.def
|
1997-06-22 23:35:35 +02:00
|
|
|
windres.o: windres.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
|
|
|
$(INCDIR)/getopt.h bucomm.h config.h $(INCDIR)/fopen-same.h \
|
1997-06-26 02:59:44 +02:00
|
|
|
$(INCDIR)/libiberty.h $(INCDIR)/obstack.h windres.h
|
1997-06-22 23:35:35 +02:00
|
|
|
resrc.o: resrc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
|
|
|
bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
|
|
|
|
windres.h
|
1997-06-23 02:08:54 +02:00
|
|
|
rescoff.o: rescoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
|
|
|
bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
|
|
|
|
windres.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \
|
|
|
|
$(INCDIR)/bfdlink.h
|
1997-06-26 02:59:44 +02:00
|
|
|
resbin.o: resbin.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
|
|
|
bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
|
|
|
|
windres.h
|
1996-01-04 22:35:04 +01:00
|
|
|
underscore.o: underscore.c
|
|
|
|
arparse.o: arparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
1997-03-18 17:37:42 +01:00
|
|
|
bucomm.h config.h $(INCDIR)/fopen-same.h arsup.h
|
1997-04-03 20:19:26 +02:00
|
|
|
arlex.o: arlex.c $(INCDIR)/libiberty.h arparse.h
|
1996-01-04 22:35:04 +01:00
|
|
|
sysroff.o: sysroff.c
|
|
|
|
sysinfo.o: sysinfo.c
|
|
|
|
syslex.o: syslex.c sysinfo.h
|
1997-06-22 23:35:35 +02:00
|
|
|
defparse.o: defparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
|
|
|
bucomm.h config.h $(INCDIR)/fopen-same.h dlltool.h
|
|
|
|
deflex.o: deflex.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
|
|
|
|
defparse.h dlltool.h
|
1997-03-18 17:37:42 +01:00
|
|
|
nlmheader.o: nlmheader.c ../bfd/bfd.h bucomm.h config.h \
|
|
|
|
$(INCDIR)/fopen-same.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
|
|
|
|
nlmconv.h
|
1997-06-22 23:35:35 +02:00
|
|
|
rcparse.o: rcparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
|
|
|
bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
|
|
|
|
windres.h
|
|
|
|
rclex.o: rclex.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
|
|
|
bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
|
|
|
|
windres.h rcparse.h
|
1996-01-04 22:35:04 +01:00
|
|
|
|
|
|
|
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
|
1997-08-01 05:49:39 +02:00
|
|
|
|
|
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
|
|
.NOEXPORT:
|