Ignore:
Timestamp:
Aug 16, 2003, 11:33:53 PM (22 years ago)
Author:
bird
Message:

Joined the port of 2.11.2 with 2.14.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/binutils/ld/Makefile.in

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r617 r618  
    1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
    2 
    3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
     1# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
     2
     3# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
    44# This Makefile.in is free software; the Free Software Foundation
    55# gives unlimited permission to copy and/or distribute it,
     
    101101STRINGIFY = @STRINGIFY@
    102102STRIP = @STRIP@
     103TARGET_SYSTEM_ROOT = @TARGET_SYSTEM_ROOT@
     104TARGET_SYSTEM_ROOT_DEFINE = @TARGET_SYSTEM_ROOT_DEFINE@
    103105USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
    104106USE_NLS = @USE_NLS@
    105107VERSION = @VERSION@
     108bfdincludedir = @bfdincludedir@
     109bfdlibdir = @bfdlibdir@
    106110l = @l@
     111use_sysroot = @use_sysroot@
    107112
    108113INTLLIBS = @INTLLIBS@
     
    135140# a cross-linker, in which case the default is empty.  See genscripts.sh.)
    136141# Otherwise, they are replaced with the ones given in LIB_PATH,
    137 # which may have the form: LIB_PATH=/lib:/usr/local/lib
    138 LIB_PATH =
     142# which may have the form: LIB_PATH=/lib:/usr/local/lib.  This can be set
     143# when the linker is configured via the --with-lib-path configure switch.
     144LIB_PATH = @LIB_PATH@
    139145
    140146BASEDIR = $(srcdir)/..
     
    145151# What version of the manual to build
    146152DOCVER = gen
     153
     154# Options to extract the man page from ld.texinfo
     155MANCONF = -Dman
     156
     157TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl
     158
     159POD2MAN = pod2man --center="GNU Development Tools" \
     160        --release="binutils-$(VERSION)" --section=1
     161
    147162
    148163#stuff for self hosting (can be overridden in config file).
     
    218233        earmcoff.o \
    219234        earmelf.o \
     235        earmelf_fbsd.o \
    220236        earmelf_linux.o \
     237        earmelf_nbsd.o \
     238        earmelfb_nbsd.o \
    221239        earmelf_oabi.o \
     240        earmnto.o \
    222241        earmnbsd.o \
    223242        earmpe.o \
     
    230249        eavrmega161.o \
    231250        eavrmega603.o \
     251        eavr1.o \
     252        eavr2.o \
     253        eavr3.o \
     254        eavr4.o \
     255        eavr5.o \
    232256        ecoff_sparc.o \
    233257        ecrisaout.o \
     
    239263        ed30velf.o \
    240264        edelta68.o \
     265        eelf32_dlx.o \
    241266        eebmon29k.o \
    242267        eelf32_i960.o \
     
    247272        eelf32bmipn32.o \
    248273        eelf32btsmip.o \
     274        eelf32btsmipn32.o \
    249275        eelf32ltsmip.o \
     276        eelf32ltsmipn32.o \
    250277        eelf32ebmip.o \
    251278        eelf32elmip.o \
    252279        eelf32fr30.o \
     280        eelf32frv.o \
    253281        eelf32i370.o \
     282        eelf32ip2k.o \
     283        eelf32iq2000.o \
     284        eelf32iq10.o \
    254285        eelf32l4300.o \
    255286        eelf32lmip.o \
    256287        eelf32lppc.o \
     288        eelf32lppcnto.o \
    257289        eelf32lppcsim.o \
    258290        eelf32mcore.o \
     291        eelf32openrisc.o \
    259292        eelf32ppc.o \
     293        eelf32ppc_fbsd.o \
    260294        eelf32ppclinux.o \
     295        eelf32ppcnto.o \
    261296        eelf32ppcsim.o \
     297        eelf32ppcwindiss.o \
     298        eelf32vax.o \
     299        eelf32xstormy16.o \
     300        eelf32xtensa.o \
    262301        eelf_i386.o \
    263302        eelf_i386_be.o \
    264303        eelf_i386_chaos.o \
     304        eelf_i386_fbsd.o \
     305        eelf_i386_ldso.o \
     306        eelf_s390.o \
    265307        egld960.o \
    266308        egld960coff.o \
     
    268310        eh8300h.o \
    269311        eh8300s.o \
     312        eh8300elf.o \
     313        eh8300hn.o \
     314        eh8300sn.o \
     315        eh8300helf.o \
     316        eh8300self.o \
     317        eh8300hnelf.o \
     318        eh8300snelf.o \
    270319        eh8500.o \
    271320        eh8500b.o \
     
    277326        ehppaelf.o \
    278327        ehppalinux.o \
     328        ehppanbsd.o \
     329        ehppaobsd.o \
    279330        ei386aout.o \
    280331        ei386beos.o \
     
    288339        ei386msdos.o \
    289340        ei386nbsd.o \
     341        ei386nto.o \
    290342        ei386nw.o \
    291343        ei386pe.o \
     
    301353        em68kcoff.o \
    302354        em68kelf.o \
     355        em68kelfnbsd.o \
    303356        em68klinux.o \
    304357        em68klynx.o \
     
    314367        emipslnews.o \
    315368        emipspe.o \
     369        emsp430x1101.o \
     370        emsp430x1111.o \
     371        emsp430x1121.o \
     372        emsp430x1122.o \
     373        emsp430x1132.o \
     374        emsp430x1331.o \
     375        emsp430x1351.o \
     376        emsp430x149.o \
     377        emsp430x148.o \
     378        emsp430x147.o \
     379        emsp430x135.o \
     380        emsp430x133.o \
     381        emsp430x110.o \
     382        emsp430x112.o \
     383        emsp430x122.o \
     384        emsp430x1222.o \
     385        emsp430x123.o \
     386        emsp430x1232.o \
     387        emsp430x412.o \
     388        emsp430x413.o \
     389        emsp430x311.o \
     390        emsp430x312.o \
     391        emsp430x313.o \
     392        emsp430x314.o \
     393        emsp430x315.o \
     394        emsp430x323.o \
     395        emsp430x325.o \
     396        emsp430x336.o \
     397        emsp430x337.o \
     398        emsp430x435.o \
     399        emsp430x436.o \
     400        emsp430x447.o \
     401        emsp430x448.o \
     402        emsp430x449.o \
     403        emsp430x169.o \
     404        emsp430x168.o \
     405        emsp430x167.o \
     406        emsp430x155.o \
     407        emsp430x156.o \
     408        emsp430x157.o \
    316409        enews.o \
    317410        ens32knbsd.o \
     411        eor32.o \
     412        eor32elf.o \
    318413        epc532macha.o \
     414        epdp11.o \
    319415        epjelf.o \
    320416        epjlelf.o \
     
    325421        esa29200.o \
    326422        esh.o \
     423        eshelf32.o \
     424        eshlelf32.o \
     425        eshelf32_linux.o \
     426        eshlelf32_linux.o \
     427        eshelf32_nbsd.o \
     428        eshlelf32_nbsd.o \
    327429        eshelf.o \
    328430        eshelf_linux.o \
    329431        eshlelf_linux.o \
     432        eshelf_nbsd.o \
     433        eshlelf_nbsd.o \
     434        eshelf_nto.o \
     435        eshlelf_nto.o \
    330436        eshl.o \
    331437        eshlelf.o \
     
    340446        etic30aout.o \
    341447        etic30coff.o \
     448        etic3xcoff.o \
     449        etic3xcoff_onchip.o \
     450        etic4xcoff.o \
    342451        etic54xcoff.o \
    343452        etic80coff.o \
    344453        evanilla.o \
    345454        evax.o \
     455        evaxnbsd.o \
    346456        evsta.o \
    347457        ew65.o \
     
    351461
    352462ALL_64_EMULATIONS = \
     463        eelf64_aix.o \
    353464        eelf64_ia64.o \
     465        eelf64_ia64_fbsd.o \
     466        eshelf64.o \
     467        eshlelf64.o \
     468        eshelf64_nbsd.o \
     469        eshlelf64_nbsd.o \
    354470        eelf_x86_64.o \
     471        eelf_x86_64_fbsd.o \
     472        eelf64_s390.o \
    355473        eelf64_sparc.o \
     474        eelf64_sparc_fbsd.o \
    356475        eelf64alpha.o \
     476        eelf64alpha_fbsd.o \
     477        eelf64alpha_nbsd.o \
    357478        eelf64bmip.o \
    358479        eelf64btsmip.o \
    359480        eelf64ltsmip.o \
    360         eelf64hppa.o
     481        eelf64hppa.o \
     482        eelf64mmix.o \
     483        emmo.o \
     484        eelf64ppc.o \
     485        eelf64lppc.o \
     486        ehppa64linux.o
    361487
    362488
     
    394520# These all start with e so 'make clean' can find them.
    395521
    396 GENSCRIPTS = $(SHELL) $(srcdir)/genscripts.sh ${srcdir} ${libdir} ${exec_prefix} @host@ @target@ @target_alias@ "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@"
     522GENSCRIPTS = LIB_PATH='${LIB_PATH}' $(SHELL) $(srcdir)/genscripts.sh ${srcdir} ${libdir} "${exec_prefix}" @host@ @target@ @target_alias@ "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@" @use_sysroot@
    397523GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
    398524
     
    411537MAINTAINERCLEANFILES = ldver.texi
    412538
     539# We want to reconfigure if configure.host or configure.tgt changes.
     540CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt
     541
    413542MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
    414543        ldemul-list.h crtbegin.o crtend.o ld.log ld.sum
     
    418547# Stuff that should be included in a distribution.  The diststuff
    419548# target is run by the taz target in ../Makefile.in.
    420 LDDISTSTUFF = ldgram.c ldgram.h ldlex.c
     549EXTRA_DIST = ldgram.c ldgram.h ldlex.c $(man_MANS)
    421550
    422551DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
     
    462591DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
    463592
    464 TAR = tar
     593TAR = gtar
    465594GZIP_ENV = --best
    466595SOURCES = $(ld_new_SOURCES) $(EXTRA_ld_new_SOURCES)
     
    479608$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in  acinclude.m4
    480609        cd $(srcdir) && $(ACLOCAL)
     610
     611config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     612        $(SHELL) ./config.status --recheck
    481613$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
    482614        cd $(srcdir) && $(AUTOCONF)
     
    647779        list='$(INFO_DEPS)'; \
    648780        for file in $$list; do \
    649           test -z "$ii" \
     781          test -z "$$ii" \
    650782            || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
    651783        done
     
    760892        rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
    761893          rev="$$subdir $$rev"; \
    762           test "$$subdir" = "." && dot_seen=yes; \
     894          test "$$subdir" != "." || dot_seen=yes; \
    763895        done; \
    764896        test "$$dot_seen" = "no" && rev=". $$rev"; \
     
    10021134
    10031135ldmain.o: ldmain.c config.status
    1004         $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' -DSCRIPTDIR='"$(scriptdir)"' -DTARGET='"@target@"' $(srcdir)/ldmain.c
     1136        $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \
     1137          -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \
     1138          -DTOOLBINDIR='"$(tooldir)/bin"' \
     1139          -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
     1140          $(srcdir)/ldmain.c
    10051141
    10061142ldemul-list.h: Makefile
     
    10261162  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/a29k.sc ${GEN_DEPENDS}
    10271163        ${GENSCRIPTS} a29k "$(tdir_a29k)"
     1164eaix5ppc.c: $(srcdir)/emulparams/aix5ppc.sh \
     1165  $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
     1166        ${GENSCRIPTS} aix5ppc "$(tdir_aixppc)"
     1167eaix5rs6.c: $(srcdir)/emulparams/aix5rs6.sh \
     1168  $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
     1169        ${GENSCRIPTS} aix5rs6 "$(tdir_aixrs6)"
    10281170eaixppc.c: $(srcdir)/emulparams/aixppc.sh \
    10291171  $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
     
    10451187  $(srcdir)/emultempl/armelf_oabi.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    10461188        ${GENSCRIPTS} armelf_oabi "$(tdir_armelf)"
     1189earmelf_fbsd.c: $(srcdir)/emulparams/armelf_fbsd.sh \
     1190  $(srcdir)/emulparams/armelf.sh \
     1191  $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
     1192  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1193        ${GENSCRIPTS} armelf_fbsd "$(tdir_armelf_fbsd)"
    10471194earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \
    10481195  $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
    10491196  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    10501197        ${GENSCRIPTS} armelf_linux "$(tdir_armelf_linux)"
     1198earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \
     1199  $(srcdir)/emulparams/armelf.sh \
     1200  $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
     1201  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1202        ${GENSCRIPTS} armelf_nbsd "$(tdir_armelf_nbsd)"
     1203earmelfb_nbsd.c: $(srcdir)/emulparams/armelfb_nbsd.sh \
     1204  $(srcdir)/emulparams/armelf_nbsd.sh \
     1205  $(srcdir)/emulparams/armelf.sh \
     1206  $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
     1207  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1208        ${GENSCRIPTS} armelfb_nbsd "$(tdir_armelfb_nbsd)"
    10511209earmaoutb.c:    $(srcdir)/emulparams/armaoutb.sh \
    10521210  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
     
    10611219  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
    10621220        ${GENSCRIPTS} armnbsd "$(tdir_armnbsd)"
     1221earmnto.c: $(srcdir)/emulparams/armnto.sh \
     1222  $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \
     1223  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1224        ${GENSCRIPTS} armnto "$(tdir_armnto)"
    10631225earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \
    10641226  $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS}
     
    10991261  ${GEN_DEPENDS}
    11001262        ${GENSCRIPTS} avrmega161 "$(tdir_avr85xx)"
     1263eavr1.c: $(srcdir)/emulparams/avr1.sh \
     1264  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
     1265  ${GEN_DEPENDS}
     1266        ${GENSCRIPTS} avr1 "$(tdir_avr85xx)"
     1267eavr2.c: $(srcdir)/emulparams/avr2.sh \
     1268  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
     1269  ${GEN_DEPENDS}
     1270        ${GENSCRIPTS} avr2 "$(tdir_avr85xx)"
     1271eavr3.c: $(srcdir)/emulparams/avr3.sh \
     1272  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
     1273  ${GEN_DEPENDS}
     1274        ${GENSCRIPTS} avr3 "$(tdir_avr85xx)"
     1275eavr4.c: $(srcdir)/emulparams/avr4.sh \
     1276  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
     1277  ${GEN_DEPENDS}
     1278        ${GENSCRIPTS} avr4 "$(tdir_avr85xx)"
     1279eavr5.c: $(srcdir)/emulparams/avr5.sh \
     1280  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/avr.sc \
     1281  ${GEN_DEPENDS}
     1282        ${GENSCRIPTS} avr5 "$(tdir_avr85xx)"
    11011283ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
    11021284  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
     
    11061288        ${GENSCRIPTS} crisaout "$(tdir_cris)"
    11071289ecriself.c: $(srcdir)/emulparams/criself.sh \
    1108   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1290  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    11091291        ${GENSCRIPTS} criself "$(tdir_cris)"
    11101292ecrislinux.c: $(srcdir)/emulparams/crislinux.sh \
     
    11121294        ${GENSCRIPTS} crislinux "$(tdir_cris)"
    11131295ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
    1114   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
     1296  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
    11151297        ${GENSCRIPTS} d10velf "$(tdir_d10v)"
    11161298ed30velf.c: $(srcdir)/emulparams/d30velf.sh \
     
    11261308  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
    11271309        ${GENSCRIPTS} delta68 "$(tdir_delta68)"
     1310eelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \
     1311  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/dlx.sc ${GEN_DEPENDS}
     1312        ${GENSCRIPTS} elf32_dlx "$(tdir_elf32_dlx)"
    11281313eebmon29k.c: $(srcdir)/emulparams/ebmon29k.sh \
    11291314  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/ebmon29k.sc ${GEN_DEPENDS}
    11301315        ${GENSCRIPTS} ebmon29k "$(tdir_ebmon29k)"
     1316eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \
     1317  $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \
     1318  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1319        ${GENSCRIPTS} elf32xstormy16 "$(tdir_xstormy16)"
     1320eelf32vax.c: $(srcdir)/emulparams/elf32vax.sh \
     1321  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1322        ${GENSCRIPTS} elf32vax "$(tdir_elf32vax)"
     1323eelf32xtensa.c: $(srcdir)/emulparams/elf32xtensa.sh \
     1324  $(srcdir)/emulparams/xtensa-config.sh \
     1325  $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/xtensaelf.em \
     1326  $(srcdir)/scripttempl/elfxtensa.sc ${GEN_DEPENDS}
     1327        ${GENSCRIPTS} elf32xtensa "$(tdir_elf32xtensa)"
    11311328eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
    11321329  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    11331330        ${GENSCRIPTS} elf32fr30 "$(tdir_fr30)"
     1331eelf32frv.c: $(srcdir)/emulparams/elf32frv.sh \
     1332  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1333        ${GENSCRIPTS} elf32frv "$(tdir_frv)"
    11341334eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
    11351335  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    11361336        ${GENSCRIPTS} elf32mcore "$(tdir_mcore)"
    11371337em32relf.c: $(srcdir)/emulparams/m32relf.sh \
    1138   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1338  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    11391339        ${GENSCRIPTS} m32relf "$(tdir_m32r)"
    11401340eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
     
    11481348        ${GENSCRIPTS} elf32_i960 "$(tdir_elf32_i960)"
    11491349eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
     1350  $(srcdir)/emulparams/elf32bmip.sh \
    11501351  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    11511352        ${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)"
     
    11541355        ${GENSCRIPTS} elf32bmip "$(tdir_elf32bmip)"
    11551356eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \
     1357  $(srcdir)/emulparams/elf32bmip.sh \
    11561358  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    11571359        ${GENSCRIPTS} elf32bsmip "$(tdir_elf32bsmip)"
    11581360eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \
     1361  $(srcdir)/emulparams/elf32bmip.sh \
    11591362  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    11601363        ${GENSCRIPTS} elf32btsmip "$(tdir_elf32btsmip)"
     1364eelf32btsmipn32.c: $(srcdir)/emulparams/elf32btsmipn32.sh \
     1365  $(srcdir)/emulparams/elf32bmip.sh \
     1366  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1367        ${GENSCRIPTS} elf32btsmipn32 "$(tdir_elf32btsmipn32)"
    11611368eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \
     1369  $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
    11621370  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    11631371        ${GENSCRIPTS} elf32ltsmip "$(tdir_elf32ltsmip)"
     1372eelf32ltsmipn32.c: $(srcdir)/emulparams/elf32ltsmipn32.sh \
     1373  $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
     1374  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1375        ${GENSCRIPTS} elf32ltsmipn32 "$(tdir_elf32ltsmipn32)"
    11641376eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
     1377  $(srcdir)/emulparams/elf32bmip.sh \
    11651378  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    11661379        ${GENSCRIPTS} elf32ebmip "$(tdir_elf32ebmip)"
    11671380eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
     1381  $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
    11681382  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    11691383        ${GENSCRIPTS} elf32elmip "$(tdir_elf32elmip)"
     
    11721386        ${GENSCRIPTS} elf32bmipn32 "$(tdir_elf32bmipn32)"
    11731387eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
     1388  $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \
    11741389  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    11751390        ${GENSCRIPTS} elf32l4300 "$(tdir_elf32l4300)"
    11761391eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
     1392  $(srcdir)/emulparams/elf32bmip.sh \
    11771393  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    11781394        ${GENSCRIPTS} elf32lmip "$(tdir_elf32lmip)"
    11791395eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
     1396  $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
    11801397  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    11811398        ${GENSCRIPTS} elf32lppc "$(tdir_elf32lppc)"
     1399eelf32lppcnto.c: $(srcdir)/emulparams/elf32lppcnto.sh \
     1400  $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
     1401  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1402        ${GENSCRIPTS} elf32lppcnto "$(tdir_elf32lppcnto)"
    11821403eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \
     1404  $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
     1405  $(srcdir)/emultempl/ppc32elf.em \
    11831406  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    11841407        ${GENSCRIPTS} elf32lppcsim "$(tdir_elf32lppcsim)"
     1408eelf32ppcnto.c: $(srcdir)/emulparams/elf32ppcnto.sh \
     1409  $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
     1410  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1411        ${GENSCRIPTS} elf32ppcnto "$(tdir_elf32ppcnto)"
     1412eelf32ppcwindiss.c: $(srcdir)/emulparams/elf32ppcwindiss.sh \
     1413  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1414        ${GENSCRIPTS} elf32ppcwindiss "$(tdir_elf32ppcwindiss)"
    11851415eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
     1416  $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
    11861417  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    11871418        ${GENSCRIPTS} elf32lsmip "$(tdir_elf32lsmip)"
    1188 eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \
     1419eelf32openrisc.c: $(srcdir)/emulparams/elf32openrisc.sh \
     1420  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1421        ${GENSCRIPTS} elf32openrisc "$(tdir_openrisc)"
     1422eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
    11891423  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    11901424        ${GENSCRIPTS} elf32ppc "$(tdir_elf32ppc)"
     1425eelf32ppc_fbsd.c: $(srcdir)/emulparams/elf32ppc_fbsd.sh \
     1426  $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
     1427  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1428        ${GENSCRIPTS} elf32ppc_fbsd "$(tdir_elf32ppc_fbsd)"
    11911429eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \
     1430  $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
    11921431  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    11931432        ${GENSCRIPTS} elf32ppcsim "$(tdir_elf32ppcsim)"
    11941433eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \
     1434  $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emultempl/ppc32elf.em \
    11951435  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    11961436        ${GENSCRIPTS} elf32ppclinux "$(tdir_elf32ppclinux)"
     1437eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
     1438  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1439        ${GENSCRIPTS} elf64ppc "$(tdir_elf64ppc)"
     1440eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \
     1441  $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
     1442  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1443        ${GENSCRIPTS} elf64lppc "$(tdir_elf64lppc)"
    11971444eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \
    11981445  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfi370.sc ${GEN_DEPENDS}
    11991446        ${GENSCRIPTS} elf32i370 "$(tdir_elf32i370)"
     1447eelf32ip2k.c: $(srcdir)/emulparams/elf32ip2k.sh \
     1448  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/ip2k.sc ${GEN_DEPENDS}
     1449        ${GENSCRIPTS} elf32ip2k "$(tdir_ip2k)"
     1450eelf32iq2000.c: $(srcdir)/emulparams/elf32iq2000.sh \
     1451  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
     1452        ${GENSCRIPTS} elf32iq2000 "$(tdir_iq2000)"
     1453eelf32iq10.c: $(srcdir)/emulparams/elf32iq10.sh \
     1454  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
     1455        ${GENSCRIPTS} elf32iq10 "$(tdir_iq10)"
    12001456eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
    12011457  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    12021458        ${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)"
     1459eelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \
     1460  $(srcdir)/emulparams/elf64alpha.sh \
     1461  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1462        ${GENSCRIPTS} elf64alpha_fbsd "$(tdir_elf64alpha_fbsd)"
     1463eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \
     1464  $(srcdir)/emulparams/elf64alpha.sh \
     1465  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1466        ${GENSCRIPTS} elf64alpha_nbsd "$(tdir_elf64alpha_nbsd)"
    12031467eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \
     1468  $(srcdir)/emulparams/hppa64linux.sh \
    12041469  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    12051470        ${GENSCRIPTS} elf64hppa "$(tdir_elf64hppa)"
     1471eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \
     1472  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1473        ${GENSCRIPTS} elf64_aix "$(tdir_elf64_aix)"
    12061474eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \
    1207   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1475  $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \
     1476  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    12081477        ${GENSCRIPTS} elf64_ia64 "$(tdir_elf64_ia64)"
     1478eelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \
     1479  $(srcdir)/emulparams/elf64_ia64.sh \
     1480  $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \
     1481  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1482        ${GENSCRIPTS} elf64_ia64_fbsd "$(tdir_elf64_ia64_fbsd)"
     1483eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
     1484  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1485        ${GENSCRIPTS} elf64_s390 "$(tdir_elf64_s390)"
    12091486eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
    12101487  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    12111488        ${GENSCRIPTS} elf64_sparc "$(tdir_elf64_sparc)"
     1489eelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \
     1490  $(srcdir)/emulparams/elf64_sparc.sh \
     1491  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1492        ${GENSCRIPTS} elf64_sparc_fbsd "$(tdir_elf64_sparc_fbsd)"
    12121493eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
     1494  $(srcdir)/emulparams/elf32bmipn32.sh \
    12131495  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    12141496        ${GENSCRIPTS} elf64bmip "$(tdir_elf64bmip)"
     1497eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \
     1498  $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/mmix-elfnmmo.em \
     1499  $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1500        ${GENSCRIPTS} elf64mmix "$(tdir_elf64mmix)"
     1501emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \
     1502  $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mmo.em \
     1503  $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS}
     1504        ${GENSCRIPTS} mmo "$(tdir_mmo)"
    12151505eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
     1506  $(srcdir)/emulparams/elf32bmipn32.sh \
    12161507  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    12171508        ${GENSCRIPTS} elf64btsmip "$(tdir_elf64btsmip)"
    12181509eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
     1510  $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf32bmipn32.sh \
    12191511  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    12201512        ${GENSCRIPTS} elf64ltsmip "$(tdir_elf64ltsmip)"
     
    12251517  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    12261518        ${GENSCRIPTS} elf_x86_64 "$(tdir_elf_x86_64)"
     1519eelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \
     1520  $(srcdir)/emulparams/elf_x86_64.sh \
     1521  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1522        ${GENSCRIPTS} elf_x86_64_fbsd "$(tdir_elf_x86_64_fbsd)"
    12271523eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
    12281524  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    12291525        ${GENSCRIPTS} elf_i386_be "$(tdir_elf_i386_be)"
    12301526eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
    1231   $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1527  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf_chaos.sc ${GEN_DEPENDS}
    12321528        ${GENSCRIPTS} elf_i386_chaos "$(tdir_elf_i386_chaos)"
     1529eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \
     1530  $(srcdir)/emulparams/elf_i386.sh \
     1531  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1532        ${GENSCRIPTS} elf_i386_fbsd "$(tdir_elf_i386_fbsd)"
     1533eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \
     1534  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1535        ${GENSCRIPTS} elf_i386_ldso "$(tdir_elf_i386_ldso)"
     1536eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
     1537  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1538        ${GENSCRIPTS} elf_s390 "$(tdir_elf_s390)"
    12331539egld960.c: $(srcdir)/emulparams/gld960.sh \
    12341540  $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
     
    12461552  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS}
    12471553        ${GENSCRIPTS} h8300s "$(tdir_h8300s)"
     1554eh8300hn.c: $(srcdir)/emulparams/h8300hn.sh \
     1555  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300hn.sc ${GEN_DEPENDS}
     1556        ${GENSCRIPTS} h8300hn "$(tdir_h8300hn)"
     1557eh8300sn.c: $(srcdir)/emulparams/h8300sn.sh \
     1558  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sn.sc ${GEN_DEPENDS}
     1559        ${GENSCRIPTS} h8300sn "$(tdir_h8300sn)"
     1560eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \
     1561  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1562        ${GENSCRIPTS} h8300elf "$(tdir_h8300elf)"
     1563eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \
     1564  $(srcdir)/emulparams/h8300elf.sh \
     1565  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1566        ${GENSCRIPTS} h8300helf "$(tdir_h8300helf)"
     1567eh8300self.c: $(srcdir)/emulparams/h8300self.sh \
     1568  $(srcdir)/emulparams/h8300elf.sh \
     1569  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1570        ${GENSCRIPTS} h8300self "$(tdir_h8300self)"
     1571eh8300hnelf.c: $(srcdir)/emulparams/h8300hnelf.sh \
     1572  $(srcdir)/emulparams/h8300elf.sh \
     1573  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1574        ${GENSCRIPTS} h8300hnelf "$(tdir_h8300hnelf)"
     1575eh8300snelf.c: $(srcdir)/emulparams/h8300snelf.sh \
     1576  $(srcdir)/emulparams/h8300elf.sh \
     1577  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1578        ${GENSCRIPTS} h8300snelf "$(tdir_h8300snelf)"
    12481579eh8500.c: $(srcdir)/emulparams/h8500.sh \
    12491580  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
     
    12751606  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    12761607        ${GENSCRIPTS} hppalinux "$(tdir_hppalinux)"
     1608ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
     1609  $(srcdir)/emulparams/hppaelf.sh \
     1610  $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
     1611  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1612        ${GENSCRIPTS} hppanbsd "$(tdir_hppanbsd)"
     1613ehppaobsd.c: $(srcdir)/emulparams/hppaobsd.sh \
     1614  $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \
     1615  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1616        ${GENSCRIPTS} hppaobsd "$(tdir_hppaobsd)"
     1617ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
     1618  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1619        ${GENSCRIPTS} hppa64linux "$(tdir_hppa64linux)"
    12771620ei386aout.c: $(srcdir)/emulparams/i386aout.sh \
    12781621  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
     
    13001643        ${GENSCRIPTS} i386mach "$(tdir_i386mach)"
    13011644ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
    1302   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1645  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    13031646        ${GENSCRIPTS} i386moss "$(tdir_i386moss)"
    13041647ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
     
    13081651  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
    13091652        ${GENSCRIPTS} i386nbsd "$(tdir_i386nbsd)"
     1653ei386nto.c:     $(srcdir)/emulparams/i386nto.sh \
     1654  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1655        ${GENSCRIPTS} i386nto "$(tdir_i386nto)"
    13101656ei386nw.c:      $(srcdir)/emulparams/i386nw.sh \
    13111657  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
     
    13511697  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    13521698        ${GENSCRIPTS} m68kelf "$(tdir_m68kelf)"
     1699em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \
     1700  $(srcdir)/emulparams/m68kelf.sh \
     1701  $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \
     1702  $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1703        ${GENSCRIPTS} m68kelfnbsd "$(tdir_m68kelfnbsd)"
    13531704em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
    13541705  $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
     
    13911742        ${GENSCRIPTS} mipspe "$(tdir_mips)"
    13921743emn10300.c: $(srcdir)/emulparams/mn10300.sh \
     1744  $(srcdir)/emulparams/mn10200.sh \
    13931745  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    13941746        ${GENSCRIPTS} mn10300 "$(tdir_mn10300)"
     
    13961748  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    13971749        ${GENSCRIPTS} mn10200 "$(tdir_mn10200)"
     1750emsp430x1101.c: $(srcdir)/emulparams/msp430x1101.sh \
     1751  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1752  ${GEN_DEPENDS}
     1753        ${GENSCRIPTS} msp430x1101 "$(tdir_msp430x1101)"
     1754emsp430x1111.c: $(srcdir)/emulparams/msp430x1111.sh \
     1755  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1756  ${GEN_DEPENDS}
     1757        ${GENSCRIPTS} msp430x1111 "$(tdir_msp430x1111)"
     1758emsp430x1121.c: $(srcdir)/emulparams/msp430x1121.sh \
     1759  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1760  ${GEN_DEPENDS}
     1761        ${GENSCRIPTS} msp430x1121 "$(tdir_msp430x1121)"
     1762emsp430x1122.c: $(srcdir)/emulparams/msp430x1122.sh \
     1763  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1764  ${GEN_DEPENDS}
     1765        ${GENSCRIPTS} msp430x1122 "$(tdir_msp430x1122)"
     1766emsp430x1132.c: $(srcdir)/emulparams/msp430x1132.sh \
     1767  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1768  ${GEN_DEPENDS}
     1769        ${GENSCRIPTS} msp430x1132 "$(tdir_msp430x1132)"
     1770emsp430x1331.c: $(srcdir)/emulparams/msp430x1331.sh \
     1771  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1772  ${GEN_DEPENDS}
     1773        ${GENSCRIPTS} msp430x1331 "$(tdir_msp430x1331)"
     1774emsp430x1351.c: $(srcdir)/emulparams/msp430x1351.sh \
     1775  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1776  ${GEN_DEPENDS}
     1777        ${GENSCRIPTS} msp430x1351 "$(tdir_msp430x1351)"
     1778emsp430x149.c: $(srcdir)/emulparams/msp430x149.sh \
     1779  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1780  ${GEN_DEPENDS}
     1781        ${GENSCRIPTS} msp430x149 "$(tdir_msp430x149)"
     1782emsp430x148.c: $(srcdir)/emulparams/msp430x148.sh \
     1783  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1784  ${GEN_DEPENDS}
     1785        ${GENSCRIPTS} msp430x148 "$(tdir_msp430x148)"
     1786emsp430x449.c: $(srcdir)/emulparams/msp430x449.sh \
     1787  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1788  ${GEN_DEPENDS}
     1789        ${GENSCRIPTS} msp430x449 "$(tdir_msp430x449)"
     1790emsp430x448.c: $(srcdir)/emulparams/msp430x448.sh \
     1791  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1792  ${GEN_DEPENDS}
     1793        ${GENSCRIPTS} msp430x448 "$(tdir_msp430x448)"
     1794emsp430x447.c: $(srcdir)/emulparams/msp430x447.sh \
     1795  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1796  ${GEN_DEPENDS}
     1797        ${GENSCRIPTS} msp430x447 "$(tdir_msp430x447)"
     1798emsp430x412.c: $(srcdir)/emulparams/msp430x412.sh \
     1799  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1800  ${GEN_DEPENDS}
     1801        ${GENSCRIPTS} msp430x412 "$(tdir_msp430x412)"
     1802emsp430x413.c: $(srcdir)/emulparams/msp430x413.sh \
     1803  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1804  ${GEN_DEPENDS}
     1805        ${GENSCRIPTS} msp430x413 "$(tdir_msp430x413)"
     1806emsp430x147.c: $(srcdir)/emulparams/msp430x147.sh \
     1807  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1808  ${GEN_DEPENDS}
     1809        ${GENSCRIPTS} msp430x147 "$(tdir_msp430x147)"
     1810emsp430x135.c: $(srcdir)/emulparams/msp430x135.sh \
     1811  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1812  ${GEN_DEPENDS}
     1813        ${GENSCRIPTS} msp430x135 "$(tdir_msp430x135)"
     1814emsp430x133.c: $(srcdir)/emulparams/msp430x133.sh \
     1815  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1816  ${GEN_DEPENDS}
     1817        ${GENSCRIPTS} msp430x133 "$(tdir_msp430x133)"
     1818emsp430x110.c: $(srcdir)/emulparams/msp430x110.sh \
     1819  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1820  ${GEN_DEPENDS}
     1821        ${GENSCRIPTS} msp430x110 "$(tdir_msp430x110)"
     1822emsp430x112.c: $(srcdir)/emulparams/msp430x112.sh \
     1823  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1824  ${GEN_DEPENDS}
     1825        ${GENSCRIPTS} msp430x112 "$(tdir_msp430x112)"
     1826emsp430x122.c: $(srcdir)/emulparams/msp430x122.sh \
     1827  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1828  ${GEN_DEPENDS}
     1829        ${GENSCRIPTS} msp430x122 "$(tdir_msp430x122)"
     1830emsp430x1222.c: $(srcdir)/emulparams/msp430x1222.sh \
     1831  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1832  ${GEN_DEPENDS}
     1833        ${GENSCRIPTS} msp430x1222 "$(tdir_msp430x1222)"
     1834emsp430x123.c: $(srcdir)/emulparams/msp430x123.sh \
     1835  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1836  ${GEN_DEPENDS}
     1837        ${GENSCRIPTS} msp430x123 "$(tdir_msp430x123)"
     1838emsp430x1232.c: $(srcdir)/emulparams/msp430x1232.sh \
     1839  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1840  ${GEN_DEPENDS}
     1841        ${GENSCRIPTS} msp430x1232 "$(tdir_msp430x1232)"
     1842emsp430x311.c: $(srcdir)/emulparams/msp430x311.sh \
     1843  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
     1844  ${GEN_DEPENDS}
     1845        ${GENSCRIPTS} msp430x311 "$(tdir_msp430x311)"
     1846emsp430x312.c: $(srcdir)/emulparams/msp430x312.sh \
     1847  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
     1848  ${GEN_DEPENDS}
     1849        ${GENSCRIPTS} msp430x312 "$(tdir_msp430x312)"
     1850emsp430x313.c: $(srcdir)/emulparams/msp430x313.sh \
     1851  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
     1852  ${GEN_DEPENDS}
     1853        ${GENSCRIPTS} msp430x313 "$(tdir_msp430x313)"
     1854emsp430x314.c: $(srcdir)/emulparams/msp430x314.sh \
     1855  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
     1856  ${GEN_DEPENDS}
     1857        ${GENSCRIPTS} msp430x314 "$(tdir_msp430x314)"
     1858emsp430x315.c: $(srcdir)/emulparams/msp430x315.sh \
     1859  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
     1860  ${GEN_DEPENDS}
     1861        ${GENSCRIPTS} msp430x315 "$(tdir_msp430x315)"
     1862emsp430x323.c: $(srcdir)/emulparams/msp430x323.sh \
     1863  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
     1864  ${GEN_DEPENDS}
     1865        ${GENSCRIPTS} msp430x323 "$(tdir_msp430x323)"
     1866emsp430x325.c: $(srcdir)/emulparams/msp430x325.sh \
     1867  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
     1868  ${GEN_DEPENDS}
     1869        ${GENSCRIPTS} msp430x325 "$(tdir_msp430x325)"
     1870emsp430x336.c: $(srcdir)/emulparams/msp430x336.sh \
     1871  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
     1872  ${GEN_DEPENDS}
     1873        ${GENSCRIPTS} msp430x336 "$(tdir_msp430x336)"
     1874emsp430x337.c: $(srcdir)/emulparams/msp430x337.sh \
     1875  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \
     1876  ${GEN_DEPENDS}
     1877        ${GENSCRIPTS} msp430x337 "$(tdir_msp430x337)"
     1878emsp430x435.c: $(srcdir)/emulparams/msp430x435.sh \
     1879  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1880  ${GEN_DEPENDS}
     1881        ${GENSCRIPTS} msp430x435 "$(tdir_msp430x435)"
     1882emsp430x436.c: $(srcdir)/emulparams/msp430x436.sh \
     1883  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1884  ${GEN_DEPENDS}
     1885        ${GENSCRIPTS} msp430x436 "$(tdir_msp430x436)"
     1886emsp430x437.c: $(srcdir)/emulparams/msp430x437.sh \
     1887  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1888  ${GEN_DEPENDS}
     1889        ${GENSCRIPTS} msp430x437 "$(tdir_msp430x437)"
     1890emsp430x167.c: $(srcdir)/emulparams/msp430x167.sh \
     1891  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1892  ${GEN_DEPENDS}
     1893        ${GENSCRIPTS} msp430x167 "$(tdir_msp430x167)"
     1894emsp430x168.c: $(srcdir)/emulparams/msp430x167.sh \
     1895  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1896  ${GEN_DEPENDS}
     1897        ${GENSCRIPTS} msp430x168 "$(tdir_msp430x168)"
     1898emsp430x169.c: $(srcdir)/emulparams/msp430x169.sh \
     1899  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1900  ${GEN_DEPENDS}
     1901        ${GENSCRIPTS} msp430x169 "$(tdir_msp430x169)"
     1902emsp430x155.c: $(srcdir)/emulparams/msp430x155.sh \
     1903  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1904  ${GEN_DEPENDS}
     1905        ${GENSCRIPTS} msp430x155 "$(tdir_msp430x155)"
     1906emsp430x156.c: $(srcdir)/emulparams/msp430x156.sh \
     1907  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1908  ${GEN_DEPENDS}
     1909        ${GENSCRIPTS} msp430x156 "$(tdir_msp430x156)"
     1910emsp430x157.c: $(srcdir)/emulparams/msp430x157.sh \
     1911  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \
     1912  ${GEN_DEPENDS}
     1913        ${GENSCRIPTS} msp430x157 "$(tdir_msp430x157)"
    13981914enews.c: $(srcdir)/emulparams/news.sh \
    13991915  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
     
    14021918  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
    14031919        ${GENSCRIPTS} ns32knbsd "$(tdir_ns32knbsd)"
     1920eor32.c: $(srcdir)/emulparams/or32.sh \
     1921  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/or32.sc ${GEN_DEPENDS}
     1922        ${GENSCRIPTS} or32 "$(tdir_or32)"
     1923eor32elf.c: $(srcdir)/emulparams/or32elf.sh \
     1924  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1925        ${GENSCRIPTS} or32elf "$(tdir_or32elf)"
    14041926epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
    14051927  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
    14061928        ${GENSCRIPTS} pc532macha "$(tdir_pc532macha)"
     1929epdp11.c: $(srcdir)/emulparams/pdp11.sh \
     1930  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
     1931        ${GENSCRIPTS} pdp11 "$(tdir_pdp11)"
    14071932epjelf.c: $(srcdir)/emulparams/pjelf.sh \
    14081933  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     
    14321957  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    14331958        ${GENSCRIPTS} shelf "$(tdir_shelf)"
     1959eshelf32.c: $(srcdir)/emulparams/shelf32.sh \
     1960  $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
     1961  $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
     1962  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1963        ${GENSCRIPTS} shelf32 "$(tdir_shelf32)"
     1964eshelf32_linux.c: $(srcdir)/emulparams/shelf32_linux.sh \
     1965  $(srcdir)/emulparams/shelf32.sh \
     1966  $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
     1967  $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
     1968  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1969        ${GENSCRIPTS} shelf32_linux "$(tdir_shelf32_linux)"
     1970eshelf32_nbsd.c: $(srcdir)/emulparams/shelf32_nbsd.sh \
     1971  $(srcdir)/emulparams/shelf32.sh \
     1972  $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
     1973  $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
     1974  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1975        ${GENSCRIPTS} shelf32_nbsd "$(tdir_shelf32_nbsd)"
     1976eshelf64.c: $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
     1977  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1978        ${GENSCRIPTS} shelf64 "$(tdir_shelf64)"
     1979eshelf64_nbsd.c: $(srcdir)/emulparams/shelf64_nbsd.sh \
     1980  $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
     1981  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1982        ${GENSCRIPTS} shelf64_nbsd "$(tdir_shelf64_nbsd)"
    14341983eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
     1984  $(srcdir)/emulparams/shlelf_linux.sh \
    14351985  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    14361986        ${GENSCRIPTS} shelf_linux "$(tdir_shelf_linux)"
     
    14381988  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    14391989        ${GENSCRIPTS} shlelf_linux "$(tdir_shlelf_linux)"
     1990eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \
     1991  $(srcdir)/emulparams/shelf.sh \
     1992  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1993        ${GENSCRIPTS} shelf_nbsd "$(tdir_shelf_nbsd)"
     1994eshelf_nto.c: $(srcdir)/emulparams/shelf_nto.sh \
     1995  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     1996        ${GENSCRIPTS} shelf_nto "$(tdir_shelf_nto)"
     1997eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \
     1998  $(srcdir)/emulparams/shelf_nbsd.sh \
     1999  $(srcdir)/emulparams/shelf.sh \
     2000  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     2001        ${GENSCRIPTS} shlelf_nbsd "$(tdir_shlelf_nbsd)"
     2002eshlelf_nto.c: $(srcdir)/emulparams/shlelf_nto.sh \
     2003  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     2004        ${GENSCRIPTS} shlelf_nto "$(tdir_shlelf_nto)"
    14402005eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
     2006  $(srcdir)/emulparams/shelf.sh \
    14412007  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
    14422008        ${GENSCRIPTS} shlelf "$(tdir_shlelf)"
     2009eshlelf32.c: $(srcdir)/emulparams/shlelf32.sh \
     2010  $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h $(srcdir)/emulparams/shelf32.sh \
     2011  $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
     2012  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     2013        ${GENSCRIPTS} shlelf32 "$(tdir_shlelf32)"
     2014eshlelf32_linux.c: $(srcdir)/emulparams/shlelf32_linux.sh \
     2015  $(srcdir)/emulparams/shelf32_linux.sh $(srcdir)/emulparams/shelf32.sh \
     2016  $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
     2017  $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
     2018  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     2019        ${GENSCRIPTS} shlelf32_linux "$(tdir_shlelf32_linux)"
     2020eshlelf32_nbsd.c: $(srcdir)/emulparams/shlelf32_nbsd.sh \
     2021  $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
     2022  $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
     2023  $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
     2024  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     2025        ${GENSCRIPTS} shlelf32_nbsd "$(tdir_shlelf32_nbsd)"
     2026eshlelf64.c: $(srcdir)/emulparams/shlelf64.sh \
     2027  $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
     2028  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     2029        ${GENSCRIPTS} shlelf64 "$(tdir_shlelf64)"
     2030eshlelf64_nbsd.c: $(srcdir)/emulparams/shlelf64_nbsd.sh \
     2031  $(srcdir)/emulparams/shelf64_nbsd.sh \
     2032  $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
     2033  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
     2034        ${GENSCRIPTS} shlelf64_nbsd "$(tdir_shlelf64_nbsd)"
    14432035eshl.c: $(srcdir)/emulparams/shl.sh \
     2036  $(srcdir)/emulparams/sh.sh \
    14442037  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
    14452038        ${GENSCRIPTS} shl "$(tdir_shl)"
     
    14742067  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
    14752068        ${GENSCRIPTS} tic30coff "$(tdir_tic30coff)"
     2069etic3xcoff.c: $(srcdir)/emulparams/tic3xcoff.sh \
     2070  $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
     2071        ${GENSCRIPTS} tic3xcoff "$(tdir_tic4xcoff)"
     2072etic3xcoff_onchip.c: $(srcdir)/emulparams/tic3xcoff_onchip.sh \
     2073  $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
     2074        ${GENSCRIPTS} tic3xcoff_onchip "$(tdir_tic4xcoff)"
     2075etic4xcoff.c: $(srcdir)/emulparams/tic4xcoff.sh \
     2076  $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
     2077        ${GENSCRIPTS} tic4xcoff "$(tdir_tic4xcoff)"
    14762078etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
    14772079  $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
     
    14862088  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
    14872089        ${GENSCRIPTS} vax "$(tdir_vax)"
     2090evaxnbsd.c: $(srcdir)/emulparams/vaxnbsd.sh \
     2091  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
     2092        ${GENSCRIPTS} vaxnbsd "$(tdir_vaxnbsd)"
    14882093evsta.c: $(srcdir)/emulparams/vsta.sh \
    14892094  $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
     
    16032208          MAKEINFO="$(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc" $(TEXI2DVI) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo
    16042209
    1605 # We want to reconfigure if configure.host or configure.tgt changes.
    1606 config.status: $(srcdir)/configure $(srcdir)/configure.host $(srcdir)/configure.tgt
    1607         $(SHELL) ./config.status --recheck
     2210# Build the man page from the texinfo file
     2211# The sed command removes the no-adjust Nroff command so that
     2212# the man output looks standard.
     2213ld.1: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
     2214        touch $@
     2215        -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
     2216        -($(POD2MAN) ld.pod | \
     2217                sed -e '/^.if n .na/d' > $@.T$$$$ && \
     2218                mv -f $@.T$$$$ $@) || \
     2219                (rm -f $@.T$$$$ && exit 1)
     2220        rm -f ld.pod
    16082221mostlyclean-local:
    16092222        -rm -rf tmpdir
     
    16122225
    16132226install-exec-local: ld-new$(EXEEXT)
    1614         $(mkinstalldirs) $(bindir) $(tooldir)/bin
     2227        $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(tooldir)/bin
    16152228        @list='$(noinst_PROGRAMS)'; for p in $$list; do \
    16162229          if test -f $$p; then \
    16172230            echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
    1618             $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
     2231            $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
    16192232          else :; fi; \
    16202233        done
    16212234        n=`echo ld | sed '$(transform)'`; \
    16222235        if [ "$(bindir)/$$n$(EXEEXT)" != "$(tooldir)/bin/ld$(EXEEXT)" ]; then \
    1623           rm -f $(tooldir)/bin/ld$(EXEEXT); \
    1624           ln $(bindir)/$$n$(EXEEXT) $(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
    1625           || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(tooldir)/bin/ld$(EXEEXT); \
     2236          rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
     2237          ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
     2238          || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
    16262239        fi
    16272240
    16282241install-data-local:
    1629         $(mkinstalldirs) $(scriptdir)/ldscripts
     2242        $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
    16302243        for f in ldscripts/*; do \
    1631           $(INSTALL_DATA) $$f $(scriptdir)/$$f ; \
     2244          $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
    16322245        done
    1633 diststuff: $(LDDISTSTUFF) info
     2246
     2247# We want install to imply install-info as per GNU standards, despite the
     2248# cygnus option.
     2249install: install-info
     2250diststuff: info $(EXTRA_DIST)
    16342251distclean-local:
    16352252        rm -rf ldscripts
     2253
     2254Makefile: $(BFDDIR)/configure.in
    16362255
    16372256# Targets to rebuild dependencies in this Makefile.
     
    16572276        sed <$(srcdir)/dep-in.sed >dep.sed      \
    16582277                -e 's!@INCDIR@!$(INCDIR)!'      \
    1659                 -e 's!@SRCDIR@!$(srcdir)!'
     2278                -e 's!@BFDDIR@!$(BFDDIR)!'      \
     2279                -e 's!@SRCDIR@!$(srcdir)!'      \
     2280                -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/ld$$,,`'!'
    16602281
    16612282dep: DEP
     
    16762297.PHONY: dep dep-in dep-am
    16772298
     2299@MAINT@.PHONY: mpw
     2300@MAINT@mpw: $(srcdir)/mpw-ei386go32.c $(srcdir)/mpw-elfmips.c \
     2301@MAINT@ $(srcdir)/mpw-em68kcoff.c $(srcdir)/mpw-eppcmac.c \
     2302@MAINT@ $(srcdir)/mpw-esh.c $(srcdir)/mpw-idtmips.c
     2303@MAINT@
     2304@MAINT@$(srcdir)/mpw-ei386go32.c: ei386go32.c
     2305@MAINT@ $(srcdir)/../move-if-change $< $@
     2306@MAINT@
     2307@MAINT@$(srcdir)/mpw-elfmips.c: eelf32ebmip.c
     2308@MAINT@ $(srcdir)/../move-if-change $< $@
     2309@MAINT@
     2310@MAINT@$(srcdir)/mpw-em68kcoff.c: em68kcoff.c
     2311@MAINT@ $(srcdir)/../move-if-change $< $@
     2312@MAINT@
     2313@MAINT@$(srcdir)/mpw-eppcmac.c: eppcmacos.c
     2314@MAINT@ $(srcdir)/../move-if-change $< $@
     2315@MAINT@
     2316@MAINT@$(srcdir)/mpw-esh.c: esh.c
     2317@MAINT@ $(srcdir)/../move-if-change $< $@
     2318@MAINT@
     2319@MAINT@$(srcdir)/mpw-idtmips.c: emipsidt.c
     2320@MAINT@ $(srcdir)/../move-if-change $< $@
     2321
    16782322# What appears below is generated by a hacked mkdep using gcc -MM.
    16792323
     
    16812325# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
    16822326ldctor.o: ldctor.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
    1683   sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
    1684   ld.h $(INCDIR)/bin-bugs.h ldexp.h ldlang.h ldmisc.h \
    1685   ldgram.h ldmain.h ldctor.h
     2327  $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
     2328  $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h \
     2329  ldexp.h ldlang.h ldmisc.h ldgram.h ldmain.h ldctor.h
    16862330ldemul.o: ldemul.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
     2331  $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
     2332  ld.h $(INCDIR)/bin-bugs.h ldmisc.h ldexp.h ldlang.h \
     2333  ldfile.h ldemul.h ldmain.h ldemul-list.h
     2334ldexp.o: ldexp.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
     2335  $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
     2336  $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \
     2337  ldmisc.h ldexp.h ldgram.h ldlang.h $(INCDIR)/libiberty.h \
     2338  $(INCDIR)/safe-ctype.h
     2339ldfile.o: ldfile.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
     2340  $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
     2341  $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h \
     2342  ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h ldgram.h \
     2343  ldlex.h ldemul.h $(INCDIR)/libiberty.h $(INCDIR)/filenames.h
     2344ldlang.o: ldlang.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
     2345  $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
     2346  $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/obstack.h \
     2347  $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \
     2348  ldexp.h ldlang.h ldgram.h ldlex.h ldmisc.h ldctor.h \
     2349  ldfile.h ldemul.h $(INCDIR)/fnmatch.h $(INCDIR)/demangle.h
     2350ldmain.o: ldmain.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
     2351  $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
     2352  $(INCDIR)/safe-ctype.h $(INCDIR)/libiberty.h $(INCDIR)/progress.h \
     2353  $(INCDIR)/bfdlink.h $(INCDIR)/filenames.h ld.h $(INCDIR)/bin-bugs.h \
     2354  ldmain.h ldmisc.h ldwrite.h ldexp.h ldlang.h ldgram.h \
     2355  ldlex.h ldfile.h ldemul.h ldctor.h
     2356ldmisc.o: ldmisc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
     2357  $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
     2358  $(INCDIR)/libiberty.h $(INCDIR)/demangle.h ld.h $(INCDIR)/bin-bugs.h \
     2359  ldmisc.h ldexp.h ldlang.h ldgram.h ldlex.h ldmain.h \
     2360  ldfile.h
     2361ldver.o: ldver.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
     2362  $(INCDIR)/symcat.h ../bfd/bfdver.h sysdep.h config.h \
     2363  $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h ldver.h \
     2364  ldexp.h ldlang.h ldfile.h ldemul.h ldmain.h
     2365ldwrite.o: ldwrite.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
     2366  $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
     2367  $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h \
     2368  ldexp.h ldlang.h ldwrite.h ldmisc.h ldgram.h ldmain.h
     2369lexsup.o: lexsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
     2370  $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
     2371  $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h \
     2372  ld.h $(INCDIR)/bin-bugs.h ldmain.h ldmisc.h ldexp.h \
     2373  ldlang.h ldgram.h ldlex.h ldfile.h ldver.h ldemul.h \
     2374  $(INCDIR)/demangle.h
     2375mri.o: mri.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \
    16872376  sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
    1688   ldmisc.h ldexp.h ldlang.h ldfile.h ldemul.h ldmain.h \
    1689   ldemul-list.h
    1690 ldexp.o: ldexp.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
    1691   sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
    1692   ld.h $(INCDIR)/bin-bugs.h ldmain.h ldmisc.h ldexp.h \
    1693   ldgram.h ldlang.h
    1694 ldfile.o: ldfile.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
    1695   sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
    1696   ld.h $(INCDIR)/bin-bugs.h ldmisc.h ldexp.h ldlang.h \
    1697   ldfile.h ldmain.h ldgram.h ldlex.h ldemul.h $(INCDIR)/libiberty.h
    1698 ldlang.o: ldlang.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
    1699   sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
    1700   $(INCDIR)/obstack.h $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h \
    1701   ldmain.h ldgram.h ldexp.h ldlang.h ldlex.h ldmisc.h \
    1702   ldctor.h ldfile.h ldemul.h $(INCDIR)/fnmatch.h $(INCDIR)/demangle.h
    1703 ldmain.o: ldmain.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
    1704   sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
    1705   $(INCDIR)/progress.h $(INCDIR)/bfdlink.h $(INCDIR)/filenames.h \
    1706   ld.h $(INCDIR)/bin-bugs.h ldmain.h ldmisc.h ldwrite.h \
    1707   ldgram.h ldexp.h ldlang.h ldlex.h ldfile.h ldemul.h \
    1708   ldctor.h
    1709 ldmisc.o: ldmisc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
    1710   sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
    1711   $(INCDIR)/demangle.h ld.h $(INCDIR)/bin-bugs.h ldmisc.h \
    1712   ldexp.h ldlang.h ldgram.h ldlex.h ldmain.h ldfile.h
    1713 ldver.o: ldver.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
    1714   sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
    1715   ldver.h ldexp.h ldlang.h ldfile.h ldemul.h ldmain.h
    1716 ldwrite.o: ldwrite.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
    1717   sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
    1718   $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h ldexp.h \
    1719   ldlang.h ldwrite.h ldmisc.h ldgram.h ldmain.h
    1720 lexsup.o: lexsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
    1721   sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
    1722   $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \
    1723   ldmisc.h ldexp.h ldlang.h ldgram.h ldlex.h ldfile.h \
    1724   ldver.h ldemul.h $(INCDIR)/demangle.h
    1725 mri.o: mri.c ../bfd/bfd.h $(INCDIR)/ansidecl.h sysdep.h \
    1726   config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
    17272377  ldexp.h ldlang.h ldmisc.h mri.h ldgram.h $(INCDIR)/libiberty.h
    17282378ldcref.o: ldcref.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
    1729   sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
    1730   $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \
    1731   ldmisc.h ldexp.h ldlang.h
     2379  $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
     2380  $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h \
     2381  ldmain.h ldmisc.h ldexp.h ldlang.h
    17322382pe-dll.o: pe-dll.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
    1733   sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
    1734   $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h ldexp.h \
    1735   ldlang.h ldwrite.h ldmisc.h ldgram.h ldmain.h ldfile.h \
    1736   ldemul.h $(INCDIR)/coff/internal.h ../bfd/libcoff.h \
    1737   deffile.h pe-dll.h
     2383  $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
     2384  $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \
     2385  ld.h $(INCDIR)/bin-bugs.h ldexp.h ldlang.h ldwrite.h \
     2386  ldmisc.h ldgram.h ldmain.h ldfile.h ldemul.h $(INCDIR)/coff/internal.h \
     2387  $(BFDDIR)/libcoff.h deffile.h pe-dll.h
    17382388ldgram.o: ldgram.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
    1739   sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \
    1740   ld.h $(INCDIR)/bin-bugs.h ldexp.h ldver.h ldlang.h \
    1741   ldfile.h ldemul.h ldmisc.h ldmain.h mri.h ldctor.h \
    1742   ldlex.h
    1743 ldlex.o: ldlex.c ../bfd/bfd.h sysdep.h config.h $(INCDIR)/fopen-same.h \
    1744   ld.h $(INCDIR)/bin-bugs.h ldgram.h ldmisc.h ldexp.h \
    1745   ldlang.h ldfile.h ldlex.h ldmain.h $(INCDIR)/libiberty.h
     2389  $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
     2390  $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldexp.h \
     2391  ldver.h ldlang.h ldfile.h ldemul.h ldmisc.h ldmain.h \
     2392  mri.h ldctor.h ldlex.h
     2393ldlex.o: ldlex.c $(INCDIR)/ansidecl.h ../bfd/bfd.h \
     2394  $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \
     2395  $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h \
     2396  ldmisc.h ldexp.h ldlang.h ldgram.h ldfile.h ldlex.h \
     2397  ldmain.h $(INCDIR)/libiberty.h
    17462398deffilep.o: deffilep.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \
    1747   ../bfd/bfd.h sysdep.h config.h $(INCDIR)/fopen-same.h \
    1748   ld.h $(INCDIR)/bin-bugs.h ldmisc.h deffile.h
     2399  $(INCDIR)/safe-ctype.h ../bfd/bfd.h $(INCDIR)/symcat.h \
     2400  sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
     2401  ldmisc.h deffile.h
    17492402# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
    17502403
Note: See TracChangeset for help on using the changeset viewer.