2000-04-07 12:34:50 +08:00
|
|
|
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2000-04-07 12:34:50 +08:00
|
|
|
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
1999-05-03 15:29:11 +08:00
|
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
|
|
# PARTICULAR PURPOSE.
|
|
|
|
|
2000-04-07 12:34:50 +08:00
|
|
|
|
1999-05-03 15:29:11 +08:00
|
|
|
SHELL = @SHELL@
|
|
|
|
|
|
|
|
srcdir = @srcdir@
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
|
|
|
|
bindir = @bindir@
|
|
|
|
sbindir = @sbindir@
|
|
|
|
libexecdir = @libexecdir@
|
|
|
|
datadir = @datadir@
|
|
|
|
sysconfdir = @sysconfdir@
|
|
|
|
sharedstatedir = @sharedstatedir@
|
|
|
|
localstatedir = @localstatedir@
|
|
|
|
libdir = @libdir@
|
|
|
|
infodir = @infodir@
|
|
|
|
mandir = @mandir@
|
|
|
|
includedir = @includedir@
|
|
|
|
oldincludedir = /usr/include
|
|
|
|
|
|
|
|
DESTDIR =
|
|
|
|
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
|
|
|
|
|
|
top_builddir = .
|
|
|
|
|
|
|
|
ACLOCAL = @ACLOCAL@
|
|
|
|
AUTOCONF = @AUTOCONF@
|
|
|
|
AUTOMAKE = @AUTOMAKE@
|
|
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
|
|
|
|
INSTALL = @INSTALL@
|
2000-04-07 12:34:50 +08:00
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
1999-05-03 15:29:11 +08:00
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
|
|
transform = @program_transform_name@
|
|
|
|
|
|
|
|
NORMAL_INSTALL = :
|
|
|
|
PRE_INSTALL = :
|
|
|
|
POST_INSTALL = :
|
|
|
|
NORMAL_UNINSTALL = :
|
|
|
|
PRE_UNINSTALL = :
|
|
|
|
POST_UNINSTALL = :
|
|
|
|
build_alias = @build_alias@
|
|
|
|
build_triplet = @build@
|
|
|
|
host_alias = @host_alias@
|
|
|
|
host_triplet = @host@
|
|
|
|
target_alias = @target_alias@
|
|
|
|
target_triplet = @target@
|
|
|
|
AR = @AR@
|
|
|
|
AS = @AS@
|
|
|
|
BUILD_DLLTOOL = @BUILD_DLLTOOL@
|
|
|
|
BUILD_DLLWRAP = @BUILD_DLLWRAP@
|
|
|
|
BUILD_MISC = @BUILD_MISC@
|
|
|
|
BUILD_NLMCONV = @BUILD_NLMCONV@
|
|
|
|
BUILD_SRCONV = @BUILD_SRCONV@
|
|
|
|
BUILD_WINDRES = @BUILD_WINDRES@
|
|
|
|
CATALOGS = @CATALOGS@
|
|
|
|
CATOBJEXT = @CATOBJEXT@
|
|
|
|
CC = @CC@
|
2000-09-03 05:35:47 +08:00
|
|
|
CXX = @CXX@
|
|
|
|
CXXCPP = @CXXCPP@
|
1999-05-03 15:29:11 +08:00
|
|
|
DATADIRNAME = @DATADIRNAME@
|
1999-08-09 02:09:48 +08:00
|
|
|
DEMANGLER_NAME = @DEMANGLER_NAME@
|
1999-05-03 15:29:11 +08:00
|
|
|
DLLTOOL = @DLLTOOL@
|
|
|
|
DLLTOOL_DEFS = @DLLTOOL_DEFS@
|
|
|
|
EXEEXT = @EXEEXT@
|
|
|
|
GMOFILES = @GMOFILES@
|
|
|
|
GMSGFMT = @GMSGFMT@
|
|
|
|
GT_NO = @GT_NO@
|
|
|
|
GT_YES = @GT_YES@
|
|
|
|
HDEFINES = @HDEFINES@
|
|
|
|
INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
|
|
|
|
INSTOBJEXT = @INSTOBJEXT@
|
|
|
|
INTLDEPS = @INTLDEPS@
|
|
|
|
INTLOBJS = @INTLOBJS@
|
|
|
|
LIBTOOL = @LIBTOOL@
|
|
|
|
LN_S = @LN_S@
|
|
|
|
MAINT = @MAINT@
|
|
|
|
MAKEINFO = @MAKEINFO@
|
|
|
|
MKINSTALLDIRS = @MKINSTALLDIRS@
|
|
|
|
MSGFMT = @MSGFMT@
|
|
|
|
NLMCONV_DEFS = @NLMCONV_DEFS@
|
2000-02-28 00:55:52 +08:00
|
|
|
OBJDUMP = @OBJDUMP@
|
2000-09-03 05:35:47 +08:00
|
|
|
OBJEXT = @OBJEXT@
|
1999-05-03 15:29:11 +08:00
|
|
|
PACKAGE = @PACKAGE@
|
|
|
|
POFILES = @POFILES@
|
|
|
|
POSUB = @POSUB@
|
|
|
|
RANLIB = @RANLIB@
|
2000-09-03 05:35:47 +08:00
|
|
|
STRIP = @STRIP@
|
1999-05-03 15:29:11 +08:00
|
|
|
UNDERSCORE = @UNDERSCORE@
|
|
|
|
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
|
|
|
|
USE_NLS = @USE_NLS@
|
|
|
|
VERSION = @VERSION@
|
|
|
|
l = @l@
|
|
|
|
|
|
|
|
INTLLIBS = @INTLLIBS@
|
|
|
|
|
|
|
|
AUTOMAKE_OPTIONS = cygnus dejagnu
|
|
|
|
|
|
|
|
SUBDIRS = po
|
|
|
|
|
|
|
|
tooldir = $(exec_prefix)/$(target_alias)
|
|
|
|
|
|
|
|
CC_FOR_BUILD = @CC_FOR_BUILD@
|
|
|
|
EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
|
|
|
|
|
1999-08-05 23:35:10 +08:00
|
|
|
YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
|
1999-05-03 15:29:11 +08:00
|
|
|
YFLAGS = -d
|
1999-08-05 23:35:10 +08:00
|
|
|
LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi`
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2000-04-09 20:17:43 +08:00
|
|
|
WARN_CFLAGS = @WARN_CFLAGS@
|
|
|
|
AM_CFLAGS = $(WARN_CFLAGS)
|
|
|
|
|
1999-05-03 15:29:11 +08:00
|
|
|
# these two are almost the same program
|
|
|
|
AR_PROG = ar
|
|
|
|
RANLIB_PROG = ranlib
|
|
|
|
|
|
|
|
# objcopy and strip should be the same program
|
|
|
|
OBJCOPY_PROG = objcopy
|
|
|
|
STRIP_PROG = strip-new
|
|
|
|
|
|
|
|
STRINGS_PROG = strings
|
|
|
|
|
|
|
|
READELF_PROG = readelf
|
|
|
|
|
|
|
|
# These should all be the same program too.
|
|
|
|
SIZE_PROG = size
|
|
|
|
NM_PROG = nm-new
|
|
|
|
OBJDUMP_PROG = objdump
|
|
|
|
|
|
|
|
# This is the demangler, as a standalone program.
|
|
|
|
# Note: This one is used as the installed name too, unlike the above.
|
1999-08-09 02:09:48 +08:00
|
|
|
DEMANGLER_PROG = cxxfilt
|
1999-05-03 15:29:11 +08:00
|
|
|
|
|
|
|
ADDR2LINE_PROG = addr2line
|
|
|
|
|
|
|
|
NLMCONV_PROG = nlmconv
|
|
|
|
DLLTOOL_PROG = dlltool
|
|
|
|
WINDRES_PROG = windres
|
|
|
|
DLLWRAP_PROG = dllwrap
|
|
|
|
|
|
|
|
SRCONV_PROG = srconv$(EXEEXT) sysdump$(EXEEXT) coffdump$(EXEEXT)
|
|
|
|
|
|
|
|
man_MANS = ar.1 nm.1 objdump.1 ranlib.1 size.1 strings.1 strip.1 objcopy.1 \
|
1999-08-09 02:09:48 +08:00
|
|
|
addr2line.1 nlmconv.1 $(DEMANGLER_NAME).1
|
1999-05-03 15:29:11 +08:00
|
|
|
|
|
|
|
|
|
|
|
PROGS = $(SIZE_PROG) $(OBJDUMP_PROG) $(NM_PROG) $(AR_PROG) $(STRINGS_PROG) $(STRIP_PROG) $(RANLIB_PROG) $(DEMANGLER_PROG) $(OBJCOPY_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ $(ADDR2LINE_PROG) $(READELF_PROG) @BUILD_DLLWRAP@ @BUILD_MISC@
|
|
|
|
|
1999-08-09 02:09:48 +08:00
|
|
|
bin_PROGRAMS = $(SIZE_PROG) $(OBJDUMP_PROG) $(AR_PROG) $(STRINGS_PROG) $(RANLIB_PROG) $(OBJCOPY_PROG) @BUILD_NLMCONV@ @BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ $(ADDR2LINE_PROG) $(READELF_PROG) @BUILD_DLLWRAP@ @BUILD_MISC@
|
1999-05-03 15:29:11 +08:00
|
|
|
|
1999-08-09 02:09:48 +08:00
|
|
|
noinst_PROGRAMS = $(NM_PROG) $(STRIP_PROG) $(DEMANGLER_PROG)
|
1999-05-03 15:29:11 +08:00
|
|
|
|
|
|
|
EXTRA_PROGRAMS = $(NLMCONV_PROG) srconv sysdump coffdump $(DLLTOOL_PROG) $(WINDRES_PROG) $(DLLWRAP_PROG)
|
|
|
|
|
|
|
|
# Stuff that goes in tooldir/ if appropriate
|
|
|
|
TOOL_PROGS = nm-new strip-new ar ranlib dlltool
|
|
|
|
|
|
|
|
BASEDIR = $(srcdir)/..
|
|
|
|
BFDDIR = $(BASEDIR)/bfd
|
|
|
|
INCDIR = $(BASEDIR)/include
|
|
|
|
|
2000-04-04 18:53:56 +08:00
|
|
|
MKDEP = gcc -MM
|
1999-05-03 15:29:11 +08:00
|
|
|
|
|
|
|
INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) @HDEFINES@ -I$(srcdir)/../intl -I../intl -DLOCALEDIR="\"$(prefix)/share/locale\""
|
|
|
|
|
|
|
|
HFILES = arsup.h bucomm.h budbg.h coffgrok.h debug.h nlmconv.h dlltool.h \
|
2000-06-16 08:46:22 +08:00
|
|
|
windres.h winduni.h
|
1999-05-03 15:29:11 +08:00
|
|
|
|
|
|
|
|
2000-04-04 18:53:56 +08:00
|
|
|
GENERATED_HFILES = arparse.h sysroff.h sysinfo.h defparse.h rcparse.h
|
1999-05-03 15:29:11 +08: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 \
|
|
|
|
maybe-strip.c nlmconv.c nm.c not-ranlib.c not-strip.c \
|
|
|
|
objcopy.c objdump.c prdbg.c rdcoff.c rddbg.c size.c srconv.c \
|
|
|
|
stabs.c strings.c sysdump.c version.c wrstabs.c \
|
|
|
|
windres.c resrc.c rescoff.c resbin.c winduni.c readelf.c \
|
2000-06-16 08:46:22 +08:00
|
|
|
resres.c dllwrap.c rename.c
|
1999-05-03 15:29:11 +08:00
|
|
|
|
|
|
|
|
|
|
|
GENERATED_CFILES = \
|
|
|
|
underscore.c arparse.c arlex.c sysroff.c sysinfo.c syslex.c \
|
|
|
|
defparse.c deflex.c nlmheader.c rcparse.c rclex.c
|
|
|
|
|
|
|
|
|
|
|
|
DEBUG_SRCS = rddbg.c debug.c stabs.c ieee.c rdcoff.c
|
|
|
|
WRITE_DEBUG_SRCS = $(DEBUG_SRCS) wrstabs.c
|
|
|
|
|
|
|
|
# Code shared by all the binutils.
|
|
|
|
BULIBS = bucomm.c version.c filemode.c
|
|
|
|
|
|
|
|
BFDLIB = ../bfd/libbfd.la
|
|
|
|
|
|
|
|
OPCODES = ../opcodes/libopcodes.la
|
|
|
|
|
|
|
|
LIBIBERTY = ../libiberty/libiberty.a
|
|
|
|
|
|
|
|
POTFILES = $(CFILES) $(DEBUG_SRCS) $(HFILES)
|
|
|
|
|
|
|
|
EXPECT = `if [ -f $$r/../expect/expect ] ; then \
|
|
|
|
echo $$r/../expect/expect ; \
|
|
|
|
else echo expect ; fi`
|
|
|
|
|
|
|
|
RUNTEST = `if [ -f ${srcdir}/../dejagnu/runtest ] ; then \
|
|
|
|
echo ${srcdir}/../dejagnu/runtest ; \
|
|
|
|
else echo runtest ; fi`
|
|
|
|
|
|
|
|
|
|
|
|
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 \
|
|
|
|
if [ "@host@" = "@target@" ] ; then \
|
|
|
|
echo $(CC); \
|
|
|
|
else \
|
|
|
|
echo gcc | sed '$(transform)'; \
|
|
|
|
fi; \
|
|
|
|
fi`
|
|
|
|
|
|
|
|
|
|
|
|
info_TEXINFOS = binutils.texi
|
|
|
|
|
|
|
|
LDADD = $(BFDLIB) $(LIBIBERTY) $(INTLLIBS)
|
|
|
|
|
|
|
|
size_SOURCES = size.c $(BULIBS)
|
|
|
|
|
|
|
|
objcopy_SOURCES = objcopy.c not-strip.c rename.c $(WRITE_DEBUG_SRCS) $(BULIBS)
|
|
|
|
|
|
|
|
strings_SOURCES = strings.c $(BULIBS)
|
|
|
|
|
|
|
|
readelf_SOURCES = readelf.c version.c
|
|
|
|
readelf_LDADD = $(INTLLIBS) $(LIBIBERTY)
|
|
|
|
|
|
|
|
strip_new_SOURCES = objcopy.c is-strip.c rename.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) $(INTLLIBS)
|
|
|
|
|
1999-08-09 02:09:48 +08:00
|
|
|
cxxfilt_SOURCES =
|
|
|
|
cxxfilt_LDADD = cplus-dem.o underscore.o $(LIBIBERTY) $(INTLLIBS)
|
1999-05-03 15:29:11 +08:00
|
|
|
|
|
|
|
ar_SOURCES = arparse.y arlex.l ar.c not-ranlib.c arsup.c rename.c $(BULIBS)
|
|
|
|
ar_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
|
|
|
|
|
|
|
|
ranlib_SOURCES = ar.c is-ranlib.c arparse.y arlex.l arsup.c rename.c $(BULIBS)
|
|
|
|
ranlib_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
|
|
|
|
|
|
|
|
addr2line_SOURCES = addr2line.c $(BULIBS)
|
|
|
|
|
|
|
|
srconv_SOURCES = srconv.c coffgrok.c $(BULIBS)
|
|
|
|
|
2000-06-16 08:46:22 +08:00
|
|
|
dlltool_SOURCES = dlltool.c defparse.y deflex.l $(BULIBS)
|
1999-05-03 15:29:11 +08:00
|
|
|
dlltool_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
|
|
|
|
|
|
|
|
coffdump_SOURCES = coffdump.c coffgrok.c $(BULIBS)
|
|
|
|
|
|
|
|
sysdump_SOURCES = sysdump.c $(BULIBS)
|
|
|
|
|
|
|
|
nlmconv_SOURCES = nlmconv.c nlmheader.y $(BULIBS)
|
|
|
|
|
|
|
|
windres_SOURCES = windres.c resrc.c rescoff.c resbin.c rcparse.y rclex.l \
|
|
|
|
winduni.c resres.c $(BULIBS)
|
|
|
|
|
|
|
|
windres_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
|
|
|
|
|
2000-06-16 08:46:22 +08:00
|
|
|
dllwrap_SOURCES = dllwrap.c version.c
|
Based on patches from Mumit Khan <khan@xraylith.wisc.EDU>:
* configure.in: Define EXECUTABLE_SUFFIX.
* dlltool.c: Include "dyn-string.h". Include <stdarg.h> based on
ANSI_PROTOTYPES, not __STDC__.
(outfile): Remove.
(gen_exp_file): Change uses of outfile to use alloca.
(make_one_lib_file, make_head, make_tail): Likewise.
(gen_lib_file): Likewise.
(look_for_prog): New static function.
(deduce_name): Rewrite to use look_for_prog.
(mcore_elf_gen_out_file): Use dyn_string_t rather than outfile.
* dllwrap.c: Don't include <stdio.h>, <errno.h>, <string.h>,
<stdlib.h>, or <unistd.h>. Include <sys/stat.h> and either
<stdarg.h> or <varargs.h>.
(driver_name): Initialize to NULL, not "gcc".
(dlltool_name): Initialize to NULL, not "dlltool".
(display, inform, look_for_prog, deduce_name): New static
functions.
(usage): Mention -mno-cygwin.
(OPTION_MNO_CYGWIN): Define.
(main): Handle -mno-cygwin. Deduce driver_name and dlltool_name.
* resrc.c (look_for_default): Make static. Remove unused local
path. Check using EXECUTABLE_SUFFIX.
(read_rc_file): Allocate enough space to hold EXECUTABLE_SUFFIX.
* Makefile.am: Rebuild dependencies.
(dllwrap_LDADD): Add $(INTLLIBS).
* configure, Makefile.in, config.in: Rebuild.
1999-06-23 04:39:46 +08:00
|
|
|
dllwrap_LDADD = $(LIBIBERTY) $(INTLLIBS)
|
1999-05-03 15:29:11 +08:00
|
|
|
|
|
|
|
DISTSTUFF = arparse.c arparse.h arlex.c nlmheader.c sysinfo.c sysinfo.h \
|
|
|
|
syslex.c deflex.c defparse.h defparse.c rclex.c rcparse.h rcparse.c
|
|
|
|
|
|
|
|
|
|
|
|
DISTCLEANFILES = stamp-under sysinfo underscore.c sysroff.c sysroff.h \
|
|
|
|
site.exp site.bak
|
|
|
|
|
|
|
|
|
|
|
|
MAINTAINERCLEANFILES = config.texi
|
|
|
|
|
1999-08-09 02:09:48 +08:00
|
|
|
MOSTLYCLEANFILES = sysinfo $(DEMANGLER_NAME).1 binutils.log binutils.sum \
|
1999-05-03 15:29:11 +08:00
|
|
|
abcdefgh*
|
|
|
|
|
|
|
|
|
2000-07-01 09:41:09 +08:00
|
|
|
CLEANFILES = dep.sed DEP DEPA DEP1 DEP2
|
1999-05-03 15:29:11 +08:00
|
|
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
|
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
|
|
|
|
CONFIG_HEADER = config.h
|
|
|
|
CONFIG_CLEAN_FILES =
|
|
|
|
bin_PROGRAMS = size$(EXEEXT) objdump$(EXEEXT) ar$(EXEEXT) \
|
1999-08-09 02:09:48 +08:00
|
|
|
strings$(EXEEXT) ranlib$(EXEEXT) objcopy$(EXEEXT) @BUILD_NLMCONV@ \
|
|
|
|
@BUILD_SRCONV@ @BUILD_DLLTOOL@ @BUILD_WINDRES@ addr2line$(EXEEXT) \
|
|
|
|
readelf$(EXEEXT) @BUILD_DLLWRAP@ @BUILD_MISC@
|
|
|
|
noinst_PROGRAMS = nm-new$(EXEEXT) strip-new$(EXEEXT) cxxfilt$(EXEEXT)
|
1999-05-03 15:29:11 +08:00
|
|
|
PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
|
|
|
|
|
|
|
|
|
|
|
|
DEFS = @DEFS@ -I. -I$(srcdir) -I.
|
|
|
|
CPPFLAGS = @CPPFLAGS@
|
|
|
|
LDFLAGS = @LDFLAGS@
|
|
|
|
LIBS = @LIBS@
|
2000-09-03 05:35:47 +08:00
|
|
|
nlmconv_OBJECTS = nlmconv.$(OBJEXT) nlmheader.$(OBJEXT) \
|
|
|
|
bucomm.$(OBJEXT) version.$(OBJEXT) filemode.$(OBJEXT)
|
2000-04-07 12:34:50 +08:00
|
|
|
nlmconv_LDADD = $(LDADD)
|
|
|
|
nlmconv_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
nlmconv_LDFLAGS =
|
2000-09-03 05:35:47 +08:00
|
|
|
srconv_OBJECTS = srconv.$(OBJEXT) coffgrok.$(OBJEXT) bucomm.$(OBJEXT) \
|
|
|
|
version.$(OBJEXT) filemode.$(OBJEXT)
|
2000-04-07 12:34:50 +08:00
|
|
|
srconv_LDADD = $(LDADD)
|
|
|
|
srconv_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
srconv_LDFLAGS =
|
2000-09-03 05:35:47 +08:00
|
|
|
sysdump_OBJECTS = sysdump.$(OBJEXT) bucomm.$(OBJEXT) version.$(OBJEXT) \
|
|
|
|
filemode.$(OBJEXT)
|
2000-04-07 12:34:50 +08:00
|
|
|
sysdump_LDADD = $(LDADD)
|
|
|
|
sysdump_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
sysdump_LDFLAGS =
|
2000-09-03 05:35:47 +08:00
|
|
|
coffdump_OBJECTS = coffdump.$(OBJEXT) coffgrok.$(OBJEXT) \
|
|
|
|
bucomm.$(OBJEXT) version.$(OBJEXT) filemode.$(OBJEXT)
|
1999-05-03 15:29:11 +08:00
|
|
|
coffdump_LDADD = $(LDADD)
|
|
|
|
coffdump_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
coffdump_LDFLAGS =
|
2000-09-03 05:35:47 +08:00
|
|
|
dlltool_OBJECTS = dlltool.$(OBJEXT) defparse.$(OBJEXT) deflex.$(OBJEXT) \
|
|
|
|
bucomm.$(OBJEXT) version.$(OBJEXT) filemode.$(OBJEXT)
|
1999-05-03 15:29:11 +08:00
|
|
|
dlltool_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
dlltool_LDFLAGS =
|
2000-09-03 05:35:47 +08:00
|
|
|
windres_OBJECTS = windres.$(OBJEXT) resrc.$(OBJEXT) rescoff.$(OBJEXT) \
|
|
|
|
resbin.$(OBJEXT) rcparse.$(OBJEXT) rclex.$(OBJEXT) winduni.$(OBJEXT) \
|
|
|
|
resres.$(OBJEXT) bucomm.$(OBJEXT) version.$(OBJEXT) filemode.$(OBJEXT)
|
2000-04-07 12:34:50 +08:00
|
|
|
windres_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
windres_LDFLAGS =
|
2000-09-03 05:35:47 +08:00
|
|
|
dllwrap_OBJECTS = dllwrap.$(OBJEXT) version.$(OBJEXT)
|
1999-05-03 15:29:11 +08:00
|
|
|
dllwrap_DEPENDENCIES = ../libiberty/libiberty.a
|
|
|
|
dllwrap_LDFLAGS =
|
2000-09-03 05:35:47 +08:00
|
|
|
size_OBJECTS = size.$(OBJEXT) bucomm.$(OBJEXT) version.$(OBJEXT) \
|
|
|
|
filemode.$(OBJEXT)
|
2000-04-07 12:34:50 +08:00
|
|
|
size_LDADD = $(LDADD)
|
|
|
|
size_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
size_LDFLAGS =
|
2000-09-03 05:35:47 +08:00
|
|
|
objdump_OBJECTS = objdump.$(OBJEXT) prdbg.$(OBJEXT) rddbg.$(OBJEXT) \
|
|
|
|
debug.$(OBJEXT) stabs.$(OBJEXT) ieee.$(OBJEXT) rdcoff.$(OBJEXT) \
|
|
|
|
bucomm.$(OBJEXT) version.$(OBJEXT) filemode.$(OBJEXT)
|
1999-05-03 15:29:11 +08:00
|
|
|
objdump_DEPENDENCIES = ../opcodes/libopcodes.la ../bfd/libbfd.la \
|
|
|
|
../libiberty/libiberty.a
|
|
|
|
objdump_LDFLAGS =
|
2000-09-03 05:35:47 +08:00
|
|
|
ar_OBJECTS = arparse.$(OBJEXT) arlex.$(OBJEXT) ar.$(OBJEXT) \
|
|
|
|
not-ranlib.$(OBJEXT) arsup.$(OBJEXT) rename.$(OBJEXT) bucomm.$(OBJEXT) \
|
|
|
|
version.$(OBJEXT) filemode.$(OBJEXT)
|
2000-04-07 12:34:50 +08:00
|
|
|
ar_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
ar_LDFLAGS =
|
2000-09-03 05:35:47 +08:00
|
|
|
strings_OBJECTS = strings.$(OBJEXT) bucomm.$(OBJEXT) version.$(OBJEXT) \
|
|
|
|
filemode.$(OBJEXT)
|
2000-04-07 12:34:50 +08:00
|
|
|
strings_LDADD = $(LDADD)
|
|
|
|
strings_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
strings_LDFLAGS =
|
2000-09-03 05:35:47 +08:00
|
|
|
ranlib_OBJECTS = ar.$(OBJEXT) is-ranlib.$(OBJEXT) arparse.$(OBJEXT) \
|
|
|
|
arlex.$(OBJEXT) arsup.$(OBJEXT) rename.$(OBJEXT) bucomm.$(OBJEXT) \
|
|
|
|
version.$(OBJEXT) filemode.$(OBJEXT)
|
1999-05-03 15:29:11 +08:00
|
|
|
ranlib_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
ranlib_LDFLAGS =
|
2000-09-03 05:35:47 +08:00
|
|
|
objcopy_OBJECTS = objcopy.$(OBJEXT) not-strip.$(OBJEXT) \
|
|
|
|
rename.$(OBJEXT) rddbg.$(OBJEXT) debug.$(OBJEXT) stabs.$(OBJEXT) \
|
|
|
|
ieee.$(OBJEXT) rdcoff.$(OBJEXT) wrstabs.$(OBJEXT) bucomm.$(OBJEXT) \
|
|
|
|
version.$(OBJEXT) filemode.$(OBJEXT)
|
2000-04-07 12:34:50 +08:00
|
|
|
objcopy_LDADD = $(LDADD)
|
|
|
|
objcopy_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
objcopy_LDFLAGS =
|
2000-09-03 05:35:47 +08:00
|
|
|
addr2line_OBJECTS = addr2line.$(OBJEXT) bucomm.$(OBJEXT) \
|
|
|
|
version.$(OBJEXT) filemode.$(OBJEXT)
|
2000-04-07 12:34:50 +08:00
|
|
|
addr2line_LDADD = $(LDADD)
|
|
|
|
addr2line_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
addr2line_LDFLAGS =
|
2000-09-03 05:35:47 +08:00
|
|
|
readelf_OBJECTS = readelf.$(OBJEXT) version.$(OBJEXT)
|
1999-05-03 15:29:11 +08:00
|
|
|
readelf_DEPENDENCIES = ../libiberty/libiberty.a
|
|
|
|
readelf_LDFLAGS =
|
2000-09-03 05:35:47 +08:00
|
|
|
nm_new_OBJECTS = nm.$(OBJEXT) bucomm.$(OBJEXT) version.$(OBJEXT) \
|
|
|
|
filemode.$(OBJEXT)
|
2000-04-07 12:34:50 +08:00
|
|
|
nm_new_LDADD = $(LDADD)
|
|
|
|
nm_new_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
nm_new_LDFLAGS =
|
2000-09-03 05:35:47 +08:00
|
|
|
strip_new_OBJECTS = objcopy.$(OBJEXT) is-strip.$(OBJEXT) \
|
|
|
|
rename.$(OBJEXT) rddbg.$(OBJEXT) debug.$(OBJEXT) stabs.$(OBJEXT) \
|
|
|
|
ieee.$(OBJEXT) rdcoff.$(OBJEXT) wrstabs.$(OBJEXT) bucomm.$(OBJEXT) \
|
|
|
|
version.$(OBJEXT) filemode.$(OBJEXT)
|
1999-05-03 15:29:11 +08:00
|
|
|
strip_new_LDADD = $(LDADD)
|
|
|
|
strip_new_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a
|
|
|
|
strip_new_LDFLAGS =
|
2000-04-07 12:34:50 +08:00
|
|
|
cxxfilt_OBJECTS =
|
|
|
|
cxxfilt_DEPENDENCIES = cplus-dem.o underscore.o \
|
|
|
|
../libiberty/libiberty.a
|
|
|
|
cxxfilt_LDFLAGS =
|
1999-05-03 15:29:11 +08:00
|
|
|
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
|
|
|
LEXLIB = @LEXLIB@
|
|
|
|
YLWRAP = $(top_srcdir)/../ylwrap
|
2000-04-07 12:34:50 +08:00
|
|
|
CFLAGS = @CFLAGS@
|
|
|
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
|
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
1999-05-03 15:29:11 +08:00
|
|
|
CCLD = $(CC)
|
2000-04-07 12:34:50 +08:00
|
|
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
|
1999-05-03 15:29:11 +08:00
|
|
|
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
|
|
|
|
man1dir = $(mandir)/man1
|
|
|
|
MANS = $(man_MANS)
|
|
|
|
|
|
|
|
NROFF = nroff
|
2000-04-07 12:34:50 +08:00
|
|
|
DIST_COMMON = README ./stamp-h.in ChangeLog Makefile.am Makefile.in \
|
|
|
|
NEWS acinclude.m4 aclocal.m4 arlex.c arparse.c config.in configure \
|
|
|
|
configure.in deflex.c defparse.c nlmheader.c rclex.c rcparse.c
|
1999-05-03 15:29:11 +08:00
|
|
|
|
|
|
|
|
2000-04-07 12:34:50 +08:00
|
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2000-09-03 05:35:47 +08:00
|
|
|
TAR = gtar
|
1999-05-03 15:29:11 +08:00
|
|
|
GZIP_ENV = --best
|
2000-04-07 12:34:50 +08:00
|
|
|
SOURCES = $(nlmconv_SOURCES) $(srconv_SOURCES) $(sysdump_SOURCES) $(coffdump_SOURCES) $(dlltool_SOURCES) $(windres_SOURCES) $(dllwrap_SOURCES) $(size_SOURCES) $(objdump_SOURCES) $(ar_SOURCES) $(strings_SOURCES) $(ranlib_SOURCES) $(objcopy_SOURCES) $(addr2line_SOURCES) $(readelf_SOURCES) $(nm_new_SOURCES) $(strip_new_SOURCES) $(cxxfilt_SOURCES)
|
|
|
|
OBJECTS = $(nlmconv_OBJECTS) $(srconv_OBJECTS) $(sysdump_OBJECTS) $(coffdump_OBJECTS) $(dlltool_OBJECTS) $(windres_OBJECTS) $(dllwrap_OBJECTS) $(size_OBJECTS) $(objdump_OBJECTS) $(ar_OBJECTS) $(strings_OBJECTS) $(ranlib_OBJECTS) $(objcopy_OBJECTS) $(addr2line_OBJECTS) $(readelf_OBJECTS) $(nm_new_OBJECTS) $(strip_new_OBJECTS) $(cxxfilt_OBJECTS)
|
1999-05-03 15:29:11 +08:00
|
|
|
|
|
|
|
all: all-redirect
|
|
|
|
.SUFFIXES:
|
2000-09-03 05:35:47 +08:00
|
|
|
.SUFFIXES: .S .c .dvi .info .l .lo .o .obj .ps .s .texi .texinfo .txi .y
|
1999-05-03 15:29:11 +08:00
|
|
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ 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): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
|
|
|
|
cd $(srcdir) && $(ACLOCAL)
|
|
|
|
|
|
|
|
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
|
|
|
$(SHELL) ./config.status --recheck
|
|
|
|
$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
|
|
|
cd $(srcdir) && $(AUTOCONF)
|
|
|
|
|
|
|
|
config.h: stamp-h
|
|
|
|
@if test ! -f $@; then \
|
|
|
|
rm -f stamp-h; \
|
|
|
|
$(MAKE) stamp-h; \
|
|
|
|
else :; fi
|
|
|
|
stamp-h: $(srcdir)/config.in $(top_builddir)/config.status
|
|
|
|
cd $(top_builddir) \
|
|
|
|
&& CONFIG_FILES= CONFIG_HEADERS=config.h:config.in \
|
|
|
|
$(SHELL) ./config.status
|
2000-04-07 12:34:50 +08:00
|
|
|
@echo timestamp > stamp-h 2> /dev/null
|
|
|
|
$(srcdir)/config.in: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-h.in
|
1999-05-03 15:29:11 +08:00
|
|
|
@if test ! -f $@; then \
|
2000-04-07 12:34:50 +08:00
|
|
|
rm -f $(srcdir)/stamp-h.in; \
|
|
|
|
$(MAKE) $(srcdir)/stamp-h.in; \
|
1999-05-03 15:29:11 +08:00
|
|
|
else :; fi
|
2000-04-07 12:34:50 +08:00
|
|
|
$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
1999-05-03 15:29:11 +08:00
|
|
|
cd $(top_srcdir) && $(AUTOHEADER)
|
2000-04-07 12:34:50 +08:00
|
|
|
@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
|
1999-05-03 15:29:11 +08:00
|
|
|
|
|
|
|
mostlyclean-hdr:
|
|
|
|
|
|
|
|
clean-hdr:
|
|
|
|
|
|
|
|
distclean-hdr:
|
|
|
|
-rm -f config.h
|
|
|
|
|
|
|
|
maintainer-clean-hdr:
|
|
|
|
|
|
|
|
mostlyclean-binPROGRAMS:
|
|
|
|
|
|
|
|
clean-binPROGRAMS:
|
|
|
|
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
|
|
|
|
|
|
|
distclean-binPROGRAMS:
|
|
|
|
|
|
|
|
maintainer-clean-binPROGRAMS:
|
|
|
|
|
|
|
|
install-binPROGRAMS: $(bin_PROGRAMS)
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
|
|
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
|
|
if test -f $$p; then \
|
2000-04-07 12:34:50 +08:00
|
|
|
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
|
|
|
|
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
|
1999-05-03 15:29:11 +08:00
|
|
|
else :; fi; \
|
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-binPROGRAMS:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
2000-04-07 12:34:50 +08:00
|
|
|
list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
|
|
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
|
1999-05-03 15:29:11 +08:00
|
|
|
done
|
|
|
|
|
|
|
|
mostlyclean-noinstPROGRAMS:
|
|
|
|
|
|
|
|
clean-noinstPROGRAMS:
|
|
|
|
-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
|
|
|
|
|
|
|
|
distclean-noinstPROGRAMS:
|
|
|
|
|
|
|
|
maintainer-clean-noinstPROGRAMS:
|
|
|
|
|
2000-04-07 12:34:50 +08:00
|
|
|
.c.o:
|
|
|
|
$(COMPILE) -c $<
|
|
|
|
|
2000-09-03 05:35:47 +08:00
|
|
|
# FIXME: We should only use cygpath when building on Windows,
|
|
|
|
# and only if it is available.
|
|
|
|
.c.obj:
|
|
|
|
$(COMPILE) -c `cygpath -w $<`
|
|
|
|
|
2000-04-07 12:34:50 +08:00
|
|
|
.s.o:
|
|
|
|
$(COMPILE) -c $<
|
|
|
|
|
|
|
|
.S.o:
|
|
|
|
$(COMPILE) -c $<
|
|
|
|
|
1999-05-03 15:29:11 +08:00
|
|
|
mostlyclean-compile:
|
|
|
|
-rm -f *.o core *.core
|
2000-09-03 05:35:47 +08:00
|
|
|
-rm -f *.$(OBJEXT)
|
1999-05-03 15:29:11 +08:00
|
|
|
|
|
|
|
clean-compile:
|
|
|
|
|
|
|
|
distclean-compile:
|
|
|
|
-rm -f *.tab.c
|
|
|
|
|
|
|
|
maintainer-clean-compile:
|
|
|
|
|
2000-04-07 12:34:50 +08:00
|
|
|
.c.lo:
|
|
|
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
|
|
|
|
|
|
|
.s.lo:
|
|
|
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
|
|
|
|
|
|
|
.S.lo:
|
|
|
|
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
|
|
|
|
|
1999-05-03 15:29:11 +08:00
|
|
|
mostlyclean-libtool:
|
|
|
|
-rm -f *.lo
|
|
|
|
|
|
|
|
clean-libtool:
|
|
|
|
-rm -rf .libs _libs
|
|
|
|
|
|
|
|
distclean-libtool:
|
|
|
|
|
|
|
|
maintainer-clean-libtool:
|
|
|
|
|
2000-04-07 12:34:50 +08:00
|
|
|
nlmconv$(EXEEXT): $(nlmconv_OBJECTS) $(nlmconv_DEPENDENCIES)
|
|
|
|
@rm -f nlmconv$(EXEEXT)
|
|
|
|
$(LINK) $(nlmconv_LDFLAGS) $(nlmconv_OBJECTS) $(nlmconv_LDADD) $(LIBS)
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2000-04-07 12:34:50 +08:00
|
|
|
srconv$(EXEEXT): $(srconv_OBJECTS) $(srconv_DEPENDENCIES)
|
|
|
|
@rm -f srconv$(EXEEXT)
|
|
|
|
$(LINK) $(srconv_LDFLAGS) $(srconv_OBJECTS) $(srconv_LDADD) $(LIBS)
|
|
|
|
|
|
|
|
sysdump$(EXEEXT): $(sysdump_OBJECTS) $(sysdump_DEPENDENCIES)
|
|
|
|
@rm -f sysdump$(EXEEXT)
|
|
|
|
$(LINK) $(sysdump_LDFLAGS) $(sysdump_OBJECTS) $(sysdump_LDADD) $(LIBS)
|
1999-05-03 15:29:11 +08:00
|
|
|
|
|
|
|
coffdump$(EXEEXT): $(coffdump_OBJECTS) $(coffdump_DEPENDENCIES)
|
|
|
|
@rm -f coffdump$(EXEEXT)
|
|
|
|
$(LINK) $(coffdump_LDFLAGS) $(coffdump_OBJECTS) $(coffdump_LDADD) $(LIBS)
|
|
|
|
|
|
|
|
dlltool$(EXEEXT): $(dlltool_OBJECTS) $(dlltool_DEPENDENCIES)
|
|
|
|
@rm -f dlltool$(EXEEXT)
|
|
|
|
$(LINK) $(dlltool_LDFLAGS) $(dlltool_OBJECTS) $(dlltool_LDADD) $(LIBS)
|
|
|
|
|
2000-04-07 12:34:50 +08:00
|
|
|
windres$(EXEEXT): $(windres_OBJECTS) $(windres_DEPENDENCIES)
|
|
|
|
@rm -f windres$(EXEEXT)
|
|
|
|
$(LINK) $(windres_LDFLAGS) $(windres_OBJECTS) $(windres_LDADD) $(LIBS)
|
|
|
|
|
1999-05-03 15:29:11 +08:00
|
|
|
dllwrap$(EXEEXT): $(dllwrap_OBJECTS) $(dllwrap_DEPENDENCIES)
|
|
|
|
@rm -f dllwrap$(EXEEXT)
|
|
|
|
$(LINK) $(dllwrap_LDFLAGS) $(dllwrap_OBJECTS) $(dllwrap_LDADD) $(LIBS)
|
|
|
|
|
2000-04-07 12:34:50 +08:00
|
|
|
size$(EXEEXT): $(size_OBJECTS) $(size_DEPENDENCIES)
|
|
|
|
@rm -f size$(EXEEXT)
|
|
|
|
$(LINK) $(size_LDFLAGS) $(size_OBJECTS) $(size_LDADD) $(LIBS)
|
1999-05-03 15:29:11 +08:00
|
|
|
|
|
|
|
objdump$(EXEEXT): $(objdump_OBJECTS) $(objdump_DEPENDENCIES)
|
|
|
|
@rm -f objdump$(EXEEXT)
|
|
|
|
$(LINK) $(objdump_LDFLAGS) $(objdump_OBJECTS) $(objdump_LDADD) $(LIBS)
|
|
|
|
|
2000-04-07 12:34:50 +08:00
|
|
|
ar$(EXEEXT): $(ar_OBJECTS) $(ar_DEPENDENCIES)
|
|
|
|
@rm -f ar$(EXEEXT)
|
|
|
|
$(LINK) $(ar_LDFLAGS) $(ar_OBJECTS) $(ar_LDADD) $(LIBS)
|
|
|
|
|
|
|
|
strings$(EXEEXT): $(strings_OBJECTS) $(strings_DEPENDENCIES)
|
|
|
|
@rm -f strings$(EXEEXT)
|
|
|
|
$(LINK) $(strings_LDFLAGS) $(strings_OBJECTS) $(strings_LDADD) $(LIBS)
|
|
|
|
|
1999-05-03 15:29:11 +08:00
|
|
|
ranlib$(EXEEXT): $(ranlib_OBJECTS) $(ranlib_DEPENDENCIES)
|
|
|
|
@rm -f ranlib$(EXEEXT)
|
|
|
|
$(LINK) $(ranlib_LDFLAGS) $(ranlib_OBJECTS) $(ranlib_LDADD) $(LIBS)
|
|
|
|
|
2000-04-07 12:34:50 +08:00
|
|
|
objcopy$(EXEEXT): $(objcopy_OBJECTS) $(objcopy_DEPENDENCIES)
|
|
|
|
@rm -f objcopy$(EXEEXT)
|
|
|
|
$(LINK) $(objcopy_LDFLAGS) $(objcopy_OBJECTS) $(objcopy_LDADD) $(LIBS)
|
|
|
|
|
|
|
|
addr2line$(EXEEXT): $(addr2line_OBJECTS) $(addr2line_DEPENDENCIES)
|
|
|
|
@rm -f addr2line$(EXEEXT)
|
|
|
|
$(LINK) $(addr2line_LDFLAGS) $(addr2line_OBJECTS) $(addr2line_LDADD) $(LIBS)
|
|
|
|
|
1999-05-03 15:29:11 +08:00
|
|
|
readelf$(EXEEXT): $(readelf_OBJECTS) $(readelf_DEPENDENCIES)
|
|
|
|
@rm -f readelf$(EXEEXT)
|
|
|
|
$(LINK) $(readelf_LDFLAGS) $(readelf_OBJECTS) $(readelf_LDADD) $(LIBS)
|
|
|
|
|
2000-04-07 12:34:50 +08:00
|
|
|
nm-new$(EXEEXT): $(nm_new_OBJECTS) $(nm_new_DEPENDENCIES)
|
|
|
|
@rm -f nm-new$(EXEEXT)
|
|
|
|
$(LINK) $(nm_new_LDFLAGS) $(nm_new_OBJECTS) $(nm_new_LDADD) $(LIBS)
|
1999-05-03 15:29:11 +08:00
|
|
|
|
|
|
|
strip-new$(EXEEXT): $(strip_new_OBJECTS) $(strip_new_DEPENDENCIES)
|
|
|
|
@rm -f strip-new$(EXEEXT)
|
|
|
|
$(LINK) $(strip_new_LDFLAGS) $(strip_new_OBJECTS) $(strip_new_LDADD) $(LIBS)
|
1999-08-09 02:09:48 +08:00
|
|
|
|
2000-04-07 12:34:50 +08:00
|
|
|
cxxfilt$(EXEEXT): $(cxxfilt_OBJECTS) $(cxxfilt_DEPENDENCIES)
|
|
|
|
@rm -f cxxfilt$(EXEEXT)
|
|
|
|
$(LINK) $(cxxfilt_LDFLAGS) $(cxxfilt_OBJECTS) $(cxxfilt_LDADD) $(LIBS)
|
1999-05-03 15:29:11 +08:00
|
|
|
.l.c:
|
|
|
|
$(SHELL) $(YLWRAP) "$(LEX)" $< $(LEX_OUTPUT_ROOT).c $@ -- $(AM_LFLAGS) $(LFLAGS)
|
|
|
|
.y.c:
|
|
|
|
$(SHELL) $(YLWRAP) "$(YACC)" $< y.tab.c $*.c y.tab.h $*.h -- $(AM_YFLAGS) $(YFLAGS)
|
|
|
|
arparse.h: arparse.c
|
|
|
|
defparse.h: defparse.c
|
|
|
|
nlmheader.h: nlmheader.c
|
|
|
|
rcparse.h: rcparse.c
|
|
|
|
|
|
|
|
|
|
|
|
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:
|
2000-04-07 12:34:50 +08:00
|
|
|
TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
|
1999-05-03 15:29:11 +08:00
|
|
|
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:
|
2000-04-07 12:34:50 +08:00
|
|
|
TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
|
1999-05-03 15:29:11 +08:00
|
|
|
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
|
|
|
|
|
|
|
.txi.info:
|
|
|
|
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
|
|
|
$(MAKEINFO) -I $(srcdir) $<
|
|
|
|
|
|
|
|
.txi.dvi:
|
2000-04-07 12:34:50 +08:00
|
|
|
TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
|
1999-05-03 15:29:11 +08:00
|
|
|
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
|
|
|
|
|
|
|
.txi:
|
|
|
|
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
|
|
|
$(MAKEINFO) -I $(srcdir) $<
|
|
|
|
.dvi.ps:
|
|
|
|
$(DVIPS) $< -o $@
|
|
|
|
|
|
|
|
install-info-am: $(INFO_DEPS)
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(infodir)
|
|
|
|
@list='$(INFO_DEPS)'; \
|
|
|
|
for file in $$list; do \
|
|
|
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
2000-04-07 12:34:50 +08:00
|
|
|
for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
|
1999-05-03 15:29:11 +08:00
|
|
|
if test -f $$d/$$ifile; then \
|
|
|
|
echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
|
|
|
|
$(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(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 \
|
|
|
|
list='$(INFO_DEPS)'; \
|
|
|
|
for file in $$list; do \
|
|
|
|
echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
|
|
|
|
install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(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 \
|
2000-04-07 12:34:50 +08:00
|
|
|
ii=yes; \
|
|
|
|
else ii=; fi; \
|
|
|
|
list='$(INFO_DEPS)'; \
|
|
|
|
for file in $$list; do \
|
|
|
|
test -z "$ii" \
|
|
|
|
|| install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
|
|
|
|
done
|
1999-05-03 15:29:11 +08:00
|
|
|
@$(NORMAL_UNINSTALL)
|
2000-04-07 12:34:50 +08:00
|
|
|
list='$(INFO_DEPS)'; \
|
1999-05-03 15:29:11 +08:00
|
|
|
for file in $$list; do \
|
2000-04-07 12:34:50 +08:00
|
|
|
(cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
|
1999-05-03 15:29:11 +08:00
|
|
|
done
|
|
|
|
|
|
|
|
dist-info: $(INFO_DEPS)
|
|
|
|
list='$(INFO_DEPS)'; \
|
|
|
|
for base in $$list; do \
|
|
|
|
if test -f $$base; then d=.; else d=$(srcdir); fi; \
|
2000-04-07 12:34:50 +08:00
|
|
|
for file in `cd $$d && eval echo $$base*`; do \
|
1999-05-03 15:29:11 +08:00
|
|
|
test -f $(distdir)/$$file \
|
2000-04-07 12:34:50 +08:00
|
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
1999-05-03 15:29:11 +08:00
|
|
|
|| cp -p $$d/$$file $(distdir)/$$file; \
|
|
|
|
done; \
|
|
|
|
done
|
|
|
|
|
|
|
|
mostlyclean-aminfo:
|
|
|
|
-rm -f binutils.aux binutils.cp binutils.cps binutils.dvi binutils.fn \
|
2000-04-07 12:34:50 +08:00
|
|
|
binutils.fns binutils.ky binutils.kys binutils.ps \
|
|
|
|
binutils.log binutils.pg binutils.toc binutils.tp \
|
1999-05-03 15:29:11 +08:00
|
|
|
binutils.tps binutils.vr binutils.vrs binutils.op binutils.tr \
|
2000-04-07 12:34:50 +08:00
|
|
|
binutils.cv binutils.cn
|
1999-05-03 15:29:11 +08:00
|
|
|
|
|
|
|
clean-aminfo:
|
|
|
|
|
|
|
|
distclean-aminfo:
|
|
|
|
|
|
|
|
maintainer-clean-aminfo:
|
|
|
|
for i in $(INFO_DEPS); do \
|
|
|
|
rm -f $$i; \
|
|
|
|
if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
|
|
|
|
rm -f $$i-[0-9]*; \
|
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
clean-info: mostlyclean-aminfo
|
|
|
|
|
|
|
|
install-man1:
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(man1dir)
|
|
|
|
@list='$(man1_MANS)'; \
|
|
|
|
l2='$(man_MANS)'; for i in $$l2; do \
|
|
|
|
case "$$i" in \
|
|
|
|
*.1*) list="$$list $$i" ;; \
|
|
|
|
esac; \
|
|
|
|
done; \
|
|
|
|
for i in $$list; do \
|
|
|
|
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
|
|
|
|
else file=$$i; fi; \
|
|
|
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
|
|
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
|
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
|
|
|
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
|
|
|
|
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
|
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-man1:
|
|
|
|
@list='$(man1_MANS)'; \
|
|
|
|
l2='$(man_MANS)'; for i in $$l2; do \
|
|
|
|
case "$$i" in \
|
|
|
|
*.1*) list="$$list $$i" ;; \
|
|
|
|
esac; \
|
|
|
|
done; \
|
|
|
|
for i in $$list; do \
|
|
|
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
|
|
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
|
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
|
|
|
echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
|
|
|
|
rm -f $(DESTDIR)$(man1dir)/$$inst; \
|
|
|
|
done
|
|
|
|
install-man: $(MANS)
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) install-man1
|
|
|
|
uninstall-man:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
|
|
|
|
|
|
|
|
# This directory's subdirectories are mostly independent; you can cd
|
|
|
|
# into them and run `make' without going through this Makefile.
|
|
|
|
# To change the values of `make' variables: instead of editing Makefiles,
|
|
|
|
# (1) if the variable is set in `config.status', edit `config.status'
|
|
|
|
# (which will cause the Makefiles to be regenerated when you run `make');
|
|
|
|
# (2) otherwise, pass the desired values on the `make' command line.
|
|
|
|
|
2000-04-07 12:34:50 +08:00
|
|
|
@SET_MAKE@
|
|
|
|
|
1999-05-03 15:29:11 +08:00
|
|
|
all-recursive install-data-recursive install-exec-recursive \
|
|
|
|
installdirs-recursive install-recursive uninstall-recursive install-info-recursive \
|
|
|
|
check-recursive installcheck-recursive info-recursive dvi-recursive:
|
|
|
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
|
|
|
dot_seen=no; \
|
|
|
|
target=`echo $@ | sed s/-recursive//`; \
|
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
|
|
echo "Making $$target in $$subdir"; \
|
|
|
|
if test "$$subdir" = "."; then \
|
|
|
|
dot_seen=yes; \
|
|
|
|
local_target="$$target-am"; \
|
|
|
|
else \
|
|
|
|
local_target="$$target"; \
|
|
|
|
fi; \
|
|
|
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|
|
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
|
|
|
done; \
|
|
|
|
if test "$$dot_seen" = "no"; then \
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
|
|
|
fi; test -z "$$fail"
|
|
|
|
|
|
|
|
mostlyclean-recursive clean-recursive distclean-recursive \
|
|
|
|
maintainer-clean-recursive:
|
|
|
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
|
|
|
dot_seen=no; \
|
|
|
|
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
|
|
rev="$$subdir $$rev"; \
|
2000-04-07 12:34:50 +08:00
|
|
|
test "$$subdir" = "." && dot_seen=yes; \
|
1999-05-03 15:29:11 +08:00
|
|
|
done; \
|
|
|
|
test "$$dot_seen" = "no" && rev=". $$rev"; \
|
|
|
|
target=`echo $@ | sed s/-recursive//`; \
|
|
|
|
for subdir in $$rev; do \
|
|
|
|
echo "Making $$target in $$subdir"; \
|
|
|
|
if test "$$subdir" = "."; then \
|
|
|
|
local_target="$$target-am"; \
|
|
|
|
else \
|
|
|
|
local_target="$$target"; \
|
|
|
|
fi; \
|
|
|
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|
|
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
|
|
|
done && test -z "$$fail"
|
|
|
|
tags-recursive:
|
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
|
|
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
|
|
|
done
|
|
|
|
|
|
|
|
tags: TAGS
|
|
|
|
|
2000-04-07 12:34:50 +08:00
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
|
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
|
|
awk ' { files[$$0] = 1; } \
|
1999-05-03 15:29:11 +08:00
|
|
|
END { for (i in files) print i; }'`; \
|
2000-04-07 12:34:50 +08:00
|
|
|
here=`pwd` && cd $(srcdir) \
|
|
|
|
&& mkid -f$$here/ID $$unique $(LISP)
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2000-04-07 12:34:50 +08:00
|
|
|
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) $(LISP)
|
1999-05-03 15:29:11 +08:00
|
|
|
tags=; \
|
|
|
|
here=`pwd`; \
|
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
|
|
if test "$$subdir" = .; then :; else \
|
|
|
|
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
|
|
|
fi; \
|
|
|
|
done; \
|
2000-04-07 12:34:50 +08:00
|
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
|
|
awk ' { files[$$0] = 1; } \
|
1999-05-03 15:29:11 +08:00
|
|
|
END { for (i in files) print i; }'`; \
|
|
|
|
test -z "$(ETAGS_ARGS)config.in$$unique$(LISP)$$tags" \
|
2000-04-07 12:34:50 +08:00
|
|
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.in $$unique $(LISP) -o $$here/TAGS)
|
1999-05-03 15:29:11 +08:00
|
|
|
|
|
|
|
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
|
2000-04-07 12:34:50 +08:00
|
|
|
-rm -rf $(distdir)
|
|
|
|
GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
|
1999-05-03 15:29:11 +08:00
|
|
|
mkdir $(distdir)/=build
|
|
|
|
mkdir $(distdir)/=inst
|
2000-04-07 12:34:50 +08:00
|
|
|
dc_install_base=`cd $(distdir)/=inst && pwd`; \
|
|
|
|
cd $(distdir)/=build \
|
1999-05-03 15:29:11 +08:00
|
|
|
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) \
|
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
2000-04-07 12:34:50 +08:00
|
|
|
&& $(MAKE) $(AM_MAKEFLAGS) dist
|
|
|
|
-rm -rf $(distdir)
|
1999-05-03 15:29:11 +08:00
|
|
|
@banner="$(distdir).tar.gz is ready for distribution"; \
|
|
|
|
dashes=`echo "$$banner" | sed s/./=/g`; \
|
|
|
|
echo "$$dashes"; \
|
|
|
|
echo "$$banner"; \
|
|
|
|
echo "$$dashes"
|
|
|
|
dist: distdir
|
2000-04-07 12:34:50 +08:00
|
|
|
-chmod -R a+r $(distdir)
|
|
|
|
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
|
|
|
-rm -rf $(distdir)
|
1999-05-03 15:29:11 +08:00
|
|
|
dist-all: distdir
|
2000-04-07 12:34:50 +08:00
|
|
|
-chmod -R a+r $(distdir)
|
|
|
|
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
|
|
|
-rm -rf $(distdir)
|
1999-05-03 15:29:11 +08:00
|
|
|
distdir: $(DISTFILES)
|
2000-04-07 12:34:50 +08:00
|
|
|
-rm -rf $(distdir)
|
1999-05-03 15:29:11 +08:00
|
|
|
mkdir $(distdir)
|
2000-04-07 12:34:50 +08:00
|
|
|
-chmod 777 $(distdir)
|
1999-05-03 15:29:11 +08:00
|
|
|
@for file in $(DISTFILES); do \
|
|
|
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
|
|
|
if test -d $$d/$$file; then \
|
2000-04-07 12:34:50 +08:00
|
|
|
cp -pr $$d/$$file $(distdir)/$$file; \
|
1999-05-03 15:29:11 +08:00
|
|
|
else \
|
|
|
|
test -f $(distdir)/$$file \
|
2000-04-07 12:34:50 +08:00
|
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
|
|
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
1999-05-03 15:29:11 +08:00
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
for subdir in $(SUBDIRS); do \
|
|
|
|
if test "$$subdir" = .; then :; else \
|
|
|
|
test -d $(distdir)/$$subdir \
|
|
|
|
|| mkdir $(distdir)/$$subdir \
|
|
|
|
|| exit 1; \
|
2000-04-07 12:34:50 +08:00
|
|
|
chmod 777 $(distdir)/$$subdir; \
|
1999-05-03 15:29:11 +08:00
|
|
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
|
|
|
|
|| exit 1; \
|
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
|
2000-04-07 12:34:50 +08:00
|
|
|
|
|
|
|
RUNTESTFLAGS =
|
|
|
|
|
|
|
|
DEJATOOL = $(PACKAGE)
|
|
|
|
|
|
|
|
RUNTESTDEFAULTFLAGS = --tool $(DEJATOOL) --srcdir $$srcdir
|
|
|
|
site.exp: Makefile
|
|
|
|
@echo 'Making a new site.exp file...'
|
|
|
|
@test ! -f site.bak || 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
|
|
|
|
@test ! -f site.exp || sed '1,/^## All variables above are.*##/ d' site.exp >> $@-t
|
|
|
|
@test ! -f site.exp || mv site.exp site.bak
|
|
|
|
@mv $@-t site.exp
|
1999-05-03 15:29:11 +08:00
|
|
|
info-am: $(INFO_DEPS)
|
|
|
|
info: info-recursive
|
|
|
|
dvi-am: $(DVIS)
|
|
|
|
dvi: dvi-recursive
|
|
|
|
check-am:
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU
|
|
|
|
check: check-recursive
|
|
|
|
installcheck-am:
|
|
|
|
installcheck: installcheck-recursive
|
|
|
|
install-info-am:
|
|
|
|
install-info: install-info-recursive
|
|
|
|
all-recursive-am: config.h
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
|
|
|
|
|
|
|
install-exec-am: install-binPROGRAMS install-exec-local
|
|
|
|
install-exec: install-exec-recursive
|
|
|
|
|
|
|
|
install-data-am: install-man
|
|
|
|
install-data: install-data-recursive
|
|
|
|
|
|
|
|
install-am: all-am
|
|
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
|
|
install: install-recursive
|
|
|
|
uninstall-am: uninstall-binPROGRAMS uninstall-man
|
|
|
|
uninstall: uninstall-recursive
|
|
|
|
all-am: Makefile $(PROGRAMS) $(MANS) config.h
|
|
|
|
all-redirect: all-recursive-am
|
|
|
|
install-strip:
|
2000-04-07 12:34:50 +08:00
|
|
|
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
1999-05-03 15:29:11 +08:00
|
|
|
installdirs: installdirs-recursive
|
|
|
|
installdirs-am:
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
|
|
|
|
|
|
|
|
|
|
|
|
mostlyclean-generic:
|
|
|
|
-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
|
|
|
|
|
|
|
|
clean-generic:
|
|
|
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
|
|
|
|
|
|
|
distclean-generic:
|
|
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
|
|
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
|
|
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
|
|
|
|
|
|
|
maintainer-clean-generic:
|
2000-04-07 12:34:50 +08:00
|
|
|
-test -z "arlexldeflexlrclexlarparseharparsecdefparsehdefparsecnlmheaderhnlmheadercrcparsehrcparsec$(MAINTAINERCLEANFILES)" || rm -f arlexl deflexl rclexl arparseh arparsec defparseh defparsec nlmheaderh nlmheaderc rcparseh rcparsec $(MAINTAINERCLEANFILES)
|
1999-05-03 15:29:11 +08:00
|
|
|
mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \
|
|
|
|
mostlyclean-noinstPROGRAMS mostlyclean-compile \
|
|
|
|
mostlyclean-libtool mostlyclean-aminfo mostlyclean-tags \
|
|
|
|
mostlyclean-generic mostlyclean-local
|
|
|
|
|
|
|
|
mostlyclean: mostlyclean-recursive
|
|
|
|
|
|
|
|
clean-am: clean-hdr clean-binPROGRAMS clean-noinstPROGRAMS \
|
|
|
|
clean-compile clean-libtool clean-aminfo clean-tags \
|
|
|
|
clean-generic mostlyclean-am
|
|
|
|
|
|
|
|
clean: clean-recursive
|
|
|
|
|
|
|
|
distclean-am: distclean-hdr distclean-binPROGRAMS \
|
|
|
|
distclean-noinstPROGRAMS distclean-compile \
|
|
|
|
distclean-libtool distclean-aminfo distclean-tags \
|
|
|
|
distclean-generic clean-am
|
|
|
|
-rm -f libtool
|
|
|
|
|
|
|
|
distclean: distclean-recursive
|
|
|
|
-rm -f config.status
|
|
|
|
|
|
|
|
maintainer-clean-am: 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-am
|
|
|
|
@echo "This command is intended for maintainers to use;"
|
|
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
|
|
|
|
|
|
maintainer-clean: maintainer-clean-recursive
|
|
|
|
-rm -f config.status
|
|
|
|
|
|
|
|
.PHONY: 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-man1 uninstall-man1 install-man \
|
2000-04-07 12:34:50 +08:00
|
|
|
uninstall-man install-data-recursive uninstall-data-recursive \
|
|
|
|
install-exec-recursive uninstall-exec-recursive installdirs-recursive \
|
|
|
|
uninstalldirs-recursive all-recursive check-recursive \
|
|
|
|
installcheck-recursive info-recursive dvi-recursive \
|
|
|
|
mostlyclean-recursive distclean-recursive clean-recursive \
|
1999-05-03 15:29:11 +08:00
|
|
|
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
|
2000-04-07 12:34:50 +08:00
|
|
|
distclean-tags clean-tags maintainer-clean-tags distdir check-DEJAGNU \
|
1999-05-03 15:29:11 +08:00
|
|
|
info-am info dvi-am dvi check check-am installcheck-am installcheck \
|
|
|
|
install-info-am install-info all-recursive-am install-exec-local \
|
|
|
|
install-exec-am install-exec install-data-am install-data install-am \
|
2000-04-07 12:34:50 +08:00
|
|
|
install uninstall-am uninstall all-redirect all-am all installdirs-am \
|
|
|
|
installdirs mostlyclean-generic distclean-generic clean-generic \
|
|
|
|
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
1999-05-03 15:29:11 +08:00
|
|
|
|
|
|
|
po/POTFILES.in: @MAINT@ Makefile
|
|
|
|
for file in $(POTFILES); do echo $$file; done | sort > tmp \
|
|
|
|
&& mv tmp $(srcdir)/po/POTFILES.in
|
|
|
|
|
|
|
|
check-DEJAGNU: site.exp
|
|
|
|
srcdir=`cd $(srcdir) && pwd`; export srcdir; \
|
|
|
|
r=`pwd`; export r; \
|
|
|
|
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
|
|
|
|
|
|
|
|
installcheck:
|
|
|
|
/bin/sh $(srcdir)/sanity.sh $(bindir)
|
|
|
|
|
|
|
|
underscore.c: stamp-under ; @true
|
|
|
|
|
|
|
|
stamp-under: Makefile
|
|
|
|
echo '/*WARNING: This file is automatically generated!*/' >underscore.t
|
|
|
|
echo "int prepends_underscore = @UNDERSCORE@;" >>underscore.t
|
|
|
|
$(SHELL) $(srcdir)/../move-if-change underscore.t underscore.c
|
|
|
|
touch stamp-under
|
|
|
|
|
|
|
|
cplus-dem.o: $(BASEDIR)/libiberty/cplus-dem.c $(INCDIR)/getopt.h
|
|
|
|
$(COMPILE) -c -DMAIN -DVERSION='"$(VERSION)"' $(BASEDIR)/libiberty/cplus-dem.c
|
|
|
|
|
2000-04-04 18:53:56 +08:00
|
|
|
# The following is commented out for the conversion to automake.
|
1999-05-03 15:29:11 +08: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.
|
|
|
|
# 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)
|
|
|
|
#
|
|
|
|
# objcopy and strip in one binary that uses argv[0] to decide its action.
|
|
|
|
#
|
|
|
|
#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)
|
|
|
|
|
|
|
|
sysroff.c: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info
|
|
|
|
./sysinfo$(EXEEXT_FOR_BUILD) -c <$(srcdir)/sysroff.info >sysroff.c
|
|
|
|
./sysinfo$(EXEEXT_FOR_BUILD) -i <$(srcdir)/sysroff.info >>sysroff.c
|
|
|
|
./sysinfo$(EXEEXT_FOR_BUILD) -g <$(srcdir)/sysroff.info >>sysroff.c
|
|
|
|
|
|
|
|
sysroff.h: sysinfo$(EXEEXT_FOR_BUILD) sysroff.info
|
|
|
|
./sysinfo$(EXEEXT_FOR_BUILD) -d <$(srcdir)/sysroff.info >sysroff.h
|
|
|
|
|
|
|
|
sysinfo$(EXEEXT_FOR_BUILD): sysinfo.o syslex.o
|
|
|
|
$(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) -o $@ sysinfo.o syslex.o
|
|
|
|
|
|
|
|
syslex.o: syslex.c sysinfo.h
|
|
|
|
if [ -r syslex.c ]; then \
|
|
|
|
$(CC_FOR_BUILD) -c -I. $(CFLAGS) syslex.c ; \
|
|
|
|
else \
|
|
|
|
$(CC_FOR_BUILD) -c -I. -I$(srcdir) $(CFLAGS) $(srcdir)/syslex.c ;\
|
|
|
|
fi
|
|
|
|
|
|
|
|
sysinfo.o: sysinfo.c
|
|
|
|
if [ -r sysinfo.c ]; then \
|
|
|
|
$(CC_FOR_BUILD) -c -I. $(CFLAGS) sysinfo.c ; \
|
|
|
|
else \
|
|
|
|
$(CC_FOR_BUILD) -c -I. $(CFLAGS) $(srcdir)/sysinfo.c ; \
|
|
|
|
fi
|
|
|
|
|
2000-04-04 18:53:56 +08:00
|
|
|
# We need these for parallel make.
|
|
|
|
arparse.h: arparse.c
|
|
|
|
defparse.h: defparse.c
|
|
|
|
nlmheader.h: nlmheader.c
|
|
|
|
rcparse.h: rcparse.c
|
|
|
|
sysinfo.h: sysinfo.c
|
|
|
|
|
1999-05-03 15:29:11 +08:00
|
|
|
dlltool.o:dlltool.c
|
|
|
|
$(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/dlltool.c
|
|
|
|
|
1999-05-12 05:06:16 +08:00
|
|
|
rescoff.o:rescoff.c
|
|
|
|
$(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/rescoff.c
|
|
|
|
|
1999-05-03 15:29:11 +08: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
|
|
|
|
ldname=`echo ld | sed '$(transform)'`; \
|
|
|
|
$(COMPILE) -c -DLD_NAME="\"$${ldname}\"" @NLMCONV_DEFS@ $(srcdir)/nlmconv.c
|
|
|
|
|
|
|
|
diststuff: $(DISTSTUFF) info
|
|
|
|
|
|
|
|
# Targets to rebuild dependencies in this Makefile.
|
1999-08-09 01:34:16 +08:00
|
|
|
# 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
|
2000-04-04 18:53:56 +08:00
|
|
|
$(MAKE) MKDEP="$(MKDEP)" DEP1
|
2000-07-01 09:41:09 +08:00
|
|
|
sed -f dep.sed < DEP1 > DEPA
|
|
|
|
echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
|
|
|
|
if grep ' /' DEPA > /dev/null 2> /dev/null; then \
|
2000-06-22 21:14:21 +08:00
|
|
|
echo 'make DEP failed!'; exit 1; \
|
|
|
|
else \
|
2000-07-01 09:41:09 +08:00
|
|
|
mv -f DEPA $@; \
|
2000-06-22 21:14:21 +08:00
|
|
|
fi
|
1999-05-03 15:29:11 +08:00
|
|
|
|
1999-08-09 01:34:16 +08:00
|
|
|
DEP1: $(CFILES) $(GENERATED_CFILES)
|
|
|
|
echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
|
2000-04-04 18:53:56 +08:00
|
|
|
echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
|
|
|
|
$(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
|
|
|
|
mv -f DEP2 $@
|
1999-05-03 15:29:11 +08:00
|
|
|
|
|
|
|
dep.sed: dep-in.sed config.status
|
|
|
|
objdir=`pwd`; \
|
|
|
|
sed <$(srcdir)/dep-in.sed >dep.sed \
|
|
|
|
-e 's!@INCDIR@!$(INCDIR)!' \
|
|
|
|
-e 's!@BFDDIR@!$(BFDDIR)!' \
|
|
|
|
-e 's!@SRCDIR@!$(srcdir)!' \
|
|
|
|
-e "s!@OBJDIR@!$${objdir}!"
|
|
|
|
|
1999-08-09 01:34:16 +08:00
|
|
|
dep: DEP
|
1999-05-03 15:29:11 +08:00
|
|
|
sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
|
1999-08-09 01:34:16 +08:00
|
|
|
cat DEP >> tmp-Makefile
|
1999-05-03 15:29:11 +08:00
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
|
|
|
|
|
1999-08-09 01:34:16 +08:00
|
|
|
dep-in: DEP
|
1999-05-03 15:29:11 +08:00
|
|
|
sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
|
1999-08-09 01:34:16 +08:00
|
|
|
cat DEP >> tmp-Makefile.in
|
1999-05-03 15:29:11 +08:00
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
|
|
|
|
|
1999-08-09 01:34:16 +08:00
|
|
|
dep-am: DEP
|
1999-05-03 15:29:11 +08:00
|
|
|
sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
|
1999-08-09 01:34:16 +08:00
|
|
|
cat DEP >> tmp-Makefile.am
|
1999-05-03 15:29:11 +08:00
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
|
|
|
|
|
|
|
|
.PHONY: dep dep-in dep-am
|
|
|
|
|
|
|
|
###
|
|
|
|
# DOCUMENTATION TARGETS
|
|
|
|
config.texi: Makefile
|
|
|
|
rm -f config.texi
|
|
|
|
echo '@set VERSION $(VERSION)' > config.texi
|
|
|
|
|
|
|
|
binutils.dvi: $(srcdir)/binutils.texi config.texi
|
|
|
|
|
|
|
|
binutils.info: $(srcdir)/binutils.texi config.texi
|
|
|
|
|
1999-08-09 02:09:48 +08:00
|
|
|
$(DEMANGLER_NAME).1: cxxfilt.man Makefile
|
|
|
|
sed -e 's/@PROGRAM@/$(DEMANGLER_NAME)/' < $(srcdir)/cxxfilt.man \
|
|
|
|
> $(DEMANGLER_NAME).1
|
1999-05-03 15:29:11 +08:00
|
|
|
mostlyclean-local:
|
|
|
|
-rm -rf tmpdir
|
|
|
|
|
|
|
|
.PHONY: install-exec-local
|
|
|
|
|
2000-03-09 11:13:21 +08:00
|
|
|
install-exec-local: install-binPROGRAMS $(bin_PROGRAMS) $(noinst_PROGRAMS)
|
1999-05-03 15:29:11 +08:00
|
|
|
@list='$(noinst_PROGRAMS)'; for p in $$list; do \
|
|
|
|
if test -f $$p; then \
|
1999-08-09 02:09:48 +08:00
|
|
|
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//' -e 's/cxxfilt/$(DEMANGLER_NAME)/'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
|
|
|
|
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//' -e 's/cxxfilt/$(DEMANGLER_NAME)/'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
|
1999-05-03 15:29:11 +08:00
|
|
|
else :; fi; \
|
|
|
|
done
|
|
|
|
$(mkinstalldirs) $(tooldir)/bin
|
|
|
|
for i in $(TOOL_PROGS); do \
|
|
|
|
if [ -f $$i$(EXEEXT) ]; then \
|
|
|
|
j=`echo $$i | sed -e 's/-new//'`; \
|
|
|
|
k=`echo $$j | sed '$(transform)'`; \
|
|
|
|
if [ "$(bindir)/$$k$(EXEEXT)" != "$(tooldir)/bin/$$j$(EXEEXT)" ]; then \
|
|
|
|
rm -f $(tooldir)/bin/$$j$(EXEEXT); \
|
|
|
|
ln $(bindir)/$$k$(EXEEXT) $(tooldir)/bin/$$j$(EXEEXT) >/dev/null 2>/dev/null \
|
|
|
|
|| $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$i$(EXEEXT) $(tooldir)/bin/$$j$(EXEEXT); \
|
|
|
|
fi; \
|
|
|
|
else true; \
|
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
|
|
|
|
# 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.
|
|
|
|
addr2line.o: addr2line.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
|
|
|
$(INCDIR)/getopt.h $(INCDIR)/libiberty.h $(INCDIR)/demangle.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
|
1999-05-03 15:29:11 +08:00
|
|
|
ar.o: ar.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
$(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
|
|
|
|
$(INCDIR)/fopen-same.h $(INCDIR)/aout/ar.h $(BFDDIR)/libbfd.h \
|
2000-05-26 22:14:21 +08:00
|
|
|
arsup.h $(INCDIR)/filenames.h
|
1999-05-03 15:29:11 +08:00
|
|
|
arsup.o: arsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
arsup.h $(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
|
2000-05-26 22:14:21 +08:00
|
|
|
$(INCDIR)/fopen-same.h $(INCDIR)/filenames.h
|
1999-05-03 15:29:11 +08:00
|
|
|
bucomm.o: bucomm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
$(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
|
2000-05-26 22:14:21 +08:00
|
|
|
$(INCDIR)/fopen-same.h $(INCDIR)/filenames.h
|
2000-04-04 18:53:56 +08:00
|
|
|
coffdump.o: coffdump.c coffgrok.h bucomm.h config.h \
|
|
|
|
$(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
|
|
|
|
coffgrok.o: coffgrok.c bucomm.h config.h $(INCDIR)/bin-bugs.h \
|
|
|
|
$(INCDIR)/fopen-same.h $(INCDIR)/coff/internal.h $(BFDDIR)/libcoff.h \
|
|
|
|
$(INCDIR)/bfdlink.h coffgrok.h
|
1999-05-03 15:29:11 +08:00
|
|
|
debug.o: debug.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
|
|
|
|
$(INCDIR)/libiberty.h debug.h
|
1999-05-03 15:29:11 +08:00
|
|
|
dlltool.o: dlltool.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
$(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
|
2000-07-21 01:28:56 +08:00
|
|
|
$(INCDIR)/fopen-same.h $(INCDIR)/getopt.h $(INCDIR)/demangle.h \
|
|
|
|
$(INCDIR)/dyn-string.h dlltool.h
|
1999-05-03 15:29:11 +08:00
|
|
|
filemode.o: filemode.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
|
1999-05-03 15:29:11 +08:00
|
|
|
ieee.o: ieee.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/ieee.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
|
2000-05-26 22:14:21 +08:00
|
|
|
$(INCDIR)/libiberty.h debug.h budbg.h $(INCDIR)/filenames.h
|
1999-05-03 15:29:11 +08: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 \
|
2000-04-04 18:53:56 +08:00
|
|
|
$(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
|
|
|
|
$(INCDIR)/fopen-same.h $(BFDDIR)/libnlm.h $(INCDIR)/nlm/common.h \
|
|
|
|
$(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h nlmconv.h
|
1999-05-03 15:29:11 +08:00
|
|
|
nm.o: nm.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/progress.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
|
2000-07-21 01:28:56 +08:00
|
|
|
$(INCDIR)/getopt.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
|
|
|
|
$(INCDIR)/aout/ranlib.h $(INCDIR)/demangle.h $(INCDIR)/libiberty.h
|
1999-05-03 15:29:11 +08:00
|
|
|
not-ranlib.o: not-ranlib.c
|
|
|
|
not-strip.o: not-strip.c
|
|
|
|
objcopy.o: objcopy.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
$(INCDIR)/progress.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
|
2000-07-21 01:28:56 +08:00
|
|
|
$(INCDIR)/fopen-same.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h \
|
|
|
|
budbg.h $(INCDIR)/filenames.h
|
1999-05-03 15:29:11 +08:00
|
|
|
objdump.o: objdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
|
|
|
$(INCDIR)/getopt.h $(INCDIR)/progress.h bucomm.h config.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
$(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/dis-asm.h \
|
|
|
|
$(INCDIR)/libiberty.h $(INCDIR)/demangle.h debug.h \
|
|
|
|
budbg.h $(INCDIR)/aout/aout64.h
|
1999-05-03 15:29:11 +08:00
|
|
|
prdbg.o: prdbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
|
|
|
|
$(INCDIR)/libiberty.h debug.h budbg.h
|
1999-05-03 15:29:11 +08:00
|
|
|
rdcoff.o: rdcoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
$(INCDIR)/coff/internal.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
|
|
|
|
$(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/demangle.h \
|
|
|
|
debug.h budbg.h $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h
|
1999-05-03 15:29:11 +08:00
|
|
|
rddbg.o: rddbg.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
|
|
|
|
$(INCDIR)/libiberty.h debug.h budbg.h
|
1999-05-03 15:29:11 +08:00
|
|
|
size.o: size.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/getopt.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
|
|
|
|
$(INCDIR)/libiberty.h
|
|
|
|
srconv.o: srconv.c bucomm.h config.h $(INCDIR)/bin-bugs.h \
|
|
|
|
$(INCDIR)/fopen-same.h sysroff.h coffgrok.h $(INCDIR)/coff/internal.h \
|
|
|
|
$(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h sysroff.c
|
1999-05-03 15:29:11 +08:00
|
|
|
stabs.o: stabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
bucomm.h config.h $(INCDIR)/bin-bugs.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
|
1999-05-03 15:29:11 +08:00
|
|
|
strings.o: strings.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
|
|
|
|
$(INCDIR)/libiberty.h
|
1999-05-03 15:29:11 +08:00
|
|
|
sysdump.o: sysdump.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
|
|
|
|
sysroff.h sysroff.c
|
1999-05-03 15:29:11 +08:00
|
|
|
version.o: version.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
|
1999-05-03 15:29:11 +08:00
|
|
|
wrstabs.o: wrstabs.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
bucomm.h config.h $(INCDIR)/bin-bugs.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
|
1999-05-03 15:29:11 +08:00
|
|
|
windres.o: windres.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
$(INCDIR)/getopt.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
|
|
|
|
$(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h $(INCDIR)/obstack.h \
|
1999-05-03 15:29:11 +08:00
|
|
|
windres.h winduni.h
|
2000-04-04 18:53:56 +08:00
|
|
|
resrc.o: resrc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
|
|
|
bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
|
|
|
|
$(INCDIR)/libiberty.h windres.h winduni.h
|
1999-05-03 15:29:11 +08:00
|
|
|
rescoff.o: rescoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
|
|
|
|
$(INCDIR)/libiberty.h windres.h winduni.h $(INCDIR)/coff/internal.h \
|
|
|
|
$(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h
|
1999-05-03 15:29:11 +08:00
|
|
|
resbin.o: resbin.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
|
|
|
|
$(INCDIR)/libiberty.h windres.h winduni.h
|
1999-05-03 15:29:11 +08:00
|
|
|
winduni.o: winduni.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
|
|
|
|
winduni.h
|
1999-05-03 15:29:11 +08:00
|
|
|
readelf.o: readelf.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
|
|
|
$(INCDIR)/elf/common.h $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h \
|
|
|
|
$(INCDIR)/elf/dwarf2.h $(INCDIR)/elf/i386.h $(INCDIR)/elf/reloc-macros.h \
|
|
|
|
$(INCDIR)/elf/v850.h $(INCDIR)/elf/ppc.h $(INCDIR)/elf/mips.h \
|
|
|
|
$(INCDIR)/elf/alpha.h $(INCDIR)/elf/arm.h $(INCDIR)/elf/m68k.h \
|
|
|
|
$(INCDIR)/elf/sparc.h $(INCDIR)/elf/m32r.h $(INCDIR)/elf/d10v.h \
|
|
|
|
$(INCDIR)/elf/d30v.h $(INCDIR)/elf/sh.h $(INCDIR)/elf/mn10200.h \
|
|
|
|
$(INCDIR)/elf/mn10300.h $(INCDIR)/elf/hppa.h $(INCDIR)/elf/arc.h \
|
Based on patches from Mumit Khan <khan@xraylith.wisc.EDU>:
* configure.in: Define EXECUTABLE_SUFFIX.
* dlltool.c: Include "dyn-string.h". Include <stdarg.h> based on
ANSI_PROTOTYPES, not __STDC__.
(outfile): Remove.
(gen_exp_file): Change uses of outfile to use alloca.
(make_one_lib_file, make_head, make_tail): Likewise.
(gen_lib_file): Likewise.
(look_for_prog): New static function.
(deduce_name): Rewrite to use look_for_prog.
(mcore_elf_gen_out_file): Use dyn_string_t rather than outfile.
* dllwrap.c: Don't include <stdio.h>, <errno.h>, <string.h>,
<stdlib.h>, or <unistd.h>. Include <sys/stat.h> and either
<stdarg.h> or <varargs.h>.
(driver_name): Initialize to NULL, not "gcc".
(dlltool_name): Initialize to NULL, not "dlltool".
(display, inform, look_for_prog, deduce_name): New static
functions.
(usage): Mention -mno-cygwin.
(OPTION_MNO_CYGWIN): Define.
(main): Handle -mno-cygwin. Deduce driver_name and dlltool_name.
* resrc.c (look_for_default): Make static. Remove unused local
path. Check using EXECUTABLE_SUFFIX.
(read_rc_file): Allocate enough space to hold EXECUTABLE_SUFFIX.
* Makefile.am: Rebuild dependencies.
(dllwrap_LDADD): Add $(INTLLIBS).
* configure, Makefile.in, config.in: Rebuild.
1999-06-23 04:39:46 +08:00
|
|
|
$(INCDIR)/elf/fr30.h $(INCDIR)/elf/mcore.h $(INCDIR)/elf/i960.h \
|
2000-05-26 22:14:21 +08:00
|
|
|
$(INCDIR)/elf/pj.h $(INCDIR)/elf/avr.h $(INCDIR)/elf/ia64.h \
|
2000-07-21 01:28:56 +08:00
|
|
|
$(INCDIR)/elf/cris.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
|
|
|
|
$(INCDIR)/fopen-same.h $(INCDIR)/getopt.h
|
1999-05-03 15:29:11 +08:00
|
|
|
resres.o: resres.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
|
|
|
|
$(INCDIR)/libiberty.h windres.h winduni.h
|
1999-05-03 15:29:11 +08:00
|
|
|
dllwrap.o: dllwrap.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
$(INCDIR)/libiberty.h bucomm.h config.h $(INCDIR)/bin-bugs.h \
|
2000-07-21 01:28:56 +08:00
|
|
|
$(INCDIR)/fopen-same.h $(INCDIR)/getopt.h $(INCDIR)/dyn-string.h
|
1999-05-03 15:29:11 +08:00
|
|
|
rename.o: rename.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h
|
1999-05-03 15:29:11 +08:00
|
|
|
underscore.o: underscore.c
|
|
|
|
arparse.o: arparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
|
|
|
|
arsup.h
|
1999-05-03 15:29:11 +08:00
|
|
|
arlex.o: arlex.c $(INCDIR)/libiberty.h arparse.h
|
|
|
|
sysroff.o: sysroff.c
|
|
|
|
sysinfo.o: sysinfo.c
|
|
|
|
syslex.o: syslex.c sysinfo.h
|
|
|
|
defparse.o: defparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
|
|
|
|
dlltool.h
|
1999-05-03 15:29:11 +08:00
|
|
|
deflex.o: deflex.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
|
|
|
|
defparse.h dlltool.h
|
|
|
|
nlmheader.o: nlmheader.c ../bfd/bfd.h bucomm.h config.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
$(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h $(INCDIR)/nlm/common.h \
|
|
|
|
$(INCDIR)/nlm/internal.h nlmconv.h
|
1999-05-03 15:29:11 +08:00
|
|
|
rcparse.o: rcparse.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
|
|
|
|
$(INCDIR)/libiberty.h windres.h winduni.h
|
1999-05-03 15:29:11 +08:00
|
|
|
rclex.o: rclex.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
|
2000-04-04 18:53:56 +08:00
|
|
|
bucomm.h config.h $(INCDIR)/bin-bugs.h $(INCDIR)/fopen-same.h \
|
|
|
|
$(INCDIR)/libiberty.h windres.h winduni.h rcparse.h
|
1999-05-03 15:29:11 +08:00
|
|
|
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
|
|
|
|
|
|
|
|
# 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:
|