| 1 | ## Process this file with automake to generate Makefile.in |
| 2 | |
| 3 | ## FIXME: work around apparent automake bug. |
| 4 | INTLLIBS = @INTLLIBS@ |
| 5 | |
| 6 | AUTOMAKE_OPTIONS = cygnus dejagnu |
| 7 | |
| 8 | SUBDIRS = po |
| 9 | |
| 10 | tooldir = $(exec_prefix)/$(target_alias) |
| 11 | |
| 12 | YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi` |
| 13 | YFLAGS = -d |
| 14 | LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi` |
| 15 | |
| 16 | WARN_CFLAGS = @WARN_CFLAGS@ |
| 17 | AM_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. |
| 22 | scriptdir = $(tooldir)/lib |
| 23 | |
| 24 | EMUL = @EMUL@ |
| 25 | EMULATION_OFILES = @EMULATION_OFILES@ |
| 26 | EMUL_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 |
| 34 | LIB_PATH = |
| 35 | |
| 36 | BASEDIR = $(srcdir)/.. |
| 37 | BFDDIR = $(BASEDIR)/bfd |
| 38 | INCDIR = $(BASEDIR)/include |
| 39 | MKDEP = gcc -MM |
| 40 | |
| 41 | # What version of the manual to build |
| 42 | DOCVER = gen |
| 43 | |
| 44 | #stuff for self hosting (can be overridden in config file). |
| 45 | HOSTING_CRT0 = @HOSTING_CRT0@ |
| 46 | HOSTING_LIBS = @HOSTING_LIBS@ |
| 47 | HOSTING_EMU = -m $(EMUL) |
| 48 | |
| 49 | # Setup the testing framework, if you have one |
| 50 | EXPECT = `if [ -f $$r/../expect/expect ] ; \ |
| 51 | then echo $$r/../expect/expect ; \ |
| 52 | else echo expect ; fi` |
| 53 | |
| 54 | RUNTEST = `if [ -f $${srcroot}/../dejagnu/runtest ] ; \ |
| 55 | then echo $${srcroot}/../dejagnu/runtest ; \ |
| 56 | else echo runtest ; fi` |
| 57 | |
| 58 | RUNTESTFLAGS = |
| 59 | |
| 60 | CC_FOR_TARGET = ` \ |
| 61 | if [ -f $$r/../gcc/xgcc ] ; then \ |
| 62 | if [ -f $$r/../newlib/Makefile ] ; then \ |
| 63 | echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \ |
| 64 | else \ |
| 65 | echo $$r/../gcc/xgcc -B$$r/../gcc/; \ |
| 66 | fi; \ |
| 67 | else \ |
| 68 | if [ "@host@" = "@target@" ] ; then \ |
| 69 | echo $(CC); \ |
| 70 | else \ |
| 71 | echo gcc | sed '$(transform)'; \ |
| 72 | fi; \ |
| 73 | fi` |
| 74 | |
| 75 | CXX = gcc |
| 76 | CXX_FOR_TARGET = ` \ |
| 77 | if [ -f $$r/../gcc/xgcc ] ; then \ |
| 78 | if [ -f $$r/../newlib/Makefile ] ; then \ |
| 79 | echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \ |
| 80 | else \ |
| 81 | echo $$r/../gcc/xgcc -B$$r/../gcc/; \ |
| 82 | fi; \ |
| 83 | else \ |
| 84 | if [ "@host@" = "@target@" ] ; then \ |
| 85 | echo $(CXX); \ |
| 86 | else \ |
| 87 | echo gcc | sed '$(transform)'; \ |
| 88 | fi; \ |
| 89 | fi` |
| 90 | |
| 91 | noinst_PROGRAMS = ld-new |
| 92 | info_TEXINFOS = ld.texinfo |
| 93 | noinst_TEXINFOS = ldint.texinfo |
| 94 | man_MANS = ld.1 |
| 95 | |
| 96 | INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) -I$(top_srcdir)/../intl -I../intl $(HDEFINES) $(CFLAGS) -DLOCALEDIR="\"$(prefix)/share/locale\"" |
| 97 | |
| 98 | BFDLIB = ../bfd/libbfd.la |
| 99 | LIBIBERTY = ../libiberty/libiberty.a |
| 100 | |
| 101 | ALL_EMULATIONS = \ |
| 102 | ea29k.o \ |
| 103 | eaixppc.o \ |
| 104 | eaixrs6.o \ |
| 105 | ealpha.o \ |
| 106 | earcelf.o \ |
| 107 | earmelf.o \ |
| 108 | earmelf_oabi.o \ |
| 109 | earmelf_linux.o \ |
| 110 | earmelf_linux26.o \ |
| 111 | earmaoutb.o \ |
| 112 | earmaoutl.o \ |
| 113 | earmcoff.o \ |
| 114 | earmnbsd.o \ |
| 115 | earmpe.o \ |
| 116 | earm_epoc_pe.o \ |
| 117 | eavr1200.o \ |
| 118 | eavr23xx.o \ |
| 119 | eavr44x4.o \ |
| 120 | eavr4433.o \ |
| 121 | eavr85xx.o \ |
| 122 | eavrmega603.o \ |
| 123 | eavrmega103.o \ |
| 124 | eavrmega161.o \ |
| 125 | ecoff_sparc.o \ |
| 126 | ed10velf.o \ |
| 127 | ed30velf.o \ |
| 128 | ed30v_e.o \ |
| 129 | ed30v_o.o \ |
| 130 | edelta68.o \ |
| 131 | eebmon29k.o \ |
| 132 | eelf32_sparc.o \ |
| 133 | eelf32_i960.o \ |
| 134 | eelf32b4300.o \ |
| 135 | eelf32bmip.o \ |
| 136 | eelf32ebmip.o \ |
| 137 | eelf32elmip.o \ |
| 138 | eelf32bmipn32.o \ |
| 139 | eelf32i370.o \ |
| 140 | eelf32l4300.o \ |
| 141 | eelf32lmip.o \ |
| 142 | eelf32lppc.o \ |
| 143 | eelf32lppcsim.o \ |
| 144 | eelf32ppc.o \ |
| 145 | eelf32ppcsim.o \ |
| 146 | eelf32ppclinux.o \ |
| 147 | eelf_i386.o \ |
| 148 | eelf_i386_be.o \ |
| 149 | egld960.o \ |
| 150 | egld960coff.o \ |
| 151 | eelf32fr30.o \ |
| 152 | eelf32mcore.o \ |
| 153 | eh8300.o \ |
| 154 | eh8300h.o \ |
| 155 | eh8300s.o \ |
| 156 | eh8500.o \ |
| 157 | eh8500b.o \ |
| 158 | eh8500c.o \ |
| 159 | eh8500m.o \ |
| 160 | eh8500s.o \ |
| 161 | ehp300bsd.o \ |
| 162 | ehp3hpux.o \ |
| 163 | ei386aout.o \ |
| 164 | ei386beos.o \ |
| 165 | ei386bsd.o \ |
| 166 | ei386coff.o \ |
| 167 | ei386go32.o \ |
| 168 | ei386linux.o \ |
| 169 | ei386lynx.o \ |
| 170 | ei386mach.o \ |
| 171 | ei386moss.o \ |
| 172 | ei386msdos.o \ |
| 173 | ei386nbsd.o \ |
| 174 | ei386nw.o \ |
| 175 | ei386pe.o \ |
| 176 | ei386pe_posix.o \ |
| 177 | elnk960.o \ |
| 178 | em68hc11elf.o \ |
| 179 | em68hc11elfb.o \ |
| 180 | em68hc12elf.o \ |
| 181 | em68hc12elfb.o \ |
| 182 | em68k4knbsd.o \ |
| 183 | em68kaout.o \ |
| 184 | em68kaux.o \ |
| 185 | em68kcoff.o \ |
| 186 | em68kelf.o \ |
| 187 | em68klinux.o \ |
| 188 | em68klynx.o \ |
| 189 | em68knbsd.o \ |
| 190 | em68kpsos.o \ |
| 191 | em88kbcs.o \ |
| 192 | emcorepe.o \ |
| 193 | emipsbig.o \ |
| 194 | emipsbsd.o \ |
| 195 | emipsidt.o \ |
| 196 | emipsidtl.o \ |
| 197 | emipslit.o \ |
| 198 | emipslnews.o \ |
| 199 | emipspe.o \ |
| 200 | enews.o \ |
| 201 | epjelf.o \ |
| 202 | epjlelf.o \ |
| 203 | ens32knbsd.o \ |
| 204 | epc532macha.o \ |
| 205 | eppcmacos.o \ |
| 206 | eppcnw.o \ |
| 207 | eppcpe.o \ |
| 208 | eriscix.o \ |
| 209 | esa29200.o \ |
| 210 | esh.o \ |
| 211 | eshelf.o \ |
| 212 | eshlelf.o \ |
| 213 | eshl.o \ |
| 214 | eshpe.o \ |
| 215 | esparcaout.o \ |
| 216 | esparclinux.o \ |
| 217 | esparclynx.o \ |
| 218 | esparcnbsd.o \ |
| 219 | est2000.o \ |
| 220 | esun3.o \ |
| 221 | esun4.o \ |
| 222 | etic30aout.o \ |
| 223 | etic30coff.o \ |
| 224 | etic54xcoff.o \ |
| 225 | etic80coff.o \ |
| 226 | evanilla.o \ |
| 227 | evax.o \ |
| 228 | evsta.o \ |
| 229 | ew65.o \ |
| 230 | ez8001.o \ |
| 231 | ez8002.o |
| 232 | |
| 233 | # The following object file has been removed from ALL_EMULATIONS |
| 234 | # because the BFD support is currently broken. |
| 235 | # ehppaelf.o |
| 236 | |
| 237 | ALL_64_EMULATIONS = \ |
| 238 | eelf64_ia64.o \ |
| 239 | eelf64_sparc.o \ |
| 240 | eelf64alpha.o \ |
| 241 | eelf64hppa.o \ |
| 242 | eelf64bmip.o |
| 243 | |
| 244 | ALL_EMUL_EXTRA_OFILES = \ |
| 245 | pe-dll.o \ |
| 246 | deffilep.o |
| 247 | |
| 248 | CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \ |
| 249 | ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \ |
| 250 | mri.c ldcref.c pe-dll.c |
| 251 | |
| 252 | HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \ |
| 253 | ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \ |
| 254 | ldwrite.h mri.h deffile.h pe-dll.h |
| 255 | |
| 256 | GENERATED_CFILES = ldgram.c ldlex.c deffilep.c |
| 257 | GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h |
| 258 | |
| 259 | OFILES = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o \ |
| 260 | ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o \ |
| 261 | ldfile.o ldcref.o ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES} |
| 262 | |
| 263 | STAGESTUFF = *.o ldscripts/* e*.c |
| 264 | |
| 265 | # At the moment this is just a list of those emulation template files |
| 266 | # that contain internationalised strings. |
| 267 | EMULATION_FILES = emultempl/pe.em emultempl/armcoff.em |
| 268 | |
| 269 | POTFILES = $(CFILES) $(HFILES) $(EMULATION_FILES) |
| 270 | |
| 271 | po/POTFILES.in: @MAINT@ Makefile |
| 272 | for file in $(POTFILES); do echo $$file; done | sort > tmp \ |
| 273 | && mv tmp $(srcdir)/po/POTFILES.in |
| 274 | |
| 275 | ldmain.o: ldmain.c config.status |
| 276 | $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' -DSCRIPTDIR='"$(scriptdir)"' -DTARGET='"@target@"' $(srcdir)/ldmain.c |
| 277 | |
| 278 | ldemul-list.h: Makefile |
| 279 | (echo "/* This file is automatically generated. DO NOT EDIT! */";\ |
| 280 | for f in `echo " " ${EMULATION_OFILES} "" \ |
| 281 | | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \ |
| 282 | echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \ |
| 283 | done;\ |
| 284 | echo "";\ |
| 285 | echo "#define EMULATION_LIST \\";\ |
| 286 | for f in `echo " " ${EMULATION_OFILES} "" \ |
| 287 | | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \ |
| 288 | echo " &ld_$${f}_emulation, \\"; \ |
| 289 | done;\ |
| 290 | echo " 0") >ldemul-tmp.h |
| 291 | mv ldemul-tmp.h ldemul-list.h |
| 292 | |
| 293 | stringify.sed: ${srcdir}/emultempl/$(STRINGIFY) |
| 294 | cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed |
| 295 | |
| 296 | # These all start with e so 'make clean' can find them. |
| 297 | |
| 298 | GENSCRIPTS = $(SHELL) $(srcdir)/genscripts.sh ${srcdir} ${libdir} @host@ @target@ @target_alias@ "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@" |
| 299 | GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed |
| 300 | @TDIRS@ |
| 301 | |
| 302 | ea29k.c: $(srcdir)/emulparams/a29k.sh \ |
| 303 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/a29k.sc ${GEN_DEPENDS} |
| 304 | ${GENSCRIPTS} a29k "$(tdir_a29k)" |
| 305 | eaixppc.c: $(srcdir)/emulparams/aixppc.sh \ |
| 306 | $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS} |
| 307 | ${GENSCRIPTS} aixppc "$(tdir_aixppc)" |
| 308 | eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \ |
| 309 | $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS} |
| 310 | ${GENSCRIPTS} aixrs6 "$(tdir_aixrs6)" |
| 311 | ealpha.c: $(srcdir)/emulparams/alpha.sh \ |
| 312 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS} |
| 313 | ${GENSCRIPTS} alpha "$(tdir_alpha)" |
| 314 | earcelf.c: $(srcdir)/emulparams/arcelf.sh \ |
| 315 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 316 | ${GENSCRIPTS} arcelf "$(tdir_arcelf)" |
| 317 | earmelf.c: $(srcdir)/emulparams/armelf.sh \ |
| 318 | $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 319 | ${GENSCRIPTS} armelf "$(tdir_armelf)" |
| 320 | earmelf_oabi.c: $(srcdir)/emulparams/armelf_oabi.sh \ |
| 321 | $(srcdir)/emultempl/armelf_oabi.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 322 | ${GENSCRIPTS} armelf_oabi "$(tdir_armelf)" |
| 323 | earmelf_linux.c: $(srcdir)/emulparams/armelf_linux.sh \ |
| 324 | $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 325 | ${GENSCRIPTS} armelf_linux "$(tdir_armelf_linux)" |
| 326 | earmelf_linux26.c: $(srcdir)/emulparams/armelf_linux26.sh \ |
| 327 | $(srcdir)/emultempl/armelf.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 328 | ${GENSCRIPTS} armelf_linux26 "$(tdir_armelf_linux26)" |
| 329 | earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \ |
| 330 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS} |
| 331 | ${GENSCRIPTS} armaoutb "$(tdir_armaoutb)" |
| 332 | earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \ |
| 333 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS} |
| 334 | ${GENSCRIPTS} armaoutl "$(tdir_armaoutl)" |
| 335 | earmcoff.c: $(srcdir)/emulparams/armcoff.sh \ |
| 336 | $(srcdir)/emultempl/armcoff.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS} |
| 337 | ${GENSCRIPTS} armcoff "$(tdir_armcoff)" |
| 338 | earmnbsd.c: $(srcdir)/emulparams/armnbsd.sh \ |
| 339 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 340 | ${GENSCRIPTS} armnbsd "$(tdir_armnbsd)" |
| 341 | earm_epoc_pe.c: $(srcdir)/emulparams/arm_epoc_pe.sh \ |
| 342 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/epocpe.sc ${GEN_DEPENDS} |
| 343 | ${GENSCRIPTS} arm_epoc_pe "$(tdir_armpe)" |
| 344 | earmpe.c: $(srcdir)/emulparams/armpe.sh \ |
| 345 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} |
| 346 | ${GENSCRIPTS} armpe "$(tdir_armpe)" |
| 347 | eavr85xx.c: $(srcdir)/emulparams/avr85xx.sh \ |
| 348 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \ |
| 349 | ${GEN_DEPENDS} |
| 350 | ${GENSCRIPTS} avr85xx "$(tdir_avr85xx)" |
| 351 | eavr1200.c: $(srcdir)/emulparams/avr1200.sh \ |
| 352 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \ |
| 353 | ${GEN_DEPENDS} |
| 354 | ${GENSCRIPTS} avr1200 "$(tdir_avr85xx)" |
| 355 | eavr23xx.c: $(srcdir)/emulparams/avr23xx.sh \ |
| 356 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \ |
| 357 | ${GEN_DEPENDS} |
| 358 | ${GENSCRIPTS} avr23xx "$(tdir_avr85xx)" |
| 359 | eavr44x4.c: $(srcdir)/emulparams/avr44x4.sh \ |
| 360 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \ |
| 361 | ${GEN_DEPENDS} |
| 362 | ${GENSCRIPTS} avr44x4 "$(tdir_avr85xx)" |
| 363 | eavr4433.c: $(srcdir)/emulparams/avr4433.sh \ |
| 364 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \ |
| 365 | ${GEN_DEPENDS} |
| 366 | ${GENSCRIPTS} avr4433 "$(tdir_avr85xx)" |
| 367 | eavrmega603.c: $(srcdir)/emulparams/avrmega603.sh \ |
| 368 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \ |
| 369 | ${GEN_DEPENDS} |
| 370 | ${GENSCRIPTS} avrmega603 "$(tdir_avr85xx)" |
| 371 | eavrmega103.c: $(srcdir)/emulparams/avrmega103.sh \ |
| 372 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \ |
| 373 | ${GEN_DEPENDS} |
| 374 | ${GENSCRIPTS} avrmega103 "$(tdir_avr85xx)" |
| 375 | eavrmega161.c: $(srcdir)/emulparams/avrmega161.sh \ |
| 376 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32avr.sc \ |
| 377 | ${GEN_DEPENDS} |
| 378 | ${GENSCRIPTS} avrmega161 "$(tdir_avr85xx)" |
| 379 | ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \ |
| 380 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS} |
| 381 | ${GENSCRIPTS} coff_sparc "$(tdir_coff_sparc)" |
| 382 | ed10velf.c: $(srcdir)/emulparams/d10velf.sh \ |
| 383 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS} |
| 384 | ${GENSCRIPTS} d10velf "$(tdir_d10v)" |
| 385 | ed30velf.c: $(srcdir)/emulparams/d30velf.sh \ |
| 386 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS} |
| 387 | ${GENSCRIPTS} d30velf "$(tdir_d30v)" |
| 388 | ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \ |
| 389 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS} |
| 390 | ${GENSCRIPTS} d30v_o "$(tdir_d30v)" |
| 391 | ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \ |
| 392 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS} |
| 393 | ${GENSCRIPTS} d30v_e "$(tdir_d30v)" |
| 394 | edelta68.c: $(srcdir)/emulparams/delta68.sh \ |
| 395 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS} |
| 396 | ${GENSCRIPTS} delta68 "$(tdir_delta68)" |
| 397 | eebmon29k.c: $(srcdir)/emulparams/ebmon29k.sh \ |
| 398 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/ebmon29k.sc ${GEN_DEPENDS} |
| 399 | ${GENSCRIPTS} ebmon29k "$(tdir_ebmon29k)" |
| 400 | eelf32fr30.c: $(srcdir)/emulparams/elf32fr30.sh \ |
| 401 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 402 | ${GENSCRIPTS} elf32fr30 "$(tdir_fr30)" |
| 403 | eelf32mcore.c: $(srcdir)/emulparams/elf32mcore.sh \ |
| 404 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 405 | ${GENSCRIPTS} elf32mcore "$(tdir_mcore)" |
| 406 | em32relf.c: $(srcdir)/emulparams/m32relf.sh \ |
| 407 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 408 | ${GENSCRIPTS} m32relf "$(tdir_m32r)" |
| 409 | eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \ |
| 410 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 411 | ${GENSCRIPTS} elf32_sparc "$(tdir_elf32_sparc)" |
| 412 | eelf32_i960.c: $(srcdir)/emulparams/elf32_i960.sh \ |
| 413 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 414 | ${GENSCRIPTS} elf32_i960 "$(tdir_elf32_i960)" |
| 415 | eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \ |
| 416 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 417 | ${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)" |
| 418 | eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh \ |
| 419 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 420 | ${GENSCRIPTS} elf32bmip "$(tdir_elf32bmip)" |
| 421 | eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \ |
| 422 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 423 | ${GENSCRIPTS} elf32bsmip "$(tdir_elf32bsmip)" |
| 424 | eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \ |
| 425 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 426 | ${GENSCRIPTS} elf32ebmip "$(tdir_elf32ebmip)" |
| 427 | eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \ |
| 428 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 429 | ${GENSCRIPTS} elf32elmip "$(tdir_elf32elmip)" |
| 430 | eelf32bmipn32.c: $(srcdir)/emulparams/elf32bmipn32.sh \ |
| 431 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 432 | ${GENSCRIPTS} elf32bmipn32 "$(tdir_elf32bmipn32)" |
| 433 | eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \ |
| 434 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 435 | ${GENSCRIPTS} elf32l4300 "$(tdir_elf32l4300)" |
| 436 | eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \ |
| 437 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 438 | ${GENSCRIPTS} elf32lmip "$(tdir_elf32lmip)" |
| 439 | eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \ |
| 440 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 441 | ${GENSCRIPTS} elf32lppc "$(tdir_elf32lppc)" |
| 442 | eelf32lppcsim.c: $(srcdir)/emulparams/elf32lppcsim.sh \ |
| 443 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 444 | ${GENSCRIPTS} elf32lppcsim "$(tdir_elf32lppcsim)" |
| 445 | eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \ |
| 446 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 447 | ${GENSCRIPTS} elf32lsmip "$(tdir_elf32lsmip)" |
| 448 | eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \ |
| 449 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 450 | ${GENSCRIPTS} elf32ppc "$(tdir_elf32ppc)" |
| 451 | eelf32ppcsim.c: $(srcdir)/emulparams/elf32ppcsim.sh \ |
| 452 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 453 | ${GENSCRIPTS} elf32ppcsim "$(tdir_elf32ppcsim)" |
| 454 | eelf32ppclinux.c: $(srcdir)/emulparams/elf32ppclinux.sh \ |
| 455 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 456 | ${GENSCRIPTS} elf32ppclinux "$(tdir_elf32ppclinux)" |
| 457 | eelf32i370.c: $(srcdir)/emulparams/elf32i370.sh \ |
| 458 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfi370.sc ${GEN_DEPENDS} |
| 459 | ${GENSCRIPTS} elf32i370 "$(tdir_elf32i370)" |
| 460 | eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \ |
| 461 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 462 | ${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)" |
| 463 | eelf64hppa.c: $(srcdir)/emulparams/elf64hppa.sh \ |
| 464 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 465 | ${GENSCRIPTS} elf64hppa "$(tdir_elf64hppa)" |
| 466 | eelf64_ia64.c: $(srcdir)/emulparams/elf64_ia64.sh \ |
| 467 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 468 | ${GENSCRIPTS} elf64_ia64 "$(tdir_elf64_ia64)" |
| 469 | eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \ |
| 470 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 471 | ${GENSCRIPTS} elf64_sparc "$(tdir_elf64_sparc)" |
| 472 | eelf64bmip.c: $(srcdir)/emulparams/elf64bmip.sh \ |
| 473 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 474 | ${GENSCRIPTS} elf64bmip "$(tdir_elf64bmip)" |
| 475 | eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \ |
| 476 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 477 | ${GENSCRIPTS} elf_i386 "$(tdir_elf_i386)" |
| 478 | eelf_i386_be.c: $(srcdir)/emulparams/elf_i386_be.sh \ |
| 479 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 480 | ${GENSCRIPTS} elf_i386_be "$(tdir_elf_i386_be)" |
| 481 | egld960.c: $(srcdir)/emulparams/gld960.sh \ |
| 482 | $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS} |
| 483 | ${GENSCRIPTS} gld960 "$(tdir_gld960)" |
| 484 | egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \ |
| 485 | $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS} |
| 486 | ${GENSCRIPTS} gld960coff "$(tdir_gld960coff)" |
| 487 | eh8300.c: $(srcdir)/emulparams/h8300.sh \ |
| 488 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS} |
| 489 | ${GENSCRIPTS} h8300 "$(tdir_h8300)" |
| 490 | eh8300h.c: $(srcdir)/emulparams/h8300h.sh \ |
| 491 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS} |
| 492 | ${GENSCRIPTS} h8300h "$(tdir_h8300h)" |
| 493 | eh8300s.c: $(srcdir)/emulparams/h8300s.sh \ |
| 494 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS} |
| 495 | ${GENSCRIPTS} h8300s "$(tdir_h8300s)" |
| 496 | eh8500.c: $(srcdir)/emulparams/h8500.sh \ |
| 497 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS} |
| 498 | ${GENSCRIPTS} h8500 "$(tdir_h8500)" |
| 499 | eh8500b.c: $(srcdir)/emulparams/h8500b.sh \ |
| 500 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS} |
| 501 | ${GENSCRIPTS} h8500b "$(tdir_h8500b)" |
| 502 | eh8500c.c: $(srcdir)/emulparams/h8500c.sh \ |
| 503 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS} |
| 504 | ${GENSCRIPTS} h8500c "$(tdir_h8500c)" |
| 505 | eh8500m.c: $(srcdir)/emulparams/h8500m.sh \ |
| 506 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS} |
| 507 | ${GENSCRIPTS} h8500m "$(tdir_h8500m)" |
| 508 | eh8500s.c: $(srcdir)/emulparams/h8500s.sh \ |
| 509 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS} |
| 510 | ${GENSCRIPTS} h8500s "$(tdir_h8500s)" |
| 511 | ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \ |
| 512 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 513 | ${GENSCRIPTS} hp300bsd "$(tdir_hp300bsd)" |
| 514 | ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \ |
| 515 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 516 | ${GENSCRIPTS} hp3hpux "$(tdir_hp3hpux)" |
| 517 | ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \ |
| 518 | $(srcdir)/emultempl/hppaelf.em $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS} |
| 519 | ${GENSCRIPTS} hppaelf "$(tdir_hppaelf)" |
| 520 | ei386aout.c: $(srcdir)/emulparams/i386aout.sh \ |
| 521 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 522 | ${GENSCRIPTS} i386aout "$(tdir_i386aout)" |
| 523 | ei386beos.c: $(srcdir)/emulparams/i386beos.sh \ |
| 524 | $(srcdir)/emultempl/beos.em $(srcdir)/scripttempl/i386beos.sc ${GEN_DEPENDS} |
| 525 | ${GENSCRIPTS} i386beos "$(tdir_i386beos)" |
| 526 | ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \ |
| 527 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 528 | ${GENSCRIPTS} i386bsd "$(tdir_i386bsd)" |
| 529 | ei386coff.c: $(srcdir)/emulparams/i386coff.sh \ |
| 530 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS} |
| 531 | ${GENSCRIPTS} i386coff "$(tdir_i386coff)" |
| 532 | ei386go32.c: $(srcdir)/emulparams/i386go32.sh \ |
| 533 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS} |
| 534 | ${GENSCRIPTS} i386go32 "$(tdir_i386go32)" |
| 535 | ei386linux.c: $(srcdir)/emulparams/i386linux.sh \ |
| 536 | $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 537 | ${GENSCRIPTS} i386linux "$(tdir_i386linux)" |
| 538 | ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \ |
| 539 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386lynx.sc ${GEN_DEPENDS} |
| 540 | ${GENSCRIPTS} i386lynx "$(tdir_i386lynx)" |
| 541 | ei386mach.c: $(srcdir)/emulparams/i386mach.sh \ |
| 542 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 543 | ${GENSCRIPTS} i386mach "$(tdir_i386mach)" |
| 544 | ei386moss.c: $(srcdir)/emulparams/i386moss.sh \ |
| 545 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 546 | ${GENSCRIPTS} i386moss "$(tdir_i386moss)" |
| 547 | ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \ |
| 548 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS} |
| 549 | ${GENSCRIPTS} i386msdos "$(tdir_i386msdos)" |
| 550 | ei386nbsd.c: $(srcdir)/emulparams/i386nbsd.sh \ |
| 551 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 552 | ${GENSCRIPTS} i386nbsd "$(tdir_i386nbsd)" |
| 553 | ei386nw.c: $(srcdir)/emulparams/i386nw.sh \ |
| 554 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS} |
| 555 | ${GENSCRIPTS} i386nw "$(tdir_i386nw)" |
| 556 | ei386pe.c: $(srcdir)/emulparams/i386pe.sh \ |
| 557 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} |
| 558 | ${GENSCRIPTS} i386pe "$(tdir_i386pe)" |
| 559 | ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \ |
| 560 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} |
| 561 | ${GENSCRIPTS} i386pe_posix "$(tdir_i386pe_posix)" |
| 562 | elnk960.c: $(srcdir)/emulparams/lnk960.sh \ |
| 563 | $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS} |
| 564 | ${GENSCRIPTS} lnk960 "$(tdir_lnk960)" |
| 565 | em68hc11elf.c: $(srcdir)/emulparams/m68hc11elf.sh \ |
| 566 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS} |
| 567 | ${GENSCRIPTS} m68hc11elf "$(tdir_m68hc11)" |
| 568 | em68hc11elfb.c: $(srcdir)/emulparams/m68hc11elfb.sh \ |
| 569 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc11.sc ${GEN_DEPENDS} |
| 570 | ${GENSCRIPTS} m68hc11elfb "$(tdir_m68hc11b)" |
| 571 | em68hc12elf.c: $(srcdir)/emulparams/m68hc12elf.sh \ |
| 572 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS} |
| 573 | ${GENSCRIPTS} m68hc12elf "$(tdir_m68hc12)" |
| 574 | em68hc12elfb.c: $(srcdir)/emulparams/m68hc12elfb.sh \ |
| 575 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfm68hc12.sc ${GEN_DEPENDS} |
| 576 | ${GENSCRIPTS} m68hc12elfb "$(tdir_m68hc12b)" |
| 577 | em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \ |
| 578 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 579 | ${GENSCRIPTS} m68k4knbsd "$(tdir_m68k4knbsd)" |
| 580 | em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \ |
| 581 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 582 | ${GENSCRIPTS} m68kaout "$(tdir_m68kaout)" |
| 583 | em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \ |
| 584 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS} |
| 585 | ${GENSCRIPTS} m68kaux "$(tdir_m68kaux)" |
| 586 | em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \ |
| 587 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS} |
| 588 | ${GENSCRIPTS} m68kcoff "$(tdir_m68kcoff)" |
| 589 | em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \ |
| 590 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 591 | ${GENSCRIPTS} m68kelf "$(tdir_m68kelf)" |
| 592 | em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \ |
| 593 | $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 594 | ${GENSCRIPTS} m68klinux "$(tdir_m68klinux)" |
| 595 | em68klynx.c: $(srcdir)/emulparams/m68klynx.sh \ |
| 596 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68klynx.sc ${GEN_DEPENDS} |
| 597 | ${GENSCRIPTS} m68klynx "$(tdir_m68klynx)" |
| 598 | em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \ |
| 599 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 600 | ${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)" |
| 601 | em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \ |
| 602 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS} |
| 603 | ${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)" |
| 604 | em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \ |
| 605 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS} |
| 606 | ${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)" |
| 607 | emcorepe.c: $(srcdir)/emulparams/mcorepe.sh \ |
| 608 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} |
| 609 | ${GENSCRIPTS} mcorepe "$(tdir_mcorepe)" |
| 610 | emipsbig.c: $(srcdir)/emulparams/mipsbig.sh \ |
| 611 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} |
| 612 | ${GENSCRIPTS} mipsbig |
| 613 | emipsbsd.c: $(srcdir)/emulparams/mipsbsd.sh \ |
| 614 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mipsbsd.sc ${GEN_DEPENDS} |
| 615 | ${GENSCRIPTS} mipsbsd |
| 616 | emipsidt.c: $(srcdir)/emulparams/mipsidt.sh \ |
| 617 | $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} |
| 618 | ${GENSCRIPTS} mipsidt "$(tdir_mipsidt)" |
| 619 | emipsidtl.c: $(srcdir)/emulparams/mipsidtl.sh \ |
| 620 | $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} |
| 621 | ${GENSCRIPTS} mipsidtl "$(tdir_mipsidtl)" |
| 622 | emipslit.c: $(srcdir)/emulparams/mipslit.sh \ |
| 623 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} |
| 624 | ${GENSCRIPTS} mipslit "$(tdir_mipslit)" |
| 625 | emipslnews.c: $(srcdir)/emulparams/mipslnews.sh \ |
| 626 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} |
| 627 | ${GENSCRIPTS} mipslnews |
| 628 | emipspe.c: $(srcdir)/emulparams/mipspe.sh \ |
| 629 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} |
| 630 | ${GENSCRIPTS} mipspe "$(tdir_mips)" |
| 631 | emn10300.c: $(srcdir)/emulparams/mn10300.sh \ |
| 632 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 633 | ${GENSCRIPTS} mn10300 "$(tdir_mn10300)" |
| 634 | emn10200.c: $(srcdir)/emulparams/mn10200.sh \ |
| 635 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 636 | ${GENSCRIPTS} mn10200 "$(tdir_mn10200)" |
| 637 | enews.c: $(srcdir)/emulparams/news.sh \ |
| 638 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 639 | ${GENSCRIPTS} news "$(tdir_news)" |
| 640 | ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \ |
| 641 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 642 | ${GENSCRIPTS} ns32knbsd "$(tdir_ns32knbsd)" |
| 643 | epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \ |
| 644 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 645 | ${GENSCRIPTS} pc532macha "$(tdir_pc532macha)" |
| 646 | epjelf.c: $(srcdir)/emulparams/pjelf.sh \ |
| 647 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 648 | ${GENSCRIPTS} pjelf "$(tdir_pjelf)" |
| 649 | epjlelf.c: $(srcdir)/emulparams/pjlelf.sh \ |
| 650 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 651 | ${GENSCRIPTS} pjlelf "$(tdir_pjlelf)" |
| 652 | eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \ |
| 653 | $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS} |
| 654 | ${GENSCRIPTS} ppcmacos "$(tdir_ppcmacos)" |
| 655 | eppcnw.c: $(srcdir)/emulparams/ppcnw.sh \ |
| 656 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS} |
| 657 | ${GENSCRIPTS} ppcnw "$(tdir_ppcnw)" |
| 658 | eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \ |
| 659 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS} |
| 660 | ${GENSCRIPTS} ppcpe "$(tdir_ppcpe)" |
| 661 | eriscix.c: $(srcdir)/emulparams/riscix.sh \ |
| 662 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 663 | ${GENSCRIPTS} riscix "$(tdir_riscix)" |
| 664 | esa29200.c: $(srcdir)/emulparams/sa29200.sh \ |
| 665 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sa29200.sc ${GEN_DEPENDS} |
| 666 | ${GENSCRIPTS} sa29200 "$(tdir_sa29200)" |
| 667 | esh.c: $(srcdir)/emulparams/sh.sh \ |
| 668 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS} |
| 669 | ${GENSCRIPTS} sh "$(tdir_sh)" |
| 670 | eshelf.c: $(srcdir)/emulparams/shelf.sh \ |
| 671 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 672 | ${GENSCRIPTS} shelf "$(tdir_shelf)" |
| 673 | eshlelf.c: $(srcdir)/emulparams/shlelf.sh \ |
| 674 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 675 | ${GENSCRIPTS} shlelf "$(tdir_shlelf)" |
| 676 | eshl.c: $(srcdir)/emulparams/shl.sh \ |
| 677 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS} |
| 678 | ${GENSCRIPTS} shl "$(tdir_shl)" |
| 679 | eshpe.c: $(srcdir)/emulparams/shpe.sh \ |
| 680 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} |
| 681 | ${GENSCRIPTS} shpe "$(tdir_shl)" |
| 682 | esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \ |
| 683 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 684 | ${GENSCRIPTS} sparcaout "$(tdir_sparcaout)" |
| 685 | esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \ |
| 686 | $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 687 | ${GENSCRIPTS} sparclinux "$(tdir_sparclinux)" |
| 688 | esparclynx.c: $(srcdir)/emulparams/sparclynx.sh \ |
| 689 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparclynx.sc ${GEN_DEPENDS} |
| 690 | ${GENSCRIPTS} sparclynx "$(tdir_sparclynx)" |
| 691 | esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \ |
| 692 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 693 | ${GENSCRIPTS} sparcnbsd "$(tdir_sparcnbsd)" |
| 694 | est2000.c: $(srcdir)/emulparams/st2000.sh \ |
| 695 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS} |
| 696 | ${GENSCRIPTS} st2000 "$(tdir_st2000)" |
| 697 | esun3.c: $(srcdir)/emulparams/sun3.sh \ |
| 698 | $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 699 | ${GENSCRIPTS} sun3 "$(tdir_sun3)" |
| 700 | esun4.c: $(srcdir)/emulparams/sun4.sh \ |
| 701 | $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 702 | ${GENSCRIPTS} sun4 "$(tdir_sun4)" |
| 703 | etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \ |
| 704 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS} |
| 705 | ${GENSCRIPTS} tic30aout "$(tdir_tic30aout)" |
| 706 | etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \ |
| 707 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS} |
| 708 | ${GENSCRIPTS} tic30coff "$(tdir_tic30coff)" |
| 709 | etic54xcoff.c: $(srcdir)/emulparams/tic54xcoff.sh \ |
| 710 | $(srcdir)/emultempl/ticoff.em $(srcdir)/scripttempl/tic54xcoff.sc ${GEN_DEPENDS} |
| 711 | ${GENSCRIPTS} tic54xcoff "$(tdir_tic54xcoff)" |
| 712 | etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \ |
| 713 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS} |
| 714 | ${GENSCRIPTS} tic80coff "$(tdir_tic80coff)" |
| 715 | evanilla.c: $(srcdir)/emulparams/vanilla.sh \ |
| 716 | $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS} |
| 717 | ${GENSCRIPTS} vanilla "$(tdir_vanilla)" |
| 718 | evax.c: $(srcdir)/emulparams/vax.sh \ |
| 719 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 720 | ${GENSCRIPTS} vax "$(tdir_vax)" |
| 721 | evsta.c: $(srcdir)/emulparams/vsta.sh \ |
| 722 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 723 | ${GENSCRIPTS} vsta "$(tdir_vsta)" |
| 724 | ev850.c: $(srcdir)/emulparams/v850.sh \ |
| 725 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS} |
| 726 | ${GENSCRIPTS} v850 "$(tdir_v850)" |
| 727 | ew65.c: $(srcdir)/emulparams/w65.sh \ |
| 728 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS} |
| 729 | ${GENSCRIPTS} w65 "$(tdir_w65)" |
| 730 | ez8001.c: $(srcdir)/emulparams/z8001.sh \ |
| 731 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS} |
| 732 | ${GENSCRIPTS} z8001 "$(tdir_z8001)" |
| 733 | ez8002.c: $(srcdir)/emulparams/z8002.sh \ |
| 734 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS} |
| 735 | ${GENSCRIPTS} z8002 "$(tdir_z8002)" |
| 736 | |
| 737 | ld_new_SOURCES = ldgram.y ldlex.l lexsup.c ldlang.c mri.c ldctor.c ldmain.c \ |
| 738 | ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c |
| 739 | ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLDEPS) |
| 740 | ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBIBERTY) $(INTLLIBS) |
| 741 | |
| 742 | # The generated emulation files mostly have the same dependencies. |
| 743 | $(EMULATION_OFILES): ../bfd/bfd.h sysdep.h config.h $(INCDIR)/bfdlink.h \ |
| 744 | ld.h ldmain.h ldemul.h ldfile.h ldmisc.h ldexp.h ldlang.h \ |
| 745 | ldctor.h ldexp.h ldlang.h ldgram.h |
| 746 | |
| 747 | # This is the real libbfd.a created by libtool. |
| 748 | TESTBFDLIB = @TESTBFDLIB@ |
| 749 | |
| 750 | check-DEJAGNU: site.exp |
| 751 | srcroot=`cd $(srcdir) && pwd`; export srcroot; \ |
| 752 | r=`pwd`; export r; \ |
| 753 | LC_COLLATE=; LC_ALL=; LANG=; export LC_COLLATE LC_ALL LANG; \ |
| 754 | EXPECT=$(EXPECT); export EXPECT; \ |
| 755 | if [ -f $(top_builddir)/../expect/expect ]; then \ |
| 756 | TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \ |
| 757 | export TCL_LIBRARY; \ |
| 758 | fi; \ |
| 759 | runtest=$(RUNTEST); \ |
| 760 | if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \ |
| 761 | $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \ |
| 762 | CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \ |
| 763 | CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \ |
| 764 | CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \ |
| 765 | OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \ |
| 766 | LIBIBERTY="$(LIBIBERTY) $(INTLLIBS)" LIBS="$(LIBS)" \ |
| 767 | $(RUNTESTFLAGS); \ |
| 768 | else echo "WARNING: could not find \`runtest'" 1>&2; :;\ |
| 769 | fi |
| 770 | |
| 771 | # Rules for testing by relinking ld itself. |
| 772 | # A similar test is in the testsuite. This target is for ease of use |
| 773 | # when porting ld. |
| 774 | |
| 775 | ld-partial.o: ld-new$(EXEEXT) |
| 776 | ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.o -r $(OFILES) |
| 777 | ld1$(EXEEXT): ld-partial.o |
| 778 | ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.o $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS) |
| 779 | |
| 780 | ld1-full$(EXEEXT): ld-new |
| 781 | ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS) |
| 782 | |
| 783 | ld2$(EXEEXT): ld1$(EXEEXT) |
| 784 | ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS) |
| 785 | |
| 786 | ld3$(EXEEXT): ld2$(EXEEXT) |
| 787 | ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) $(LIBS) |
| 788 | |
| 789 | bootstrap: ld3$(EXEEXT) |
| 790 | cmp ld2$(EXEEXT) ld3$(EXEEXT) |
| 791 | |
| 792 | .PHONY: bootstrap |
| 793 | |
| 794 | # A test program for C++ constructors and destructors. |
| 795 | # This test is now in the testsuite. |
| 796 | # |
| 797 | #cdtest: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new |
| 798 | # ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \ |
| 799 | # cdtest-main.o cdtest-bar.o cdtest-foo.o $(HOSTING_LIBS) |
| 800 | # |
| 801 | #cdtest.out: cdtest |
| 802 | # ./cdtest > cdtest.tmp |
| 803 | # mv cdtest.tmp cdtest.out |
| 804 | # |
| 805 | #cdtest-ur.o: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new |
| 806 | # ./ld.new $(HOSTING_EMU) -o cdtest-ur.o -Ur cdtest-main.o \ |
| 807 | # cdtest-bar.o cdtest-foo.o |
| 808 | # |
| 809 | #cdtest-ur: cdtest-ur.o |
| 810 | # ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.o \ |
| 811 | # $(HOSTING_LIBS) |
| 812 | # |
| 813 | #cdtest-ur.out: cdtest-ur |
| 814 | # ./cdtest-ur > cdtest-ur.tmp |
| 815 | # mv cdtest-ur.tmp cdtest-ur.out |
| 816 | # |
| 817 | #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp |
| 818 | # diff $(srcdir)/cdtest.exp cdtest.out |
| 819 | # diff $(srcdir)/cdtest.exp cdtest-ur.out |
| 820 | # |
| 821 | #.PHONY: check-cdtest |
| 822 | |
| 823 | # END OF CHECK TARGETS |
| 824 | |
| 825 | # DOCUMENTATION TARGETS |
| 826 | # Manual configuration file; not usually attached to normal configuration, |
| 827 | # because almost all configs use "gen" version of manual. |
| 828 | # Set DOCVER above to change. |
| 829 | configdoc.texi: ${DOCVER}-doc.texi |
| 830 | ln -s ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \ |
| 831 | || ln ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \ |
| 832 | || cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi |
| 833 | |
| 834 | ldver.texi: Makefile |
| 835 | rm -f $@ |
| 836 | echo '@set VERSION $(VERSION)' > $@ |
| 837 | |
| 838 | ld.info: $(srcdir)/ld.texinfo configdoc.texi ldver.texi |
| 839 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] |
| 840 | $(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc $(srcdir)/ld.texinfo |
| 841 | |
| 842 | ld.dvi: $(srcdir)/ld.texinfo configdoc.texi ldver.texi |
| 843 | TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \ |
| 844 | MAKEINFO="$(MAKEINFO) -I $(srcdir) -I $(BFDDIR)/doc" $(TEXI2DVI) $(srcdir)/ld.texinfo |
| 845 | |
| 846 | MAINTAINERCLEANFILES = ldver.texi |
| 847 | |
| 848 | # We want to reconfigure if configure.host or configure.tgt changes. |
| 849 | config.status: $(srcdir)/configure $(srcdir)/configure.host $(srcdir)/configure.tgt |
| 850 | $(SHELL) ./config.status --recheck |
| 851 | |
| 852 | MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \ |
| 853 | ldemul-list.h crtbegin.o crtend.o ld.log ld.sum |
| 854 | mostlyclean-local: |
| 855 | -rm -rf tmpdir |
| 856 | CLEANFILES = dep.sed DEP DEP1 DEP2 |
| 857 | |
| 858 | .PHONY: install-exec-local install-data-local |
| 859 | |
| 860 | install-exec-local: ld-new$(EXEEXT) |
| 861 | $(mkinstalldirs) $(bindir) $(tooldir)/bin |
| 862 | @list='$(noinst_PROGRAMS)'; for p in $$list; do \ |
| 863 | if test -f $$p; then \ |
| 864 | echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ |
| 865 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/$(EXEEXT)$$//' -e 's/-new//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ |
| 866 | else :; fi; \ |
| 867 | done |
| 868 | n=`echo ld | sed '$(transform)'`; \ |
| 869 | if [ "$(bindir)/$$n$(EXEEXT)" != "$(tooldir)/bin/ld$(EXEEXT)" ]; then \ |
| 870 | rm -f $(tooldir)/bin/ld$(EXEEXT); \ |
| 871 | ln $(bindir)/$$n$(EXEEXT) $(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \ |
| 872 | || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(tooldir)/bin/ld$(EXEEXT); \ |
| 873 | fi |
| 874 | |
| 875 | install-data-local: |
| 876 | $(mkinstalldirs) $(scriptdir)/ldscripts |
| 877 | for f in ldscripts/*; do \ |
| 878 | $(INSTALL_DATA) $$f $(scriptdir)/$$f ; \ |
| 879 | done |
| 880 | |
| 881 | # Stuff that should be included in a distribution. The diststuff |
| 882 | # target is run by the taz target in ../Makefile.in. |
| 883 | LDDISTSTUFF = ldgram.c ldgram.h ldlex.c |
| 884 | diststuff: $(LDDISTSTUFF) info |
| 885 | |
| 886 | DISTCLEANFILES = tdirs site.exp site.bak |
| 887 | distclean-local: |
| 888 | rm -rf ldscripts |
| 889 | |
| 890 | # Targets to rebuild dependencies in this Makefile. |
| 891 | # Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES). |
| 892 | DEP: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h |
| 893 | rm -f DEP1 |
| 894 | $(MAKE) MKDEP="$(MKDEP)" DEP1 |
| 895 | sed -f dep.sed < DEP1 > $@ |
| 896 | echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> $@ |
| 897 | |
| 898 | DEP1: $(CFILES) $(GENERATED_CFILES) |
| 899 | echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2 |
| 900 | echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2 |
| 901 | $(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2 |
| 902 | mv -f DEP2 $@ |
| 903 | |
| 904 | dep.sed: dep-in.sed config.status |
| 905 | sed <$(srcdir)/dep-in.sed >dep.sed \ |
| 906 | -e 's!@INCDIR@!$(INCDIR)!' \ |
| 907 | -e 's!@SRCDIR@!$(srcdir)!' |
| 908 | |
| 909 | dep: DEP |
| 910 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile |
| 911 | cat DEP >> tmp-Makefile |
| 912 | $(srcdir)/../move-if-change tmp-Makefile Makefile |
| 913 | |
| 914 | dep-in: DEP |
| 915 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in |
| 916 | cat DEP >> tmp-Makefile.in |
| 917 | $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in |
| 918 | |
| 919 | dep-am: DEP |
| 920 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am |
| 921 | cat DEP >> tmp-Makefile.am |
| 922 | $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am |
| 923 | |
| 924 | .PHONY: dep dep-in dep-am |
| 925 | |
| 926 | # What appears below is generated by a hacked mkdep using gcc -MM. |
| 927 | |
| 928 | # DO NOT DELETE THIS LINE -- mkdep uses it. |
| 929 | # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. |
| 930 | ldctor.o: ldctor.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
| 931 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \ |
| 932 | ld.h $(INCDIR)/bin-bugs.h ldexp.h ldlang.h ldmisc.h \ |
| 933 | ldgram.h ldmain.h ldctor.h |
| 934 | ldemul.o: ldemul.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
| 935 | sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \ |
| 936 | ldemul.h ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h \ |
| 937 | ldemul-list.h |
| 938 | ldexp.o: ldexp.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
| 939 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \ |
| 940 | ld.h $(INCDIR)/bin-bugs.h ldmain.h ldmisc.h ldexp.h \ |
| 941 | ldgram.h ldlang.h |
| 942 | ldfile.o: ldfile.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
| 943 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \ |
| 944 | ld.h $(INCDIR)/bin-bugs.h ldmisc.h ldexp.h ldlang.h \ |
| 945 | ldfile.h ldmain.h ldgram.h ldlex.h ldemul.h |
| 946 | ldlang.o: ldlang.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
| 947 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \ |
| 948 | $(INCDIR)/obstack.h $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h \ |
| 949 | ldmain.h ldgram.h ldexp.h ldlang.h ldemul.h ldlex.h \ |
| 950 | ldmisc.h ldctor.h ldfile.h $(INCDIR)/fnmatch.h $(INCDIR)/demangle.h |
| 951 | ldmain.o: ldmain.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
| 952 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \ |
| 953 | $(INCDIR)/progress.h $(INCDIR)/bfdlink.h $(INCDIR)/filenames.h \ |
| 954 | ld.h $(INCDIR)/bin-bugs.h ldmain.h ldmisc.h ldwrite.h \ |
| 955 | ldgram.h ldexp.h ldlang.h ldemul.h ldlex.h ldfile.h \ |
| 956 | ldctor.h |
| 957 | ldmisc.o: ldmisc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
| 958 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \ |
| 959 | $(INCDIR)/demangle.h ld.h $(INCDIR)/bin-bugs.h ldmisc.h \ |
| 960 | ldexp.h ldlang.h ldgram.h ldlex.h ldmain.h ldfile.h |
| 961 | ldver.o: ldver.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
| 962 | sysdep.h config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \ |
| 963 | ldver.h ldemul.h ldmain.h |
| 964 | ldwrite.o: ldwrite.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
| 965 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \ |
| 966 | $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h ldexp.h \ |
| 967 | ldlang.h ldwrite.h ldmisc.h ldgram.h ldmain.h |
| 968 | lexsup.o: lexsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
| 969 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \ |
| 970 | $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \ |
| 971 | ldmisc.h ldexp.h ldlang.h ldgram.h ldlex.h ldfile.h \ |
| 972 | ldver.h ldemul.h |
| 973 | mri.o: mri.c ../bfd/bfd.h $(INCDIR)/ansidecl.h sysdep.h \ |
| 974 | config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \ |
| 975 | ldexp.h ldlang.h ldmisc.h mri.h ldgram.h $(INCDIR)/libiberty.h |
| 976 | ldcref.o: ldcref.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
| 977 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \ |
| 978 | $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h ldmain.h \ |
| 979 | ldmisc.h ldexp.h ldlang.h |
| 980 | pe-dll.o: pe-dll.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
| 981 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \ |
| 982 | $(INCDIR)/libiberty.h ld.h $(INCDIR)/bin-bugs.h ldexp.h \ |
| 983 | ldlang.h ldwrite.h ldmisc.h ldgram.h ldmain.h ldemul.h \ |
| 984 | $(INCDIR)/coff/internal.h ../bfd/libcoff.h deffile.h \ |
| 985 | pe-dll.h |
| 986 | ldgram.o: ldgram.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
| 987 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \ |
| 988 | ld.h $(INCDIR)/bin-bugs.h ldexp.h ldver.h ldlang.h \ |
| 989 | ldemul.h ldfile.h ldmisc.h ldmain.h mri.h ldctor.h \ |
| 990 | ldlex.h |
| 991 | ldlex.o: ldlex.c ../bfd/bfd.h sysdep.h config.h $(INCDIR)/fopen-same.h \ |
| 992 | ld.h $(INCDIR)/bin-bugs.h ldgram.h ldmisc.h ldexp.h \ |
| 993 | ldlang.h ldfile.h ldlex.h ldmain.h |
| 994 | deffilep.o: deffilep.c $(INCDIR)/libiberty.h $(INCDIR)/ansidecl.h \ |
| 995 | ../bfd/bfd.h sysdep.h config.h $(INCDIR)/fopen-same.h \ |
| 996 | ld.h $(INCDIR)/bin-bugs.h ldmisc.h deffile.h |
| 997 | # IF YOU PUT ANYTHING HERE IT WILL GO AWAY |