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