Makefile.am 77 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214
  1. ## Process this file with automake to generate Makefile.in
  2. #
  3. # Copyright (C) 2012-2015 Free Software Foundation, Inc.
  4. #
  5. # This file is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 3 of the License, or
  8. # (at your option) any later version.
  9. #
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. # GNU General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU General Public License
  16. # along with this program; see the file COPYING3. If not see
  17. # <http://www.gnu.org/licenses/>.
  18. #
  19. AUTOMAKE_OPTIONS = dejagnu no-texinfo.tex no-dist foreign
  20. ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
  21. TEXINFO_TEX = ../texinfo/texinfo.tex
  22. SUBDIRS = po
  23. tooldir = $(exec_prefix)/$(target_alias)
  24. YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
  25. YFLAGS = -d
  26. LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi`
  27. # Automake 1.10+ disables lex and yacc output file regeneration if
  28. # maintainer mode is disabled. Avoid this.
  29. am__skiplex =
  30. am__skipyacc =
  31. ELF_CLFAGS=-DELF_LIST_OPTIONS=@elf_list_options@ \
  32. -DELF_SHLIB_LIST_OPTIONS=@elf_shlib_list_options@ \
  33. -DELF_PLT_UNWIND_LIST_OPTIONS=@elf_plt_unwind_list_options@
  34. WARN_CFLAGS = @WARN_CFLAGS@
  35. NO_WERROR = @NO_WERROR@
  36. AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS)
  37. # Conditionally enable the plugin interface.
  38. if ENABLE_PLUGINS
  39. PLUGIN_C = plugin.c
  40. PLUGIN_H = plugin.h
  41. PLUGIN_OBJECT = plugin.@OBJEXT@
  42. PLUGIN_CFLAGS = -DENABLE_PLUGINS
  43. else
  44. PLUGIN_C =
  45. PLUGIN_H =
  46. PLUGIN_OBJECT =
  47. PLUGIN_CFLAGS =
  48. endif
  49. # We put the scripts in the directory $(scriptdir)/ldscripts.
  50. # We can't put the scripts in $(datadir) because the SEARCH_DIR
  51. # directives need to be different for native and cross linkers.
  52. scriptdir = $(tooldir)/lib
  53. EMUL = @EMUL@
  54. EMULATION_OFILES = @EMULATION_OFILES@
  55. EMUL_EXTRA_OFILES = @EMUL_EXTRA_OFILES@
  56. # Search path to override the default search path for -lfoo libraries.
  57. # If LIB_PATH is empty, the ones in the script (if any) are left alone.
  58. # (The default is usually /lib:/usr/lib:/usr/local/lib, unless building
  59. # a cross-linker, in which case the default is empty. See genscripts.sh.)
  60. # Otherwise, they are replaced with the ones given in LIB_PATH,
  61. # which may have the form: LIB_PATH=/lib:/usr/local/lib. This can be set
  62. # when the linker is configured via the --with-lib-path configure switch.
  63. LIB_PATH = @LIB_PATH@
  64. BASEDIR = $(srcdir)/..
  65. BFDDIR = $(BASEDIR)/bfd
  66. INCDIR = $(BASEDIR)/include
  67. # What version of the manual to build
  68. DOCVER = gen
  69. # Options to extract the man page from ld.texinfo
  70. MANCONF = -Dman
  71. TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl $(AM_MAKEINFOFLAGS)
  72. POD2MAN = pod2man --center="GNU Development Tools" \
  73. --release="binutils-$(VERSION)" --section=1
  74. #stuff for self hosting (can be overridden in config file).
  75. HOSTING_CRT0 = @HOSTING_CRT0@
  76. HOSTING_SCRT0 = @HOSTING_SCRT0@
  77. HOSTING_LIBS = @HOSTING_LIBS@
  78. HOSTING_SLIBS = @HOSTING_SLIBS@
  79. HOSTING_EMU = -m $(EMUL)
  80. # Setup the testing framework, if you have one
  81. EXPECT = expect
  82. RUNTEST = runtest
  83. RUNTESTFLAGS =
  84. CC_FOR_TARGET = ` \
  85. if [ -f $$r/../gcc/xgcc ] ; then \
  86. if [ -f $$r/../newlib/Makefile ] ; then \
  87. echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
  88. else \
  89. echo $$r/../gcc/xgcc -B$$r/../gcc/; \
  90. fi; \
  91. else \
  92. if [ "@host@" = "@target@" ] ; then \
  93. echo $(CC); \
  94. else \
  95. echo gcc | sed '$(transform)'; \
  96. fi; \
  97. fi`
  98. CXX_FOR_TARGET = ` \
  99. if [ -f $$r/../gcc/g++ ] ; then \
  100. if [ -f $$r/../newlib/Makefile ] ; then \
  101. echo $$r/../gcc/g++ -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \
  102. else \
  103. echo $$r/../gcc/g++ -B$$r/../gcc/; \
  104. fi; \
  105. else \
  106. if [ "@host@" = "@target@" ] ; then \
  107. echo $(CXX); \
  108. else \
  109. echo g++ | sed '$(transform)'; \
  110. fi; \
  111. fi`
  112. transform = s/^ld-new$$/$(installed_linker)/;@program_transform_name@
  113. bin_PROGRAMS = ld-new
  114. info_TEXINFOS = ld.texinfo
  115. ld_TEXINFOS = configdoc.texi
  116. noinst_TEXINFOS = ldint.texinfo
  117. man_MANS = ld.1
  118. AM_MAKEINFOFLAGS = -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
  119. -I $(top_srcdir)/../libiberty
  120. TEXI2DVI = texi2dvi -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
  121. -I $(top_srcdir)/../libiberty
  122. AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) \
  123. @INCINTL@ $(HDEFINES) $(CFLAGS) $(PLUGIN_CFLAGS) \
  124. -DLOCALEDIR="\"$(datadir)/locale\""
  125. BFDLIB = ../bfd/libbfd.la
  126. LIBIBERTY = ../libiberty/libiberty.a
  127. ALL_EMULATION_SOURCES = \
  128. eaix5ppc.c \
  129. eaix5rs6.c \
  130. eaixppc.c \
  131. eaixrs6.c \
  132. ealpha.c \
  133. ealphavms.c \
  134. earcv2elf.c \
  135. earcv2elfx.c \
  136. earcelf.c \
  137. earcelf_prof.c \
  138. earclinux.c \
  139. earclinux_prof.c \
  140. earm_epoc_pe.c \
  141. earm_wince_pe.c \
  142. earmaoutb.c \
  143. earmaoutl.c \
  144. earmcoff.c \
  145. earmelf.c \
  146. earmelf_fbsd.c \
  147. earmelf_linux.c \
  148. earmelf_linux_eabi.c \
  149. earmelf_nacl.c \
  150. earmelf_nbsd.c \
  151. earmelf_vxworks.c \
  152. earmelfb.c \
  153. earmelfb_fbsd.c \
  154. earmelfb_linux.c \
  155. earmelfb_linux_eabi.c \
  156. earmelfb_nacl.c \
  157. earmelfb_nbsd.c \
  158. earmnbsd.c \
  159. earmnto.c \
  160. earmpe.c \
  161. earmsymbian.c \
  162. eavr1.c \
  163. eavr2.c \
  164. eavr25.c \
  165. eavr3.c \
  166. eavr31.c \
  167. eavr35.c \
  168. eavr4.c \
  169. eavr5.c \
  170. eavr51.c \
  171. eavr6.c \
  172. eavrxmega1.c \
  173. eavrxmega2.c \
  174. eavrxmega3.c \
  175. eavrxmega4.c \
  176. eavrxmega5.c \
  177. eavrxmega6.c \
  178. eavrxmega7.c \
  179. eavrtiny.c \
  180. ecoff_i860.c \
  181. ecoff_sparc.c \
  182. ecrisaout.c \
  183. ecriself.c \
  184. ecrislinux.c \
  185. ed10velf.c \
  186. ed30v_e.c \
  187. ed30v_o.c \
  188. ed30velf.c \
  189. edelta68.c \
  190. eelf32_dlx.c \
  191. eelf32_i860.c \
  192. eelf32_i960.c \
  193. eelf32_sparc.c \
  194. eelf32_sparc_sol2.c \
  195. eelf32_sparc_vxworks.c \
  196. eelf32_spu.c \
  197. eelf32_tic6x_be.c \
  198. eelf32_tic6x_le.c \
  199. eelf32_tic6x_linux_be.c \
  200. eelf32_tic6x_linux_le.c \
  201. eelf32_tic6x_elf_be.c \
  202. eelf32_tic6x_elf_le.c \
  203. eelf32am33lin.c \
  204. eelf32bfin.c \
  205. eelf32bfinfd.c \
  206. eelf32cr16.c \
  207. eelf32cr16c.c \
  208. eelf32crx.c \
  209. eelf32epiphany.c \
  210. eelf32epiphany_4x4.c \
  211. eelf32fr30.c \
  212. eelf32frv.c \
  213. eelf32frvfd.c \
  214. eelf32ft32.c \
  215. eelf32i370.c \
  216. eelf32ip2k.c \
  217. eelf32iq10.c \
  218. eelf32iq2000.c \
  219. eelf32lm32.c \
  220. eelf32lm32fd.c \
  221. eelf32lppc.c \
  222. eelf32lppclinux.c \
  223. eelf32lppcnto.c \
  224. eelf32lppcsim.c \
  225. eelf32m32c.c \
  226. eelf32mb_linux.c \
  227. eelf32mbel_linux.c \
  228. eelf32mcore.c \
  229. eelf32mep.c \
  230. eelf32metag.c \
  231. eelf32microblazeel.c \
  232. eelf32microblaze.c \
  233. eelf32moxie.c \
  234. emoxiebox.c \
  235. eelf32mt.c \
  236. eelf32or1k.c \
  237. eelf32or1k_linux.c \
  238. eelf32ppc.c \
  239. eelf32ppc_fbsd.c \
  240. eelf32ppclinux.c \
  241. eelf32ppcnto.c \
  242. eelf32ppcsim.c \
  243. eelf32ppcvxworks.c \
  244. eelf32ppcwindiss.c \
  245. eelf32rl78.c \
  246. eelf32rx.c \
  247. eelf32tilegx.c \
  248. eelf32tilegx_be.c \
  249. eelf32tilepro.c \
  250. eelf32vax.c \
  251. eelf32visium.c \
  252. eelf32xc16x.c \
  253. eelf32xc16xl.c \
  254. eelf32xc16xs.c \
  255. eelf32xstormy16.c \
  256. eelf32xtensa.c \
  257. eelf_i386.c \
  258. eelf_i386_be.c \
  259. eelf_i386_chaos.c \
  260. eelf_i386_fbsd.c \
  261. eelf_i386_ldso.c \
  262. eelf_i386_nacl.c \
  263. eelf_i386_sol2.c \
  264. eelf_i386_vxworks.c \
  265. eelf_iamcu.c \
  266. eelf_s390.c \
  267. egld960.c \
  268. egld960coff.c \
  269. eh8300.c \
  270. eh8300elf.c \
  271. eh8300elf_linux.c \
  272. eh8300h.c \
  273. eh8300helf.c \
  274. eh8300helf_linux.c \
  275. eh8300hn.c \
  276. eh8300hnelf.c \
  277. eh8300s.c \
  278. eh8300self.c \
  279. eh8300self_linux.c \
  280. eh8300sn.c \
  281. eh8300snelf.c \
  282. eh8300sx.c \
  283. eh8300sxelf.c \
  284. eh8300sxelf_linux.c \
  285. eh8300sxn.c \
  286. eh8300sxnelf.c \
  287. eh8500.c \
  288. eh8500b.c \
  289. eh8500c.c \
  290. eh8500m.c \
  291. eh8500s.c \
  292. ehp300bsd.c \
  293. ehp3hpux.c \
  294. ehppaelf.c \
  295. ehppalinux.c \
  296. ehppanbsd.c \
  297. ehppaobsd.c \
  298. ei386aout.c \
  299. ei386beos.c \
  300. ei386bsd.c \
  301. ei386coff.c \
  302. ei386go32.c \
  303. ei386linux.c \
  304. ei386lynx.c \
  305. ei386mach.c \
  306. ei386moss.c \
  307. ei386msdos.c \
  308. ei386nbsd.c \
  309. ei386nto.c \
  310. ei386nw.c \
  311. ei386pe.c \
  312. ei386pe_posix.c \
  313. elnk960.c \
  314. em32relf.c \
  315. em32relf_linux.c \
  316. em32rlelf.c \
  317. em32rlelf_linux.c \
  318. em68hc11elf.c \
  319. em68hc11elfb.c \
  320. em68hc12elf.c \
  321. em68hc12elfb.c \
  322. em68k4knbsd.c \
  323. em68kaout.c \
  324. em68kaux.c \
  325. em68kcoff.c \
  326. em68kelf.c \
  327. em68kelfnbsd.c \
  328. em68klinux.c \
  329. em68knbsd.c \
  330. em68kpsos.c \
  331. em88kbcs.c \
  332. emcorepe.c \
  333. emn10200.c \
  334. emn10300.c \
  335. emsp430elf.c \
  336. emsp430X.c \
  337. ends32elf.c \
  338. ends32elf16m.c \
  339. ends32elf_linux.c \
  340. ends32belf.c \
  341. ends32belf16m.c \
  342. ends32belf_linux.c \
  343. enews.c \
  344. ens32knbsd.c \
  345. enios2elf.c \
  346. enios2linux.c \
  347. epc532macha.c \
  348. epdp11.c \
  349. epjelf.c \
  350. epjlelf.c \
  351. eppclynx.c \
  352. eppcmacos.c \
  353. eppcnw.c \
  354. eppcpe.c \
  355. eriscix.c \
  356. escore3_elf.c \
  357. escore7_elf.c \
  358. esh.c \
  359. eshelf.c \
  360. eshelf32.c \
  361. eshelf32_linux.c \
  362. eshelf32_nbsd.c \
  363. eshelf_fd.c \
  364. eshelf_linux.c \
  365. eshelf_nbsd.c \
  366. eshelf_nto.c \
  367. eshelf_uclinux.c \
  368. eshelf_vxworks.c \
  369. eshl.c \
  370. eshlelf.c \
  371. eshlelf32.c \
  372. eshlelf32_linux.c \
  373. eshlelf32_nbsd.c \
  374. eshlelf_fd.c \
  375. eshlelf_linux.c \
  376. eshlelf_nbsd.c \
  377. eshlelf_nto.c \
  378. eshlelf_vxworks.c \
  379. eshlsymbian.c \
  380. eshpe.c \
  381. esparcaout.c \
  382. esparclinux.c \
  383. esparcnbsd.c \
  384. est2000.c \
  385. esun3.c \
  386. esun4.c \
  387. etic30aout.c \
  388. etic30coff.c \
  389. etic3xcoff.c \
  390. etic3xcoff_onchip.c \
  391. etic4xcoff.c \
  392. etic54xcoff.c \
  393. etic80coff.c \
  394. ev850.c \
  395. ev850_rh850.c \
  396. evanilla.c \
  397. evax.c \
  398. evaxnbsd.c \
  399. evsta.c \
  400. ew65.c \
  401. exgateelf.c \
  402. ez80.c \
  403. ez8001.c \
  404. ez8002.c
  405. ALL_EMULATIONS = $(ALL_EMULATION_SOURCES:.c=.@OBJEXT@)
  406. ALL_64_EMULATION_SOURCES = \
  407. eaarch64elf.c \
  408. eaarch64elf32.c \
  409. eaarch64elfb.c \
  410. eaarch64elf32b.c \
  411. eaarch64fbsd.c \
  412. eaarch64fbsdb.c \
  413. eaarch64linux.c \
  414. eaarch64linuxb.c \
  415. eaarch64linux32.c \
  416. eaarch64linux32b.c \
  417. eelf32_x86_64.c \
  418. eelf32_x86_64_nacl.c \
  419. eelf32b4300.c \
  420. eelf32bmip.c \
  421. eelf32bmipn32.c \
  422. eelf32bsmip.c \
  423. eelf32btsmip.c \
  424. eelf32btsmip_fbsd.c \
  425. eelf32btsmipn32.c \
  426. eelf32btsmipn32_fbsd.c \
  427. eelf32ebmip.c \
  428. eelf32ebmipvxworks.c \
  429. eelf32elmip.c \
  430. eelf32elmipvxworks.c \
  431. eelf32l4300.c \
  432. eelf32lmip.c \
  433. eelf32lr5900.c \
  434. eelf32lr5900n32.c \
  435. eelf32lsmip.c \
  436. eelf32ltsmip.c \
  437. eelf32ltsmip_fbsd.c \
  438. eelf32ltsmipn32.c \
  439. eelf32ltsmipn32_fbsd.c \
  440. eelf32mipswindiss.c \
  441. eelf64_aix.c \
  442. eelf64_ia64.c \
  443. eelf64_ia64_fbsd.c \
  444. eelf64_ia64_vms.c \
  445. eelf64_s390.c \
  446. eelf64_sparc.c \
  447. eelf64_sparc_fbsd.c \
  448. eelf64_sparc_sol2.c \
  449. eelf64alpha.c \
  450. eelf64alpha_fbsd.c \
  451. eelf64alpha_nbsd.c \
  452. eelf64bmip.c \
  453. eelf64btsmip.c \
  454. eelf64btsmip_fbsd.c \
  455. eelf64hppa.c \
  456. eelf64lppc.c \
  457. eelf64ltsmip.c \
  458. eelf64ltsmip_fbsd.c \
  459. eelf64mmix.c \
  460. eelf64ppc.c \
  461. eelf64ppc_fbsd.c \
  462. eelf64rdos.c \
  463. eelf64tilegx.c \
  464. eelf64tilegx_be.c \
  465. eelf_l1om.c \
  466. eelf_l1om_fbsd.c \
  467. eelf_k1om.c \
  468. eelf_k1om_fbsd.c \
  469. eelf_x86_64.c \
  470. eelf_x86_64_cloudabi.c \
  471. eelf_x86_64_fbsd.c \
  472. eelf_x86_64_nacl.c \
  473. eelf_x86_64_sol2.c \
  474. ehppa64linux.c \
  475. ei386pep.c \
  476. emmo.c \
  477. eshelf64.c \
  478. eshelf64_nbsd.c \
  479. eshlelf64.c \
  480. eshlelf64_nbsd.c
  481. ALL_64_EMULATIONS = $(ALL_64_EMULATION_SOURCES:.c=.@OBJEXT@)
  482. ALL_EMUL_EXTRA_OFILES = \
  483. deffilep.@OBJEXT@ \
  484. pe-dll.@OBJEXT@
  485. ALL_64_EMUL_EXTRA_OFILES = \
  486. pep-dll.@OBJEXT@
  487. CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \
  488. ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \
  489. mri.c ldcref.c pe-dll.c pep-dll.c ldlex-wrapper.c \
  490. $(PLUGIN_C) ldbuildid.c
  491. HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \
  492. ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \
  493. ldwrite.h mri.h deffile.h pe-dll.h pep-dll.h \
  494. elf-hints-local.h $(PLUGIN_H) ldbuildid.h
  495. GENERATED_CFILES = ldgram.c ldlex.c deffilep.c
  496. GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h
  497. # Require an early dependency on the generated headers, as the dependency
  498. # tracking will not cause them to be built beforehand.
  499. BUILT_SOURCES = $(GENERATED_HFILES)
  500. OFILES = ldgram.@OBJEXT@ ldlex-wrapper.@OBJEXT@ lexsup.@OBJEXT@ ldlang.@OBJEXT@ \
  501. mri.@OBJEXT@ ldctor.@OBJEXT@ ldmain.@OBJEXT@ $(PLUGIN_OBJECT) \
  502. ldwrite.@OBJEXT@ ldexp.@OBJEXT@ ldemul.@OBJEXT@ ldver.@OBJEXT@ ldmisc.@OBJEXT@ \
  503. ldfile.@OBJEXT@ ldcref.@OBJEXT@ ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES} \
  504. ldbuildid.@OBJEXT@
  505. STAGESTUFF = *.@OBJEXT@ ldscripts/* e*.c
  506. # Disable -Werror, if it has been enabled, since old versions of bison/
  507. # yacc will produce working code which contain compile time warnings.
  508. ldgram.@OBJEXT@: ldgram.c
  509. if am__fastdepCC
  510. $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
  511. mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  512. else
  513. if AMDEP
  514. source='ldgram.c' object='$@' libtool=no @AMDEPBACKSLASH@
  515. DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  516. endif
  517. $(COMPILE) -c `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR)
  518. endif
  519. ldlex-wrapper.@OBJEXT@: ldlex-wrapper.c ldlex.c
  520. if am__fastdepCC
  521. $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
  522. mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  523. else
  524. if AMDEP
  525. source='ldlex-wrapper.c' object='$@' libtool=no @AMDEPBACKSLASH@
  526. DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  527. endif
  528. $(COMPILE) -c $(srcdir)/ldlex-wrapper.c $(NO_WERROR)
  529. endif
  530. deffilep.@OBJEXT@: deffilep.c
  531. if am__fastdepCC
  532. $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
  533. mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  534. else
  535. if AMDEP
  536. source='deffilep.c' object='$@' libtool=no @AMDEPBACKSLASH@
  537. DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  538. endif
  539. $(COMPILE) -c `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR)
  540. endif
  541. # At the moment this is just a list of those emulation template files
  542. # that contain internationalised strings.
  543. EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em
  544. POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES)
  545. po/POTFILES.in: @MAINT@ Makefile
  546. for f in $(POTFILES); do echo $$f; done | LC_ALL=C sort > tmp \
  547. && mv tmp $(srcdir)/po/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
  566. ldfile.@OBJEXT@: ldfile.c config.status
  567. if am__fastdepCC
  568. $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
  569. -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
  570. $(srcdir)/ldfile.c
  571. mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  572. else
  573. if AMDEP
  574. source='ldfile.c' object='$@' libtool=no @AMDEPBACKSLASH@
  575. DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  576. endif
  577. $(COMPILE) -c -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \
  578. -DTOOLBINDIR='"$(tooldir)/bin"' \
  579. $(srcdir)/ldfile.c
  580. endif
  581. eelf32_spu.@OBJEXT@: eelf32_spu.c
  582. if am__fastdepCC
  583. $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \
  584. -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" eelf32_spu.c
  585. mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  586. else
  587. if AMDEP
  588. source='eelf32_spu.c' object='$@' libtool=no @AMDEPBACKSLASH@
  589. DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  590. endif
  591. $(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \
  592. eelf32_spu.c
  593. endif
  594. ldemul-list.h: Makefile
  595. (echo "/* This file is automatically generated. DO NOT EDIT! */";\
  596. for f in `echo " " ${EMULATION_OFILES} "" \
  597. | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
  598. echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \
  599. done;\
  600. echo "";\
  601. echo "#define EMULATION_LIST \\";\
  602. for f in `echo " " ${EMULATION_OFILES} "" \
  603. | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
  604. echo " &ld_$${f}_emulation, \\"; \
  605. done;\
  606. echo " 0") >ldemul-tmp.h
  607. mv ldemul-tmp.h ldemul-list.h
  608. stringify.sed: ${srcdir}/emultempl/$(STRINGIFY)
  609. cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed
  610. # These all start with e so 'make clean' can find them.
  611. GENSCRIPTS = LIB_PATH='${LIB_PATH}' $(SHELL) $(srcdir)/genscripts.sh "${srcdir}" "${libdir}" "${prefix}" "${exec_prefix}" @host@ @target@ @target_alias@ "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@" @use_sysroot@ @enable_initfini_array@
  612. GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed
  613. ELF_DEPS = $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/scripttempl/DWARF.sc
  614. ELF_GEN_DEPS = $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/emultempl/genelf.em $(srcdir)/scripttempl/DWARF.sc
  615. @TDIRS@
  616. # We can't use pattern rules as we don't want to depend on GNU
  617. # make, or else these rules could have been expressed in one
  618. # two-liner: 'e%.c:' and ' ${GENSCRIPTS} $* "$(tdir_$*)"'.
  619. # (The recursive variable expansion is portable.)
  620. run-genscripts:
  621. ${GENSCRIPTS} $(script_target) "$($(script_tdirname))"
  622. .PHONY: run-genscripts
  623. $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES):
  624. base=`echo $@ | sed -e 's,e\(.*\).c,\1,'`; \
  625. $(MAKE) run-genscripts "script_target=$$base" "script_tdirname=tdir_$$base"
  626. eaix5ppc.c: $(srcdir)/emulparams/aix5ppc.sh \
  627. $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
  628. eaix5rs6.c: $(srcdir)/emulparams/aix5rs6.sh \
  629. $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
  630. eaixppc.c: $(srcdir)/emulparams/aixppc.sh \
  631. $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
  632. eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \
  633. $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
  634. ealpha.c: $(srcdir)/emulparams/alpha.sh \
  635. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS}
  636. ealphavms.c: $(srcdir)/emulparams/alphavms.sh \
  637. $(srcdir)/emultempl/vms.em $(srcdir)/scripttempl/alphavms.sc \
  638. ${GEN_DEPENDS}
  639. earcv2elf.c: $(srcdir)/emulparams/arcv2elf.sh \
  640. $(ELF_DEPS) $(srcdir)/scripttempl/elfarcv2.sc ${GEN_DEPENDS}
  641. earcv2elfx.c: $(srcdir)/emulparams/arcv2elfx.sh \
  642. $(ELF_DEPS) $(srcdir)/scripttempl/elfarcv2.sc ${GEN_DEPENDS}
  643. earcelf.c: $(srcdir)/emulparams/arcelf.sh \
  644. $(ELF_DEPS) $(srcdir)/scripttempl/elfarc.sc ${GEN_DEPENDS}
  645. earcelf_prof.c: $(srcdir)/emulparams/arcelf_prof.sh \
  646. $(ELF_DEPS) $(srcdir)/scripttempl/elfarc.sc ${GEN_DEPENDS}
  647. #for linux on arc
  648. earclinux.c: $(srcdir)/emulparams/arclinux.sh \
  649. $(ELF_DEPS) $(srcdir)/emultempl/arclinux.em \
  650. $(srcdir)/scripttempl/arclinux.sc ${GEN_DEPENDS}
  651. earclinux_prof.c: $(srcdir)/emulparams/arclinux_prof.sh \
  652. $(ELF_DEPS) $(srcdir)/emultempl/arclinux.em \
  653. $(srcdir)/scripttempl/arclinux.sc ${GEN_DEPENDS}
  654. earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \
  655. $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS}
  656. earm_wince_pe.c: $(srcdir)/emulparams/arm_wince_pe.sh \
  657. $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
  658. earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \
  659. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
  660. earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \
  661. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS}
  662. earmcoff.c: $(srcdir)/emulparams/armcoff.sh \
  663. $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS}
  664. earmelf.c: $(srcdir)/emulparams/armelf.sh \
  665. $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
  666. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  667. earmelf_fbsd.c: $(srcdir)/emulparams/armelf_fbsd.sh \
  668. $(srcdir)/emulparams/armelf.sh \
  669. $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
  670. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  671. earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \
  672. $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
  673. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  674. earmelf_linux_eabi.c: $(srcdir)/emulparams/armelf_linux_eabi.sh \
  675. $(srcdir)/emulparams/armelf_linux.sh \
  676. $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
  677. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  678. earmelf_nacl.c: $(srcdir)/emulparams/armelf_nacl.sh \
  679. $(srcdir)/emulparams/armelf_linux_eabi.sh \
  680. $(srcdir)/emulparams/armelf_linux.sh \
  681. $(srcdir)/emulparams/elf_nacl.sh \
  682. $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
  683. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  684. earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \
  685. $(srcdir)/emulparams/armelf.sh \
  686. $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
  687. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  688. earmelf_vxworks.c: $(srcdir)/emulparams/armelf_vxworks.sh \
  689. $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/armelf.sh \
  690. $(ELF_DEPS) $(srcdir)/emultempl/vxworks.em \
  691. $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/elf.sc \
  692. ${GEN_DEPENDS}
  693. earmelfb.c: $(srcdir)/emulparams/armelfb.sh $(srcdir)/emulparams/armelf.sh \
  694. $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
  695. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  696. earmelfb_fbsd.c: $(srcdir)/emulparams/armelfb_fbsd.sh \
  697. $(srcdir)/emulparams/armelf_fbsd.sh \
  698. $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
  699. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  700. earmelfb_linux.c: $(srcdir)/emulparams/armelfb_linux.sh \
  701. $(srcdir)/emulparams/armelf_linux.sh \
  702. $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
  703. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  704. earmelfb_linux_eabi.c: $(srcdir)/emulparams/armelfb_linux_eabi.sh \
  705. $(srcdir)/emulparams/armelf_linux_eabi.sh \
  706. $(srcdir)/emulparams/armelf_linux.sh \
  707. $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
  708. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  709. earmelfb_nacl.c: $(srcdir)/emulparams/armelfb_nacl.sh \
  710. $(srcdir)/emulparams/armelf_nacl.sh \
  711. $(srcdir)/emulparams/armelf_linux_eabi.sh \
  712. $(srcdir)/emulparams/armelf_linux.sh \
  713. $(srcdir)/emulparams/elf_nacl.sh \
  714. $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
  715. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  716. earmelfb_nbsd.c: $(srcdir)/emulparams/armelfb_nbsd.sh \
  717. $(srcdir)/emulparams/armelf_nbsd.sh \
  718. $(srcdir)/emulparams/armelf.sh \
  719. $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
  720. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  721. earmnbsd.c: $(srcdir)/emulparams/armnbsd.sh \
  722. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
  723. earmnto.c: $(srcdir)/emulparams/armnto.sh \
  724. $(ELF_DEPS) $(srcdir)/emultempl/armelf.em \
  725. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  726. earmpe.c: $(srcdir)/emulparams/armpe.sh \
  727. $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
  728. earmsymbian.c: $(srcdir)/emulparams/armsymbian.sh \
  729. $(srcdir)/emulparams/armelf.sh $(ELF_DEPS) \
  730. $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/armbpabi.sc \
  731. ${GEN_DEPENDS}
  732. eavr1.c: $(srcdir)/emulparams/avr1.sh $(srcdir)/emultempl/avrelf.em \
  733. $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
  734. ${GEN_DEPENDS}
  735. eavr2.c: $(srcdir)/emulparams/avr2.sh $(srcdir)/emultempl/avrelf.em \
  736. $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
  737. ${GEN_DEPENDS}
  738. eavr25.c: $(srcdir)/emulparams/avr25.sh $(srcdir)/emultempl/avrelf.em \
  739. $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
  740. ${GEN_DEPENDS}
  741. eavr3.c: $(srcdir)/emulparams/avr3.sh $(srcdir)/emultempl/avrelf.em \
  742. $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
  743. ${GEN_DEPENDS}
  744. eavr31.c: $(srcdir)/emulparams/avr31.sh $(srcdir)/emultempl/avrelf.em \
  745. $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
  746. ${GEN_DEPENDS}
  747. eavr35.c: $(srcdir)/emulparams/avr35.sh $(srcdir)/emultempl/avrelf.em \
  748. $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
  749. ${GEN_DEPENDS}
  750. eavr4.c: $(srcdir)/emulparams/avr4.sh $(srcdir)/emultempl/avrelf.em \
  751. $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
  752. ${GEN_DEPENDS}
  753. eavr5.c: $(srcdir)/emulparams/avr5.sh $(srcdir)/emultempl/avrelf.em \
  754. $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
  755. ${GEN_DEPENDS}
  756. eavr51.c: $(srcdir)/emulparams/avr51.sh $(srcdir)/emultempl/avrelf.em \
  757. $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
  758. ${GEN_DEPENDS}
  759. eavr6.c: $(srcdir)/emulparams/avr6.sh $(srcdir)/emultempl/avrelf.em \
  760. $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
  761. ${GEN_DEPENDS}
  762. eavrxmega1.c: $(srcdir)/emulparams/avrxmega1.sh \
  763. $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
  764. ${GEN_DEPENDS}
  765. eavrxmega2.c: $(srcdir)/emulparams/avrxmega2.sh \
  766. $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
  767. ${GEN_DEPENDS}
  768. eavrxmega3.c: $(srcdir)/emulparams/avrxmega3.sh \
  769. $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
  770. ${GEN_DEPENDS}
  771. eavrxmega4.c: $(srcdir)/emulparams/avrxmega4.sh \
  772. $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
  773. ${GEN_DEPENDS}
  774. eavrxmega5.c: $(srcdir)/emulparams/avrxmega5.sh \
  775. $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
  776. ${GEN_DEPENDS}
  777. eavrxmega6.c: $(srcdir)/emulparams/avrxmega6.sh \
  778. $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
  779. ${GEN_DEPENDS}
  780. eavrxmega7.c: $(srcdir)/emulparams/avrxmega7.sh \
  781. $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \
  782. ${GEN_DEPENDS}
  783. eavrtiny.c: $(srcdir)/emulparams/avrtiny.sh \
  784. $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avrtiny.sc \
  785. ${GEN_DEPENDS}
  786. ecoff_i860.c: $(srcdir)/emulparams/coff_i860.sh \
  787. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i860coff.sc ${GEN_DEPENDS}
  788. ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
  789. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS}
  790. ecrisaout.c: $(srcdir)/emulparams/crisaout.sh \
  791. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/crisaout.sc ${GEN_DEPENDS}
  792. ecriself.c: $(srcdir)/emulparams/criself.sh \
  793. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  794. ecrislinux.c: $(srcdir)/emulparams/crislinux.sh \
  795. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  796. ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
  797. $(ELF_DEPS) $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS}
  798. ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \
  799. $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
  800. ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \
  801. $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
  802. ed30velf.c: $(srcdir)/emulparams/d30velf.sh \
  803. $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS}
  804. edelta68.c: $(srcdir)/emulparams/delta68.sh \
  805. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
  806. eelf32_dlx.c: $(srcdir)/emulparams/elf32_dlx.sh \
  807. $(ELF_GEN_DEPS) $(srcdir)/scripttempl/dlx.sc ${GEN_DEPENDS}
  808. eelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \
  809. $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  810. eelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \
  811. $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  812. eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \
  813. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  814. eelf32_sparc_sol2.c: $(srcdir)/emulparams/elf32_sparc_sol2.sh \
  815. $(srcdir)/emulparams/elf32_sparc.sh \
  816. $(srcdir)/emulparams/solaris2.sh \
  817. $(srcdir)/emultempl/solaris2.em $(ELF_DEPS) \
  818. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  819. eelf32_sparc_vxworks.c: $(srcdir)/emulparams/elf32_sparc_vxworks.sh \
  820. $(srcdir)/emulparams/vxworks.sh $(srcdir)/emulparams/elf32_sparc.sh \
  821. $(srcdir)/emultempl/vxworks.em $(ELF_DEPS) \
  822. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  823. eelf32_spu.c: $(srcdir)/emulparams/elf32_spu.sh $(srcdir)/emultempl/spuelf.em \
  824. $(srcdir)/emultempl/spu_ovl.@OBJEXT@_c $(srcdir)/emultempl/spu_icache.@OBJEXT@_c \
  825. ldemul-list.h \
  826. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  827. $(srcdir)/emultempl/spu_ovl.@OBJEXT@_c: @MAINT@ $(srcdir)/emultempl/spu_ovl.S
  828. if ../gas/as-new --version \
  829. | grep 'target.*spu' >/dev/null 2>/dev/null; then \
  830. cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s; \
  831. ../gas/as-new -o spu_ovl.@OBJEXT@ spu_ovl.s; \
  832. ../binutils/bin2c <spu_ovl.@OBJEXT@ >$@; \
  833. fi
  834. $(srcdir)/emultempl/spu_icache.@OBJEXT@_c: @MAINT@ $(srcdir)/emultempl/spu_icache.S
  835. if ../gas/as-new --version \
  836. | grep 'target.*spu' >/dev/null 2>/dev/null; then \
  837. cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_icache.S spu_icache.s; \
  838. ../gas/as-new -o spu_icache.@OBJEXT@ spu_icache.s; \
  839. ../binutils/bin2c <spu_icache.@OBJEXT@ >$@; \
  840. fi
  841. eelf32_tic6x_be.c: $(srcdir)/emulparams/elf32_tic6x_be.sh \
  842. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
  843. ${GEN_DEPENDS}
  844. eelf32_tic6x_elf_be.c: $(srcdir)/emulparams/elf32_tic6x_elf_be.sh \
  845. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
  846. ${GEN_DEPENDS}
  847. eelf32_tic6x_elf_le.c: $(srcdir)/emulparams/elf32_tic6x_elf_le.sh \
  848. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
  849. ${GEN_DEPENDS}
  850. eelf32_tic6x_le.c: $(srcdir)/emulparams/elf32_tic6x_le.sh \
  851. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
  852. ${GEN_DEPENDS}
  853. eelf32_tic6x_linux_be.c: $(srcdir)/emulparams/elf32_tic6x_linux_be.sh \
  854. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
  855. ${GEN_DEPENDS}
  856. eelf32_tic6x_linux_le.c: $(srcdir)/emulparams/elf32_tic6x_linux_le.sh \
  857. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/tic6xdsbt.em \
  858. ${GEN_DEPENDS}
  859. eelf32am33lin.c: $(srcdir)/emulparams/elf32am33lin.sh \
  860. $(srcdir)/emulparams/elf32am33lin.sh \
  861. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  862. eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \
  863. $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
  864. $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  865. eelf32bfin.c: $(srcdir)/emulparams/elf32bfin.sh \
  866. $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \
  867. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  868. eelf32bfinfd.c: $(srcdir)/emulparams/elf32bfinfd.sh \
  869. $(srcdir)/emulparams/elf32bfin.sh \
  870. $(ELF_DEPS) $(srcdir)/emultempl/bfin.em \
  871. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  872. eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
  873. $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  874. eelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \
  875. $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
  876. $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
  877. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  878. eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \
  879. $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) $(srcdir)/emultempl/irix.em \
  880. $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  881. eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \
  882. $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
  883. $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  884. eelf32btsmip_fbsd.c: $(srcdir)/emulparams/elf32btsmip_fbsd.sh \
  885. $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
  886. $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  887. eelf32btsmipn32.c: $(srcdir)/emulparams/elf32btsmipn32.sh \
  888. $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
  889. $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  890. eelf32btsmipn32_fbsd.c: $(srcdir)/emulparams/elf32btsmipn32_fbsd.sh \
  891. $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
  892. $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  893. eelf32cr16.c: $(srcdir)/emulparams/elf32cr16.sh \
  894. $(ELF_DEPS) $(srcdir)/emultempl/cr16elf.em \
  895. $(srcdir)/scripttempl/elf32cr16.sc ${GEN_DEPENDS}
  896. eelf32cr16c.c: $(srcdir)/emulparams/elf32cr16c.sh \
  897. $(ELF_DEPS) $(srcdir)/scripttempl/elf32cr16c.sc ${GEN_DEPENDS}
  898. eelf32crx.c: $(srcdir)/emulparams/elf32crx.sh \
  899. $(ELF_DEPS) $(srcdir)/emultempl/crxelf.em \
  900. $(srcdir)/scripttempl/elf32crx.sc ${GEN_DEPENDS}
  901. eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \
  902. $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
  903. $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  904. eelf32ebmipvxworks.c: $(srcdir)/emulparams/elf32ebmipvxworks.sh \
  905. $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
  906. $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
  907. $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  908. eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \
  909. $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
  910. $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
  911. ${GEN_DEPENDS}
  912. eelf32elmipvxworks.c: $(srcdir)/emulparams/elf32elmipvxworks.sh \
  913. $(srcdir)/emulparams/elf32bmip.sh $(srcdir)/emulparams/vxworks.sh \
  914. $(ELF_DEPS) $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mipself.em \
  915. $(srcdir)/emultempl/vxworks.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  916. eelf32lr5900.c: $(srcdir)/emulparams/elf32lr5900.sh \
  917. $(srcdir)/emulparams/elf32bmip.sh \
  918. $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
  919. ${GEN_DEPENDS}
  920. eelf32lr5900n32.c: $(srcdir)/emulparams/elf32lr5900n32.sh \
  921. $(srcdir)/emulparams/elf32bmipn32-defs.sh \
  922. $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
  923. ${GEN_DEPENDS}
  924. eelf32epiphany.c: $(srcdir)/emulparams/elf32epiphany.sh \
  925. $(ELF_DEPS) ${GEN_DEPENDS}
  926. eelf32epiphany_4x4.c: $(srcdir)/emulparams/elf32epiphany_4x4.sh \
  927. $(srcdir)/emultempl/elf32.em \
  928. $(ELF_DEPS) $(srcdir)/scripttempl/epiphany_4x4.sc ${GEN_DEPENDS}
  929. eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \
  930. $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  931. eelf32frv.c: $(srcdir)/emulparams/elf32frv.sh \
  932. $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  933. eelf32frvfd.c: $(srcdir)/emulparams/elf32frvfd.sh \
  934. $(srcdir)/emulparams/elf32frv.sh \
  935. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  936. eelf32ft32.c: $(srcdir)/emulparams/elf32ft32.sh \
  937. $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  938. eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \
  939. $(ELF_DEPS) $(srcdir)/scripttempl/elfi370.sc ${GEN_DEPENDS}
  940. eelf32ip2k.c: $(srcdir)/emulparams/elf32ip2k.sh \
  941. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  942. eelf32iq10.c: $(srcdir)/emulparams/elf32iq10.sh \
  943. $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
  944. eelf32iq2000.c: $(srcdir)/emulparams/elf32iq2000.sh \
  945. $(ELF_GEN_DEPS) $(srcdir)/scripttempl/iq2000.sc ${GEN_DEPENDS}
  946. eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
  947. $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \
  948. $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
  949. ${GEN_DEPENDS}
  950. eelf32lm32.c: $(srcdir)/emulparams/elf32lm32.sh \
  951. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  952. eelf32lm32fd.c: $(srcdir)/emulparams/elf32lm32fd.sh \
  953. $(srcdir)/emulparams/elf32lm32.sh $(ELF_DEPS) \
  954. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  955. eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
  956. $(srcdir)/emulparams/elf32bmip.sh $(ELF_DEPS) \
  957. $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  958. eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \
  959. $(srcdir)/emulparams/elf32ppccommon.sh \
  960. $(srcdir)/emulparams/elf32ppc.sh \
  961. $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
  962. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  963. eelf32lppclinux.c: $(srcdir)/emulparams/elf32lppclinux.sh \
  964. $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
  965. $(srcdir)/emulparams/elf32ppccommon.sh \
  966. $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
  967. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  968. eelf32lppcnto.c: $(srcdir)/emulparams/elf32lppcnto.sh \
  969. $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
  970. $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
  971. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  972. eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \
  973. $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \
  974. $(srcdir)/emulparams/elf32ppccommon.sh \
  975. $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
  976. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  977. eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \
  978. $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \
  979. $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
  980. ${GEN_DEPENDS}
  981. eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \
  982. $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
  983. $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
  984. ${GEN_DEPENDS}
  985. eelf32ltsmip_fbsd.c: $(srcdir)/emulparams/elf32ltsmip_fbsd.sh \
  986. $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \
  987. $(ELF_DEPS) $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc \
  988. ${GEN_DEPENDS}
  989. eelf32ltsmipn32.c: $(srcdir)/emulparams/elf32ltsmipn32.sh \
  990. $(srcdir)/emulparams/elf32btsmipn32.sh \
  991. $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
  992. $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  993. eelf32ltsmipn32_fbsd.c: $(srcdir)/emulparams/elf32ltsmipn32_fbsd.sh \
  994. $(srcdir)/emulparams/elf32btsmipn32.sh \
  995. $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
  996. $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  997. eelf32m32c.c: $(srcdir)/emulparams/elf32m32c.sh \
  998. $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
  999. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1000. eelf32mbel_linux.c: $(srcdir)/emulparams/elf32mbel_linux.sh \
  1001. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1002. eelf32mb_linux.c: $(srcdir)/emulparams/elf32mb_linux.sh \
  1003. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1004. eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \
  1005. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1006. eelf32mep.c: $(srcdir)/emulparams/elf32mep.sh \
  1007. $(ELF_DEPS) $(srcdir)/scripttempl/mep.sc ${GEN_DEPENDS}
  1008. eelf32metag.c: $(srcdir)/emulparams/elf32metag.sh \
  1009. $(ELF_DEPS) $(srcdir)/emultempl/metagelf.em \
  1010. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1011. eelf32microblazeel.c: $(srcdir)/emulparams/elf32microblazeel.sh \
  1012. $(ELF_DEPS) $(srcdir)/scripttempl/elfmicroblaze.sc ${GEN_DEPENDS}
  1013. eelf32microblaze.c: $(srcdir)/emulparams/elf32microblaze.sh \
  1014. $(ELF_DEPS) $(srcdir)/scripttempl/elfmicroblaze.sc ${GEN_DEPENDS}
  1015. eelf32mipswindiss.c: $(srcdir)/emulparams/elf32mipswindiss.sh $(ELF_DEPS) \
  1016. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1017. eelf32moxie.c: $(srcdir)/emulparams/elf32moxie.sh \
  1018. $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1019. emoxiebox.c: $(srcdir)/emulparams/moxiebox.sh \
  1020. $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1021. eelf32mt.c: $(srcdir)/emulparams/elf32mt.sh \
  1022. $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1023. eelf32or1k.c: $(srcdir)/emulparams/elf32or1k.sh \
  1024. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1025. eelf32or1k_linux.c: $(srcdir)/emulparams/elf32or1k_linux.sh \
  1026. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1027. eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \
  1028. $(srcdir)/emulparams/elf32ppccommon.sh \
  1029. $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
  1030. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1031. eelf32ppc_fbsd.c: $(srcdir)/emulparams/elf32ppc_fbsd.sh \
  1032. $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
  1033. $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
  1034. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1035. eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \
  1036. $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
  1037. $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
  1038. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1039. eelf32ppcnto.c: $(srcdir)/emulparams/elf32ppcnto.sh \
  1040. $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
  1041. $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
  1042. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1043. eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \
  1044. $(srcdir)/emulparams/elf32ppc.sh $(srcdir)/emulparams/elf32ppccommon.sh \
  1045. $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
  1046. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1047. eelf32ppcvxworks.c: $(srcdir)/emulparams/elf32ppcvxworks.sh \
  1048. $(srcdir)/emulparams/elf32ppccommon.sh $(srcdir)/emulparams/vxworks.sh \
  1049. $(srcdir)/emultempl/ppc32elf.em ldemul-list.h \
  1050. $(srcdir)/emultempl/vxworks.em \
  1051. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1052. eelf32ppcwindiss.c: $(srcdir)/emulparams/elf32ppcwindiss.sh \
  1053. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1054. eelf32rl78.c: $(srcdir)/emulparams/elf32rl78.sh \
  1055. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1056. eelf32rx.c: $(srcdir)/emulparams/elf32rx.sh \
  1057. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1058. eelf32tilegx.c: $(srcdir)/emulparams/elf32tilegx.sh \
  1059. $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
  1060. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1061. eelf32tilegx_be.c: $(srcdir)/emulparams/elf32tilegx_be.sh \
  1062. $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
  1063. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1064. eelf32tilepro.c: $(srcdir)/emulparams/elf32tilepro.sh \
  1065. $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
  1066. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1067. eelf32vax.c: $(srcdir)/emulparams/elf32vax.sh \
  1068. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1069. eelf32visium.c: $(srcdir)/emulparams/elf32visium.sh \
  1070. $(ELF_DEPS) $(srcdir)/scripttempl/visium.sc ${GEN_DEPENDS}
  1071. eelf32xc16x.c: $(srcdir)/emulparams/elf32xc16x.sh \
  1072. $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
  1073. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1074. eelf32xc16xl.c: $(srcdir)/emulparams/elf32xc16xl.sh \
  1075. $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
  1076. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1077. eelf32xc16xs.c: $(srcdir)/emulparams/elf32xc16xs.sh \
  1078. $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
  1079. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1080. eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \
  1081. $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
  1082. $(srcdir)/scripttempl/xstormy16.sc ${GEN_DEPENDS}
  1083. eelf32xtensa.c: $(srcdir)/emulparams/elf32xtensa.sh $(ELF_DEPS) \
  1084. $(srcdir)/emultempl/xtensaelf.em $(INCDIR)/xtensa-config.h \
  1085. $(BFDDIR)/elf-bfd.h $(BFDDIR)/libbfd.h $(INCDIR)/elf/xtensa.h \
  1086. $(srcdir)/scripttempl/elfxtensa.sc ${GEN_DEPENDS}
  1087. eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
  1088. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1089. eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \
  1090. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1091. eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \
  1092. $(ELF_DEPS) $(srcdir)/scripttempl/elf_chaos.sc ${GEN_DEPENDS}
  1093. eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \
  1094. $(srcdir)/emulparams/elf_i386.sh \
  1095. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1096. eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \
  1097. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1098. eelf_i386_nacl.c: $(srcdir)/emulparams/elf_i386_nacl.sh \
  1099. $(srcdir)/emulparams/elf_i386.sh \
  1100. $(srcdir)/emulparams/elf_nacl.sh \
  1101. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1102. eelf_i386_sol2.c: $(srcdir)/emulparams/elf_i386_sol2.sh \
  1103. $(srcdir)/emulparams/solaris2.sh \
  1104. $(srcdir)/emultempl/solaris2.em \
  1105. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1106. eelf_i386_vxworks.c: $(srcdir)/emulparams/elf_i386_vxworks.sh \
  1107. $(srcdir)/emulparams/vxworks.sh $(srcdir)/emultempl/vxworks.em \
  1108. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1109. eelf_iamcu.c: $(srcdir)/emulparams/elf_iamcu.sh \
  1110. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1111. eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \
  1112. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1113. egld960.c: $(srcdir)/emulparams/gld960.sh \
  1114. $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
  1115. egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \
  1116. $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
  1117. eh8300.c: $(srcdir)/emulparams/h8300.sh \
  1118. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
  1119. eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \
  1120. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1121. eh8300elf_linux.c: $(srcdir)/emulparams/h8300elf_linux.sh \
  1122. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1123. eh8300h.c: $(srcdir)/emulparams/h8300h.sh \
  1124. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS}
  1125. eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \
  1126. $(srcdir)/emulparams/h8300elf.sh \
  1127. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1128. eh8300helf_linux.c: $(srcdir)/emulparams/h8300helf_linux.sh \
  1129. $(srcdir)/emulparams/h8300elf_linux.sh \
  1130. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1131. eh8300hn.c: $(srcdir)/emulparams/h8300hn.sh \
  1132. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300hn.sc ${GEN_DEPENDS}
  1133. eh8300hnelf.c: $(srcdir)/emulparams/h8300hnelf.sh \
  1134. $(srcdir)/emulparams/h8300elf.sh \
  1135. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1136. eh8300s.c: $(srcdir)/emulparams/h8300s.sh \
  1137. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS}
  1138. eh8300self.c: $(srcdir)/emulparams/h8300self.sh \
  1139. $(srcdir)/emulparams/h8300elf.sh \
  1140. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1141. eh8300self_linux.c: $(srcdir)/emulparams/h8300self_linux.sh \
  1142. $(srcdir)/emulparams/h8300elf.sh \
  1143. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1144. eh8300sn.c: $(srcdir)/emulparams/h8300sn.sh \
  1145. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sn.sc ${GEN_DEPENDS}
  1146. eh8300snelf.c: $(srcdir)/emulparams/h8300snelf.sh \
  1147. $(srcdir)/emulparams/h8300elf.sh \
  1148. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1149. eh8300sx.c: $(srcdir)/emulparams/h8300sx.sh \
  1150. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sx.sc ${GEN_DEPENDS}
  1151. eh8300sxelf.c: $(srcdir)/emulparams/h8300sxelf.sh \
  1152. $(srcdir)/emulparams/h8300elf.sh \
  1153. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1154. eh8300sxelf_linux.c: $(srcdir)/emulparams/h8300sxelf_linux.sh \
  1155. $(srcdir)/emulparams/h8300elf.sh \
  1156. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1157. eh8300sxn.c: $(srcdir)/emulparams/h8300sxn.sh \
  1158. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300sxn.sc ${GEN_DEPENDS}
  1159. eh8300sxnelf.c: $(srcdir)/emulparams/h8300sxnelf.sh \
  1160. $(srcdir)/emulparams/h8300elf.sh \
  1161. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1162. eh8500.c: $(srcdir)/emulparams/h8500.sh \
  1163. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS}
  1164. eh8500b.c: $(srcdir)/emulparams/h8500b.sh \
  1165. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS}
  1166. eh8500c.c: $(srcdir)/emulparams/h8500c.sh \
  1167. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS}
  1168. eh8500m.c: $(srcdir)/emulparams/h8500m.sh \
  1169. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS}
  1170. eh8500s.c: $(srcdir)/emulparams/h8500s.sh \
  1171. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS}
  1172. ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \
  1173. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
  1174. ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \
  1175. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
  1176. ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \
  1177. $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
  1178. $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS}
  1179. ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \
  1180. $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
  1181. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1182. ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \
  1183. $(srcdir)/emulparams/hppaelf.sh \
  1184. $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
  1185. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1186. ehppaobsd.c: $(srcdir)/emulparams/hppaobsd.sh \
  1187. $(ELF_DEPS) $(srcdir)/emultempl/hppaelf.em \
  1188. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1189. ei386aout.c: $(srcdir)/emulparams/i386aout.sh \
  1190. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
  1191. ei386beos.c: $(srcdir)/emulparams/i386beos.sh \
  1192. $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS}
  1193. ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \
  1194. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
  1195. ei386coff.c: $(srcdir)/emulparams/i386coff.sh \
  1196. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS}
  1197. ei386go32.c: $(srcdir)/emulparams/i386go32.sh \
  1198. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS}
  1199. ei386linux.c: $(srcdir)/emulparams/i386linux.sh \
  1200. $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
  1201. ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \
  1202. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1203. ei386mach.c: $(srcdir)/emulparams/i386mach.sh \
  1204. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
  1205. ei386moss.c: $(srcdir)/emulparams/i386moss.sh \
  1206. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1207. ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \
  1208. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS}
  1209. ei386nbsd.c: $(srcdir)/emulparams/i386nbsd.sh \
  1210. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
  1211. ei386nto.c: $(srcdir)/emulparams/i386nto.sh \
  1212. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1213. ei386nw.c: $(srcdir)/emulparams/i386nw.sh \
  1214. $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
  1215. ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
  1216. $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
  1217. ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
  1218. $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
  1219. ei386pep.c: $(srcdir)/emulparams/i386pep.sh \
  1220. $(srcdir)/emultempl/pep.em $(srcdir)/scripttempl/pep.sc ${GEN_DEPENDS}
  1221. elnk960.c: $(srcdir)/emulparams/lnk960.sh \
  1222. $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
  1223. em32relf.c: $(srcdir)/emulparams/m32relf.sh \
  1224. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1225. em32relf_linux.c: $(srcdir)/emulparams/m32relf_linux.sh \
  1226. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1227. em32rlelf.c: $(srcdir)/emulparams/m32rlelf.sh \
  1228. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1229. em32rlelf_linux.c: $(srcdir)/emulparams/m32rlelf_linux.sh \
  1230. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1231. em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \
  1232. $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
  1233. $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
  1234. em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \
  1235. $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
  1236. $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS}
  1237. em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \
  1238. $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
  1239. $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
  1240. em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \
  1241. $(srcdir)/emultempl/m68hc1xelf.em $(ELF_DEPS) \
  1242. $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS}
  1243. em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \
  1244. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
  1245. em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \
  1246. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
  1247. em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \
  1248. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS}
  1249. em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \
  1250. $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS}
  1251. em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \
  1252. $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
  1253. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1254. em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \
  1255. $(srcdir)/emulparams/m68kelf.sh \
  1256. $(ELF_DEPS) $(srcdir)/emultempl/m68kelf.em \
  1257. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1258. em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \
  1259. $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
  1260. em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \
  1261. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
  1262. em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \
  1263. $(ELF_DEPS) $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS}
  1264. em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
  1265. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
  1266. emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \
  1267. $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
  1268. emn10200.c: $(srcdir)/emulparams/mn10200.sh \
  1269. $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1270. emn10300.c: $(srcdir)/emulparams/mn10300.sh \
  1271. $(srcdir)/emulparams/mn10200.sh \
  1272. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1273. emsp430elf.c: $(srcdir)/emulparams/msp430elf.sh \
  1274. $(ELF_DEPS) $(srcdir)/emultempl/msp430.em \
  1275. $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS}
  1276. emsp430X.c: $(srcdir)/emulparams/msp430elf.sh $(srcdir)/emulparams/msp430X.sh \
  1277. $(ELF_DEPS) $(srcdir)/emultempl/msp430.em \
  1278. $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf32msp430.sc ${GEN_DEPENDS}
  1279. ends32elf.c: $(srcdir)/emulparams/nds32elf.sh \
  1280. $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
  1281. $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
  1282. ends32elf16m.c: $(srcdir)/emulparams/nds32elf16m.sh \
  1283. $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
  1284. $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
  1285. ends32belf.c: $(srcdir)/emulparams/nds32belf.sh \
  1286. $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
  1287. $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
  1288. ends32belf16m.c: $(srcdir)/emulparams/nds32belf16m.sh \
  1289. $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
  1290. $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
  1291. ends32elf_linux.c: $(srcdir)/emulparams/nds32elf_linux.sh \
  1292. $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
  1293. $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
  1294. ends32belf_linux.c: $(srcdir)/emulparams/nds32belf_linux.sh \
  1295. $(ELF_DEPS) $(srcdir)/emultempl/nds32elf.em \
  1296. $(srcdir)/scripttempl/nds32elf.sc ${GEN_DEPENDS}
  1297. enews.c: $(srcdir)/emulparams/news.sh \
  1298. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
  1299. enios2elf.c: $(srcdir)/emulparams/nios2elf.sh \
  1300. $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/nios2elf.em \
  1301. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1302. enios2linux.c: $(srcdir)/emulparams/nios2linux.sh \
  1303. $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/nios2elf.em \
  1304. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1305. ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \
  1306. $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/netbsd.em \
  1307. $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
  1308. eaarch64elf.c: $(srcdir)/emulparams/aarch64elf.sh \
  1309. $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
  1310. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1311. eaarch64elf32.c: $(srcdir)/emulparams/aarch64elf32.sh \
  1312. $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
  1313. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1314. eaarch64elfb.c: $(srcdir)/emulparams/aarch64elfb.sh $(srcdir)/emulparams/aarch64elf.sh \
  1315. $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
  1316. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1317. eaarch64elf32b.c: $(srcdir)/emulparams/aarch64elf32b.sh $(srcdir)/emulparams/aarch64elf32.sh \
  1318. $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
  1319. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1320. eaarch64fbsd.c: $(srcdir)/emulparams/aarch64fbsd.sh \
  1321. $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
  1322. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1323. eaarch64fbsdb.c: $(srcdir)/emulparams/aarch64fbsdb.sh $(srcdir)/emulparams/aarch64fbsd.sh \
  1324. $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
  1325. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1326. eaarch64linux.c: $(srcdir)/emulparams/aarch64linux.sh \
  1327. $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
  1328. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1329. eaarch64linuxb.c: $(srcdir)/emulparams/aarch64linuxb.sh $(srcdir)/emulparams/aarch64linux.sh \
  1330. $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
  1331. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1332. eaarch64linux32.c: $(srcdir)/emulparams/aarch64linux32.sh \
  1333. $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
  1334. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1335. eaarch64linux32b.c: $(srcdir)/emulparams/aarch64linux32b.sh $(srcdir)/emulparams/aarch64linux32.sh \
  1336. $(ELF_DEPS) $(srcdir)/emultempl/aarch64elf.em \
  1337. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1338. epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \
  1339. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
  1340. epdp11.c: $(srcdir)/emulparams/pdp11.sh \
  1341. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
  1342. epjelf.c: $(srcdir)/emulparams/pjelf.sh \
  1343. $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1344. epjlelf.c: $(srcdir)/emulparams/pjlelf.sh $(srcdir)/emulparams/pjelf.sh \
  1345. $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1346. eppclynx.c: $(srcdir)/emulparams/ppclynx.sh \
  1347. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1348. eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \
  1349. $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS}
  1350. eppcnw.c: $(srcdir)/emulparams/ppcnw.sh \
  1351. $(ELF_DEPS) $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS}
  1352. eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \
  1353. $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS}
  1354. eriscix.c: $(srcdir)/emulparams/riscix.sh \
  1355. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
  1356. escore3_elf.c: $(srcdir)/emulparams/score3_elf.sh \
  1357. $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
  1358. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1359. escore7_elf.c: $(srcdir)/emulparams/score3_elf.sh \
  1360. $(srcdir)/emulparams/score7_elf.sh \
  1361. $(ELF_DEPS) $(srcdir)/emultempl/scoreelf.em \
  1362. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1363. esh.c: $(srcdir)/emulparams/sh.sh \
  1364. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
  1365. eshelf.c: $(srcdir)/emulparams/shelf.sh \
  1366. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1367. eshelf32.c: $(srcdir)/emulparams/shelf32.sh \
  1368. $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
  1369. $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
  1370. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1371. eshelf32_linux.c: $(srcdir)/emulparams/shelf32_linux.sh \
  1372. $(srcdir)/emulparams/shelf32.sh \
  1373. $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
  1374. $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
  1375. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1376. eshelf32_nbsd.c: $(srcdir)/emulparams/shelf32_nbsd.sh \
  1377. $(srcdir)/emulparams/shelf32.sh \
  1378. $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
  1379. $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
  1380. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1381. eshelf_fd.c: $(srcdir)/emulparams/shelf_fd.sh \
  1382. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1383. eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \
  1384. $(srcdir)/emulparams/shlelf_linux.sh \
  1385. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1386. eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \
  1387. $(srcdir)/emulparams/shelf.sh \
  1388. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1389. eshelf_nto.c: $(srcdir)/emulparams/shelf_nto.sh \
  1390. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1391. eshelf_uclinux.c: $(srcdir)/emulparams/shelf_uclinux.sh \
  1392. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1393. eshelf_vxworks.c: $(srcdir)/emulparams/shelf_vxworks.sh \
  1394. $(srcdir)/emulparams/vxworks.sh $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc \
  1395. $(srcdir)/emultempl/vxworks.em ${GEN_DEPENDS}
  1396. eshl.c: $(srcdir)/emulparams/shl.sh \
  1397. $(srcdir)/emulparams/sh.sh \
  1398. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS}
  1399. eshlelf.c: $(srcdir)/emulparams/shlelf.sh \
  1400. $(srcdir)/emulparams/shelf.sh \
  1401. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1402. eshlelf32.c: $(srcdir)/emulparams/shlelf32.sh \
  1403. $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h $(srcdir)/emulparams/shelf32.sh \
  1404. $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
  1405. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1406. eshlelf32_linux.c: $(srcdir)/emulparams/shlelf32_linux.sh \
  1407. $(srcdir)/emulparams/shelf32_linux.sh $(srcdir)/emulparams/shelf32.sh \
  1408. $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
  1409. $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
  1410. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1411. eshlelf32_nbsd.c: $(srcdir)/emulparams/shlelf32_nbsd.sh \
  1412. $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
  1413. $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \
  1414. $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
  1415. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1416. eshlelf_fd.c: $(srcdir)/emulparams/shlelf_fd.sh \
  1417. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1418. eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \
  1419. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1420. eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \
  1421. $(srcdir)/emulparams/shelf_nbsd.sh \
  1422. $(srcdir)/emulparams/shelf.sh \
  1423. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1424. eshlelf_nto.c: $(srcdir)/emulparams/shlelf_nto.sh \
  1425. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1426. eshlelf_vxworks.c: $(srcdir)/emulparams/shlelf_vxworks.sh \
  1427. $(srcdir)/emulparams/shelf_vxworks.sh $(srcdir)/emulparams/vxworks.sh \
  1428. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc $(srcdir)/emultempl/vxworks.em \
  1429. ${GEN_DEPENDS}
  1430. eshlsymbian.c: $(srcdir)/emulparams/shlsymbian.sh \
  1431. $(srcdir)/emulparams/shelf.sh \
  1432. $(ELF_DEPS) $(srcdir)/scripttempl/elf32sh-symbian.sc ${GEN_DEPENDS}
  1433. eshpe.c: $(srcdir)/emulparams/shpe.sh \
  1434. $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
  1435. esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \
  1436. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
  1437. esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \
  1438. $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
  1439. esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \
  1440. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
  1441. est2000.c: $(srcdir)/emulparams/st2000.sh \
  1442. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS}
  1443. esun3.c: $(srcdir)/emulparams/sun3.sh \
  1444. $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
  1445. esun4.c: $(srcdir)/emulparams/sun4.sh \
  1446. $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
  1447. etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \
  1448. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS}
  1449. etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \
  1450. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS}
  1451. etic3xcoff.c: $(srcdir)/emulparams/tic3xcoff.sh \
  1452. $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
  1453. etic3xcoff_onchip.c: $(srcdir)/emulparams/tic3xcoff_onchip.sh \
  1454. $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
  1455. etic4xcoff.c: $(srcdir)/emulparams/tic4xcoff.sh \
  1456. $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic4xcoff.sc ${GEN_DEPENDS}
  1457. etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \
  1458. $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS}
  1459. etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \
  1460. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS}
  1461. ev850.c: $(srcdir)/emulparams/v850.sh $(srcdir)/emultempl/v850elf.em \
  1462. $(ELF_DEPS) $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS}
  1463. ev850_rh850.c: $(srcdir)/emulparams/v850_rh850.sh $(srcdir)/emultempl/v850elf.em \
  1464. $(ELF_DEPS) $(srcdir)/scripttempl/v850_rh850.sc ${GEN_DEPENDS}
  1465. evanilla.c: $(srcdir)/emulparams/vanilla.sh \
  1466. $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS}
  1467. evax.c: $(srcdir)/emulparams/vax.sh \
  1468. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
  1469. evaxnbsd.c: $(srcdir)/emulparams/vaxnbsd.sh \
  1470. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
  1471. evsta.c: $(srcdir)/emulparams/vsta.sh \
  1472. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
  1473. ew65.c: $(srcdir)/emulparams/w65.sh \
  1474. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
  1475. exgateelf.c: $(srcdir)/emulparams/xgateelf.sh \
  1476. $(srcdir)/emultempl/generic.em $(ELF_DEPS) \
  1477. $(srcdir)/scripttempl/elfxgate.sc ${GEN_DEPENDS}
  1478. ez80.c: $(srcdir)/emulparams/z80.sh \
  1479. $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/z80.em \
  1480. $(srcdir)/scripttempl/z80.sc ${GEN_DEPENDS}
  1481. ez8001.c: $(srcdir)/emulparams/z8001.sh \
  1482. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
  1483. ez8002.c: $(srcdir)/emulparams/z8002.sh \
  1484. $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS}
  1485. eelf32_x86_64.c: $(srcdir)/emulparams/elf32_x86_64.sh \
  1486. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1487. eelf32_x86_64_nacl.c: $(srcdir)/emulparams/elf32_x86_64_nacl.sh \
  1488. $(srcdir)/emulparams/elf32_x86_64.sh \
  1489. $(srcdir)/emulparams/elf_nacl.sh \
  1490. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1491. eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \
  1492. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1493. eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \
  1494. $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
  1495. $(srcdir)/emultempl/needrelax.em \
  1496. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1497. eelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \
  1498. $(srcdir)/emulparams/elf64_ia64.sh \
  1499. $(ELF_DEPS) $(srcdir)/emultempl/ia64elf.em \
  1500. $(srcdir)/emultempl/needrelax.em \
  1501. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1502. eelf64_ia64_vms.c: $(srcdir)/emulparams/elf64_ia64_vms.sh \
  1503. $(srcdir)/emultempl/vms.em $(srcdir)/emultempl/elf-generic.em \
  1504. $(srcdir)/scripttempl/ia64vms.sc ${GEN_DEPENDS}
  1505. eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \
  1506. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1507. eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \
  1508. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1509. eelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \
  1510. $(srcdir)/emulparams/elf64_sparc.sh \
  1511. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1512. eelf64_sparc_sol2.c: $(srcdir)/emulparams/elf64_sparc_sol2.sh \
  1513. $(srcdir)/emulparams/elf64_sparc.sh \
  1514. $(srcdir)/emulparams/solaris2.sh \
  1515. $(srcdir)/emultempl/solaris2.em \
  1516. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1517. eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \
  1518. $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
  1519. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1520. eelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \
  1521. $(srcdir)/emulparams/elf64alpha.sh \
  1522. $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
  1523. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1524. eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \
  1525. $(srcdir)/emulparams/elf64alpha.sh \
  1526. $(ELF_DEPS) $(srcdir)/emultempl/alphaelf.em \
  1527. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1528. eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \
  1529. $(srcdir)/emulparams/elf64bmip-defs.sh \
  1530. $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
  1531. $(srcdir)/emultempl/irix.em $(srcdir)/emultempl/mipself.em \
  1532. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1533. eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \
  1534. $(srcdir)/emulparams/elf64bmip-defs.sh \
  1535. $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
  1536. $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1537. eelf64btsmip_fbsd.c: $(srcdir)/emulparams/elf64btsmip_fbsd.sh \
  1538. $(srcdir)/emulparams/elf64bmip-defs.sh \
  1539. $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
  1540. $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1541. eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \
  1542. $(ELF_DEPS) $(srcdir)/scripttempl/elf64hppa.sc ${GEN_DEPENDS}
  1543. eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \
  1544. $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
  1545. ldemul-list.h \
  1546. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1547. eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \
  1548. $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
  1549. $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
  1550. $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1551. eelf64ltsmip_fbsd.c: $(srcdir)/emulparams/elf64ltsmip_fbsd.sh \
  1552. $(srcdir)/emulparams/elf64btsmip_fbsd.sh $(srcdir)/emulparams/elf64bmip-defs.sh \
  1553. $(srcdir)/emulparams/elf32bmipn32-defs.sh $(ELF_DEPS) \
  1554. $(srcdir)/emultempl/mipself.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1555. eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \
  1556. $(ELF_DEPS) $(srcdir)/emultempl/mmix-elfnmmo.em \
  1557. $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1558. eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \
  1559. ldemul-list.h \
  1560. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1561. eelf64ppc_fbsd.c: $(srcdir)/emulparams/elf64ppc_fbsd.sh \
  1562. $(srcdir)/emultempl/ppc64elf.em ldemul-list.h \
  1563. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1564. eelf64rdos.c: $(srcdir)/emulparams/elf64rdos.sh \
  1565. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1566. eelf64tilegx.c: $(srcdir)/emulparams/elf64tilegx.sh \
  1567. $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
  1568. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1569. eelf64tilegx_be.c: $(srcdir)/emulparams/elf64tilegx_be.sh \
  1570. $(ELF_DEPS) $(srcdir)/emultempl/needrelax.em \
  1571. $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1572. eelf_l1om.c: $(srcdir)/emulparams/elf_l1om.sh \
  1573. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1574. eelf_l1om_fbsd.c: $(srcdir)/emulparams/elf_l1om_fbsd.sh \
  1575. $(srcdir)/emulparams/elf_l1om.sh \
  1576. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1577. eelf_k1om.c: $(srcdir)/emulparams/elf_k1om.sh \
  1578. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1579. eelf_k1om_fbsd.c: $(srcdir)/emulparams/elf_k1om_fbsd.sh \
  1580. $(srcdir)/emulparams/elf_k1om.sh \
  1581. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1582. eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
  1583. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1584. eelf_x86_64_cloudabi.c: $(srcdir)/emulparams/elf_x86_64_cloudabi.sh \
  1585. $(srcdir)/emulparams/elf_x86_64.sh \
  1586. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1587. eelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \
  1588. $(srcdir)/emulparams/elf_x86_64.sh \
  1589. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1590. eelf_x86_64_nacl.c: $(srcdir)/emulparams/elf_x86_64_nacl.sh \
  1591. $(srcdir)/emulparams/elf_x86_64.sh \
  1592. $(srcdir)/emulparams/elf_nacl.sh \
  1593. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1594. eelf_x86_64_sol2.c: $(srcdir)/emulparams/elf_x86_64_sol2.sh \
  1595. $(srcdir)/emulparams/elf_x86_64.sh \
  1596. $(srcdir)/emulparams/solaris2.sh \
  1597. $(srcdir)/emultempl/solaris2.em \
  1598. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1599. ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \
  1600. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1601. emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \
  1602. $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em \
  1603. $(srcdir)/emultempl/mmo.em $(srcdir)/scripttempl/DWARF.sc \
  1604. $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS}
  1605. eshelf64.c: $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
  1606. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1607. eshelf64_nbsd.c: $(srcdir)/emulparams/shelf64_nbsd.sh \
  1608. $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
  1609. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1610. eshlelf64.c: $(srcdir)/emulparams/shlelf64.sh \
  1611. $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \
  1612. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1613. eshlelf64_nbsd.c: $(srcdir)/emulparams/shlelf64_nbsd.sh \
  1614. $(srcdir)/emulparams/shelf64_nbsd.sh \
  1615. $(srcdir)/emulparams/shelf32_nbsd.sh $(srcdir)/emulparams/shelf32.sh \
  1616. $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  1617. # We need this for automake to use YLWRAP.
  1618. EXTRA_ld_new_SOURCES = deffilep.y ldlex.l
  1619. # Allow dependency tracking to work for these files, too.
  1620. EXTRA_ld_new_SOURCES += pep-dll.c pe-dll.c
  1621. ld_new_SOURCES = ldgram.y ldlex-wrapper.c lexsup.c ldlang.c mri.c ldctor.c ldmain.c \
  1622. ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c $(PLUGIN_C) \
  1623. ldbuildid.c
  1624. ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) \
  1625. $(BFDLIB) $(LIBIBERTY) $(LIBINTL_DEP)
  1626. ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(LIBINTL)
  1627. # Dependency tracking for the generated emulation files.
  1628. EXTRA_ld_new_SOURCES += $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES)
  1629. # This is the real libbfd.a created by libtool.
  1630. TESTBFDLIB = @TESTBFDLIB@
  1631. check-DEJAGNU: site.exp
  1632. srcroot=`cd $(srcdir) && pwd`; export srcroot; \
  1633. r=`pwd`; export r; \
  1634. LC_ALL=C; export LC_ALL; \
  1635. EXPECT=$(EXPECT); export EXPECT; \
  1636. runtest=$(RUNTEST); \
  1637. if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
  1638. $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \
  1639. CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \
  1640. CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \
  1641. CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \
  1642. OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \
  1643. LIBIBERTY="$(LIBIBERTY) $(LIBINTL)" LIBS="$(LIBS)" \
  1644. DO_COMPARE="`echo '$(do_compare)' | sed -e 's,\\$$,,g'`" \
  1645. $(RUNTESTFLAGS); \
  1646. else echo "WARNING: could not find \`runtest'" 1>&2; :;\
  1647. fi
  1648. # Rules for testing by relinking ld itself.
  1649. # A similar test is in the testsuite. This target is for ease of use
  1650. # when porting ld.
  1651. ld-partial.@OBJEXT@: ld-new$(EXEEXT)
  1652. ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.@OBJEXT@ -r $(OFILES)
  1653. ld1$(EXEEXT): ld-partial.@OBJEXT@
  1654. ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.@OBJEXT@ $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
  1655. ld1-full$(EXEEXT): ld-new
  1656. ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
  1657. ld2$(EXEEXT): ld1$(EXEEXT)
  1658. ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
  1659. ld3$(EXEEXT): ld2$(EXEEXT)
  1660. ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS)
  1661. bootstrap: ld3$(EXEEXT)
  1662. cmp ld2$(EXEEXT) ld3$(EXEEXT)
  1663. .PHONY: bootstrap
  1664. # A test program for C++ constructors and destructors.
  1665. # This test is now in the testsuite.
  1666. #
  1667. #cdtest: cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ ld.new
  1668. # ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \
  1669. # cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ $(HOSTING_LIBS)
  1670. #
  1671. #cdtest.out: cdtest
  1672. # ./cdtest > cdtest.tmp
  1673. # mv cdtest.tmp cdtest.out
  1674. #
  1675. #cdtest-ur.@OBJEXT@: cdtest-main.@OBJEXT@ cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@ ld.new
  1676. # ./ld.new $(HOSTING_EMU) -o cdtest-ur.@OBJEXT@ -Ur cdtest-main.@OBJEXT@ \
  1677. # cdtest-bar.@OBJEXT@ cdtest-foo.@OBJEXT@
  1678. #
  1679. #cdtest-ur: cdtest-ur.@OBJEXT@
  1680. # ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.@OBJEXT@ \
  1681. # $(HOSTING_LIBS)
  1682. #
  1683. #cdtest-ur.out: cdtest-ur
  1684. # ./cdtest-ur > cdtest-ur.tmp
  1685. # mv cdtest-ur.tmp cdtest-ur.out
  1686. #
  1687. #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp
  1688. # diff $(srcdir)/cdtest.exp cdtest.out
  1689. # diff $(srcdir)/cdtest.exp cdtest-ur.out
  1690. #
  1691. #.PHONY: check-cdtest
  1692. # END OF CHECK TARGETS
  1693. #
  1694. # Build a dummy plugin using libtool.
  1695. #
  1696. if ENABLE_PLUGINS
  1697. noinst_LTLIBRARIES = libldtestplug.la libldtestplug2.la libldtestplug3.la
  1698. libldtestplug_la_SOURCES = testplug.c
  1699. libldtestplug_la_CFLAGS= -g -O2
  1700. libldtestplug_la_LDFLAGS = -no-undefined -rpath /nowhere
  1701. libldtestplug2_la_SOURCES = testplug2.c
  1702. libldtestplug2_la_CFLAGS= -g -O2
  1703. libldtestplug2_la_LDFLAGS = -no-undefined -rpath /nowhere
  1704. libldtestplug3_la_SOURCES = testplug3.c
  1705. libldtestplug3_la_CFLAGS= -g -O2
  1706. libldtestplug3_la_LDFLAGS = -no-undefined -rpath /nowhere
  1707. endif
  1708. # DOCUMENTATION TARGETS
  1709. # Manual configuration file; not usually attached to normal configuration,
  1710. # because almost all configs use "gen" version of manual.
  1711. # Set DOCVER above to change.
  1712. configdoc.texi: ${DOCVER}-doc.texi
  1713. cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi
  1714. chmod u+w ./configdoc.texi
  1715. # Build the man page from the texinfo file
  1716. # The sed command removes the no-adjust Nroff command so that
  1717. # the man output looks standard.
  1718. ld.1: $(srcdir)/ld.texinfo configdoc.texi
  1719. touch $@
  1720. -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
  1721. -($(POD2MAN) ld.pod | \
  1722. sed -e '/^.if n .na/d' > $@.T$$$$ && \
  1723. mv -f $@.T$$$$ $@) || \
  1724. (rm -f $@.T$$$$ && exit 1)
  1725. rm -f ld.pod
  1726. MAINTAINERCLEANFILES = configdoc.texi ld.1
  1727. # We want to reconfigure if configure.host or configure.tgt changes.
  1728. # development.sh is used to determine -Werror default.
  1729. CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt \
  1730. $(BFDDIR)/development.sh
  1731. MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \
  1732. ldemul-list.h crtbegin.@OBJEXT@ crtend.@OBJEXT@ ld.log ld.sum
  1733. mostlyclean-local:
  1734. -rm -rf tmpdir
  1735. CLEANFILES = dep.sed DEP DEPA DEP1 DEP2 spu_ovl.s spu_ovl.@OBJEXT@ spu_icache.s spu_icache.@OBJEXT@
  1736. .PHONY: install-exec-local install-data-local
  1737. install-exec-local: ld-new$(EXEEXT) install-binPROGRAMS
  1738. $(mkinstalldirs) $(DESTDIR)$(tooldir)/bin
  1739. n=`echo $(installed_linker) | sed '$(transform)'`; \
  1740. if test "$(bindir)" != "$(tooldir)/bin"; then \
  1741. rm -f $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
  1742. ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT) >/dev/null 2>/dev/null \
  1743. || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
  1744. fi; \
  1745. if test "x$(install_as_default)" = "xyes"; then \
  1746. ld=`echo ld | sed '$(transform)'`; \
  1747. rm -f $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
  1748. ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT) >/dev/null 2>/dev/null \
  1749. || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
  1750. if test "$(bindir)" != "$(tooldir)/bin"; then \
  1751. rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
  1752. ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
  1753. || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
  1754. fi; \
  1755. fi
  1756. install-data-local:
  1757. $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
  1758. for f in ldscripts/* ; do \
  1759. $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
  1760. done
  1761. # Stuff that should be included in a distribution. The diststuff
  1762. # target is run by the taz target in ../Makefile.in.
  1763. EXTRA_DIST = ldgram.c ldgram.h ldlex.c emultempl/spu_ovl.@OBJEXT@_c \
  1764. emultempl/spu_icache.@OBJEXT@_c deffilep.c deffilep.h $(man_MANS)
  1765. diststuff: info $(EXTRA_DIST)
  1766. # Both info (ld.info) and ld.1 depend on configdoc.texi.
  1767. # But info isn't a direct target. Make info-recursive to depend on
  1768. # ld.1 to support parallel build.
  1769. info-recursive: ld.1
  1770. DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
  1771. distclean-local:
  1772. rm -rf ldscripts
  1773. MAINTAINERCLEANFILES += ld.info
  1774. # Automake 1.9 will only build info files in the objdir if they are
  1775. # mentioned in DISTCLEANFILES. It doesn't have to be unconditional,
  1776. # though, so we use a bogus condition.
  1777. if GENINSRC_NEVER
  1778. DISTCLEANFILES += ld.info
  1779. endif