Makefile.am revision 99461
1## Process this file with automake to generate Makefile.in 2 3## FIXME: work around apparent automake bug. 4INTLLIBS = @INTLLIBS@ 5 6AUTOMAKE_OPTIONS = cygnus dejagnu 7 8SUBDIRS = po 9 10tooldir = $(exec_prefix)/$(target_alias) 11 12YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi` 13YFLAGS = -d 14LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi` 15 16WARN_CFLAGS = @WARN_CFLAGS@ 17AM_CFLAGS = $(WARN_CFLAGS) 18 19# We put the scripts in the directory $(scriptdir)/ldscripts. 20# We can't put the scripts in $(datadir) because the SEARCH_DIR 21# directives need to be different for native and cross linkers. 22scriptdir = $(tooldir)/lib 23 24EMUL = @EMUL@ 25EMULATION_OFILES = @EMULATION_OFILES@ 26EMUL_EXTRA_OFILES = @EMUL_EXTRA_OFILES@ 27 28# Search path to override the default search path for -lfoo libraries. 29# If LIB_PATH is empty, the ones in the script (if any) are left alone. 30# (The default is usually /lib:/usr/lib:/usr/local/lib, unless building 31# a cross-linker, in which case the default is empty. See genscripts.sh.) 32# Otherwise, they are replaced with the ones given in LIB_PATH, 33# which may have the form: LIB_PATH=/lib:/usr/local/lib 34LIB_PATH = 35 36BASEDIR = $(srcdir)/.. 37BFDDIR = $(BASEDIR)/bfd 38INCDIR = $(BASEDIR)/include 39MKDEP = gcc -MM 40 41# What version of the manual to build 42DOCVER = gen 43 44# Options to extract the man page from ld.texinfo 45MANCONF = -Dman 46 47TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl 48 49POD2MAN = pod2man --center="GNU Development Tools" \ 50 --release="binutils-$(VERSION)" --section=1 51 52#stuff for self hosting (can be overridden in config file). 53HOSTING_CRT0 = @HOSTING_CRT0@ 54HOSTING_LIBS = @HOSTING_LIBS@ 55HOSTING_EMU = -m $(EMUL) 56 57# Setup the testing framework, if you have one 58EXPECT = `if [ -f $$r/../expect/expect ] ; \ 59 then echo $$r/../expect/expect ; \ 60 else echo expect ; fi` 61 62RUNTEST = `if [ -f $${srcroot}/../dejagnu/runtest ] ; \ 63 then echo $${srcroot}/../dejagnu/runtest ; \ 64 else echo runtest ; fi` 65 66RUNTESTFLAGS = 67 68CC_FOR_TARGET = ` \ 69 if [ -f $$r/../gcc/xgcc ] ; then \ 70 if [ -f $$r/../newlib/Makefile ] ; then \ 71 echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \ 72 else \ 73 echo $$r/../gcc/xgcc -B$$r/../gcc/; \ 74 fi; \ 75 else \ 76 if [ "@host@" = "@target@" ] ; then \ 77 echo $(CC); \ 78 else \ 79 echo gcc | sed '$(transform)'; \ 80 fi; \ 81 fi` 82 83CXX = gcc 84CXX_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 $(CXX); \ 94 else \ 95 echo gcc | sed '$(transform)'; \ 96 fi; \ 97 fi` 98 99noinst_PROGRAMS = ld-new 100info_TEXINFOS = ld.texinfo 101noinst_TEXINFOS = ldint.texinfo 102man_MANS = ld.1 103 104INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) -I$(top_srcdir)/../intl -I../intl $(HDEFINES) $(CFLAGS) -DLOCALEDIR="\"$(prefix)/share/locale\"" 105 106BFDLIB = ../bfd/libbfd.la 107LIBIBERTY = ../libiberty/libiberty.a 108 109ALL_EMULATIONS = \ 110 ea29k.o \ 111 eaixppc.o \ 112 eaixrs6.o \ 113 ealpha.o \ 114 earcelf.o \ 115 earm_epoc_pe.o \ 116 earmaoutb.o \ 117 earmaoutl.o \ 118 earmcoff.o \ 119 earmelf.o \ 120 earmelf_fbsd.o \ 121 earmelf_linux.o \ 122 earmelf_nbsd.o \ 123 earmelf_oabi.o \ 124 earmnbsd.o \ 125 earmpe.o \ 126 eavr1200.o \ 127 eavr23xx.o \ 128 eavr4433.o \ 129 eavr44x4.o \ 130 eavr85xx.o \ 131 eavrmega103.o \ 132 eavrmega161.o \ 133 eavrmega603.o \ 134 ecoff_sparc.o \ 135 ecrisaout.o \ 136 ecriself.o \ 137 ecrislinux.o \ 138 ed10velf.o \ 139 ed30v_e.o \ 140 ed30v_o.o \ 141 ed30velf.o \ 142 edelta68.o \ 143 eebmon29k.o \ 144 eelf32_i960.o \ 145 eelf32_i860.o \ 146 eelf32_sparc.o \ 147 eelf32b4300.o \ 148 eelf32bmip.o \ 149 eelf32bmipn32.o \ 150 eelf32btsmip.o \ 151 eelf32ltsmip.o \ 152 eelf32ebmip.o \ 153 eelf32elmip.o \ 154 eelf32fr30.o \ 155 eelf32i370.o \ 156 eelf32l4300.o \ 157 eelf32lmip.o \ 158 eelf32lppc.o \ 159 eelf32lppcsim.o \ 160 eelf32mcore.o \ 161 eelf32openrisc.o \ 162 eelf32ppc.o \ 163 eelf32ppc_fbsd.o \ 164 eelf32ppclinux.o \ 165 eelf32ppcsim.o \ 166 eelf32xstormy16.o \ 167 eelf_i386.o \ 168 eelf_i386_be.o \ 169 eelf_i386_chaos.o \ 170 eelf_i386_fbsd.o \ 171 eelf_i386_ldso.o \ 172 eelf_s390.o \ 173 egld960.o \ 174 egld960coff.o \ 175 eh8300.o \ 176 eh8300h.o \ 177 eh8300s.o \ 178 eh8300elf.o \ 179 eh8300helf.o \ 180 eh8300self.o \ 181 eh8500.o \ 182 eh8500b.o \ 183 eh8500c.o \ 184 eh8500m.o \ 185 eh8500s.o \ 186 ehp300bsd.o \ 187 ehp3hpux.o \ 188 ehppaelf.o \ 189 ehppalinux.o \ 190 ehppanbsd.o \ 191 ei386aout.o \ 192 ei386beos.o \ 193 ei386bsd.o \ 194 ei386coff.o \ 195 ei386go32.o \ 196 ei386linux.o \ 197 ei386lynx.o \ 198 ei386mach.o \ 199 ei386moss.o \ 200 ei386msdos.o \ 201 ei386nbsd.o \ 202 ei386nw.o \ 203 ei386pe.o \ 204 ei386pe_posix.o \ 205 elnk960.o \ 206 em68hc11elf.o \ 207 em68hc11elfb.o \ 208 em68hc12elf.o \ 209 em68hc12elfb.o \ 210 em68k4knbsd.o \ 211 em68kaout.o \ 212 em68kaux.o \ 213 em68kcoff.o \ 214 em68kelf.o \ 215 em68kelfnbsd.o \ 216 em68klinux.o \ 217 em68klynx.o \ 218 em68knbsd.o \ 219 em68kpsos.o \ 220 em88kbcs.o \ 221 emcorepe.o \ 222 emipsbig.o \ 223 emipsbsd.o \ 224 emipsidt.o \ 225 emipsidtl.o \ 226 emipslit.o \ 227 emipslnews.o \ 228 emipspe.o \ 229 enews.o \ 230 ens32knbsd.o \ 231 eor32.o \ 232 eor32elf.o \ 233 epc532macha.o \ 234 epdp11.o \ 235 epjelf.o \ 236 epjlelf.o \ 237 eppcmacos.o \ 238 eppcnw.o \ 239 eppcpe.o \ 240 eriscix.o \ 241 esa29200.o \ 242 esh.o \ 243 eshelf32.o \ 244 eshlelf32.o \ 245 eshelf.o \ 246 eshelf_linux.o \ 247 eshlelf_linux.o \ 248 eshelf_nbsd.o \ 249 eshlelf_nbsd.o \ 250 eshl.o \ 251 eshlelf.o \ 252 eshpe.o \ 253 esparcaout.o \ 254 esparclinux.o \ 255 esparclynx.o \ 256 esparcnbsd.o \ 257 est2000.o \ 258 esun3.o \ 259 esun4.o \ 260 etic30aout.o \ 261 etic30coff.o \ 262 etic54xcoff.o \ 263 etic80coff.o \ 264 evanilla.o \ 265 evax.o \ 266 evsta.o \ 267 ew65.o \ 268 ez8001.o \ 269 ez8002.o 270 271ALL_64_EMULATIONS = \ 272 eelf64_aix.o \ 273 eelf64_ia64.o \ 274 eelf64_ia64_fbsd.o \ 275 eshelf64.o \ 276 eshlelf64.o \ 277 eelf_x86_64.o \ 278 eelf_x86_64_fbsd.o \ 279 eelf64_s390.o \ 280 eelf64_sparc.o \ 281 eelf64_sparc_fbsd.o \ 282 eelf64alpha.o \ 283 eelf64alpha_fbsd.o \ 284 eelf64alpha_nbsd.o \ 285 eelf64bmip.o \ 286 eelf64btsmip.o \ 287 eelf64ltsmip.o \ 288 eelf64hppa.o \ 289 eelf64mmix.o \ 290 emmo.o \ 291 eelf64ppc.o \ 292 eelf64lppc.o \ 293 ehppa64linux.o 294 295ALL_EMUL_EXTRA_OFILES = \ 296 deffilep.o \ 297 pe-dll.o 298 299CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \ 300 ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \ 301 mri.c ldcref.c pe-dll.c 302 303HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \ 304 ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \ 305 ldwrite.h mri.h deffile.h pe-dll.h 306 307GENERATED_CFILES = ldgram.c ldlex.c deffilep.c 308GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h 309 310OFILES = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o \ 311 ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o \ 312 ldfile.o ldcref.o ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES} 313 314STAGESTUFF = *.o ldscripts/* e*.c 315 316# At the moment this is just a list of those emulation template files 317# that contain internationalised strings. 318EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em 319 320POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES) 321 322po/POTFILES.in: @MAINT@ Makefile 323 for file in $(POTFILES); do echo $$file; done | sort > tmp \ 324 && mv tmp $(srcdir)/po/POTFILES.in 325 326ldmain.o: ldmain.c config.status 327 $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' -DSCRIPTDIR='"$(scriptdir)"' -DTARGET='"@target@"' $(srcdir)/ldmain.c 328 329ldemul-list.h: Makefile 330 (echo "/* This file is automatically generated. DO NOT EDIT! */";\ 331 for f in `echo " " ${EMULATION_OFILES} "" \ 332 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \ 333 echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \ 334 done;\ 335 echo "";\ 336 echo "#define EMULATION_LIST \\";\ 337 for f in `echo " " ${EMULATION_OFILES} "" \ 338 | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \ 339 echo " &ld_$${f}_emulation, \\"; \ 340 done;\ 341 echo " 0") >ldemul-tmp.h 342 mv ldemul-tmp.h ldemul-list.h 343 344stringify.sed: ${srcdir}/emultempl/$(STRINGIFY) 345 cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed 346 347# These all start with e so 'make clean' can find them. 348 349GENSCRIPTS = $(SHELL) $(srcdir)/genscripts.sh ${srcdir} ${libdir} "${exec_prefix}" @host@ @target@ @target_alias@ "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@" 350GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed 351@TDIRS@ 352 353ea29k.c: $(srcdir)/emulparams/a29k.sh \ 354 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/a29k.sc ${GEN_DEPENDS} 355 ${GENSCRIPTS} a29k "$(tdir_a29k)" 356eaixppc.c: $(srcdir)/emulparams/aixppc.sh \ 357 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS} 358 ${GENSCRIPTS} aixppc "$(tdir_aixppc)" 359eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \ 360 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS} 361 ${GENSCRIPTS} aixrs6 "$(tdir_aixrs6)" 362ealpha.c: $(srcdir)/emulparams/alpha.sh \ 363 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS} 364 ${GENSCRIPTS} alpha "$(tdir_alpha)" 365earcelf.c: $(srcdir)/emulparams/arcelf.sh \ 366 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 367 ${GENSCRIPTS} arcelf "$(tdir_arcelf)" 368earmelf.c: $(srcdir)/emulparams/armelf.sh \ 369 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \ 370 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 371 ${GENSCRIPTS} armelf "$(tdir_armelf)" 372earmelf_oabi.c: $(srcdir)/emulparams/armelf_oabi.sh \ 373 $(srcdir)/emultempl/armelf_oabi.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 374 ${GENSCRIPTS} armelf_oabi "$(tdir_armelf)" 375earmelf_fbsd.c: $(srcdir)/emulparams/armelf_fbsd.sh \ 376 $(srcdir)/emulparams/armelf.sh \ 377 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \ 378 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 379 ${GENSCRIPTS} armelf_fbsd "$(tdir_armelf_fbsd)" 380earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \ 381 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \ 382 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 383 ${GENSCRIPTS} armelf_linux "$(tdir_armelf_linux)" 384earmelf_nbsd.c: $(srcdir)/emulparams/armelf_nbsd.sh \ 385 $(srcdir)/emulparams/armelf.sh \ 386 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/armelf.em \ 387 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 388 ${GENSCRIPTS} armelf_nbsd "$(tdir_armelf_nbsd)" 389earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \ 390 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS} 391 ${GENSCRIPTS} armaoutb "$(tdir_armaoutb)" 392earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \ 393 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS} 394 ${GENSCRIPTS} armaoutl "$(tdir_armaoutl)" 395earmcoff.c: $(srcdir)/emulparams/armcoff.sh \ 396 $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS} 397 ${GENSCRIPTS} armcoff "$(tdir_armcoff)" 398earmnbsd.c: $(srcdir)/emulparams/armnbsd.sh \ 399 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} 400 ${GENSCRIPTS} armnbsd "$(tdir_armnbsd)" 401earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \ 402 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS} 403 ${GENSCRIPTS} arm_epoc_pe "$(tdir_armpe)" 404earmpe.c: $(srcdir)/emulparams/armpe.sh \ 405 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} 406 ${GENSCRIPTS} armpe "$(tdir_armpe)" 407eavr85xx.c: $(srcdir)/emulparams/avr85xx.sh \ 408 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \ 409 ${GEN_DEPENDS} 410 ${GENSCRIPTS} avr85xx "$(tdir_avr85xx)" 411eavr1200.c: $(srcdir)/emulparams/avr1200.sh \ 412 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \ 413 ${GEN_DEPENDS} 414 ${GENSCRIPTS} avr1200 "$(tdir_avr85xx)" 415eavr23xx.c: $(srcdir)/emulparams/avr23xx.sh \ 416 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \ 417 ${GEN_DEPENDS} 418 ${GENSCRIPTS} avr23xx "$(tdir_avr85xx)" 419eavr44x4.c: $(srcdir)/emulparams/avr44x4.sh \ 420 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \ 421 ${GEN_DEPENDS} 422 ${GENSCRIPTS} avr44x4 "$(tdir_avr85xx)" 423eavr4433.c: $(srcdir)/emulparams/avr4433.sh \ 424 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \ 425 ${GEN_DEPENDS} 426 ${GENSCRIPTS} avr4433 "$(tdir_avr85xx)" 427eavrmega603.c: $(srcdir)/emulparams/avrmega603.sh \ 428 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \ 429 ${GEN_DEPENDS} 430 ${GENSCRIPTS} avrmega603 "$(tdir_avr85xx)" 431eavrmega103.c: $(srcdir)/emulparams/avrmega103.sh \ 432 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \ 433 ${GEN_DEPENDS} 434 ${GENSCRIPTS} avrmega103 "$(tdir_avr85xx)" 435eavrmega161.c: $(srcdir)/emulparams/avrmega161.sh \ 436 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \ 437 ${GEN_DEPENDS} 438 ${GENSCRIPTS} avrmega161 "$(tdir_avr85xx)" 439ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \ 440 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS} 441 ${GENSCRIPTS} coff_sparc "$(tdir_coff_sparc)" 442ecrisaout.c: $(srcdir)/emulparams/crisaout.sh \ 443 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/crisaout.sc ${GEN_DEPENDS} 444 ${GENSCRIPTS} crisaout "$(tdir_cris)" 445ecriself.c: $(srcdir)/emulparams/criself.sh \ 446 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 447 ${GENSCRIPTS} criself "$(tdir_cris)" 448ecrislinux.c: $(srcdir)/emulparams/crislinux.sh \ 449 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 450 ${GENSCRIPTS} crislinux "$(tdir_cris)" 451ed10velf.c: $(srcdir)/emulparams/d10velf.sh \ 452 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS} 453 ${GENSCRIPTS} d10velf "$(tdir_d10v)" 454ed30velf.c: $(srcdir)/emulparams/d30velf.sh \ 455 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS} 456 ${GENSCRIPTS} d30velf "$(tdir_d30v)" 457ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \ 458 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS} 459 ${GENSCRIPTS} d30v_o "$(tdir_d30v)" 460ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \ 461 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS} 462 ${GENSCRIPTS} d30v_e "$(tdir_d30v)" 463edelta68.c: $(srcdir)/emulparams/delta68.sh \ 464 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS} 465 ${GENSCRIPTS} delta68 "$(tdir_delta68)" 466eebmon29k.c: $(srcdir)/emulparams/ebmon29k.sh \ 467 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/ebmon29k.sc ${GEN_DEPENDS} 468 ${GENSCRIPTS} ebmon29k "$(tdir_ebmon29k)" 469eelf32xstormy16.c: $(srcdir)/emulparams/elf32xstormy16.sh \ 470 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \ 471 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 472 ${GENSCRIPTS} elf32xstormy16 "$(tdir_xstormy16)" 473eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \ 474 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 475 ${GENSCRIPTS} elf32fr30 "$(tdir_fr30)" 476eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \ 477 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 478 ${GENSCRIPTS} elf32mcore "$(tdir_mcore)" 479em32relf.c: $(srcdir)/emulparams/m32relf.sh \ 480 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 481 ${GENSCRIPTS} m32relf "$(tdir_m32r)" 482eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \ 483 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 484 ${GENSCRIPTS} elf32_sparc "$(tdir_elf32_sparc)" 485eelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \ 486 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 487 ${GENSCRIPTS} elf32_i860 "$(tdir_elf32_i860)" 488eelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \ 489 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 490 ${GENSCRIPTS} elf32_i960 "$(tdir_elf32_i960)" 491eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \ 492 $(srcdir)/emulparams/elf32bmip.sh \ 493 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 494 ${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)" 495eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh \ 496 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 497 ${GENSCRIPTS} elf32bmip "$(tdir_elf32bmip)" 498eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \ 499 $(srcdir)/emulparams/elf32bmip.sh \ 500 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 501 ${GENSCRIPTS} elf32bsmip "$(tdir_elf32bsmip)" 502eelf32btsmip.c: $(srcdir)/emulparams/elf32btsmip.sh \ 503 $(srcdir)/emulparams/elf32bmip.sh \ 504 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 505 ${GENSCRIPTS} elf32btsmip "$(tdir_elf32btsmip)" 506eelf32ltsmip.c: $(srcdir)/emulparams/elf32ltsmip.sh \ 507 $(srcdir)/emulparams/elf32btsmip.sh $(srcdir)/emulparams/elf32bmip.sh \ 508 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 509 ${GENSCRIPTS} elf32ltsmip "$(tdir_elf32ltsmip)" 510eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \ 511 $(srcdir)/emulparams/elf32bmip.sh \ 512 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 513 ${GENSCRIPTS} elf32ebmip "$(tdir_elf32ebmip)" 514eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \ 515 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \ 516 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 517 ${GENSCRIPTS} elf32elmip "$(tdir_elf32elmip)" 518eelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \ 519 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 520 ${GENSCRIPTS} elf32bmipn32 "$(tdir_elf32bmipn32)" 521eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \ 522 $(srcdir)/emulparams/elf32b4300.sh $(srcdir)/emulparams/elf32bmip.sh \ 523 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 524 ${GENSCRIPTS} elf32l4300 "$(tdir_elf32l4300)" 525eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \ 526 $(srcdir)/emulparams/elf32bmip.sh \ 527 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 528 ${GENSCRIPTS} elf32lmip "$(tdir_elf32lmip)" 529eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \ 530 $(srcdir)/emulparams/elf32ppc.sh \ 531 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 532 ${GENSCRIPTS} elf32lppc "$(tdir_elf32lppc)" 533eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \ 534 $(srcdir)/emulparams/elf32lppc.sh $(srcdir)/emulparams/elf32ppc.sh \ 535 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 536 ${GENSCRIPTS} elf32lppcsim "$(tdir_elf32lppcsim)" 537eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \ 538 $(srcdir)/emulparams/elf32lmip.sh $(srcdir)/emulparams/elf32bmip.sh \ 539 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 540 ${GENSCRIPTS} elf32lsmip "$(tdir_elf32lsmip)" 541eelf32openrisc.c: $(srcdir)/emulparams/elf32openrisc.sh \ 542 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 543 ${GENSCRIPTS} elf32openrisc "$(tdir_openrisc)" 544eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \ 545 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 546 ${GENSCRIPTS} elf32ppc "$(tdir_elf32ppc)" 547eelf32ppc_fbsd.c: $(srcdir)/emulparams/elf32ppc_fbsd.sh \ 548 $(srcdir)/emulparams/elf32ppc.sh \ 549 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 550 ${GENSCRIPTS} elf32ppc_fbsd "$(tdir_elf32ppc_fbsd)" 551eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \ 552 $(srcdir)/emulparams/elf32ppc.sh \ 553 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 554 ${GENSCRIPTS} elf32ppcsim "$(tdir_elf32ppcsim)" 555eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \ 556 $(srcdir)/emulparams/elf32ppc.sh \ 557 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 558 ${GENSCRIPTS} elf32ppclinux "$(tdir_elf32ppclinux)" 559eelf64ppc.c: $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \ 560 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 561 ${GENSCRIPTS} elf64ppc "$(tdir_elf64ppc)" 562eelf64lppc.c: $(srcdir)/emulparams/elf64lppc.sh \ 563 $(srcdir)/emulparams/elf64ppc.sh $(srcdir)/emultempl/ppc64elf.em \ 564 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 565 ${GENSCRIPTS} elf64lppc "$(tdir_elf64lppc)" 566eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \ 567 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfi370.sc ${GEN_DEPENDS} 568 ${GENSCRIPTS} elf32i370 "$(tdir_elf32i370)" 569eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \ 570 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 571 ${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)" 572eelf64alpha_fbsd.c: $(srcdir)/emulparams/elf64alpha_fbsd.sh \ 573 $(srcdir)/emulparams/elf64alpha.sh \ 574 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 575 ${GENSCRIPTS} elf64alpha_fbsd "$(tdir_elf64alpha_fbsd)" 576eelf64alpha_nbsd.c: $(srcdir)/emulparams/elf64alpha_nbsd.sh \ 577 $(srcdir)/emulparams/elf64alpha.sh \ 578 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 579 ${GENSCRIPTS} elf64alpha_nbsd "$(tdir_elf64alpha_nbsd)" 580eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \ 581 $(srcdir)/emulparams/hppa64linux.sh \ 582 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 583 ${GENSCRIPTS} elf64hppa "$(tdir_elf64hppa)" 584eelf64_aix.c: $(srcdir)/emulparams/elf64_aix.sh \ 585 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 586 ${GENSCRIPTS} elf64_aix "$(tdir_elf64_aix)" 587eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \ 588 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \ 589 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 590 ${GENSCRIPTS} elf64_ia64 "$(tdir_elf64_ia64)" 591eelf64_ia64_fbsd.c: $(srcdir)/emulparams/elf64_ia64_fbsd.sh \ 592 $(srcdir)/emulparams/elf64_ia64.sh \ 593 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/needrelax.em \ 594 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 595 ${GENSCRIPTS} elf64_ia64_fbsd "$(tdir_elf64_ia64_fbsd)" 596eelf64_s390.c: $(srcdir)/emulparams/elf64_s390.sh \ 597 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 598 ${GENSCRIPTS} elf64_s390 "$(tdir_elf64_s390)" 599eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \ 600 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 601 ${GENSCRIPTS} elf64_sparc "$(tdir_elf64_sparc)" 602eelf64_sparc_fbsd.c: $(srcdir)/emulparams/elf64_sparc_fbsd.sh \ 603 $(srcdir)/emulparams/elf64_sparc.sh \ 604 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 605 ${GENSCRIPTS} elf64_sparc_fbsd "$(tdir_elf64_sparc_fbsd)" 606eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \ 607 $(srcdir)/emulparams/elf32bmipn32.sh \ 608 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 609 ${GENSCRIPTS} elf64bmip "$(tdir_elf64bmip)" 610eelf64mmix.c: $(srcdir)/emulparams/elf64mmix.sh \ 611 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/mmix-elfnmmo.em \ 612 $(srcdir)/emultempl/mmixelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 613 ${GENSCRIPTS} elf64mmix "$(tdir_elf64mmix)" 614emmo.c: $(srcdir)/emulparams/mmo.sh $(srcdir)/emultempl/mmix-elfnmmo.em \ 615 $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/mmo.em \ 616 $(srcdir)/scripttempl/mmo.sc ${GEN_DEPENDS} 617 ${GENSCRIPTS} mmo "$(tdir_mmo)" 618eelf64btsmip.c: $(srcdir)/emulparams/elf64btsmip.sh \ 619 $(srcdir)/emulparams/elf32bmipn32.sh \ 620 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 621 ${GENSCRIPTS} elf64btsmip "$(tdir_elf64btsmip)" 622eelf64ltsmip.c: $(srcdir)/emulparams/elf64ltsmip.sh \ 623 $(srcdir)/emulparams/elf64btsmip.sh $(srcdir)/emulparams/elf32bmipn32.sh \ 624 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 625 ${GENSCRIPTS} elf64ltsmip "$(tdir_elf64ltsmip)" 626eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \ 627 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 628 ${GENSCRIPTS} elf_i386 "$(tdir_elf_i386)" 629eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \ 630 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 631 ${GENSCRIPTS} elf_x86_64 "$(tdir_elf_x86_64)" 632eelf_x86_64_fbsd.c: $(srcdir)/emulparams/elf_x86_64_fbsd.sh \ 633 $(srcdir)/emulparams/elf_x86_64.sh \ 634 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 635 ${GENSCRIPTS} elf_x86_64_fbsd "$(tdir_elf_x86_64_fbsd)" 636eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \ 637 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 638 ${GENSCRIPTS} elf_i386_be "$(tdir_elf_i386_be)" 639eelf_i386_chaos.c: $(srcdir)/emulparams/elf_i386_chaos.sh \ 640 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 641 ${GENSCRIPTS} elf_i386_chaos "$(tdir_elf_i386_chaos)" 642eelf_i386_fbsd.c: $(srcdir)/emulparams/elf_i386_fbsd.sh \ 643 $(srcdir)/emulparams/elf_i386.sh \ 644 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 645 ${GENSCRIPTS} elf_i386_fbsd "$(tdir_elf_i386_fbsd)" 646eelf_i386_ldso.c: $(srcdir)/emulparams/elf_i386_ldso.sh \ 647 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 648 ${GENSCRIPTS} elf_i386_ldso "$(tdir_elf_i386_ldso)" 649eelf_s390.c: $(srcdir)/emulparams/elf_s390.sh \ 650 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 651 ${GENSCRIPTS} elf_s390 "$(tdir_elf_s390)" 652egld960.c: $(srcdir)/emulparams/gld960.sh \ 653 $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS} 654 ${GENSCRIPTS} gld960 "$(tdir_gld960)" 655egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \ 656 $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS} 657 ${GENSCRIPTS} gld960coff "$(tdir_gld960coff)" 658eh8300.c: $(srcdir)/emulparams/h8300.sh \ 659 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS} 660 ${GENSCRIPTS} h8300 "$(tdir_h8300)" 661eh8300h.c: $(srcdir)/emulparams/h8300h.sh \ 662 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS} 663 ${GENSCRIPTS} h8300h "$(tdir_h8300h)" 664eh8300s.c: $(srcdir)/emulparams/h8300s.sh \ 665 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS} 666 ${GENSCRIPTS} h8300s "$(tdir_h8300s)" 667eh8300elf.c: $(srcdir)/emulparams/h8300elf.sh \ 668 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 669 ${GENSCRIPTS} h8300elf "$(tdir_h8300elf)" 670eh8300helf.c: $(srcdir)/emulparams/h8300helf.sh \ 671 $(srcdir)/emulparams/h8300elf.sh \ 672 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 673 ${GENSCRIPTS} h8300helf "$(tdir_h8300helf)" 674eh8300self.c: $(srcdir)/emulparams/h8300self.sh \ 675 $(srcdir)/emulparams/h8300elf.sh \ 676 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 677 ${GENSCRIPTS} h8300self "$(tdir_h8300self)" 678eh8500.c: $(srcdir)/emulparams/h8500.sh \ 679 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS} 680 ${GENSCRIPTS} h8500 "$(tdir_h8500)" 681eh8500b.c: $(srcdir)/emulparams/h8500b.sh \ 682 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS} 683 ${GENSCRIPTS} h8500b "$(tdir_h8500b)" 684eh8500c.c: $(srcdir)/emulparams/h8500c.sh \ 685 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS} 686 ${GENSCRIPTS} h8500c "$(tdir_h8500c)" 687eh8500m.c: $(srcdir)/emulparams/h8500m.sh \ 688 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS} 689 ${GENSCRIPTS} h8500m "$(tdir_h8500m)" 690eh8500s.c: $(srcdir)/emulparams/h8500s.sh \ 691 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS} 692 ${GENSCRIPTS} h8500s "$(tdir_h8500s)" 693ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \ 694 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} 695 ${GENSCRIPTS} hp300bsd "$(tdir_hp300bsd)" 696ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \ 697 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} 698 ${GENSCRIPTS} hp3hpux "$(tdir_hp3hpux)" 699ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \ 700 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \ 701 $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS} 702 ${GENSCRIPTS} hppaelf "$(tdir_hppaelf)" 703ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \ 704 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \ 705 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 706 ${GENSCRIPTS} hppalinux "$(tdir_hppalinux)" 707ehppanbsd.c: $(srcdir)/emulparams/hppanbsd.sh \ 708 $(srcdir)/emulparams/hppaelf.sh \ 709 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \ 710 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 711 ${GENSCRIPTS} hppanbsd "$(tdir_hppanbsd)" 712ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \ 713 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 714 ${GENSCRIPTS} hppa64linux "$(tdir_hppa64linux)" 715ei386aout.c: $(srcdir)/emulparams/i386aout.sh \ 716 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} 717 ${GENSCRIPTS} i386aout "$(tdir_i386aout)" 718ei386beos.c: $(srcdir)/emulparams/i386beos.sh \ 719 $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS} 720 ${GENSCRIPTS} i386beos "$(tdir_i386beos)" 721ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \ 722 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} 723 ${GENSCRIPTS} i386bsd "$(tdir_i386bsd)" 724ei386coff.c: $(srcdir)/emulparams/i386coff.sh \ 725 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS} 726 ${GENSCRIPTS} i386coff "$(tdir_i386coff)" 727ei386go32.c: $(srcdir)/emulparams/i386go32.sh \ 728 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS} 729 ${GENSCRIPTS} i386go32 "$(tdir_i386go32)" 730ei386linux.c: $(srcdir)/emulparams/i386linux.sh \ 731 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} 732 ${GENSCRIPTS} i386linux "$(tdir_i386linux)" 733ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \ 734 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386lynx.sc ${GEN_DEPENDS} 735 ${GENSCRIPTS} i386lynx "$(tdir_i386lynx)" 736ei386mach.c: $(srcdir)/emulparams/i386mach.sh \ 737 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} 738 ${GENSCRIPTS} i386mach "$(tdir_i386mach)" 739ei386moss.c: $(srcdir)/emulparams/i386moss.sh \ 740 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 741 ${GENSCRIPTS} i386moss "$(tdir_i386moss)" 742ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \ 743 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS} 744 ${GENSCRIPTS} i386msdos "$(tdir_i386msdos)" 745ei386nbsd.c: $(srcdir)/emulparams/i386nbsd.sh \ 746 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} 747 ${GENSCRIPTS} i386nbsd "$(tdir_i386nbsd)" 748ei386nw.c: $(srcdir)/emulparams/i386nw.sh \ 749 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS} 750 ${GENSCRIPTS} i386nw "$(tdir_i386nw)" 751ei386pe.c: $(srcdir)/emulparams/i386pe.sh \ 752 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} 753 ${GENSCRIPTS} i386pe "$(tdir_i386pe)" 754ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \ 755 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} 756 ${GENSCRIPTS} i386pe_posix "$(tdir_i386pe_posix)" 757elnk960.c: $(srcdir)/emulparams/lnk960.sh \ 758 $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS} 759 ${GENSCRIPTS} lnk960 "$(tdir_lnk960)" 760em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \ 761 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS} 762 ${GENSCRIPTS} m68hc11elf "$(tdir_m68hc11)" 763em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \ 764 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS} 765 ${GENSCRIPTS} m68hc11elfb "$(tdir_m68hc11b)" 766em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \ 767 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS} 768 ${GENSCRIPTS} m68hc12elf "$(tdir_m68hc12)" 769em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \ 770 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS} 771 ${GENSCRIPTS} m68hc12elfb "$(tdir_m68hc12b)" 772em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \ 773 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} 774 ${GENSCRIPTS} m68k4knbsd "$(tdir_m68k4knbsd)" 775em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \ 776 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} 777 ${GENSCRIPTS} m68kaout "$(tdir_m68kaout)" 778em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \ 779 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS} 780 ${GENSCRIPTS} m68kaux "$(tdir_m68kaux)" 781em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \ 782 $(srcdir)/emultempl/m68kcoff.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS} 783 ${GENSCRIPTS} m68kcoff "$(tdir_m68kcoff)" 784em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \ 785 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \ 786 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 787 ${GENSCRIPTS} m68kelf "$(tdir_m68kelf)" 788em68kelfnbsd.c: $(srcdir)/emulparams/m68kelfnbsd.sh \ 789 $(srcdir)/emulparams/m68kelf.sh \ 790 $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/m68kelf.em \ 791 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 792 ${GENSCRIPTS} m68kelfnbsd "$(tdir_m68kelfnbsd)" 793em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \ 794 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} 795 ${GENSCRIPTS} m68klinux "$(tdir_m68klinux)" 796em68klynx.c: $(srcdir)/emulparams/m68klynx.sh \ 797 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68klynx.sc ${GEN_DEPENDS} 798 ${GENSCRIPTS} m68klynx "$(tdir_m68klynx)" 799em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \ 800 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} 801 ${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)" 802em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \ 803 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS} 804 ${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)" 805em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \ 806 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS} 807 ${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)" 808emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \ 809 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} 810 ${GENSCRIPTS} mcorepe "$(tdir_mcorepe)" 811emipsbig.c: $(srcdir)/emulparams/mipsbig.sh \ 812 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} 813 ${GENSCRIPTS} mipsbig 814emipsbsd.c: $(srcdir)/emulparams/mipsbsd.sh \ 815 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mipsbsd.sc ${GEN_DEPENDS} 816 ${GENSCRIPTS} mipsbsd 817emipsidt.c: $(srcdir)/emulparams/mipsidt.sh \ 818 $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} 819 ${GENSCRIPTS} mipsidt "$(tdir_mipsidt)" 820emipsidtl.c: $(srcdir)/emulparams/mipsidtl.sh \ 821 $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} 822 ${GENSCRIPTS} mipsidtl "$(tdir_mipsidtl)" 823emipslit.c: $(srcdir)/emulparams/mipslit.sh \ 824 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} 825 ${GENSCRIPTS} mipslit "$(tdir_mipslit)" 826emipslnews.c: $(srcdir)/emulparams/mipslnews.sh \ 827 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} 828 ${GENSCRIPTS} mipslnews 829emipspe.c: $(srcdir)/emulparams/mipspe.sh \ 830 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} 831 ${GENSCRIPTS} mipspe "$(tdir_mips)" 832emn10300.c: $(srcdir)/emulparams/mn10300.sh \ 833 $(srcdir)/emulparams/mn10200.sh \ 834 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 835 ${GENSCRIPTS} mn10300 "$(tdir_mn10300)" 836emn10200.c: $(srcdir)/emulparams/mn10200.sh \ 837 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 838 ${GENSCRIPTS} mn10200 "$(tdir_mn10200)" 839enews.c: $(srcdir)/emulparams/news.sh \ 840 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} 841 ${GENSCRIPTS} news "$(tdir_news)" 842ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \ 843 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} 844 ${GENSCRIPTS} ns32knbsd "$(tdir_ns32knbsd)" 845eor32.c: $(srcdir)/emulparams/or32.sh \ 846 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/or32.sc ${GEN_DEPENDS} 847 ${GENSCRIPTS} or32 "$(tdir_or32)" 848eor32elf.c: $(srcdir)/emulparams/or32elf.sh \ 849 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 850 ${GENSCRIPTS} or32elf "$(tdir_or32elf)" 851epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \ 852 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} 853 ${GENSCRIPTS} pc532macha "$(tdir_pc532macha)" 854epdp11.c: $(srcdir)/emulparams/pdp11.sh \ 855 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} 856 ${GENSCRIPTS} pdp11 "$(tdir_pdp11)" 857epjelf.c: $(srcdir)/emulparams/pjelf.sh \ 858 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 859 ${GENSCRIPTS} pjelf "$(tdir_pjelf)" 860epjlelf.c: $(srcdir)/emulparams/pjlelf.sh \ 861 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 862 ${GENSCRIPTS} pjlelf "$(tdir_pjlelf)" 863eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \ 864 $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS} 865 ${GENSCRIPTS} ppcmacos "$(tdir_ppcmacos)" 866eppcnw.c: $(srcdir)/emulparams/ppcnw.sh \ 867 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS} 868 ${GENSCRIPTS} ppcnw "$(tdir_ppcnw)" 869eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \ 870 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS} 871 ${GENSCRIPTS} ppcpe "$(tdir_ppcpe)" 872eriscix.c: $(srcdir)/emulparams/riscix.sh \ 873 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} 874 ${GENSCRIPTS} riscix "$(tdir_riscix)" 875esa29200.c: $(srcdir)/emulparams/sa29200.sh \ 876 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sa29200.sc ${GEN_DEPENDS} 877 ${GENSCRIPTS} sa29200 "$(tdir_sa29200)" 878esh.c: $(srcdir)/emulparams/sh.sh \ 879 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS} 880 ${GENSCRIPTS} sh "$(tdir_sh)" 881eshelf.c: $(srcdir)/emulparams/shelf.sh \ 882 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 883 ${GENSCRIPTS} shelf "$(tdir_shelf)" 884eshelf32.c: $(srcdir)/emulparams/shelf32.sh \ 885 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h \ 886 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \ 887 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 888 ${GENSCRIPTS} shelf32 "$(tdir_shelf32)" 889eshelf64.c: $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \ 890 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 891 ${GENSCRIPTS} shelf64 "$(tdir_shelf64)" 892eshelf_linux.c: $(srcdir)/emulparams/shelf_linux.sh \ 893 $(srcdir)/emulparams/shlelf_linux.sh \ 894 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 895 ${GENSCRIPTS} shelf_linux "$(tdir_shelf_linux)" 896eshlelf_linux.c: $(srcdir)/emulparams/shlelf_linux.sh \ 897 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 898 ${GENSCRIPTS} shlelf_linux "$(tdir_shlelf_linux)" 899eshelf_nbsd.c: $(srcdir)/emulparams/shelf_nbsd.sh \ 900 $(srcdir)/emulparams/shelf.sh \ 901 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 902 ${GENSCRIPTS} shelf_nbsd "$(tdir_shelf_nbsd)" 903eshlelf_nbsd.c: $(srcdir)/emulparams/shlelf_nbsd.sh \ 904 $(srcdir)/emulparams/shelf_nbsd.sh \ 905 $(srcdir)/emulparams/shelf.sh \ 906 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 907 ${GENSCRIPTS} shlelf_nbsd "$(tdir_shlelf_nbsd)" 908eshlelf.c: $(srcdir)/emulparams/shlelf.sh \ 909 $(srcdir)/emulparams/shelf.sh \ 910 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 911 ${GENSCRIPTS} shlelf "$(tdir_shlelf)" 912eshlelf32.c: $(srcdir)/emulparams/shlelf32.sh \ 913 $(BFDDIR)/libbfd.h $(INCDIR)/libiberty.h $(srcdir)/emulparams/shelf32.sh \ 914 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \ 915 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 916 ${GENSCRIPTS} shlelf32 "$(tdir_shlelf32)" 917eshlelf64.c: $(srcdir)/emulparams/shlelf64.sh \ 918 $(srcdir)/emulparams/shelf64.sh $(srcdir)/emulparams/shelf32.sh \ 919 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 920 ${GENSCRIPTS} shlelf64 "$(tdir_shlelf64)" 921eshl.c: $(srcdir)/emulparams/shl.sh \ 922 $(srcdir)/emulparams/sh.sh \ 923 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS} 924 ${GENSCRIPTS} shl "$(tdir_shl)" 925eshpe.c: $(srcdir)/emulparams/shpe.sh \ 926 $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} 927 ${GENSCRIPTS} shpe "$(tdir_shl)" 928esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \ 929 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} 930 ${GENSCRIPTS} sparcaout "$(tdir_sparcaout)" 931esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \ 932 $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} 933 ${GENSCRIPTS} sparclinux "$(tdir_sparclinux)" 934esparclynx.c: $(srcdir)/emulparams/sparclynx.sh \ 935 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparclynx.sc ${GEN_DEPENDS} 936 ${GENSCRIPTS} sparclynx "$(tdir_sparclynx)" 937esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \ 938 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} 939 ${GENSCRIPTS} sparcnbsd "$(tdir_sparcnbsd)" 940est2000.c: $(srcdir)/emulparams/st2000.sh \ 941 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS} 942 ${GENSCRIPTS} st2000 "$(tdir_st2000)" 943esun3.c: $(srcdir)/emulparams/sun3.sh \ 944 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} 945 ${GENSCRIPTS} sun3 "$(tdir_sun3)" 946esun4.c: $(srcdir)/emulparams/sun4.sh \ 947 $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} 948 ${GENSCRIPTS} sun4 "$(tdir_sun4)" 949etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \ 950 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS} 951 ${GENSCRIPTS} tic30aout "$(tdir_tic30aout)" 952etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \ 953 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS} 954 ${GENSCRIPTS} tic30coff "$(tdir_tic30coff)" 955etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \ 956 $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS} 957 ${GENSCRIPTS} tic54xcoff "$(tdir_tic54xcoff)" 958etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \ 959 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS} 960 ${GENSCRIPTS} tic80coff "$(tdir_tic80coff)" 961evanilla.c: $(srcdir)/emulparams/vanilla.sh \ 962 $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS} 963 ${GENSCRIPTS} vanilla "$(tdir_vanilla)" 964evax.c: $(srcdir)/emulparams/vax.sh \ 965 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} 966 ${GENSCRIPTS} vax "$(tdir_vax)" 967evsta.c: $(srcdir)/emulparams/vsta.sh \ 968 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} 969 ${GENSCRIPTS} vsta "$(tdir_vsta)" 970ev850.c: $(srcdir)/emulparams/v850.sh \ 971 $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS} 972 ${GENSCRIPTS} v850 "$(tdir_v850)" 973ew65.c: $(srcdir)/emulparams/w65.sh \ 974 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS} 975 ${GENSCRIPTS} w65 "$(tdir_w65)" 976ez8001.c: $(srcdir)/emulparams/z8001.sh \ 977 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS} 978 ${GENSCRIPTS} z8001 "$(tdir_z8001)" 979ez8002.c: $(srcdir)/emulparams/z8002.sh \ 980 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS} 981 ${GENSCRIPTS} z8002 "$(tdir_z8002)" 982 983# We need this for automake to use YLWRAP. 984EXTRA_ld_new_SOURCES = deffilep.y 985 986ld_new_SOURCES = ldgram.y ldlex.l lexsup.c ldlang.c mri.c ldctor.c ldmain.c \ 987 ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c 988ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLDEPS) 989ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS) 990 991# The generated emulation files mostly have the same dependencies. 992$(EMULATION_OFILES): ../bfd/bfd.h sysdep.h config.h $(INCDIR)/bfdlink.h \ 993 ld.h ldmain.h ldemul.h ldfile.h ldmisc.h ldexp.h ldlang.h \ 994 ldctor.h ldexp.h ldlang.h ldgram.h 995 996# This is the real libbfd.a created by libtool. 997TESTBFDLIB = @TESTBFDLIB@ 998 999check-DEJAGNU: site.exp 1000 srcroot=`cd $(srcdir) && pwd`; export srcroot; \ 1001 r=`pwd`; export r; \ 1002 LC_COLLATE=; LC_ALL=; LANG=; export LC_COLLATE LC_ALL LANG; \ 1003 EXPECT=$(EXPECT); export EXPECT; \ 1004 if [ -f $(top_builddir)/../expect/expect ]; then \ 1005 TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \ 1006 export TCL_LIBRARY; \ 1007 fi; \ 1008 runtest=$(RUNTEST); \ 1009 if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \ 1010 $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \ 1011 CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \ 1012 CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \ 1013 CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \ 1014 OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \ 1015 LIBIBERTY="$(LIBIBERTY) $(INTLLIBS)" LIBS="$(LIBS)" \ 1016 $(RUNTESTFLAGS); \ 1017 else echo "WARNING: could not find \`runtest'" 1>&2; :;\ 1018 fi 1019 1020# Rules for testing by relinking ld itself. 1021# A similar test is in the testsuite. This target is for ease of use 1022# when porting ld. 1023 1024ld-partial.o: ld-new$(EXEEXT) 1025 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.o -r $(OFILES) 1026ld1$(EXEEXT): ld-partial.o 1027 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.o $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS) 1028 1029ld1-full$(EXEEXT): ld-new 1030 ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS) 1031 1032ld2$(EXEEXT): ld1$(EXEEXT) 1033 ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS) 1034 1035ld3$(EXEEXT): ld2$(EXEEXT) 1036 ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS) 1037 1038bootstrap: ld3$(EXEEXT) 1039 cmp ld2$(EXEEXT) ld3$(EXEEXT) 1040 1041.PHONY: bootstrap 1042 1043# A test program for C++ constructors and destructors. 1044# This test is now in the testsuite. 1045# 1046#cdtest: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new 1047# ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \ 1048# cdtest-main.o cdtest-bar.o cdtest-foo.o $(HOSTING_LIBS) 1049# 1050#cdtest.out: cdtest 1051# ./cdtest > cdtest.tmp 1052# mv cdtest.tmp cdtest.out 1053# 1054#cdtest-ur.o: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new 1055# ./ld.new $(HOSTING_EMU) -o cdtest-ur.o -Ur cdtest-main.o \ 1056# cdtest-bar.o cdtest-foo.o 1057# 1058#cdtest-ur: cdtest-ur.o 1059# ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.o \ 1060# $(HOSTING_LIBS) 1061# 1062#cdtest-ur.out: cdtest-ur 1063# ./cdtest-ur > cdtest-ur.tmp 1064# mv cdtest-ur.tmp cdtest-ur.out 1065# 1066#check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp 1067# diff $(srcdir)/cdtest.exp cdtest.out 1068# diff $(srcdir)/cdtest.exp cdtest-ur.out 1069# 1070#.PHONY: check-cdtest 1071 1072# END OF CHECK TARGETS 1073 1074# DOCUMENTATION TARGETS 1075# Manual configuration file; not usually attached to normal configuration, 1076# because almost all configs use "gen" version of manual. 1077# Set DOCVER above to change. 1078configdoc.texi: ${DOCVER}-doc.texi 1079 ln -s ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \ 1080 || ln ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \ 1081 || cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi 1082 1083ldver.texi: Makefile 1084 rm -f $@ 1085 echo '@set VERSION $(VERSION)' > $@ 1086 1087ld.info: $(srcdir)/ld.texinfo configdoc.texi ldver.texi 1088 @rm -f $@ $@-[0-9] $@-[0-9][0-9] 1089 $(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo 1090 1091ld.dvi: $(srcdir)/ld.texinfo configdoc.texi ldver.texi 1092 TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \ 1093 MAKEINFO="$(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc" $(TEXI2DVI) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo 1094 1095# Build the man page from the texinfo file 1096# The sed command removes the no-adjust Nroff command so that 1097# the man output looks standard. 1098ld.1: $(srcdir)/ld.texinfo 1099 touch $@ 1100 -$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod 1101 -($(POD2MAN) ld.pod | \ 1102 sed -e '/^.if n .na/d' > $@.T$$$$ && \ 1103 mv -f $@.T$$$$ $@) || \ 1104 (rm -f $@.T$$$$ && exit 1) 1105 rm -f ld.pod 1106 1107MAINTAINERCLEANFILES = ldver.texi 1108 1109# We want to reconfigure if configure.host or configure.tgt changes. 1110CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt 1111 1112MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \ 1113 ldemul-list.h crtbegin.o crtend.o ld.log ld.sum 1114mostlyclean-local: 1115 -rm -rf tmpdir 1116CLEANFILES = dep.sed DEP DEPA DEP1 DEP2 1117 1118.PHONY: install-exec-local install-data-local 1119 1120install-exec-local: ld-new$(EXEEXT) 1121 $(mkinstalldirs) $(bindir) $(tooldir)/bin 1122 @list='$(noinst_PROGRAMS)'; for p in $$list; do \ 1123 if test -f $$p; then \ 1124 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ 1125 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ 1126 else :; fi; \ 1127 done 1128 n=`echo ld | sed '$(transform)'`; \ 1129 if [ "$(bindir)/$$n$(EXEEXT)" != "$(tooldir)/bin/ld$(EXEEXT)" ]; then \ 1130 rm -f $(tooldir)/bin/ld$(EXEEXT); \ 1131 ln $(bindir)/$$n$(EXEEXT) $(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \ 1132 || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(tooldir)/bin/ld$(EXEEXT); \ 1133 fi 1134 1135install-data-local: 1136 $(mkinstalldirs) $(scriptdir)/ldscripts 1137 for f in ldscripts/*; do \ 1138 $(INSTALL_DATA) $$f $(scriptdir)/$$f ; \ 1139 done 1140 1141# We want install to imply install-info as per GNU standards, despite the 1142# cygnus option. 1143install: install-info 1144 1145# Stuff that should be included in a distribution. The diststuff 1146# target is run by the taz target in ../Makefile.in. 1147EXTRA_DIST = ldgram.c ldgram.h ldlex.c $(man_MANS) 1148diststuff: info $(EXTRA_DIST) 1149 1150DISTCLEANFILES = tdirs site.exp site.bak stringify.sed 1151distclean-local: 1152 rm -rf ldscripts 1153 1154Makefile: $(BFDDIR)/configure.in 1155 1156# Targets to rebuild dependencies in this Makefile. 1157# Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES). 1158DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h 1159 rm -f DEP1 1160 $(MAKE) MKDEP="$(MKDEP)" DEP1 1161 sed -f dep.sed < DEP1 > DEPA 1162 echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA 1163 if grep ' /' DEPA > /dev/null 2> /dev/null; then \ 1164 echo 'make DEP failed!'; exit 1; \ 1165 else \ 1166 mv -f DEPA $@; \ 1167 fi 1168 1169DEP1: $(CFILES) $(GENERATED_CFILES) 1170 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2 1171 echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2 1172 $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2 1173 mv -f DEP2 $@ 1174 1175dep.sed: dep-in.sed config.status 1176 sed <$(srcdir)/dep-in.sed >dep.sed \ 1177 -e 's!@INCDIR@!$(INCDIR)!' \ 1178 -e 's!@BFDDIR@!$(BFDDIR)!' \ 1179 -e 's!@SRCDIR@!$(srcdir)!' \ 1180 -e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/ld$$,,`'!' 1181 1182dep: DEP 1183 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile 1184 cat DEP >> tmp-Makefile 1185 $(srcdir)/../move-if-change tmp-Makefile Makefile 1186 1187dep-in: DEP 1188 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in 1189 cat DEP >> tmp-Makefile.in 1190 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in 1191 1192dep-am: DEP 1193 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am 1194 cat DEP >> tmp-Makefile.am 1195 $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am 1196 1197.PHONY: dep dep-in dep-am 1198 1199@MAINT@.PHONY: mpw 1200@MAINT@mpw: $(srcdir)/mpw-ei386go32.c $(srcdir)/mpw-elfmips.c \ 1201@MAINT@ $(srcdir)/mpw-em68kcoff.c $(srcdir)/mpw-eppcmac.c \ 1202@MAINT@ $(srcdir)/mpw-esh.c $(srcdir)/mpw-idtmips.c 1203@MAINT@ 1204@MAINT@$(srcdir)/mpw-ei386go32.c: ei386go32.c 1205@MAINT@ $(srcdir)/../move-if-change $< $@ 1206@MAINT@ 1207@MAINT@$(srcdir)/mpw-elfmips.c: eelf32ebmip.c 1208@MAINT@ $(srcdir)/../move-if-change $< $@ 1209@MAINT@ 1210@MAINT@$(srcdir)/mpw-em68kcoff.c: em68kcoff.c 1211@MAINT@ $(srcdir)/../move-if-change $< $@ 1212@MAINT@ 1213@MAINT@$(srcdir)/mpw-eppcmac.c: eppcmacos.c 1214@MAINT@ $(srcdir)/../move-if-change $< $@ 1215@MAINT@ 1216@MAINT@$(srcdir)/mpw-esh.c: esh.c 1217@MAINT@ $(srcdir)/../move-if-change $< $@ 1218@MAINT@ 1219@MAINT@$(srcdir)/mpw-idtmips.c: emipsidt.c 1220@MAINT@ $(srcdir)/../move-if-change $< $@ 1221 1222# What appears below is generated by a hacked mkdep using gcc -MM. 1223 1224# DO NOT DELETE THIS LINE -- mkdep uses it. 1225# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. 1226ldctor.o: ldctor.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ 1227 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ 1228 $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h \ 1229 ldexp.h ldlang.h ldmisc.h ldgram.h ldmain.h ldctor.h 1230ldemul.o: ldemul.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ 1231 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ 1232 ld.h $(INCDIR)/bin-bugs.h ldmisc.h ldexp.h ldlang.h \ 1233 ldfile.h ldemul.h ldmain.h ldemul-list.h 1234ldexp.o: ldexp.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ 1235 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ 1236 $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \ 1237 ldmisc.h ldexp.h ldgram.h ldlang.h $(INCDIR)/libiberty.h 1238ldfile.o: ldfile.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ 1239 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ 1240 $(INCDIR)/bfdlink.h $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h \ 1241 ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h ldgram.h \ 1242 ldlex.h ldemul.h $(INCDIR)/libiberty.h 1243ldlang.o: ldlang.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ 1244 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ 1245 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/obstack.h \ 1246 $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \ 1247 ldgram.h ldexp.h ldlang.h ldlex.h ldmisc.h ldctor.h \ 1248 ldfile.h ldemul.h $(INCDIR)/fnmatch.h $(INCDIR)/demangle.h 1249ldmain.o: ldmain.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ 1250 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ 1251 $(INCDIR)/safe-ctype.h $(INCDIR)/libiberty.h $(INCDIR)/progress.h \ 1252 $(INCDIR)/bfdlink.h $(INCDIR)/filenames.h ld.h $(INCDIR)/bin-bugs.h \ 1253 ldmain.h ldmisc.h ldwrite.h ldgram.h ldexp.h ldlang.h \ 1254 ldlex.h ldfile.h ldemul.h ldctor.h 1255ldmisc.o: ldmisc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ 1256 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ 1257 $(INCDIR)/libiberty.h $(INCDIR)/demangle.h ld.h $(INCDIR)/bin-bugs.h \ 1258 ldmisc.h ldexp.h ldlang.h ldgram.h ldlex.h ldmain.h \ 1259 ldfile.h 1260ldver.o: ldver.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ 1261 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ 1262 ld.h $(INCDIR)/bin-bugs.h ldver.h ldexp.h ldlang.h \ 1263 ldfile.h ldemul.h ldmain.h 1264ldwrite.o: ldwrite.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ 1265 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ 1266 $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h \ 1267 ldexp.h ldlang.h ldwrite.h ldmisc.h ldgram.h ldmain.h 1268lexsup.o: lexsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ 1269 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ 1270 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h \ 1271 ld.h $(INCDIR)/bin-bugs.h ldmain.h ldmisc.h ldexp.h \ 1272 ldlang.h ldgram.h ldlex.h ldfile.h ldver.h ldemul.h \ 1273 $(INCDIR)/demangle.h 1274mri.o: mri.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ 1275 sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \ 1276 ldexp.h ldlang.h ldmisc.h mri.h ldgram.h $(INCDIR)/libiberty.h 1277ldcref.o: ldcref.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ 1278 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ 1279 $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h \ 1280 ldmain.h ldmisc.h ldexp.h ldlang.h 1281pe-dll.o: pe-dll.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ 1282 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ 1283 $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h \ 1284 ld.h $(INCDIR)/bin-bugs.h ldexp.h ldlang.h ldwrite.h \ 1285 ldmisc.h ldgram.h ldmain.h ldfile.h ldemul.h $(INCDIR)/coff/internal.h \ 1286 $(BFDDIR)/libcoff.h deffile.h pe-dll.h 1287ldgram.o: ldgram.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ 1288 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ 1289 $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldexp.h \ 1290 ldver.h ldlang.h ldfile.h ldemul.h ldmisc.h ldmain.h \ 1291 mri.h ldctor.h ldlex.h 1292ldlex.o: ldlex.c $(INCDIR)/ansidecl.h ../bfd/bfd.h \ 1293 $(INCDIR)/symcat.h sysdep.h config.h $(INCDIR)/fopen-same.h \ 1294 $(INCDIR)/safe-ctype.h ld.h $(INCDIR)/bin-bugs.h ldgram.h \ 1295 ldmisc.h ldexp.h ldlang.h ldfile.h ldlex.h ldmain.h \ 1296 $(INCDIR)/libiberty.h 1297deffilep.o: deffilep.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ 1298 $(INCDIR)/safe-ctype.h ../bfd/bfd.h $(INCDIR)/symcat.h \ 1299 sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \ 1300 ldmisc.h deffile.h 1301# IF YOU PUT ANYTHING HERE IT WILL GO AWAY 1302