1034 lines
34 KiB
Makefile
1034 lines
34 KiB
Makefile
# Makefile.in generated by automake 1.9.6 from Makefile.am.
|
|
# @configure_input@
|
|
|
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
|
# 2003, 2004, 2005 Free Software Foundation, Inc.
|
|
# 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.
|
|
|
|
@SET_MAKE@
|
|
|
|
# Process this file with automake to generate Makefile.in
|
|
|
|
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
top_builddir = .
|
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
|
INSTALL = @INSTALL@
|
|
install_sh_DATA = $(install_sh) -c -m 644
|
|
install_sh_PROGRAM = $(install_sh) -c
|
|
install_sh_SCRIPT = $(install_sh) -c
|
|
INSTALL_HEADER = $(INSTALL_DATA)
|
|
transform = $(program_transform_name)
|
|
NORMAL_INSTALL = :
|
|
PRE_INSTALL = :
|
|
POST_INSTALL = :
|
|
NORMAL_UNINSTALL = :
|
|
PRE_UNINSTALL = :
|
|
POST_UNINSTALL = :
|
|
build_triplet = @build@
|
|
host_triplet = @host@
|
|
target_triplet = @target@
|
|
noinst_PROGRAMS = ld-new$(EXEEXT)
|
|
@GCC_TRUE@@NATIVE_LINKER_TRUE@check_PROGRAMS = ld1$(EXEEXT) \
|
|
@GCC_TRUE@@NATIVE_LINKER_TRUE@ ld2$(EXEEXT)
|
|
DIST_COMMON = README $(am__configure_deps) $(srcdir)/../config.guess \
|
|
$(srcdir)/../config.sub $(srcdir)/../depcomp \
|
|
$(srcdir)/../install-sh $(srcdir)/../missing \
|
|
$(srcdir)/../mkinstalldirs $(srcdir)/Makefile.am \
|
|
$(srcdir)/Makefile.in $(srcdir)/config.in \
|
|
$(top_srcdir)/configure $(top_srcdir)/po/Make-in pread.c \
|
|
yyscript.c yyscript.h
|
|
subdir = .
|
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
|
am__aclocal_m4_deps = $(top_srcdir)/../config/depstand.m4 \
|
|
$(top_srcdir)/../config/lead-dot.m4 \
|
|
$(top_srcdir)/../config/progtest.m4 \
|
|
$(top_srcdir)/../config/po.m4 $(top_srcdir)/../config/nls.m4 \
|
|
$(top_srcdir)/../config/gettext-sister.m4 \
|
|
$(top_srcdir)/../bfd/warning.m4 $(top_srcdir)/configure.ac
|
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
|
$(ACLOCAL_M4)
|
|
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
|
configure.lineno configure.status.lineno
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
|
|
CONFIG_HEADER = config.h
|
|
CONFIG_CLEAN_FILES = po/Makefile.in
|
|
LIBRARIES = $(noinst_LIBRARIES)
|
|
AR = ar
|
|
ARFLAGS = cru
|
|
libgold_a_AR = $(AR) $(ARFLAGS)
|
|
libgold_a_LIBADD =
|
|
am__objects_1 = archive.$(OBJEXT) common.$(OBJEXT) defstd.$(OBJEXT) \
|
|
dirsearch.$(OBJEXT) dynobj.$(OBJEXT) ehframe.$(OBJEXT) \
|
|
fileread.$(OBJEXT) gold.$(OBJEXT) gold-threads.$(OBJEXT) \
|
|
layout.$(OBJEXT) merge.$(OBJEXT) object.$(OBJEXT) \
|
|
options.$(OBJEXT) output.$(OBJEXT) parameters.$(OBJEXT) \
|
|
readsyms.$(OBJEXT) reloc.$(OBJEXT) resolve.$(OBJEXT) \
|
|
script.$(OBJEXT) symtab.$(OBJEXT) stringpool.$(OBJEXT) \
|
|
target-select.$(OBJEXT) version.$(OBJEXT) workqueue.$(OBJEXT)
|
|
am__objects_2 =
|
|
am__objects_3 = yyscript.$(OBJEXT)
|
|
am_libgold_a_OBJECTS = $(am__objects_1) $(am__objects_2) \
|
|
$(am__objects_3)
|
|
libgold_a_OBJECTS = $(am_libgold_a_OBJECTS)
|
|
PROGRAMS = $(noinst_PROGRAMS)
|
|
am__objects_4 = main.$(OBJEXT)
|
|
am_ld_new_OBJECTS = $(am__objects_4)
|
|
ld_new_OBJECTS = $(am_ld_new_OBJECTS)
|
|
am__DEPENDENCIES_1 =
|
|
am__DEPENDENCIES_2 = ../libiberty/libiberty.a
|
|
am__DEPENDENCIES_3 = $(am__DEPENDENCIES_1) libgold.a \
|
|
$(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1)
|
|
am__DEPENDENCIES_4 = @LIBOBJS@
|
|
am__ld1_SOURCES_DIST = main.cc
|
|
@GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld1_OBJECTS = $(am__objects_4)
|
|
ld1_OBJECTS = $(am_ld1_OBJECTS)
|
|
am__ld2_SOURCES_DIST = main.cc
|
|
@GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld2_OBJECTS = $(am__objects_4)
|
|
ld2_OBJECTS = $(am_ld2_OBJECTS)
|
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
|
|
depcomp = $(SHELL) $(top_srcdir)/../depcomp
|
|
am__depfiles_maybe = depfiles
|
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
CCLD = $(CC)
|
|
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
|
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
|
|
CXXLD = $(CXX)
|
|
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
|
|
-o $@
|
|
YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS)
|
|
SOURCES = $(libgold_a_SOURCES) $(ld_new_SOURCES) \
|
|
$(EXTRA_ld_new_SOURCES) $(ld1_SOURCES) $(ld2_SOURCES)
|
|
DIST_SOURCES = $(libgold_a_SOURCES) $(ld_new_SOURCES) \
|
|
$(EXTRA_ld_new_SOURCES) $(am__ld1_SOURCES_DIST) \
|
|
$(am__ld2_SOURCES_DIST)
|
|
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
|
html-recursive info-recursive install-data-recursive \
|
|
install-exec-recursive install-info-recursive \
|
|
install-recursive installcheck-recursive installdirs-recursive \
|
|
pdf-recursive ps-recursive uninstall-info-recursive \
|
|
uninstall-recursive
|
|
ETAGS = etags
|
|
CTAGS = ctags
|
|
DIST_SUBDIRS = $(SUBDIRS)
|
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
distdir = $(PACKAGE)-$(VERSION)
|
|
top_distdir = $(distdir)
|
|
am__remove_distdir = \
|
|
{ test ! -d $(distdir) \
|
|
|| { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
|
|
&& rm -fr $(distdir); }; }
|
|
DIST_ARCHIVES = $(distdir).tar.gz
|
|
GZIP_ENV = --best
|
|
distuninstallcheck_listfiles = find . -type f -print
|
|
distcleancheck_listfiles = find . -type f -print
|
|
ACLOCAL = @ACLOCAL@
|
|
AMDEP_FALSE = @AMDEP_FALSE@
|
|
AMDEP_TRUE = @AMDEP_TRUE@
|
|
AMTAR = @AMTAR@
|
|
AUTOCONF = @AUTOCONF@
|
|
AUTOHEADER = @AUTOHEADER@
|
|
AUTOMAKE = @AUTOMAKE@
|
|
AWK = @AWK@
|
|
CATALOGS = @CATALOGS@
|
|
CATOBJEXT = @CATOBJEXT@
|
|
CC = @CC@
|
|
CCDEPMODE = @CCDEPMODE@
|
|
CFLAGS = @CFLAGS@
|
|
CPPFLAGS = @CPPFLAGS@
|
|
CXX = @CXX@
|
|
CXXCPP = @CXXCPP@
|
|
CXXDEPMODE = @CXXDEPMODE@
|
|
CXXFLAGS = @CXXFLAGS@
|
|
CYGPATH_W = @CYGPATH_W@
|
|
DATADIRNAME = @DATADIRNAME@
|
|
DEFS = @DEFS@
|
|
DEPDIR = @DEPDIR@
|
|
ECHO_C = @ECHO_C@
|
|
ECHO_N = @ECHO_N@
|
|
ECHO_T = @ECHO_T@
|
|
EGREP = @EGREP@
|
|
EXEEXT = @EXEEXT@
|
|
FN_PTRS_IN_SO_WITHOUT_PIC_FALSE = @FN_PTRS_IN_SO_WITHOUT_PIC_FALSE@
|
|
FN_PTRS_IN_SO_WITHOUT_PIC_TRUE = @FN_PTRS_IN_SO_WITHOUT_PIC_TRUE@
|
|
GCC_FALSE = @GCC_FALSE@
|
|
GCC_TRUE = @GCC_TRUE@
|
|
GENCAT = @GENCAT@
|
|
GMSGFMT = @GMSGFMT@
|
|
INCINTL = @INCINTL@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
|
INSTOBJEXT = @INSTOBJEXT@
|
|
LDFLAGS = @LDFLAGS@
|
|
LFS_CXXFLAGS = @LFS_CXXFLAGS@
|
|
LIBINTL = @LIBINTL@
|
|
LIBINTL_DEP = @LIBINTL_DEP@
|
|
LIBOBJS = @LIBOBJS@
|
|
LIBS = @LIBS@
|
|
LN_S = @LN_S@
|
|
LTLIBOBJS = @LTLIBOBJS@
|
|
MAINT = @MAINT@
|
|
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
|
|
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
|
|
MAKEINFO = @MAKEINFO@
|
|
MKINSTALLDIRS = @MKINSTALLDIRS@
|
|
MSGFMT = @MSGFMT@
|
|
MSGMERGE = @MSGMERGE@
|
|
NATIVE_LINKER_FALSE = @NATIVE_LINKER_FALSE@
|
|
NATIVE_LINKER_TRUE = @NATIVE_LINKER_TRUE@
|
|
NO_WERROR = @NO_WERROR@
|
|
OBJEXT = @OBJEXT@
|
|
PACKAGE = @PACKAGE@
|
|
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
|
PACKAGE_NAME = @PACKAGE_NAME@
|
|
PACKAGE_STRING = @PACKAGE_STRING@
|
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
|
POSUB = @POSUB@
|
|
RANLIB = @RANLIB@
|
|
SET_MAKE = @SET_MAKE@
|
|
SHELL = @SHELL@
|
|
STATIC_TLS_FALSE = @STATIC_TLS_FALSE@
|
|
STATIC_TLS_TRUE = @STATIC_TLS_TRUE@
|
|
STRIP = @STRIP@
|
|
TARGETOBJS = @TARGETOBJS@
|
|
TLS_FALSE = @TLS_FALSE@
|
|
TLS_TRUE = @TLS_TRUE@
|
|
USE_NLS = @USE_NLS@
|
|
VERSION = @VERSION@
|
|
WARN_CFLAGS = @WARN_CFLAGS@
|
|
WARN_CXXFLAGS = @WARN_CXXFLAGS@
|
|
XGETTEXT = @XGETTEXT@
|
|
YACC = @YACC@
|
|
ac_ct_CC = @ac_ct_CC@
|
|
ac_ct_CXX = @ac_ct_CXX@
|
|
ac_ct_RANLIB = @ac_ct_RANLIB@
|
|
ac_ct_STRIP = @ac_ct_STRIP@
|
|
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
|
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
|
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
|
|
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
|
|
am__include = @am__include@
|
|
am__leading_dot = @am__leading_dot@
|
|
am__quote = @am__quote@
|
|
am__tar = @am__tar@
|
|
am__untar = @am__untar@
|
|
bindir = @bindir@
|
|
build = @build@
|
|
build_alias = @build_alias@
|
|
build_cpu = @build_cpu@
|
|
build_os = @build_os@
|
|
build_vendor = @build_vendor@
|
|
datadir = @datadir@
|
|
exec_prefix = @exec_prefix@
|
|
host = @host@
|
|
host_alias = @host_alias@
|
|
host_cpu = @host_cpu@
|
|
host_os = @host_os@
|
|
host_vendor = @host_vendor@
|
|
includedir = @includedir@
|
|
infodir = @infodir@
|
|
install_sh = @install_sh@
|
|
libdir = @libdir@
|
|
libexecdir = @libexecdir@
|
|
localstatedir = @localstatedir@
|
|
mandir = @mandir@
|
|
mkdir_p = @mkdir_p@
|
|
oldincludedir = @oldincludedir@
|
|
prefix = @prefix@
|
|
program_transform_name = @program_transform_name@
|
|
sbindir = @sbindir@
|
|
sharedstatedir = @sharedstatedir@
|
|
sysconfdir = @sysconfdir@
|
|
target = @target@
|
|
target_alias = @target_alias@
|
|
target_cpu = @target_cpu@
|
|
target_os = @target_os@
|
|
target_vendor = @target_vendor@
|
|
AUTOMAKE_OPTIONS =
|
|
SUBDIRS = po testsuite
|
|
tooldir = $(exec_prefix)/$(target_alias)
|
|
ACLOCAL_AMFLAGS = -I ../bfd -I ../config
|
|
AM_CXXFLAGS = $(WARN_CXXFLAGS) $(LFS_CXXFLAGS)
|
|
INCLUDES = -D_GNU_SOURCE \
|
|
-I$(srcdir) -I$(srcdir)/../include -I$(srcdir)/../elfcpp \
|
|
-DLOCALEDIR="\"$(datadir)/locale\"" \
|
|
-DBINDIR="\"$(bindir)\"" -DTOOLBINDIR="\"$(tooldir)/bin\"" \
|
|
@INCINTL@
|
|
|
|
LIBIBERTY = ../libiberty/libiberty.a
|
|
AM_YFLAGS = -d
|
|
noinst_LIBRARIES = libgold.a
|
|
CCFILES = \
|
|
archive.cc \
|
|
common.cc \
|
|
defstd.cc \
|
|
dirsearch.cc \
|
|
dynobj.cc \
|
|
ehframe.cc \
|
|
fileread.cc \
|
|
gold.cc \
|
|
gold-threads.cc \
|
|
layout.cc \
|
|
merge.cc \
|
|
object.cc \
|
|
options.cc \
|
|
output.cc \
|
|
parameters.cc \
|
|
readsyms.cc \
|
|
reloc.cc \
|
|
resolve.cc \
|
|
script.cc \
|
|
symtab.cc \
|
|
stringpool.cc \
|
|
target-select.cc \
|
|
version.cc \
|
|
workqueue.cc
|
|
|
|
HFILES = \
|
|
archive.h \
|
|
common.h \
|
|
defstd.h \
|
|
dirsearch.h \
|
|
dynobj.h \
|
|
ehframe.h \
|
|
fileread.h \
|
|
gold.h \
|
|
gold-threads.h \
|
|
layout.h \
|
|
merge.h \
|
|
object.h \
|
|
options.h \
|
|
output.h \
|
|
parameters.h \
|
|
readsyms.h \
|
|
reloc.h \
|
|
reloc-types.h \
|
|
script.h \
|
|
script-c.h \
|
|
stringpool.h \
|
|
symtab.h \
|
|
target.h \
|
|
target-reloc.h \
|
|
target-select.h \
|
|
tls.h \
|
|
workqueue.h
|
|
|
|
YFILES = \
|
|
yyscript.y
|
|
|
|
EXTRA_DIST = yyscript.c yyscript.h
|
|
TARGETSOURCES = \
|
|
i386.cc x86_64.cc
|
|
|
|
ALL_TARGETOBJS = \
|
|
i386.$(OBJEXT) x86_64.$(OBJEXT)
|
|
|
|
libgold_a_SOURCES = $(CCFILES) $(HFILES) $(YFILES)
|
|
sources_var = main.cc
|
|
deps_var = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL_DEP)
|
|
ldadd_var = $(TARGETOBJS) libgold.a $(LIBIBERTY) $(LIBINTL)
|
|
ld_new_SOURCES = $(sources_var)
|
|
ld_new_DEPENDENCIES = $(deps_var) $(LIBOBJS)
|
|
ld_new_LDADD = $(ldadd_var) $(LIBOBJS)
|
|
EXTRA_ld_new_SOURCES = $(TARGETSOURCES)
|
|
POTFILES = $(CCFILES) $(HFILES) $(TARGETSOURCES)
|
|
@GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_SOURCES = $(sources_var)
|
|
@GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_DEPENDENCIES = $(deps_var) gcctestdir1/ld
|
|
@GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LDADD = $(ldadd_var)
|
|
@GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LDFLAGS = -Bgcctestdir1/
|
|
@GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_SOURCES = $(sources_var)
|
|
@GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_DEPENDENCIES = $(deps_var) gcctestdir2/ld
|
|
@GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LDADD = $(ldadd_var)
|
|
@GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LDFLAGS = -Bgcctestdir2/
|
|
@GCC_TRUE@@NATIVE_LINKER_TRUE@TESTS = bootstrap-test
|
|
all: config.h
|
|
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: .c .cc .o .obj .y
|
|
am--refresh:
|
|
@:
|
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
|
|
@for dep in $?; do \
|
|
case '$(am__configure_deps)' in \
|
|
*$$dep*) \
|
|
echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
|
|
cd $(srcdir) && $(AUTOMAKE) --foreign \
|
|
&& exit 0; \
|
|
exit 1;; \
|
|
esac; \
|
|
done; \
|
|
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
|
|
cd $(top_srcdir) && \
|
|
$(AUTOMAKE) --foreign Makefile
|
|
.PRECIOUS: Makefile
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
@case '$?' in \
|
|
*config.status*) \
|
|
echo ' $(SHELL) ./config.status'; \
|
|
$(SHELL) ./config.status;; \
|
|
*) \
|
|
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
|
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
|
esac;
|
|
|
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
|
$(SHELL) ./config.status --recheck
|
|
|
|
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
|
cd $(srcdir) && $(AUTOCONF)
|
|
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
|
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
|
|
|
config.h: stamp-h1
|
|
@if test ! -f $@; then \
|
|
rm -f stamp-h1; \
|
|
$(MAKE) stamp-h1; \
|
|
else :; fi
|
|
|
|
stamp-h1: $(srcdir)/config.in $(top_builddir)/config.status
|
|
@rm -f stamp-h1
|
|
cd $(top_builddir) && $(SHELL) ./config.status config.h
|
|
$(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
|
cd $(top_srcdir) && $(AUTOHEADER)
|
|
rm -f stamp-h1
|
|
touch $@
|
|
|
|
distclean-hdr:
|
|
-rm -f config.h stamp-h1
|
|
po/Makefile.in: $(top_builddir)/config.status $(top_srcdir)/po/Make-in
|
|
cd $(top_builddir) && $(SHELL) ./config.status $@
|
|
|
|
clean-noinstLIBRARIES:
|
|
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
|
yyscript.h: yyscript.c
|
|
@if test ! -f $@; then \
|
|
rm -f yyscript.c; \
|
|
$(MAKE) yyscript.c; \
|
|
else :; fi
|
|
libgold.a: $(libgold_a_OBJECTS) $(libgold_a_DEPENDENCIES)
|
|
-rm -f libgold.a
|
|
$(libgold_a_AR) libgold.a $(libgold_a_OBJECTS) $(libgold_a_LIBADD)
|
|
$(RANLIB) libgold.a
|
|
|
|
clean-checkPROGRAMS:
|
|
-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
|
|
|
|
clean-noinstPROGRAMS:
|
|
-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
|
|
ld-new$(EXEEXT): $(ld_new_OBJECTS) $(ld_new_DEPENDENCIES)
|
|
@rm -f ld-new$(EXEEXT)
|
|
$(CXXLINK) $(ld_new_LDFLAGS) $(ld_new_OBJECTS) $(ld_new_LDADD) $(LIBS)
|
|
ld1$(EXEEXT): $(ld1_OBJECTS) $(ld1_DEPENDENCIES)
|
|
@rm -f ld1$(EXEEXT)
|
|
$(CXXLINK) $(ld1_LDFLAGS) $(ld1_OBJECTS) $(ld1_LDADD) $(LIBS)
|
|
ld2$(EXEEXT): $(ld2_OBJECTS) $(ld2_DEPENDENCIES)
|
|
@rm -f ld2$(EXEEXT)
|
|
$(CXXLINK) $(ld2_LDFLAGS) $(ld2_OBJECTS) $(ld2_LDADD) $(LIBS)
|
|
|
|
mostlyclean-compile:
|
|
-rm -f *.$(OBJEXT)
|
|
|
|
distclean-compile:
|
|
-rm -f *.tab.c
|
|
|
|
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/pread.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/archive.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/common.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/defstd.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dirsearch.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dynobj.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehframe.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fileread.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gold-threads.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gold.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/i386.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/layout.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/merge.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/object.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/options.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/output.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parameters.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readsyms.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reloc.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/resolve.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/script.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stringpool.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/symtab.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/target-select.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/workqueue.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x86_64.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yyscript.Po@am__quote@
|
|
|
|
.c.o:
|
|
@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
|
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
@am__fastdepCC_FALSE@ $(COMPILE) -c $<
|
|
|
|
.c.obj:
|
|
@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
|
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
|
|
|
|
.cc.o:
|
|
@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
|
|
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
|
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
|
|
|
|
.cc.obj:
|
|
@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
|
|
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
|
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
|
|
|
|
.y.c:
|
|
$(YACCCOMPILE) $<
|
|
if test -f y.tab.h; then \
|
|
to=`echo "$*_H" | sed \
|
|
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
|
|
-e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`; \
|
|
sed -e "/^#/!b" -e "s/Y_TAB_H/$$to/g" -e "s|y\.tab\.h|$*.h|" \
|
|
y.tab.h >$*.ht; \
|
|
rm -f y.tab.h; \
|
|
if cmp -s $*.ht $*.h; then \
|
|
rm -f $*.ht ;\
|
|
else \
|
|
mv $*.ht $*.h; \
|
|
fi; \
|
|
fi
|
|
if test -f y.output; then \
|
|
mv y.output $*.output; \
|
|
fi
|
|
sed '/^#/ s|y\.tab\.c|$@|' y.tab.c >$@t && mv $@t $@
|
|
rm -f y.tab.c
|
|
uninstall-info-am:
|
|
|
|
# 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.
|
|
$(RECURSIVE_TARGETS):
|
|
@failcom='exit 1'; \
|
|
for f in x $$MAKEFLAGS; do \
|
|
case $$f in \
|
|
*=* | --[!k]*);; \
|
|
*k*) failcom='fail=yes';; \
|
|
esac; \
|
|
done; \
|
|
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) \
|
|
|| eval $$failcom; \
|
|
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:
|
|
@failcom='exit 1'; \
|
|
for f in x $$MAKEFLAGS; do \
|
|
case $$f in \
|
|
*=* | --[!k]*);; \
|
|
*k*) failcom='fail=yes';; \
|
|
esac; \
|
|
done; \
|
|
dot_seen=no; \
|
|
case "$@" in \
|
|
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
|
*) list='$(SUBDIRS)' ;; \
|
|
esac; \
|
|
rev=''; for subdir in $$list; do \
|
|
if test "$$subdir" = "."; then :; else \
|
|
rev="$$subdir $$rev"; \
|
|
fi; \
|
|
done; \
|
|
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) \
|
|
|| eval $$failcom; \
|
|
done && test -z "$$fail"
|
|
tags-recursive:
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
|
done
|
|
ctags-recursive:
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
|
done
|
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
|
unique=`for i in $$list; do \
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
done | \
|
|
$(AWK) ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
mkid -fID $$unique
|
|
tags: TAGS
|
|
|
|
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
|
|
$(TAGS_FILES) $(LISP)
|
|
tags=; \
|
|
here=`pwd`; \
|
|
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
|
include_option=--etags-include; \
|
|
empty_fix=.; \
|
|
else \
|
|
include_option=--include; \
|
|
empty_fix=; \
|
|
fi; \
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
if test "$$subdir" = .; then :; else \
|
|
test ! -f $$subdir/TAGS || \
|
|
tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
|
|
fi; \
|
|
done; \
|
|
list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
|
|
unique=`for i in $$list; do \
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
done | \
|
|
$(AWK) ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
|
|
test -n "$$unique" || unique=$$empty_fix; \
|
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
$$tags $$unique; \
|
|
fi
|
|
ctags: CTAGS
|
|
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
|
|
$(TAGS_FILES) $(LISP)
|
|
tags=; \
|
|
here=`pwd`; \
|
|
list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
|
|
unique=`for i in $$list; do \
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
done | \
|
|
$(AWK) ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
|
$$tags $$unique
|
|
|
|
GTAGS:
|
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
|
&& cd $(top_srcdir) \
|
|
&& gtags -i $(GTAGS_ARGS) $$here
|
|
|
|
distclean-tags:
|
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
|
|
|
check-TESTS: $(TESTS)
|
|
@failed=0; all=0; xfail=0; xpass=0; skip=0; \
|
|
srcdir=$(srcdir); export srcdir; \
|
|
list='$(TESTS)'; \
|
|
if test -n "$$list"; then \
|
|
for tst in $$list; do \
|
|
if test -f ./$$tst; then dir=./; \
|
|
elif test -f $$tst; then dir=; \
|
|
else dir="$(srcdir)/"; fi; \
|
|
if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
|
|
all=`expr $$all + 1`; \
|
|
case " $(XFAIL_TESTS) " in \
|
|
*" $$tst "*) \
|
|
xpass=`expr $$xpass + 1`; \
|
|
failed=`expr $$failed + 1`; \
|
|
echo "XPASS: $$tst"; \
|
|
;; \
|
|
*) \
|
|
echo "PASS: $$tst"; \
|
|
;; \
|
|
esac; \
|
|
elif test $$? -ne 77; then \
|
|
all=`expr $$all + 1`; \
|
|
case " $(XFAIL_TESTS) " in \
|
|
*" $$tst "*) \
|
|
xfail=`expr $$xfail + 1`; \
|
|
echo "XFAIL: $$tst"; \
|
|
;; \
|
|
*) \
|
|
failed=`expr $$failed + 1`; \
|
|
echo "FAIL: $$tst"; \
|
|
;; \
|
|
esac; \
|
|
else \
|
|
skip=`expr $$skip + 1`; \
|
|
echo "SKIP: $$tst"; \
|
|
fi; \
|
|
done; \
|
|
if test "$$failed" -eq 0; then \
|
|
if test "$$xfail" -eq 0; then \
|
|
banner="All $$all tests passed"; \
|
|
else \
|
|
banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
|
|
fi; \
|
|
else \
|
|
if test "$$xpass" -eq 0; then \
|
|
banner="$$failed of $$all tests failed"; \
|
|
else \
|
|
banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
|
|
fi; \
|
|
fi; \
|
|
dashes="$$banner"; \
|
|
skipped=""; \
|
|
if test "$$skip" -ne 0; then \
|
|
skipped="($$skip tests were not run)"; \
|
|
test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
|
|
dashes="$$skipped"; \
|
|
fi; \
|
|
report=""; \
|
|
if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
|
|
report="Please report to $(PACKAGE_BUGREPORT)"; \
|
|
test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
|
|
dashes="$$report"; \
|
|
fi; \
|
|
dashes=`echo "$$dashes" | sed s/./=/g`; \
|
|
echo "$$dashes"; \
|
|
echo "$$banner"; \
|
|
test -z "$$skipped" || echo "$$skipped"; \
|
|
test -z "$$report" || echo "$$report"; \
|
|
echo "$$dashes"; \
|
|
test "$$failed" -eq 0; \
|
|
else :; fi
|
|
|
|
distdir: $(DISTFILES)
|
|
$(am__remove_distdir)
|
|
mkdir $(distdir)
|
|
$(mkdir_p) $(distdir)/.. $(distdir)/../bfd $(distdir)/../config $(distdir)/po
|
|
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
|
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
|
list='$(DISTFILES)'; for file in $$list; do \
|
|
case $$file in \
|
|
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
|
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
|
|
esac; \
|
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
|
dir="/$$dir"; \
|
|
$(mkdir_p) "$(distdir)$$dir"; \
|
|
else \
|
|
dir=''; \
|
|
fi; \
|
|
if test -d $$d/$$file; then \
|
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
|
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
|
fi; \
|
|
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
|
else \
|
|
test -f $(distdir)/$$file \
|
|
|| cp -p $$d/$$file $(distdir)/$$file \
|
|
|| exit 1; \
|
|
fi; \
|
|
done
|
|
list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
|
if test "$$subdir" = .; then :; else \
|
|
test -d "$(distdir)/$$subdir" \
|
|
|| $(mkdir_p) "$(distdir)/$$subdir" \
|
|
|| exit 1; \
|
|
distdir=`$(am__cd) $(distdir) && pwd`; \
|
|
top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
|
|
(cd $$subdir && \
|
|
$(MAKE) $(AM_MAKEFLAGS) \
|
|
top_distdir="$$top_distdir" \
|
|
distdir="$$distdir/$$subdir" \
|
|
distdir) \
|
|
|| exit 1; \
|
|
fi; \
|
|
done
|
|
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
|
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
|
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
|
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|
|
|| chmod -R a+r $(distdir)
|
|
dist-gzip: distdir
|
|
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
|
$(am__remove_distdir)
|
|
|
|
dist-bzip2: distdir
|
|
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
|
|
$(am__remove_distdir)
|
|
|
|
dist-tarZ: distdir
|
|
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
|
|
$(am__remove_distdir)
|
|
|
|
dist-shar: distdir
|
|
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
|
|
$(am__remove_distdir)
|
|
|
|
dist-zip: distdir
|
|
-rm -f $(distdir).zip
|
|
zip -rq $(distdir).zip $(distdir)
|
|
$(am__remove_distdir)
|
|
|
|
dist dist-all: distdir
|
|
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
|
$(am__remove_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
|
|
case '$(DIST_ARCHIVES)' in \
|
|
*.tar.gz*) \
|
|
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
|
|
*.tar.bz2*) \
|
|
bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
|
|
*.tar.Z*) \
|
|
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
|
|
*.shar.gz*) \
|
|
GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
|
|
*.zip*) \
|
|
unzip $(distdir).zip ;;\
|
|
esac
|
|
chmod -R a-w $(distdir); chmod a+w $(distdir)
|
|
mkdir $(distdir)/_build
|
|
mkdir $(distdir)/_inst
|
|
chmod a-w $(distdir)
|
|
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
|
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
|
&& cd $(distdir)/_build \
|
|
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
|
|
$(DISTCHECK_CONFIGURE_FLAGS) \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
|
|
distuninstallcheck \
|
|
&& chmod -R a-w "$$dc_install_base" \
|
|
&& ({ \
|
|
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
|
|
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
|
|
} || { rm -rf "$$dc_destdir"; exit 1; }) \
|
|
&& rm -rf "$$dc_destdir" \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
|
&& rm -rf $(DIST_ARCHIVES) \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck
|
|
$(am__remove_distdir)
|
|
@(echo "$(distdir) archives ready for distribution: "; \
|
|
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
|
sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
|
|
distuninstallcheck:
|
|
@cd $(distuninstallcheck_dir) \
|
|
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|
|
|| { echo "ERROR: files left after uninstall:" ; \
|
|
if test -n "$(DESTDIR)"; then \
|
|
echo " (check DESTDIR support)"; \
|
|
fi ; \
|
|
$(distuninstallcheck_listfiles) ; \
|
|
exit 1; } >&2
|
|
distcleancheck: distclean
|
|
@if test '$(srcdir)' = . ; then \
|
|
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
|
|
exit 1 ; \
|
|
fi
|
|
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|
|
|| { echo "ERROR: files left in build directory after distclean:" ; \
|
|
$(distcleancheck_listfiles) ; \
|
|
exit 1; } >&2
|
|
check-am: all-am
|
|
$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
|
|
$(MAKE) $(AM_MAKEFLAGS) check-TESTS
|
|
check: check-recursive
|
|
all-am: Makefile $(LIBRARIES) $(PROGRAMS) config.h
|
|
installdirs: installdirs-recursive
|
|
installdirs-am:
|
|
install: install-recursive
|
|
install-exec: install-exec-recursive
|
|
install-data: install-data-recursive
|
|
uninstall: uninstall-recursive
|
|
|
|
install-am: all-am
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
|
|
installcheck: installcheck-recursive
|
|
install-strip:
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
|
`test -z '$(STRIP)' || \
|
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
|
mostlyclean-generic:
|
|
|
|
clean-generic:
|
|
|
|
distclean-generic:
|
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
|
|
|
maintainer-clean-generic:
|
|
@echo "This command is intended for maintainers to use"
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
-rm -f yyscript.c
|
|
-rm -f yyscript.h
|
|
clean: clean-recursive
|
|
|
|
clean-am: clean-checkPROGRAMS clean-generic clean-noinstLIBRARIES \
|
|
clean-noinstPROGRAMS mostlyclean-am
|
|
|
|
distclean: distclean-recursive
|
|
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
|
-rm -rf $(DEPDIR) ./$(DEPDIR)
|
|
-rm -f Makefile
|
|
distclean-am: clean-am distclean-compile distclean-generic \
|
|
distclean-hdr distclean-tags
|
|
|
|
dvi: dvi-recursive
|
|
|
|
dvi-am:
|
|
|
|
html: html-recursive
|
|
|
|
info: info-recursive
|
|
|
|
info-am:
|
|
|
|
install-data-am: install-data-local
|
|
|
|
install-exec-am: install-exec-local
|
|
|
|
install-info: install-info-recursive
|
|
|
|
install-man:
|
|
|
|
installcheck-am:
|
|
|
|
maintainer-clean: maintainer-clean-recursive
|
|
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
|
-rm -rf $(top_srcdir)/autom4te.cache
|
|
-rm -rf $(DEPDIR) ./$(DEPDIR)
|
|
-rm -f Makefile
|
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
|
|
|
mostlyclean: mostlyclean-recursive
|
|
|
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic
|
|
|
|
pdf: pdf-recursive
|
|
|
|
pdf-am:
|
|
|
|
ps: ps-recursive
|
|
|
|
ps-am:
|
|
|
|
uninstall-am: uninstall-info-am
|
|
|
|
uninstall-info: uninstall-info-recursive
|
|
|
|
.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
|
|
check-TESTS check-am clean clean-checkPROGRAMS clean-generic \
|
|
clean-noinstLIBRARIES clean-noinstPROGRAMS clean-recursive \
|
|
ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
|
|
dist-shar dist-tarZ dist-zip distcheck distclean \
|
|
distclean-compile distclean-generic distclean-hdr \
|
|
distclean-recursive distclean-tags distcleancheck distdir \
|
|
distuninstallcheck dvi dvi-am html html-am info info-am \
|
|
install install-am install-data install-data-am \
|
|
install-data-local install-exec install-exec-am \
|
|
install-exec-local install-info install-info-am install-man \
|
|
install-strip installcheck installcheck-am installdirs \
|
|
installdirs-am maintainer-clean maintainer-clean-generic \
|
|
maintainer-clean-recursive mostlyclean mostlyclean-compile \
|
|
mostlyclean-generic mostlyclean-recursive pdf pdf-am ps ps-am \
|
|
tags tags-recursive uninstall uninstall-am uninstall-info-am
|
|
|
|
|
|
# Use an explicit dependency for the bison generated header file.
|
|
script.$(OBJEXT): yyscript.h
|
|
|
|
# We have to build libgold.a before we run the tests.
|
|
check: libgold.a
|
|
|
|
.PHONY: install-exec-local
|
|
|
|
install-exec-local: ld-new$(EXEEXT)
|
|
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(tooldir)/bin
|
|
n=`echo ld | sed '$(transform)'; \
|
|
$(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$${n}$(EXEEXT); \
|
|
if test "$(bindir)" != "$(tooldir)/bin"; then \
|
|
rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
|
|
ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
|
|
|| $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
|
|
fi
|
|
|
|
# We want install to imply install-info as per GNU standards, despite
|
|
# the cygnus option.
|
|
install-data-local: install-info
|
|
|
|
po/POTFILES.in: @MAINT@ Makefile
|
|
for f in $(POTFILES); do echo $$f; done | LC_COLLATE= sort > tmp \
|
|
&& mv tmp $(srcdir)/po/POTFILES.in
|
|
|
|
# Bootstrap test support. We use ld-new to build ld1, then use ld1 to
|
|
# build ld2. ld1 and ld2 should be identical. ld-new need not be
|
|
# identical to ld1, since it was linked with the host linker.
|
|
|
|
@GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir1/ld: ld-new
|
|
@GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir1 || mkdir -p gcctestdir1
|
|
@GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir1/ld
|
|
@GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir1 && $(LN_S) ../ld-new ld)
|
|
|
|
@GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir2/ld: ld1
|
|
@GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir2 || mkdir -p gcctestdir2
|
|
@GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f gcctestdir2/ld
|
|
@GCC_TRUE@@NATIVE_LINKER_TRUE@ (cd gcctestdir2 && $(LN_S) ../ld1 ld)
|
|
|
|
@GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test: ld2
|
|
@GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
|
|
@GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@
|
|
@GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1 ld2" > $@
|
|
@GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@
|
|
# 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:
|