1## Process this file with automake to generate Makefile.in 2# 3# Copyright (C) 2012-2022 Free Software Foundation, Inc. 4# 5# This file is free software; you can redistribute it and/or modify 6# it under the terms of the GNU General Public License as published by 7# the Free Software Foundation; either version 3 of the License, or 8# (at your option) any later version. 9# 10# This program is distributed in the hope that it will be useful, 11# but WITHOUT ANY WARRANTY; without even the implied warranty of 12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13# GNU General Public License for more details. 14# 15# You should have received a copy of the GNU General Public License 16# along with this program; see the file COPYING3. If not see 17# <http://www.gnu.org/licenses/>. 18# 19 20AUTOMAKE_OPTIONS = dejagnu no-texinfo.tex no-dist foreign info-in-builddir 21ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd 22TEXINFO_TEX = ../texinfo/texinfo.tex 23 24SUBDIRS = po 25 26tooldir = $(exec_prefix)/$(target_alias) 27 28YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi` 29YFLAGS = -d 30LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi` 31 32# Automake 1.10+ disables lex and yacc output file regeneration if 33# maintainer mode is disabled. Avoid this. 34am__skiplex = 35am__skipyacc = 36 37# This is where we get zlib from. zlibdir is -L../zlib and zlibinc is 38# -I../zlib, unless we were configured with --with-system-zlib, in which 39# case both are empty. 40ZLIB = @zlibdir@ -lz 41ZLIBINC = @zlibinc@ 42 43ELF_CLFAGS=-DELF_LIST_OPTIONS=@elf_list_options@ \ 44 -DELF_SHLIB_LIST_OPTIONS=@elf_shlib_list_options@ \ 45 -DELF_PLT_UNWIND_LIST_OPTIONS=@elf_plt_unwind_list_options@ 46WARN_CFLAGS = @WARN_CFLAGS@ 47NO_WERROR = @NO_WERROR@ 48AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) $(JANSSON_CFLAGS) 49 50# We put the scripts in the directory $(scriptdir)/ldscripts. 51# We can't put the scripts in $(datadir) because the SEARCH_DIR 52# directives need to be different for native and cross linkers. 53scriptdir = $(tooldir)/lib 54 55EMUL = @EMUL@ 56EMULATION_OFILES = @EMULATION_OFILES@ 57EMUL_EXTRA_OFILES = @EMUL_EXTRA_OFILES@ 58 59 60# Search path to override the default search path for -lfoo libraries. 61# If LIB_PATH is empty, the ones in the script (if any) are left alone. 62# (The default is usually /lib:/usr/lib:/usr/local/lib, unless building 63# a cross-linker, in which case the default is empty. See genscripts.sh.) 64# Otherwise, they are replaced with the ones given in LIB_PATH, 65# which may have the form: LIB_PATH=/lib:/usr/local/lib. This can be set 66# when the linker is configured via the --with-lib-path configure switch. 67LIB_PATH = @LIB_PATH@ 68 69BASEDIR = $(srcdir)/.. 70BFDDIR = $(BASEDIR)/bfd 71INCDIR = $(BASEDIR)/include 72 73# What version of the manual to build 74DOCVER = gen 75 76# Options to extract the man page from ld.texi 77MANCONF = -Dman 78 79TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl $(AM_MAKEINFOFLAGS) 80 81POD2MAN = pod2man --center="GNU Development Tools" \ 82 --release="binutils-$(VERSION)" --section=1 83 84# Setup the testing framework, if you have one 85EXPECT = expect 86RUNTEST = runtest 87RUNTESTFLAGS = 88 89CC_FOR_TARGET = ` \ 90 if [ -f $$r/../gcc/xgcc ] ; then \ 91 if [ -f $$r/../newlib/Makefile ] ; then \ 92 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \ 93 else \ 94 echo $$r/../gcc/xgcc -B$$r/../gcc/; \ 95 fi; \ 96 else \ 97 if [ "@host@" = "@target@" ] ; then \ 98 echo $(CC); \ 99 else \ 100 echo gcc | sed '$(transform)'; \ 101 fi; \ 102 fi` 103 104CXX_FOR_TARGET = ` \ 105 if [ -f $$r/../gcc/g++ ] ; then \ 106 if [ -f $$r/../newlib/Makefile ] ; then \ 107 echo $$r/../gcc/g++ -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \ 108 else \ 109 echo $$r/../gcc/g++ -B$$r/../gcc/; \ 110 fi; \ 111 elif [ -f $$r/../gcc/xg++ ] ; then \ 112 if [ -f $$r/../newlib/Makefile ] ; then \ 113 echo $$r/../gcc/xg++ -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \ 114 else \ 115 echo $$r/../gcc/xg++ -B$$r/../gcc/; \ 116 fi; \ 117 else \ 118 if [ "@host@" = "@target@" ] ; then \ 119 echo $(CXX); \ 120 else \ 121 echo g++ | sed '$(transform)'; \ 122 fi; \ 123 fi` 124 125# Strip out sanitization options as we want to test building binaries without any extra paraphernalia 126CFLAGS_FOR_TARGET = `echo $(CFLAGS) | sed -e 's/-fsanitize=[^ ]*//g'` 127CXXFLAGS_FOR_TARGET = `echo $(CXXFLAGS) | sed -e 's/-fsanitize=[^ ]*//g'` 128 129transform = s/^ld-new$$/$(installed_linker)/;@program_transform_name@ 130bin_PROGRAMS = ld-new 131info_TEXINFOS = ld.texi 132ld_TEXINFOS = configdoc.texi 133noinst_TEXINFOS = ldint.texi 134man_MANS = ld.1 135 136AM_MAKEINFOFLAGS = -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \ 137 -I $(top_srcdir)/../libiberty --no-split 138TEXI2DVI = texi2dvi -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \ 139 -I $(top_srcdir)/../libiberty 140 141AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) @zlibinc@ \ 142 @INCINTL@ $(HDEFINES) $(CFLAGS) @LARGEFILE_CPPFLAGS@ \ 143 -DLOCALEDIR="\"$(datadir)/locale\"" 144 145BFDLIB = ../bfd/libbfd.la 146LIBIBERTY = ../libiberty/libiberty.a 147if ENABLE_LIBCTF 148LIBCTF = ../libctf/libctf.la 149else 150LIBCTF = 151endif 152 153# These all start with e so 'make clean' can find them. 154ALL_EMULATION_SOURCES = \ 155 eaix5ppc.c \ 156 eaix5rs6.c \ 157 eaixppc.c \ 158 eaixrs6.c \ 159 ealpha.c \ 160 ealphavms.c \ 161 earcelf.c \ 162 earclinux.c \ 163 earclinux_nps.c \ 164 earcv2elf.c \ 165 earcv2elfx.c \ 166 earm_wince_pe.c \ 167 earmelf.c \ 168 earmelf_fbsd.c \ 169 earmelf_fuchsia.c \ 170 earmelf_haiku.c \ 171 earmelf_linux.c \ 172 earmelf_linux_eabi.c \ 173 earmelf_linux_fdpiceabi.c \ 174 earmelf_nacl.c \ 175 earmelf_nbsd.c \ 176 earmelf_nbsd_eabi.c \ 177 earmelf_nbsd_eabihf.c \ 178 earmelf_phoenix.c \ 179 earmelf_vxworks.c \ 180 earmelfb.c \ 181 earmelfb_fbsd.c \ 182 earmelfb_fuchsia.c \ 183 earmelfb_linux.c \ 184 earmelfb_linux_eabi.c \ 185 earmelfb_linux_fdpiceabi.c \ 186 earmelfb_nacl.c \ 187 earmelfb_nbsd.c \ 188 earmelfb_nbsd_eabi.c \ 189 earmelfb_nbsd_eabihf.c \ 190 earmnbsd.c \ 191 earmnto.c \ 192 earmpe.c \ 193 eavr1.c \ 194 eavr2.c \ 195 eavr25.c \ 196 eavr3.c \ 197 eavr31.c \ 198 eavr35.c \ 199 eavr4.c \ 200 eavr5.c \ 201 eavr51.c \ 202 eavr6.c \ 203 eavrtiny.c \ 204 eavrxmega1.c \ 205 eavrxmega2.c \ 206 eavrxmega3.c \ 207 eavrxmega4.c \ 208 eavrxmega5.c \ 209 eavrxmega6.c \ 210 eavrxmega7.c \ 211 ecrisaout.c \ 212 ecriself.c \ 213 ecrislinux.c \ 214 ecskyelf.c \ 215 ecskyelf_linux.c \ 216 ed10velf.c \ 217 ed30v_e.c \ 218 ed30v_o.c \ 219 ed30velf.c \ 220 eelf32_dlx.c \ 221 eelf32_sparc.c \ 222 eelf32_sparc_sol2.c \ 223 eelf32_sparc_vxworks.c \ 224 eelf32_spu.c \ 225 eelf32_tic6x_be.c \ 226 eelf32_tic6x_elf_be.c \ 227 eelf32_tic6x_elf_le.c \ 228 eelf32_tic6x_le.c \ 229 eelf32_tic6x_linux_be.c \ 230 eelf32_tic6x_linux_le.c \ 231 eelf32am33lin.c \ 232 eelf32bfin.c \ 233 eelf32bfinfd.c \ 234 eelf32cr16.c \ 235 eelf32crx.c \ 236 eelf32epiphany.c \ 237 eelf32epiphany_4x4.c \ 238 eelf32fr30.c \ 239 eelf32frv.c \ 240 eelf32frvfd.c \ 241 eelf32ft32.c \ 242 eelf32ip2k.c \ 243 eelf32iq10.c \ 244 eelf32iq2000.c \ 245 eelf32lm32.c \ 246 eelf32lm32fd.c \ 247 eelf32lppc.c \ 248 eelf32lppclinux.c \ 249 eelf32lppcnto.c \ 250 eelf32lppcsim.c \ 251 eelf32lriscv.c \ 252 eelf32lsmip.c \ 253 eelf32ltsmip.c \ 254 eelf32ltsmip_fbsd.c \ 255 eelf32ltsmipn32.c \ 256 eelf32ltsmipn32_fbsd.c \ 257 eelf32m32c.c \ 258 eelf32mb_linux.c \ 259 eelf32mbel_linux.c \ 260 eelf32mcore.c \ 261 eelf32mep.c \ 262 eelf32metag.c \ 263 eelf32microblaze.c \ 264 eelf32microblazeel.c \ 265 eelf32moxie.c \ 266 eelf32mt.c \ 267 eelf32or1k.c \ 268 eelf32or1k_linux.c \ 269 eelf32or1k_nbsd.c \ 270 eelf32ppc.c \ 271 eelf32ppc_fbsd.c \ 272 eelf32ppc_nbsd.c \ 273 eelf32ppchaiku.c \ 274 eelf32ppclinux.c \ 275 eelf32ppcnto.c \ 276 eelf32ppcsim.c \ 277 eelf32ppcvxworks.c \ 278 eelf32ppcwindiss.c \ 279 eelf32rl78.c \ 280 eelf32rx.c \ 281 eelf32rx_linux.c \ 282 eelf32tilegx.c \ 283 eelf32tilegx_be.c \ 284 eelf32tilepro.c \ 285 eelf32vax.c \ 286 eelf32visium.c \ 287 eelf32xstormy16.c \ 288 eelf32xtensa.c \ 289 eelf32z80.c \ 290 eelf_i386.c \ 291 eelf_i386_be.c \ 292 eelf_i386_fbsd.c \ 293 eelf_i386_haiku.c \ 294 eelf_i386_ldso.c \ 295 eelf_i386_sol2.c \ 296 eelf_i386_vxworks.c \ 297 eelf_iamcu.c \ 298 eelf_s390.c \ 299 eh8300elf.c \ 300 eh8300elf_linux.c \ 301 eh8300helf.c \ 302 eh8300helf_linux.c \ 303 eh8300hnelf.c \ 304 eh8300self.c \ 305 eh8300self_linux.c \ 306 eh8300snelf.c \ 307 eh8300sxelf.c \ 308 eh8300sxelf_linux.c \ 309 eh8300sxnelf.c \ 310 ehppaelf.c \ 311 ehppalinux.c \ 312 ehppanbsd.c \ 313 ehppaobsd.c \ 314 ei386aout.c \ 315 ei386beos.c \ 316 ei386bsd.c \ 317 ei386go32.c \ 318 ei386lynx.c \ 319 ei386moss.c \ 320 ei386msdos.c \ 321 ei386nto.c \ 322 ei386pe.c \ 323 ei386pe_posix.c \ 324 em32relf.c \ 325 em32relf_linux.c \ 326 em32rlelf.c \ 327 em32rlelf_linux.c \ 328 em68hc11elf.c \ 329 em68hc11elfb.c \ 330 em68hc12elf.c \ 331 em68hc12elfb.c \ 332 em68kelf.c \ 333 em68kelfnbsd.c \ 334 em9s12zelf.c \ 335 emcorepe.c \ 336 emn10200.c \ 337 emn10300.c \ 338 emoxiebox.c \ 339 emsp430X.c \ 340 emsp430elf.c \ 341 ends32belf.c \ 342 ends32belf16m.c \ 343 ends32belf_linux.c \ 344 ends32elf.c \ 345 ends32elf16m.c \ 346 ends32elf_linux.c \ 347 enios2elf.c \ 348 enios2linux.c \ 349 ens32knbsd.c \ 350 epc532macha.c \ 351 epdp11.c \ 352 epjelf.c \ 353 epjlelf.c \ 354 eppcmacos.c \ 355 epruelf.c \ 356 escore3_elf.c \ 357 escore7_elf.c \ 358 esh.c \ 359 eshelf.c \ 360 eshelf_fd.c \ 361 eshelf_linux.c \ 362 eshelf_nbsd.c \ 363 eshelf_nto.c \ 364 eshelf_uclinux.c \ 365 eshelf_vxworks.c \ 366 eshl.c \ 367 eshlelf.c \ 368 eshlelf_fd.c \ 369 eshlelf_linux.c \ 370 eshlelf_nbsd.c \ 371 eshlelf_nto.c \ 372 eshlelf_vxworks.c \ 373 eshpe.c \ 374 etic30coff.c \ 375 etic3xcoff.c \ 376 etic3xcoff_onchip.c \ 377 etic4xcoff.c \ 378 etic54xcoff.c \ 379 ev850.c \ 380 ev850_rh850.c \ 381 evanilla.c \ 382 evaxnbsd.c \ 383 exgateelf.c \ 384 ez80.c \ 385 ez8001.c \ 386 ez8002.c 387 388ALL_EMULATIONS = $(ALL_EMULATION_SOURCES:.c=.@OBJEXT@) 389 390ALL_64_EMULATION_SOURCES = \ 391 eaarch64cloudabi.c \ 392 eaarch64cloudabib.c \ 393 eaarch64elf.c \ 394 eaarch64elf32.c \ 395 eaarch64elf32b.c \ 396 eaarch64elfb.c \ 397 eaarch64fbsd.c \ 398 eaarch64fbsdb.c \ 399 eaarch64haiku.c \ 400 eaarch64linux.c \ 401 eaarch64nbsd.c \ 402 eaarch64nbsdb.c \ 403 eaarch64linux32.c \ 404 eaarch64linux32b.c \ 405 eaarch64linuxb.c \ 406 eelf32_x86_64.c \ 407 eelf32b4300.c \ 408 eelf32bmip.c \ 409 eelf32bmipn32.c \ 410 eelf32briscv.c \ 411 eelf32briscv_ilp32.c \ 412 eelf32briscv_ilp32f.c \ 413 eelf32bsmip.c \ 414 eelf32btsmip.c \ 415 eelf32btsmip_fbsd.c \ 416 eelf32btsmipn32.c \ 417 eelf32btsmipn32_fbsd.c \ 418 eelf32ebmip.c \ 419 eelf32ebmipvxworks.c \ 420 eelf32elmip.c \ 421 eelf32elmipvxworks.c \ 422 eelf32l4300.c \ 423 eelf32lmip.c \ 424 eelf32loongarch.c \ 425 eelf32lr5900.c \ 426 eelf32lr5900n32.c \ 427 eelf32lriscv.c \ 428 eelf32lriscv_ilp32.c \ 429 eelf32lriscv_ilp32f.c \ 430 eelf32lsmip.c \ 431 eelf32ltsmip.c \ 432 eelf32ltsmip_fbsd.c \ 433 eelf32ltsmipn32.c \ 434 eelf32ltsmipn32_fbsd.c \ 435 eelf32mipswindiss.c \ 436 eelf64_aix.c \ 437 eelf64_ia64.c \ 438 eelf64_ia64_fbsd.c \ 439 eelf64_ia64_vms.c \ 440 eelf64_s390.c \ 441 eelf64_sparc.c \ 442 eelf64_sparc_fbsd.c \ 443 eelf64_sparc_sol2.c \ 444 eelf64alpha.c \ 445 eelf64alpha_fbsd.c \ 446 eelf64alpha_nbsd.c \ 447 eelf64bmip.c \ 448 eelf64bpf.c \ 449 eelf64briscv.c \ 450 eelf64briscv_lp64.c \ 451 eelf64briscv_lp64f.c \ 452 eelf64btsmip.c \ 453 eelf64btsmip_fbsd.c \ 454 eelf64hppa.c \ 455 eelf64loongarch.c \ 456 eelf64lppc.c \ 457 eelf64lppc_fbsd.c \ 458 eelf64lriscv.c \ 459 eelf64lriscv_lp64.c \ 460 eelf64lriscv_lp64f.c \ 461 eelf64ltsmip.c \ 462 eelf64ltsmip_fbsd.c \ 463 eelf64mmix.c \ 464 eelf64ppc.c \ 465 eelf64ppc_fbsd.c \ 466 eelf64rdos.c \ 467 eelf64tilegx.c \ 468 eelf64tilegx_be.c \ 469 eelf_mipsel_haiku.c \ 470 eelf_x86_64.c \ 471 eelf_x86_64_cloudabi.c \ 472 eelf_x86_64_fbsd.c \ 473 eelf_x86_64_haiku.c \ 474 eelf_x86_64_sol2.c \ 475 ehppa64linux.c \ 476 ei386pep.c \ 477 emmo.c 478 479ALL_64_EMULATIONS = $(ALL_64_EMULATION_SOURCES:.c=.@OBJEXT@) 480 481ALL_EMUL_EXTRA_OFILES = \ 482 deffilep.@OBJEXT@ \ 483 pe-dll.@OBJEXT@ \ 484 ldelf.@OBJEXT@ \ 485 ldelfgen.@OBJEXT@ 486 487ALL_64_EMUL_EXTRA_OFILES = \ 488 pep-dll.@OBJEXT@ 489 490CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \ 491 ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \ 492 mri.c ldcref.c pe-dll.c pep-dll.c ldlex-wrapper.c \ 493 plugin.c ldbuildid.c ldelf.c ldelfgen.c 494 495HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \ 496 ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \ 497 ldwrite.h mri.h deffile.h pe-dll.h pep-dll.h \ 498 elf-hints-local.h plugin.h ldbuildid.h ldelf.h ldelfgen.h 499 500GENERATED_CFILES = ldgram.c ldlex.c deffilep.c 501GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h 502 503# Require an early dependency on the generated headers, as the dependency 504# tracking will not cause them to be built beforehand. 505BUILT_SOURCES = $(GENERATED_HFILES) 506 507OFILES = ldgram.@OBJEXT@ ldlex-wrapper.@OBJEXT@ lexsup.@OBJEXT@ ldlang.@OBJEXT@ \ 508 mri.@OBJEXT@ ldctor.@OBJEXT@ ldmain.@OBJEXT@ plugin.@OBJEXT@ \ 509 ldwrite.@OBJEXT@ ldexp.@OBJEXT@ ldemul.@OBJEXT@ ldver.@OBJEXT@ ldmisc.@OBJEXT@ \ 510 ldfile.@OBJEXT@ ldcref.@OBJEXT@ ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES} \ 511 ldbuildid.@OBJEXT@ 512 513STAGESTUFF = *.@OBJEXT@ ldscripts/* e*.c 514 515# Disable -Werror, if it has been enabled, since old versions of bison/ 516# yacc will produce working code which contain compile time warnings. 517ldgram.@OBJEXT@: ldgram.c 518if am__fastdepCC 519 $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR) 520 $(AM_V_at)mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 521else 522if AMDEP 523 source='ldgram.c' object='$@' libtool=no @AMDEPBACKSLASH@ 524 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 525endif 526 $(AM_V_CC)$(COMPILE) -c `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR) 527endif 528 529ldlex-wrapper.@OBJEXT@: ldlex-wrapper.c ldlex.c 530if am__fastdepCC 531 $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(srcdir)/ldlex-wrapper.c $(NO_WERROR) 532 $(AM_V_at)mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 533else 534if AMDEP 535 source='ldlex-wrapper.c' object='$@' libtool=no @AMDEPBACKSLASH@ 536 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 537endif 538 $(AM_V_CC)$(COMPILE) -c $(srcdir)/ldlex-wrapper.c $(NO_WERROR) 539endif 540 541deffilep.@OBJEXT@: deffilep.c 542if am__fastdepCC 543 $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR) 544 $(AM_V_at)mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 545else 546if AMDEP 547 source='deffilep.c' object='$@' libtool=no @AMDEPBACKSLASH@ 548 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 549endif 550 $(AM_V_CC)$(COMPILE) -c `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR) 551endif 552 553SRC_POTFILES = $(CFILES) $(HFILES) 554BLD_POTFILES = $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES) 555 556po/SRC-POTFILES.in: @MAINT@ Makefile 557 for f in $(SRC_POTFILES); do echo $$f; done | LC_ALL=C sort > $@-tmp \ 558 && mv $@-tmp $(srcdir)/po/SRC-POTFILES.in 559 560po/BLD-POTFILES.in: @MAINT@ Makefile $(BLD_POTFILES) 561 for f in $(BLD_POTFILES); do echo $$f; done | LC_ALL=C sort > $@-tmp \ 562 && mv $@-tmp $(srcdir)/po/BLD-POTFILES.in 563 564ldmain.@OBJEXT@: ldmain.c config.status 565if am__fastdepCC 566 $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \ 567 -DDEFAULT_EMULATION='"$(EMUL)"' \ 568 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \ 569 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \ 570 $(srcdir)/ldmain.c 571 $(AM_V_at)mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 572else 573if AMDEP 574 source='ldmain.c' object='$@' libtool=no @AMDEPBACKSLASH@ 575 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 576endif 577 $(AM_V_CC)$(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \ 578 -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \ 579 -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \ 580 $(srcdir)/ldmain.c 581endif 582 583ldfile.@OBJEXT@: ldfile.c config.status 584if am__fastdepCC 585 $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \ 586 -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \ 587 $(srcdir)/ldfile.c 588 $(AM_V_at)mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 589else 590if AMDEP 591 source='ldfile.c' object='$@' libtool=no @AMDEPBACKSLASH@ 592 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 593endif 594 $(AM_V_CC)$(COMPILE) -c -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \ 595 -DTOOLBINDIR='"$(tooldir)/bin"' \ 596 $(srcdir)/ldfile.c 597endif 598 599eelf32_spu.@OBJEXT@: eelf32_spu.c 600if am__fastdepCC 601 $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \ 602 -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" eelf32_spu.c 603 $(AM_V_at)mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 604else 605if AMDEP 606 source='eelf32_spu.c' object='$@' libtool=no @AMDEPBACKSLASH@ 607 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 608endif 609 $(AM_V_CC)$(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \ 610 eelf32_spu.c 611endif 612 613ldemul-list.h: Makefile 614 (echo "/* This file is automatically generated. DO NOT EDIT! */";\ 615 for f in `echo " " ${EMULATION_OFILES} "" \ 616 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \ 617 echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \ 618 done;\ 619 echo "";\ 620 echo "#define EMULATION_LIST \\";\ 621 for f in `echo " " ${EMULATION_OFILES} "" \ 622 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \ 623 echo " &ld_$${f}_emulation, \\"; \ 624 done;\ 625 echo " 0") >ldemul-tmp.h 626 mv ldemul-tmp.h ldemul-list.h 627 628stringify.sed: ${srcdir}/emultempl/$(STRINGIFY) 629 $(AM_V_GEN)cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed 630 631if AMDEP 632 GENDEPDIR=$(DEPDIR) 633else 634 GENDEPDIR= 635endif 636GENSCRIPTS = $(SHELL) $(srcdir)/genscripts.sh "${srcdir}" "${libdir}" "${prefix}" "${exec_prefix}" @host@ @target@ @target_alias@ "$(GENDEPDIR)" "${LIB_PATH}" "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@" @use_sysroot@ @enable_initfini_array@ 637GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed 638 639@TDIRS@ 640 641# We can't use pattern rules as we don't want to depend on GNU 642# make, or else these rules could have been expressed in one 643# two-liner: 'e%.c:' and ' ${GENSCRIPTS} $* "$(tdir_$*)"'. 644# (The recursive variable expansion is portable.) 645 646run-genscripts: 647 $(AM_V_at)${GENSCRIPTS} $(script_target) "$($(script_tdirname))" 648 649.PHONY: run-genscripts 650 651$(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES): $(GEN_DEPENDS) 652 $(AM_V_GEN)base=`echo $@ | sed -e 's,e\(.*\).c,\1,'`; \ 653 $(MAKE) run-genscripts "script_target=$$base" "script_tdirname=tdir_$$base" 654 655# It's a pity we can't generate these include "./deps/e*.Pc" lines 656# from ALL_EMULATION_SOURCES and ALL_64_EMULATION_SOURCES, but that isn't 657# so easy to do. What we'd like to do is have automake generate these 658# lines in Makefile.in, but I can't see a way of doing that. Generating 659# the includes at configure time is possible but then we'd need to 660# duplicate autoconf/automake handling of dependency files. 661@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaix5ppc.Pc@am__quote@ 662@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaix5rs6.Pc@am__quote@ 663@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaixppc.Pc@am__quote@ 664@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaixrs6.Pc@am__quote@ 665@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ealpha.Pc@am__quote@ 666@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ealphavms.Pc@am__quote@ 667@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earcelf.Pc@am__quote@ 668@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earclinux.Pc@am__quote@ 669@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earclinux_nps.Pc@am__quote@ 670@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earcv2elf.Pc@am__quote@ 671@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earcv2elfx.Pc@am__quote@ 672@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earm_wince_pe.Pc@am__quote@ 673@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf.Pc@am__quote@ 674@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_fbsd.Pc@am__quote@ 675@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_fuchsia.Pc@am__quote@ 676@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_haiku.Pc@am__quote@ 677@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_linux.Pc@am__quote@ 678@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_linux_eabi.Pc@am__quote@ 679@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_linux_fdpiceabi.Pc@am__quote@ 680@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_nacl.Pc@am__quote@ 681@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_nbsd.Pc@am__quote@ 682@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_phoenix.Pc@am__quote@ 683@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_vxworks.Pc@am__quote@ 684@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelfb.Pc@am__quote@ 685@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelfb_fbsd.Pc@am__quote@ 686@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelfb_fuchsia.Pc@am__quote@ 687@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelfb_linux.Pc@am__quote@ 688@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelfb_linux_eabi.Pc@am__quote@ 689@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelfb_linux_fdpiceabi.Pc@am__quote@ 690@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelfb_nacl.Pc@am__quote@ 691@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelfb_nbsd.Pc@am__quote@ 692@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmnto.Pc@am__quote@ 693@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmpe.Pc@am__quote@ 694@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavr1.Pc@am__quote@ 695@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavr2.Pc@am__quote@ 696@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavr25.Pc@am__quote@ 697@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavr3.Pc@am__quote@ 698@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavr31.Pc@am__quote@ 699@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavr35.Pc@am__quote@ 700@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavr4.Pc@am__quote@ 701@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavr5.Pc@am__quote@ 702@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavr51.Pc@am__quote@ 703@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavr6.Pc@am__quote@ 704@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavrtiny.Pc@am__quote@ 705@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavrxmega1.Pc@am__quote@ 706@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavrxmega2.Pc@am__quote@ 707@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavrxmega3.Pc@am__quote@ 708@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavrxmega4.Pc@am__quote@ 709@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavrxmega5.Pc@am__quote@ 710@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavrxmega6.Pc@am__quote@ 711@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavrxmega7.Pc@am__quote@ 712@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ecrisaout.Pc@am__quote@ 713@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ecriself.Pc@am__quote@ 714@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ecrislinux.Pc@am__quote@ 715@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ecskyelf.Pc@am__quote@ 716@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ecskyelf_linux.Pc@am__quote@ 717@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ed10velf.Pc@am__quote@ 718@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ed30v_e.Pc@am__quote@ 719@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ed30v_o.Pc@am__quote@ 720@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ed30velf.Pc@am__quote@ 721@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_dlx.Pc@am__quote@ 722@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_sparc.Pc@am__quote@ 723@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_sparc_sol2.Pc@am__quote@ 724@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_sparc_vxworks.Pc@am__quote@ 725@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_spu.Pc@am__quote@ 726@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_tic6x_be.Pc@am__quote@ 727@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_tic6x_elf_be.Pc@am__quote@ 728@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_tic6x_elf_le.Pc@am__quote@ 729@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_tic6x_le.Pc@am__quote@ 730@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_tic6x_linux_be.Pc@am__quote@ 731@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_tic6x_linux_le.Pc@am__quote@ 732@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32am33lin.Pc@am__quote@ 733@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32bfin.Pc@am__quote@ 734@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32bfinfd.Pc@am__quote@ 735@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32cr16.Pc@am__quote@ 736@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32crx.Pc@am__quote@ 737@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32epiphany.Pc@am__quote@ 738@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32epiphany_4x4.Pc@am__quote@ 739@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32fr30.Pc@am__quote@ 740@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32frv.Pc@am__quote@ 741@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32frvfd.Pc@am__quote@ 742@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ft32.Pc@am__quote@ 743@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ip2k.Pc@am__quote@ 744@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32iq10.Pc@am__quote@ 745@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32iq2000.Pc@am__quote@ 746@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32lm32.Pc@am__quote@ 747@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32lm32fd.Pc@am__quote@ 748@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32lppc.Pc@am__quote@ 749@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32lppclinux.Pc@am__quote@ 750@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32lppcnto.Pc@am__quote@ 751@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32lppcsim.Pc@am__quote@ 752@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32m32c.Pc@am__quote@ 753@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32mb_linux.Pc@am__quote@ 754@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32mbel_linux.Pc@am__quote@ 755@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32mcore.Pc@am__quote@ 756@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32mep.Pc@am__quote@ 757@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32metag.Pc@am__quote@ 758@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32microblaze.Pc@am__quote@ 759@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32microblazeel.Pc@am__quote@ 760@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32moxie.Pc@am__quote@ 761@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32mt.Pc@am__quote@ 762@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32or1k.Pc@am__quote@ 763@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32or1k_linux.Pc@am__quote@ 764@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ppc.Pc@am__quote@ 765@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ppc_fbsd.Pc@am__quote@ 766@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ppchaiku.Pc@am__quote@ 767@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ppclinux.Pc@am__quote@ 768@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ppcnto.Pc@am__quote@ 769@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ppcsim.Pc@am__quote@ 770@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ppcvxworks.Pc@am__quote@ 771@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ppcwindiss.Pc@am__quote@ 772@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32rl78.Pc@am__quote@ 773@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32rx.Pc@am__quote@ 774@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32rx_linux.Pc@am__quote@ 775@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32tilegx.Pc@am__quote@ 776@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32tilegx_be.Pc@am__quote@ 777@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32tilepro.Pc@am__quote@ 778@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32vax.Pc@am__quote@ 779@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32visium.Pc@am__quote@ 780@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32xstormy16.Pc@am__quote@ 781@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32xtensa.Pc@am__quote@ 782@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32z80.Pc@am__quote@ 783@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386.Pc@am__quote@ 784@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_be.Pc@am__quote@ 785@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_fbsd.Pc@am__quote@ 786@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_haiku.Pc@am__quote@ 787@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_ldso.Pc@am__quote@ 788@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_sol2.Pc@am__quote@ 789@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_vxworks.Pc@am__quote@ 790@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_iamcu.Pc@am__quote@ 791@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_s390.Pc@am__quote@ 792@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8300elf.Pc@am__quote@ 793@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8300elf_linux.Pc@am__quote@ 794@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8300helf.Pc@am__quote@ 795@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8300helf_linux.Pc@am__quote@ 796@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8300hnelf.Pc@am__quote@ 797@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8300self.Pc@am__quote@ 798@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8300self_linux.Pc@am__quote@ 799@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8300snelf.Pc@am__quote@ 800@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8300sxelf.Pc@am__quote@ 801@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8300sxelf_linux.Pc@am__quote@ 802@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8300sxnelf.Pc@am__quote@ 803@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehppaelf.Pc@am__quote@ 804@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehppalinux.Pc@am__quote@ 805@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehppanbsd.Pc@am__quote@ 806@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehppaobsd.Pc@am__quote@ 807@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ei386aout.Pc@am__quote@ 808@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ei386beos.Pc@am__quote@ 809@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ei386bsd.Pc@am__quote@ 810@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ei386go32.Pc@am__quote@ 811@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ei386lynx.Pc@am__quote@ 812@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ei386moss.Pc@am__quote@ 813@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ei386msdos.Pc@am__quote@ 814@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ei386nto.Pc@am__quote@ 815@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ei386pe.Pc@am__quote@ 816@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ei386pe_posix.Pc@am__quote@ 817@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em32relf.Pc@am__quote@ 818@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em32relf_linux.Pc@am__quote@ 819@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em32rlelf.Pc@am__quote@ 820@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em32rlelf_linux.Pc@am__quote@ 821@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em68hc11elf.Pc@am__quote@ 822@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em68hc11elfb.Pc@am__quote@ 823@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em68hc12elf.Pc@am__quote@ 824@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em68hc12elfb.Pc@am__quote@ 825@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em68kelf.Pc@am__quote@ 826@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em68kelfnbsd.Pc@am__quote@ 827@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em9s12zelf.Pc@am__quote@ 828@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emcorepe.Pc@am__quote@ 829@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emn10200.Pc@am__quote@ 830@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emn10300.Pc@am__quote@ 831@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emoxiebox.Pc@am__quote@ 832@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emsp430X.Pc@am__quote@ 833@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emsp430elf.Pc@am__quote@ 834@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ends32belf.Pc@am__quote@ 835@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ends32belf16m.Pc@am__quote@ 836@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ends32belf_linux.Pc@am__quote@ 837@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ends32elf.Pc@am__quote@ 838@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ends32elf16m.Pc@am__quote@ 839@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ends32elf_linux.Pc@am__quote@ 840@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/enios2elf.Pc@am__quote@ 841@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/enios2linux.Pc@am__quote@ 842@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ens32knbsd.Pc@am__quote@ 843@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/epc532macha.Pc@am__quote@ 844@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/epdp11.Pc@am__quote@ 845@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/epjelf.Pc@am__quote@ 846@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/epjlelf.Pc@am__quote@ 847@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eppcmacos.Pc@am__quote@ 848@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/epruelf.Pc@am__quote@ 849@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/escore3_elf.Pc@am__quote@ 850@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/escore7_elf.Pc@am__quote@ 851@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/esh.Pc@am__quote@ 852@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshelf.Pc@am__quote@ 853@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshelf_fd.Pc@am__quote@ 854@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshelf_linux.Pc@am__quote@ 855@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshelf_nbsd.Pc@am__quote@ 856@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshelf_nto.Pc@am__quote@ 857@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshelf_uclinux.Pc@am__quote@ 858@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshelf_vxworks.Pc@am__quote@ 859@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshl.Pc@am__quote@ 860@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshlelf.Pc@am__quote@ 861@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshlelf_fd.Pc@am__quote@ 862@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshlelf_linux.Pc@am__quote@ 863@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshlelf_nbsd.Pc@am__quote@ 864@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshlelf_nto.Pc@am__quote@ 865@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshlelf_vxworks.Pc@am__quote@ 866@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshpe.Pc@am__quote@ 867@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic30coff.Pc@am__quote@ 868@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic3xcoff.Pc@am__quote@ 869@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic3xcoff_onchip.Pc@am__quote@ 870@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic4xcoff.Pc@am__quote@ 871@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic54xcoff.Pc@am__quote@ 872@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ev850.Pc@am__quote@ 873@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ev850_rh850.Pc@am__quote@ 874@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evanilla.Pc@am__quote@ 875@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evaxnbsd.Pc@am__quote@ 876@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/exgateelf.Pc@am__quote@ 877@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ez80.Pc@am__quote@ 878@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ez8001.Pc@am__quote@ 879@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ez8002.Pc@am__quote@ 880 881@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64cloudabi.Pc@am__quote@ 882@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64cloudabib.Pc@am__quote@ 883@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64elf.Pc@am__quote@ 884@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64elf32.Pc@am__quote@ 885@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64elf32b.Pc@am__quote@ 886@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64elfb.Pc@am__quote@ 887@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64fbsd.Pc@am__quote@ 888@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64fbsdb.Pc@am__quote@ 889@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64haiku.Pc@am__quote@ 890@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64linux.Pc@am__quote@ 891@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64linux32.Pc@am__quote@ 892@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64linux32b.Pc@am__quote@ 893@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64linuxb.Pc@am__quote@ 894@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_x86_64.Pc@am__quote@ 895@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32b4300.Pc@am__quote@ 896@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32bmip.Pc@am__quote@ 897@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32bmipn32.Pc@am__quote@ 898@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32briscv.Pc@am__quote@ 899@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32briscv_ilp32.Pc@am__quote@ 900@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32briscv_ilp32f.Pc@am__quote@ 901@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32bsmip.Pc@am__quote@ 902@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32btsmip.Pc@am__quote@ 903@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32btsmip_fbsd.Pc@am__quote@ 904@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32btsmipn32.Pc@am__quote@ 905@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32btsmipn32_fbsd.Pc@am__quote@ 906@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ebmip.Pc@am__quote@ 907@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ebmipvxworks.Pc@am__quote@ 908@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32elmip.Pc@am__quote@ 909@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32elmipvxworks.Pc@am__quote@ 910@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32l4300.Pc@am__quote@ 911@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32loongarch.Pc@am__quote@ 912@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32lmip.Pc@am__quote@ 913@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32lr5900.Pc@am__quote@ 914@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32lr5900n32.Pc@am__quote@ 915@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32lriscv.Pc@am__quote@ 916@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32lriscv_ilp32.Pc@am__quote@ 917@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32lriscv_ilp32f.Pc@am__quote@ 918@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32lsmip.Pc@am__quote@ 919@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ltsmip.Pc@am__quote@ 920@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ltsmip_fbsd.Pc@am__quote@ 921@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ltsmipn32.Pc@am__quote@ 922@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ltsmipn32_fbsd.Pc@am__quote@ 923@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32mipswindiss.Pc@am__quote@ 924@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64_aix.Pc@am__quote@ 925@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64_ia64.Pc@am__quote@ 926@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64_ia64_fbsd.Pc@am__quote@ 927@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64_ia64_vms.Pc@am__quote@ 928@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64_s390.Pc@am__quote@ 929@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64_sparc.Pc@am__quote@ 930@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64_sparc_fbsd.Pc@am__quote@ 931@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64_sparc_sol2.Pc@am__quote@ 932@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64alpha.Pc@am__quote@ 933@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64alpha_fbsd.Pc@am__quote@ 934@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64alpha_nbsd.Pc@am__quote@ 935@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64bmip.Pc@am__quote@ 936@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64bpf.Pc@am__quote@ 937@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64briscv.Pc@am__quote@ 938@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64briscv_lp64.Pc@am__quote@ 939@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64briscv_lp64f.Pc@am__quote@ 940@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64btsmip.Pc@am__quote@ 941@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64btsmip_fbsd.Pc@am__quote@ 942@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64hppa.Pc@am__quote@ 943@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64lppc.Pc@am__quote@ 944@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64lppc_fbsd.Pc@am__quote@ 945@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64loongarch.Pc@am__quote@ 946@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64lriscv.Pc@am__quote@ 947@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64lriscv_lp64.Pc@am__quote@ 948@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64lriscv_lp64f.Pc@am__quote@ 949@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64ltsmip.Pc@am__quote@ 950@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64ltsmip_fbsd.Pc@am__quote@ 951@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64mmix.Pc@am__quote@ 952@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64ppc.Pc@am__quote@ 953@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64ppc_fbsd.Pc@am__quote@ 954@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64rdos.Pc@am__quote@ 955@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64tilegx.Pc@am__quote@ 956@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64tilegx_be.Pc@am__quote@ 957@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_mipsel_haiku.Pc@am__quote@ 958@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64.Pc@am__quote@ 959@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_cloudabi.Pc@am__quote@ 960@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_fbsd.Pc@am__quote@ 961@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_haiku.Pc@am__quote@ 962@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_sol2.Pc@am__quote@ 963@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehppa64linux.Pc@am__quote@ 964@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ei386pep.Pc@am__quote@ 965@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emmo.Pc@am__quote@ 966 967# We need this for automake to use YLWRAP. 968EXTRA_ld_new_SOURCES = deffilep.y ldlex.l 969# Allow dependency tracking to work for these files, too. 970EXTRA_ld_new_SOURCES += pep-dll.c pe-dll.c ldelf.c ldelfgen.c 971 972ld_new_SOURCES = ldgram.y ldlex-wrapper.c lexsup.c ldlang.c mri.c ldctor.c ldmain.c \ 973 ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c plugin.c \ 974 ldbuildid.c 975ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) \ 976 $(BFDLIB) $(LIBCTF) $(LIBIBERTY) $(LIBINTL_DEP) $(JANSSON_LIBS) 977ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBCTF) $(LIBIBERTY) $(LIBINTL) $(ZLIB) $(JANSSON_LIBS) 978 979# Dependency tracking for the generated emulation files. 980EXTRA_ld_new_SOURCES += $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES) 981 982# This is the real libbfd.a and libctf.a created by libtool. 983TESTBFDLIB = @TESTBFDLIB@ 984TESTCTFLIB = @TESTCTFLIB@ 985 986check-DEJAGNU: site.exp 987 (cd .libs; test -e ldscripts || test ! -e ld-new || $(LN_S) ../ldscripts .) 988 srcroot=`cd $(srcdir) && pwd`; export srcroot; \ 989 r=`pwd`; export r; \ 990 LC_ALL=C; export LC_ALL; \ 991 EXPECT=$(EXPECT); export EXPECT; \ 992 runtest=$(RUNTEST); \ 993 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \ 994 $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \ 995 CC="$(CC)" CFLAGS="$(CFLAGS)" \ 996 CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" \ 997 CC_FOR_TARGET="$(CC_FOR_TARGET)" \ 998 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 999 CXX_FOR_TARGET="$(CXX_FOR_TARGET)" \ 1000 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 1001 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" CTFLIB="$(TESTCTFLIB) $(ZLIB)" \ 1002 LIBIBERTY="$(LIBIBERTY) $(LIBINTL)" LIBS="$(LIBS)" \ 1003 DO_COMPARE="`echo '$(do_compare)' | sed -e 's,\\$$,,g'`" \ 1004 $(RUNTESTFLAGS); \ 1005 else echo "WARNING: could not find \`runtest'" 1>&2; :;\ 1006 fi 1007 1008development.exp: $(BFDDIR)/development.sh 1009 $(AM_V_GEN)$(EGREP) "(development|experimental)=" $(BFDDIR)/development.sh \ 1010 | $(AWK) -F= '{ print "set " $$1 " " $$2 }' > $@ 1011 1012enablings.exp: 1013 $(AM_V_GEN)echo "set enable_libctf ${enable_libctf}" >> $@ 1014# 1015# 1016# Build a dummy plugin using libtool. 1017# 1018noinst_LTLIBRARIES = libldtestplug.la libldtestplug2.la \ 1019 libldtestplug3.la libldtestplug4.la 1020libldtestplug_la_SOURCES = testplug.c 1021libldtestplug_la_CFLAGS= -g -O2 1022libldtestplug_la_LDFLAGS = -no-undefined -rpath /nowhere 1023libldtestplug2_la_SOURCES = testplug2.c 1024libldtestplug2_la_CFLAGS= -g -O2 1025libldtestplug2_la_LDFLAGS = -no-undefined -rpath /nowhere 1026libldtestplug3_la_SOURCES = testplug3.c 1027libldtestplug3_la_CFLAGS= -g -O2 1028libldtestplug3_la_LDFLAGS = -no-undefined -rpath /nowhere 1029libldtestplug4_la_SOURCES = testplug4.c 1030libldtestplug4_la_CFLAGS= -g -O2 1031libldtestplug4_la_LDFLAGS = -no-undefined -rpath /nowhere 1032 1033bfdplugindir = $(libdir)/bfd-plugins 1034bfdplugin_LTLIBRARIES = libdep.la 1035libdep_la_SOURCES = libdep_plugin.c 1036libdep_la_LDFLAGS = -no-undefined -rpath /nowhere -module -avoid-version 1037libdep_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ 1038 --tag=disable-static \ 1039 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ 1040 $(libdep_la_LDFLAGS) $(LDFLAGS) -o $@ 1041 1042# DOCUMENTATION TARGETS 1043# Manual configuration file; not usually attached to normal configuration, 1044# because almost all configs use "gen" version of manual. 1045# Set DOCVER above to change. 1046configdoc.texi: ${DOCVER}-doc.texi 1047 @echo "NOT REBUILDING $@" 1048NetBSD_DISABLED_configdoc.texi: 1049 $(AM_V_GEN)cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi 1050 $(AM_V_at)chmod u+w ./configdoc.texi 1051 1052# Build the man page from the texinfo file 1053# The sed command removes the no-adjust Nroff command so that 1054# the man output looks standard. 1055ld.1: $(srcdir)/ld.texi configdoc.texi 1056 @echo "NOT REBUILDING $@" 1057NetBSD_DISABLED_ld.1: 1058 $(AM_V_GEN)touch $@ 1059 $(AM_V_at)-$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texi > ld.pod 1060 $(AM_V_at)-($(POD2MAN) ld.pod | \ 1061 sed -e '/^.if n .na/d' > $@.T$$$$ && \ 1062 mv -f $@.T$$$$ $@) || \ 1063 (rm -f $@.T$$$$ && exit 1) 1064 $(AM_V_at)rm -f ld.pod 1065 1066MAINTAINERCLEANFILES = configdoc.texi ld.1 1067 1068# We want to reconfigure if configure.host or configure.tgt changes. 1069# development.sh is used to determine -Werror default. 1070CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt \ 1071 $(BFDDIR)/development.sh 1072 1073EXTRA_DEJAGNU_SITE_CONFIG = development.exp enablings.exp 1074 1075MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \ 1076 ldemul-list.h crtbegin.@OBJEXT@ crtend.@OBJEXT@ ld.log ld.sum 1077mostlyclean-local: 1078 -rm -rf tmpdir 1079CLEANFILES = dep.sed DEP DEPA DEP1 DEP2 spu_ovl.s spu_ovl.@OBJEXT@ spu_icache.s spu_icache.@OBJEXT@ 1080 1081.PHONY: install-exec-local install-data-local 1082 1083install-exec-local: ld-new$(EXEEXT) install-binPROGRAMS 1084 $(mkinstalldirs) $(DESTDIR)$(tooldir)/bin 1085 n=`echo $(installed_linker) | sed '$(transform)'`; \ 1086 if test "$(bindir)" != "$(tooldir)/bin"; then \ 1087 rm -f $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \ 1088 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT) >/dev/null 2>/dev/null \ 1089 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \ 1090 fi; \ 1091 if test "x$(install_as_default)" = "xyes"; then \ 1092 ld=`echo ld | sed '$(transform)'`; \ 1093 rm -f $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \ 1094 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT) >/dev/null 2>/dev/null \ 1095 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \ 1096 if test "$(bindir)" != "$(tooldir)/bin"; then \ 1097 rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \ 1098 ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \ 1099 || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \ 1100 fi; \ 1101 fi 1102 1103install-data-local: install-bfdpluginLTLIBRARIES 1104 $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts 1105 for f in ldscripts/* ; do \ 1106 $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \ 1107 done 1108 rm -f $(DESTDIR)$(bfdplugindir)/libdep.la 1109 rm -f $(DESTDIR)$(bfdplugindir)/libdep.dll.a 1110 1111# Stuff that should be included in a distribution. The diststuff 1112# target is run by the taz target in ../Makefile.in. 1113EXTRA_DIST = ldgram.c ldgram.h ldlex.c emultempl/spu_ovl.@OBJEXT@_c \ 1114 emultempl/spu_icache.@OBJEXT@_c deffilep.c deffilep.h $(man_MANS) 1115diststuff: info $(EXTRA_DIST) 1116 1117# Both info (ld.info) and ld.1 depend on configdoc.texi. 1118# But info isn't a direct target. Make info-recursive to depend on 1119# ld.1 to support parallel build. 1120info-recursive: ld.1 1121 1122html-local: doc/ld/index.html 1123doc/ld/index.html: ld.texi $(ld_TEXINFOS) 1124 $(AM_V_at)$(MKDIR_P) doc 1125 $(AM_V_GEN)$(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \ 1126 --split=node -I$(srcdir) $(srcdir)/ld.texi -o doc/ld 1127 1128DISTCLEANFILES = site.exp development.exp enablings.exp site.bak stringify.sed 1129distclean-local: 1130 rm -rf ldscripts 1131 1132MAINTAINERCLEANFILES += ld.info 1133