| 1 | # Makefile.in generated automatically by automake 1.2e from Makefile.am |
| 2 | |
| 3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. |
| 4 | # This Makefile.in is free software; the Free Software Foundation |
| 5 | # gives unlimited permission to copy and/or distribute it, |
| 6 | # with or without modifications, as long as this notice is preserved. |
| 7 | |
| 8 | # This program is distributed in the hope that it will be useful, |
| 9 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
| 10 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
| 11 | # PARTICULAR PURPOSE. |
| 12 | |
| 13 | |
| 14 | SHELL = @SHELL@ |
| 15 | |
| 16 | srcdir = @srcdir@ |
| 17 | top_srcdir = @top_srcdir@ |
| 18 | VPATH = @srcdir@ |
| 19 | prefix = @prefix@ |
| 20 | exec_prefix = @exec_prefix@ |
| 21 | |
| 22 | bindir = @bindir@ |
| 23 | sbindir = @sbindir@ |
| 24 | libexecdir = @libexecdir@ |
| 25 | datadir = @datadir@ |
| 26 | sysconfdir = @sysconfdir@ |
| 27 | sharedstatedir = @sharedstatedir@ |
| 28 | localstatedir = @localstatedir@ |
| 29 | libdir = @libdir@ |
| 30 | infodir = @infodir@ |
| 31 | mandir = @mandir@ |
| 32 | includedir = @includedir@ |
| 33 | oldincludedir = /usr/include |
| 34 | |
| 35 | pkgdatadir = $(datadir)/@PACKAGE@ |
| 36 | pkglibdir = $(libdir)/@PACKAGE@ |
| 37 | pkgincludedir = $(includedir)/@PACKAGE@ |
| 38 | |
| 39 | top_builddir = . |
| 40 | |
| 41 | ACLOCAL = @ACLOCAL@ |
| 42 | AUTOCONF = @AUTOCONF@ |
| 43 | AUTOMAKE = @AUTOMAKE@ |
| 44 | AUTOHEADER = @AUTOHEADER@ |
| 45 | |
| 46 | INSTALL = @INSTALL@ |
| 47 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
| 48 | INSTALL_DATA = @INSTALL_DATA@ |
| 49 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
| 50 | transform = @program_transform_name@ |
| 51 | |
| 52 | NORMAL_INSTALL = : |
| 53 | PRE_INSTALL = : |
| 54 | POST_INSTALL = : |
| 55 | NORMAL_UNINSTALL = : |
| 56 | PRE_UNINSTALL = : |
| 57 | POST_UNINSTALL = : |
| 58 | build_alias = @build_alias@ |
| 59 | build_triplet = @build@ |
| 60 | host_alias = @host_alias@ |
| 61 | host_triplet = @host@ |
| 62 | target_alias = @target_alias@ |
| 63 | target_triplet = @target@ |
| 64 | CC = @CC@ |
| 65 | EXEEXT = @EXEEXT@ |
| 66 | HDEFINES = @HDEFINES@ |
| 67 | LD = @LD@ |
| 68 | LIBTOOL = @LIBTOOL@ |
| 69 | LN_S = @LN_S@ |
| 70 | MAINT = @MAINT@ |
| 71 | MAKEINFO = @MAKEINFO@ |
| 72 | NATIVE_LIB_DIRS = @NATIVE_LIB_DIRS@ |
| 73 | NM = @NM@ |
| 74 | PACKAGE = @PACKAGE@ |
| 75 | RANLIB = @RANLIB@ |
| 76 | VERSION = @VERSION@ |
| 77 | |
| 78 | AUTOMAKE_OPTIONS = cygnus dejagnu |
| 79 | |
| 80 | tooldir = $(exec_prefix)/$(target_alias) |
| 81 | |
| 82 | YACC = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L../bison/bison ; else echo bison -y ; fi` |
| 83 | YFLAGS = -d |
| 84 | LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo flex ; fi` |
| 85 | |
| 86 | # We put the scripts in the directory $(scriptdir)/ldscripts. |
| 87 | # We can't put the scripts in $(datadir) because the SEARCH_DIR |
| 88 | # directives need to be different for native and cross linkers. |
| 89 | scriptdir = $(tooldir)/lib |
| 90 | |
| 91 | EMUL = @EMUL@ |
| 92 | EMULATION_OFILES = @EMULATION_OFILES@ |
| 93 | |
| 94 | # Search path to override the default search path for -lfoo libraries. |
| 95 | # If LIB_PATH is empty, the ones in the script (if any) are left alone. |
| 96 | # (The default is usually /lib:/usr/lib:/usr/local/lib, unless building |
| 97 | # a cross-linker, in which case the default is empty. See genscripts.sh.) |
| 98 | # Otherwise, they are replaced with the ones given in LIB_PATH, |
| 99 | # which may have the form: LIB_PATH=/lib:/usr/local/lib |
| 100 | LIB_PATH = |
| 101 | |
| 102 | BASEDIR = $(srcdir)/.. |
| 103 | BFDDIR = $(BASEDIR)/bfd |
| 104 | INCDIR = $(BASEDIR)/include |
| 105 | DEP = mkdep |
| 106 | |
| 107 | # What version of the manual to build |
| 108 | DOCVER = gen |
| 109 | |
| 110 | #stuff for self hosting (can be overridden in config file). |
| 111 | HOSTING_CRT0 = @HOSTING_CRT0@ |
| 112 | HOSTING_LIBS = @HOSTING_LIBS@ |
| 113 | HOSTING_EMU = -m $(EMUL) |
| 114 | |
| 115 | # Setup the testing framework, if you have one |
| 116 | EXPECT = `if [ -f $$r/../expect/expect ] ; \ |
| 117 | then echo $$r/../expect/expect ; \ |
| 118 | else echo expect ; fi` |
| 119 | |
| 120 | RUNTEST = `if [ -f $${srcroot}/../dejagnu/runtest ] ; \ |
| 121 | then echo $${srcroot}/../dejagnu/runtest ; \ |
| 122 | else echo runtest ; fi` |
| 123 | |
| 124 | RUNTESTFLAGS = |
| 125 | |
| 126 | CC_FOR_TARGET = ` \ |
| 127 | if [ -f $$r/../gcc/xgcc ] ; then \ |
| 128 | if [ -f $$r/../newlib/Makefile ] ; then \ |
| 129 | echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \ |
| 130 | else \ |
| 131 | echo $$r/../gcc/xgcc -B$$r/../gcc/; \ |
| 132 | fi; \ |
| 133 | else \ |
| 134 | if [ "@host@" = "@target@" ] ; then \ |
| 135 | echo $(CC); \ |
| 136 | else \ |
| 137 | echo gcc | sed '$(transform)'; \ |
| 138 | fi; \ |
| 139 | fi` |
| 140 | |
| 141 | CXX = gcc |
| 142 | CXX_FOR_TARGET = ` \ |
| 143 | if [ -f $$r/../gcc/xgcc ] ; then \ |
| 144 | if [ -f $$r/../newlib/Makefile ] ; then \ |
| 145 | echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \ |
| 146 | else \ |
| 147 | echo $$r/../gcc/xgcc -B$$r/../gcc/; \ |
| 148 | fi; \ |
| 149 | else \ |
| 150 | if [ "@host@" = "@target@" ] ; then \ |
| 151 | echo $(CXX); \ |
| 152 | else \ |
| 153 | echo gcc | sed '$(transform)'; \ |
| 154 | fi; \ |
| 155 | fi` |
| 156 | |
| 157 | noinst_PROGRAMS = ld-new |
| 158 | info_TEXINFOS = ld.texinfo |
| 159 | noinst_TEXINFOS = ldint.texinfo |
| 160 | man_MANS = ld.1 |
| 161 | |
| 162 | INCLUDES = -D_GNU_SOURCE -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) $(HDEFINES) $(CFLAGS) |
| 163 | |
| 164 | BFDLIB = ../bfd/libbfd.la |
| 165 | LIBIBERTY = ../libiberty/libiberty.a |
| 166 | |
| 167 | ALL_EMULATIONS = \ |
| 168 | ea29k.o \ |
| 169 | eaixppc.o \ |
| 170 | eaixrs6.o \ |
| 171 | ealpha.o \ |
| 172 | earcelf.o \ |
| 173 | earmaoutb.o \ |
| 174 | earmaoutl.o \ |
| 175 | earmcoff.o \ |
| 176 | earmpe.o \ |
| 177 | ecoff_sparc.o \ |
| 178 | ed10velf.o \ |
| 179 | $(start-sanitize-d30v) \ |
| 180 | ed30velf.o \ |
| 181 | ed30v_e.o \ |
| 182 | ed30v_o.o \ |
| 183 | $(end-sanitize-d30v) \ |
| 184 | edelta68.o \ |
| 185 | eebmon29k.o \ |
| 186 | eelf32_sparc.o \ |
| 187 | eelf32b4300.o \ |
| 188 | eelf32bmip.o \ |
| 189 | eelf32ebmip.o \ |
| 190 | eelf32elmip.o \ |
| 191 | eelf32l4300.o \ |
| 192 | $(start-sanitize-r5900) \ |
| 193 | eelf32l5900.o \ |
| 194 | $(end-sanitize-r5900) \ |
| 195 | eelf32lmip.o \ |
| 196 | eelf32lppc.o \ |
| 197 | eelf32ppc.o \ |
| 198 | eelf_i386.o \ |
| 199 | egld960.o \ |
| 200 | egld960coff.o \ |
| 201 | ego32.o \ |
| 202 | eh8300.o \ |
| 203 | eh8300h.o \ |
| 204 | eh8300s.o \ |
| 205 | eh8500.o \ |
| 206 | eh8500b.o \ |
| 207 | eh8500c.o \ |
| 208 | eh8500m.o \ |
| 209 | eh8500s.o \ |
| 210 | ehp300bsd.o \ |
| 211 | ehp3hpux.o \ |
| 212 | ehppaelf.o \ |
| 213 | ei386aout.o \ |
| 214 | ei386bsd.o \ |
| 215 | ei386coff.o \ |
| 216 | ei386go32.o \ |
| 217 | ei386linux.o \ |
| 218 | ei386lynx.o \ |
| 219 | ei386mach.o \ |
| 220 | ei386moss.o \ |
| 221 | ei386msdos.o \ |
| 222 | ei386nbsd.o \ |
| 223 | ei386nw.o \ |
| 224 | ei386pe.o \ |
| 225 | elnk960.o \ |
| 226 | em68k4knbsd.o \ |
| 227 | em68kaout.o \ |
| 228 | em68kaux.o \ |
| 229 | em68kcoff.o \ |
| 230 | em68kelf.o \ |
| 231 | em68klinux.o \ |
| 232 | em68klynx.o \ |
| 233 | em68knbsd.o \ |
| 234 | em68kpsos.o \ |
| 235 | em88kbcs.o \ |
| 236 | emipsbig.o \ |
| 237 | emipsbsd.o \ |
| 238 | emipsidt.o \ |
| 239 | emipsidtl.o \ |
| 240 | emipslit.o \ |
| 241 | emipslnews.o \ |
| 242 | enews.o \ |
| 243 | ens32knbsd.o \ |
| 244 | epc532macha.o \ |
| 245 | eppcmacos.o \ |
| 246 | eppcnw.o \ |
| 247 | eppcpe.o \ |
| 248 | eriscix.o \ |
| 249 | esa29200.o \ |
| 250 | esh.o \ |
| 251 | eshelf.o \ |
| 252 | eshlelf.o \ |
| 253 | eshl.o \ |
| 254 | esparcaout.o \ |
| 255 | esparclinux.o \ |
| 256 | esparclynx.o \ |
| 257 | esparcnbsd.o \ |
| 258 | est2000.o \ |
| 259 | esun3.o \ |
| 260 | esun4.o \ |
| 261 | etic30aout.o \ |
| 262 | etic30coff.o \ |
| 263 | $(start-sanitize-tic80) \ |
| 264 | etic80coff.o \ |
| 265 | $(end-sanitize-tic80) \ |
| 266 | evanilla.o \ |
| 267 | evax.o \ |
| 268 | evsta.o \ |
| 269 | ew65.o \ |
| 270 | ez8001.o \ |
| 271 | ez8002.o |
| 272 | |
| 273 | ALL_64_EMULATIONS = \ |
| 274 | eelf64_sparc.o \ |
| 275 | eelf64alpha.o |
| 276 | |
| 277 | CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \ |
| 278 | ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \ |
| 279 | mri.c ldcref.c |
| 280 | |
| 281 | HFILES = config.h ld.h ldctor.h ldemul.h ldexp.h ldfile.h \ |
| 282 | ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \ |
| 283 | ldwrite.h mri.h |
| 284 | |
| 285 | GENERATED_CFILES = ldgram.c ldlex.c |
| 286 | GENERATED_HFILES = ldgram.h ldemul-list.h |
| 287 | |
| 288 | OFILES = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o \ |
| 289 | ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o \ |
| 290 | ldfile.o ldcref.o ${EMULATION_OFILES} |
| 291 | |
| 292 | STAGESTUFF = *.o ldscripts/* e*.c |
| 293 | |
| 294 | # These all start with e so 'make clean' can find them. |
| 295 | |
| 296 | GENSCRIPTS = $(SHELL) $(srcdir)/genscripts.sh ${srcdir} ${libdir} @host@ @target@ @target_alias@ ${EMUL} "@NATIVE_LIB_DIRS@" |
| 297 | GEN_DEPENDS = $(srcdir)/genscripts.sh $(srcdir)/emultempl/stringify.sed |
| 298 | |
| 299 | ld_new_SOURCES = ldgram.y ldlex.l lexsup.c ldlang.c mri.c ldctor.c ldmain.c \ |
| 300 | ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c |
| 301 | ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(BFDLIB) $(LIBIBERTY) |
| 302 | ld_new_LDADD = $(EMULATION_OFILES) $(BFDLIB) $(LIBIBERTY) |
| 303 | |
| 304 | # This is the real libbfd.a created by libtool. |
| 305 | TESTBFDLIB = ../bfd/.libs/libbfd.a |
| 306 | |
| 307 | MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \ |
| 308 | ldemul-list.h crtbegin.o crtend.o ld.log ld.sum |
| 309 | CLEANFILES = dep.sed .dep .dep1 bfdsumm.texi |
| 310 | |
| 311 | # Stuff that should be included in a distribution. The diststuff |
| 312 | # target is run by the taz target in ../Makefile.in. |
| 313 | LDDISTSTUFF = ldgram.c ldgram.h ldlex.c |
| 314 | |
| 315 | DISTCLEANFILES = tdirs site.exp site.bak |
| 316 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
| 317 | mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs |
| 318 | CONFIG_HEADER = config.h |
| 319 | CONFIG_CLEAN_FILES = |
| 320 | noinst_PROGRAMS = ld-new$(EXEEXT) |
| 321 | PROGRAMS = $(noinst_PROGRAMS) |
| 322 | |
| 323 | |
| 324 | DEFS = @DEFS@ -I. -I$(srcdir) -I. |
| 325 | CPPFLAGS = @CPPFLAGS@ |
| 326 | LDFLAGS = @LDFLAGS@ |
| 327 | LIBS = @LIBS@ |
| 328 | ld_new_OBJECTS = ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o \ |
| 329 | ldmain.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o |
| 330 | ld_new_LDFLAGS = |
| 331 | LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ |
| 332 | LEXLIB = @LEXLIB@ |
| 333 | CFLAGS = @CFLAGS@ |
| 334 | COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) |
| 335 | LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) |
| 336 | LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@ |
| 337 | TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi` |
| 338 | TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex |
| 339 | INFO_DEPS = ld.info |
| 340 | DVIS = ld.dvi |
| 341 | TEXINFOS = ld.texinfo |
| 342 | MANS = ld.1 |
| 343 | |
| 344 | NROFF = nroff |
| 345 | DIST_COMMON = README ChangeLog Makefile.am Makefile.in NEWS TODO \ |
| 346 | acconfig.h acinclude.m4 aclocal.m4 config.in configure configure.in \ |
| 347 | ldgram.c ldlex.c stamp-h.in |
| 348 | |
| 349 | |
| 350 | DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) |
| 351 | |
| 352 | TAR = tar |
| 353 | GZIP = --best |
| 354 | SOURCES = $(ld_new_SOURCES) |
| 355 | OBJECTS = $(ld_new_OBJECTS) |
| 356 | |
| 357 | default: all |
| 358 | |
| 359 | .SUFFIXES: |
| 360 | .SUFFIXES: .S .c .dvi .info .l .lo .o .ps .s .texi .texinfo .y |
| 361 | $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) |
| 362 | cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile |
| 363 | |
| 364 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
| 365 | cd $(top_builddir) \ |
| 366 | && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status |
| 367 | |
| 368 | $(ACLOCAL_M4): @MAINT@ configure.in acinclude.m4 |
| 369 | cd $(srcdir) && $(ACLOCAL) |
| 370 | |
| 371 | config.status: $(srcdir)/configure |
| 372 | $(SHELL) ./config.status --recheck |
| 373 | $(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) |
| 374 | cd $(srcdir) && $(AUTOCONF) |
| 375 | |
| 376 | config.h: stamp-h |
| 377 | @: |
| 378 | stamp-h: $(srcdir)/config.in $(top_builddir)/config.status |
| 379 | cd $(top_builddir) \ |
| 380 | && CONFIG_FILES= CONFIG_HEADERS=config.h:config.in \ |
| 381 | $(SHELL) ./config.status |
| 382 | @echo timestamp > stamp-h |
| 383 | $(srcdir)/config.in: @MAINT@$(srcdir)/stamp-h.in |
| 384 | $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h |
| 385 | cd $(top_srcdir) && $(AUTOHEADER) |
| 386 | @echo timestamp > $(srcdir)/stamp-h.in |
| 387 | |
| 388 | mostlyclean-hdr: |
| 389 | |
| 390 | clean-hdr: |
| 391 | |
| 392 | distclean-hdr: |
| 393 | -rm -f config.h |
| 394 | |
| 395 | maintainer-clean-hdr: |
| 396 | |
| 397 | mostlyclean-noinstPROGRAMS: |
| 398 | |
| 399 | clean-noinstPROGRAMS: |
| 400 | -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) |
| 401 | |
| 402 | distclean-noinstPROGRAMS: |
| 403 | |
| 404 | maintainer-clean-noinstPROGRAMS: |
| 405 | |
| 406 | .c.o: |
| 407 | $(COMPILE) -c $< |
| 408 | |
| 409 | .s.o: |
| 410 | $(COMPILE) -c $< |
| 411 | |
| 412 | .S.o: |
| 413 | $(COMPILE) -c $< |
| 414 | |
| 415 | mostlyclean-compile: |
| 416 | -rm -f *.o core *.core |
| 417 | |
| 418 | clean-compile: |
| 419 | |
| 420 | distclean-compile: |
| 421 | -rm -f *.tab.c |
| 422 | |
| 423 | maintainer-clean-compile: |
| 424 | |
| 425 | .c.lo: |
| 426 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< |
| 427 | |
| 428 | .s.lo: |
| 429 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< |
| 430 | |
| 431 | .S.lo: |
| 432 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< |
| 433 | |
| 434 | mostlyclean-libtool: |
| 435 | -rm -f *.lo |
| 436 | |
| 437 | clean-libtool: |
| 438 | -rm -rf .libs _libs |
| 439 | |
| 440 | distclean-libtool: |
| 441 | |
| 442 | maintainer-clean-libtool: |
| 443 | |
| 444 | ld-new$(EXEEXT): $(ld_new_OBJECTS) $(ld_new_DEPENDENCIES) |
| 445 | @rm -f ld-new$(EXEEXT) |
| 446 | $(LINK) $(ld_new_LDFLAGS) $(ld_new_OBJECTS) $(ld_new_LDADD) $(LIBS) |
| 447 | .y.c: |
| 448 | $(YACC) $(YFLAGS) $< && mv y.tab.c $*.c |
| 449 | if test -f y.tab.h; then \ |
| 450 | if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \ |
| 451 | else :; fi |
| 452 | ldgram.h: ldgram.c |
| 453 | |
| 454 | .l.c: |
| 455 | $(LEX) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@ |
| 456 | |
| 457 | ld.info: ld.texinfo |
| 458 | ld.dvi: ld.texinfo |
| 459 | |
| 460 | |
| 461 | DVIPS = dvips |
| 462 | |
| 463 | .texi.info: |
| 464 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] |
| 465 | $(MAKEINFO) -I $(srcdir) $< |
| 466 | |
| 467 | .texi.dvi: |
| 468 | TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \ |
| 469 | MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< |
| 470 | |
| 471 | .texi: |
| 472 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] |
| 473 | $(MAKEINFO) -I $(srcdir) $< |
| 474 | |
| 475 | .texinfo.info: |
| 476 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] |
| 477 | $(MAKEINFO) -I $(srcdir) $< |
| 478 | |
| 479 | .texinfo: |
| 480 | @rm -f $@ $@-[0-9] $@-[0-9][0-9] |
| 481 | $(MAKEINFO) -I $(srcdir) $< |
| 482 | |
| 483 | .texinfo.dvi: |
| 484 | TEXINPUTS=$(top_srcdir)/../texinfo:$$TEXINPUTS \ |
| 485 | MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< |
| 486 | .dvi.ps: |
| 487 | $(DVIPS) $< -o $@ |
| 488 | |
| 489 | install-info-am: $(INFO_DEPS) |
| 490 | @$(NORMAL_INSTALL) |
| 491 | $(mkinstalldirs) $(infodir) |
| 492 | @for file in $(INFO_DEPS); do \ |
| 493 | if test -f $$file; then d=.; else d=$(srcdir); fi; \ |
| 494 | for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \ |
| 495 | if test -f $$d/$$ifile; then \ |
| 496 | echo " $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile"; \ |
| 497 | $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile; \ |
| 498 | else : ; fi; \ |
| 499 | done; \ |
| 500 | done |
| 501 | @$(POST_INSTALL) |
| 502 | @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ |
| 503 | for file in $(INFO_DEPS); do \ |
| 504 | echo " install-info --info-dir=$(infodir) $(infodir)/$$file";\ |
| 505 | install-info --info-dir=$(infodir) $(infodir)/$$file || :;\ |
| 506 | done; \ |
| 507 | else : ; fi |
| 508 | |
| 509 | uninstall-info: |
| 510 | $(PRE_UNINSTALL) |
| 511 | @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ |
| 512 | ii=yes; \ |
| 513 | else ii=; fi; \ |
| 514 | for file in $(INFO_DEPS); do \ |
| 515 | test -z "$ii" \ |
| 516 | || install-info --info-dir=$(infodir) --remove $$file; \ |
| 517 | done |
| 518 | $(NORMAL_UNINSTALL) |
| 519 | for file in $(INFO_DEPS); do \ |
| 520 | (cd $(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \ |
| 521 | done |
| 522 | |
| 523 | dist-info: $(INFO_DEPS) |
| 524 | for base in $(INFO_DEPS); do \ |
| 525 | if test -f $$base; then d=.; else d=$(srcdir); fi; \ |
| 526 | for file in `cd $$d && eval echo $$base*`; do \ |
| 527 | test -f $(distdir)/$$file \ |
| 528 | || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ |
| 529 | || cp -p $$d/$$file $(distdir)/$$file; \ |
| 530 | done; \ |
| 531 | done |
| 532 | |
| 533 | mostlyclean-aminfo: |
| 534 | -rm -f ld.aux ld.cp ld.cps ld.dvi ld.fn ld.fns ld.ky ld.kys ld.ps \ |
| 535 | ld.log ld.pg ld.toc ld.tp ld.tps ld.vr ld.vrs ld.op ld.tr \ |
| 536 | ld.cv ld.cn |
| 537 | |
| 538 | clean-aminfo: |
| 539 | |
| 540 | distclean-aminfo: |
| 541 | |
| 542 | maintainer-clean-aminfo: |
| 543 | for i in $(INFO_DEPS); do \ |
| 544 | rm -f $$i; \ |
| 545 | if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \ |
| 546 | rm -f $$i-[0-9]*; \ |
| 547 | fi; \ |
| 548 | done |
| 549 | clean-info: mostlyclean-aminfo |
| 550 | install-man: $(MANS) |
| 551 | $(NORMAL_INSTALL) |
| 552 | $(mkinstalldirs) $(mandir)/man1 |
| 553 | @sect=1; \ |
| 554 | inst=`echo "ld" | sed '$(transform)'`.1; \ |
| 555 | if test -f $(srcdir)/ld.1; then file=$(srcdir)/ld.1; \ |
| 556 | else file=ld.1; fi; \ |
| 557 | echo " $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst"; \ |
| 558 | $(INSTALL_DATA) $$file $(mandir)/man$$sect/$$inst |
| 559 | |
| 560 | uninstall-man: |
| 561 | $(NORMAL_UNINSTALL) |
| 562 | -inst=`echo "ld" | sed '$(transform)'`.1; \ |
| 563 | rm -f $(mandir)/man1/$$inst |
| 564 | |
| 565 | |
| 566 | tags: TAGS |
| 567 | |
| 568 | ID: $(HEADERS) $(SOURCES) $(LISP) |
| 569 | here=`pwd` && cd $(srcdir) \ |
| 570 | && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP) |
| 571 | |
| 572 | TAGS: $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) $(LISP) |
| 573 | tags=; \ |
| 574 | here=`pwd`; \ |
| 575 | list='$(SOURCES) $(HEADERS)'; \ |
| 576 | unique=`for i in $$list; do echo $$i; done | \ |
| 577 | awk ' { files[$$0] = 1; } \ |
| 578 | END { for (i in files) print i; }'`; \ |
| 579 | test -z "$(ETAGS_ARGS)config.in$$unique$(LISP)$$tags" \ |
| 580 | || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.in $$unique $(LISP) -o $$here/TAGS) |
| 581 | |
| 582 | mostlyclean-tags: |
| 583 | |
| 584 | clean-tags: |
| 585 | |
| 586 | distclean-tags: |
| 587 | -rm -f TAGS ID |
| 588 | |
| 589 | maintainer-clean-tags: |
| 590 | |
| 591 | distdir = $(PACKAGE)-$(VERSION) |
| 592 | top_distdir = $(distdir) |
| 593 | |
| 594 | # This target untars the dist file and tries a VPATH configuration. Then |
| 595 | # it guarantees that the distribution is self-contained by making another |
| 596 | # tarfile. |
| 597 | distcheck: dist |
| 598 | -rm -rf $(distdir) |
| 599 | GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz |
| 600 | mkdir $(distdir)/=build |
| 601 | mkdir $(distdir)/=inst |
| 602 | dc_install_base=`cd $(distdir)/=inst && pwd`; \ |
| 603 | cd $(distdir)/=build \ |
| 604 | && ../configure --srcdir=.. --prefix=$$dc_install_base \ |
| 605 | && $(MAKE) \ |
| 606 | && $(MAKE) dvi \ |
| 607 | && $(MAKE) check \ |
| 608 | && $(MAKE) install \ |
| 609 | && $(MAKE) installcheck \ |
| 610 | && $(MAKE) dist |
| 611 | -rm -rf $(distdir) |
| 612 | @echo "========================"; \ |
| 613 | echo "$(distdir).tar.gz is ready for distribution"; \ |
| 614 | echo "========================" |
| 615 | dist: distdir |
| 616 | -chmod -R a+r $(distdir) |
| 617 | GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir) |
| 618 | -rm -rf $(distdir) |
| 619 | dist-all: distdir |
| 620 | -chmod -R a+r $(distdir) |
| 621 | GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir) |
| 622 | -rm -rf $(distdir) |
| 623 | distdir: $(DISTFILES) |
| 624 | -rm -rf $(distdir) |
| 625 | mkdir $(distdir) |
| 626 | -chmod 777 $(distdir) |
| 627 | @for file in $(DISTFILES); do \ |
| 628 | if test -f $$file; then d=.; else d=$(srcdir); fi; \ |
| 629 | test -f $(distdir)/$$file \ |
| 630 | || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ |
| 631 | || cp -p $$d/$$file $(distdir)/$$file; \ |
| 632 | done |
| 633 | $(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info |
| 634 | |
| 635 | DEJATOOL = $(PACKAGE) |
| 636 | |
| 637 | RUNTESTDEFAULTFLAGS = --tool $(DEJATOOL) --srcdir $$srcdir |
| 638 | site.exp: Makefile |
| 639 | @echo 'Making a new site.exp file...' |
| 640 | -@rm -f site.bak |
| 641 | @echo '## these variables are automatically generated by make ##' > $@-t |
| 642 | @echo '# Do not edit here. If you wish to override these values' >> $@-t |
| 643 | @echo '# edit the last section' >> $@-t |
| 644 | @echo 'set tool $(DEJATOOL)' >> $@-t |
| 645 | @echo 'set srcdir $(srcdir)' >> $@-t |
| 646 | @echo 'set objdir' `pwd` >> $@-t |
| 647 | @echo 'set host_alias $(host_alias)' >> $@-t |
| 648 | @echo 'set host_triplet $(host_triplet)' >> $@-t |
| 649 | @echo 'set target_alias $(target_alias)' >> $@-t |
| 650 | @echo 'set target_triplet $(target_triplet)' >> $@-t |
| 651 | @echo 'set build_alias $(build_alias)' >> $@-t |
| 652 | @echo 'set build_triplet $(build_triplet)' >> $@-t |
| 653 | @echo '## All variables above are generated by configure. Do Not Edit ##' >> $@-t |
| 654 | -@sed '1,/^## All variables above are.*##/ d' site.bak >> $@-t |
| 655 | -@mv site.exp site.bak |
| 656 | @mv $@-t site.exp |
| 657 | info: $(INFO_DEPS) |
| 658 | dvi: $(DVIS) |
| 659 | check: |
| 660 | $(MAKE) check-DEJAGNU |
| 661 | installcheck: |
| 662 | install-info: install-info-am |
| 663 | install-exec: install-exec-local |
| 664 | @$(NORMAL_INSTALL) |
| 665 | |
| 666 | install-data: install-man install-data-local |
| 667 | @$(NORMAL_INSTALL) |
| 668 | |
| 669 | install: install-exec install-data all |
| 670 | @: |
| 671 | |
| 672 | uninstall: uninstall-man |
| 673 | |
| 674 | all: Makefile $(PROGRAMS) $(MANS) config.h |
| 675 | |
| 676 | install-strip: |
| 677 | $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install |
| 678 | installdirs: |
| 679 | $(mkinstalldirs) $(mandir)/man1 |
| 680 | |
| 681 | |
| 682 | mostlyclean-generic: |
| 683 | -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) |
| 684 | |
| 685 | clean-generic: |
| 686 | -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) |
| 687 | |
| 688 | distclean-generic: |
| 689 | -rm -f Makefile $(DISTCLEANFILES) |
| 690 | -rm -f config.cache config.log stamp-h stamp-h[0-9]* |
| 691 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
| 692 | |
| 693 | maintainer-clean-generic: |
| 694 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) |
| 695 | -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) |
| 696 | mostlyclean: mostlyclean-hdr mostlyclean-noinstPROGRAMS \ |
| 697 | mostlyclean-compile mostlyclean-libtool \ |
| 698 | mostlyclean-aminfo mostlyclean-tags mostlyclean-generic \ |
| 699 | mostlyclean-local |
| 700 | |
| 701 | clean: clean-hdr clean-noinstPROGRAMS clean-compile clean-libtool \ |
| 702 | clean-aminfo clean-tags clean-generic mostlyclean |
| 703 | |
| 704 | distclean: distclean-hdr distclean-noinstPROGRAMS distclean-compile \ |
| 705 | distclean-libtool distclean-aminfo distclean-tags \ |
| 706 | distclean-generic clean distclean-local |
| 707 | -rm -f config.status |
| 708 | -rm -f libtool |
| 709 | |
| 710 | maintainer-clean: maintainer-clean-hdr maintainer-clean-noinstPROGRAMS \ |
| 711 | maintainer-clean-compile maintainer-clean-libtool \ |
| 712 | maintainer-clean-aminfo maintainer-clean-tags \ |
| 713 | maintainer-clean-generic distclean |
| 714 | @echo "This command is intended for maintainers to use;" |
| 715 | @echo "it deletes files that may require special tools to rebuild." |
| 716 | -rm -f config.status |
| 717 | |
| 718 | .PHONY: default mostlyclean-hdr distclean-hdr clean-hdr \ |
| 719 | maintainer-clean-hdr mostlyclean-noinstPROGRAMS \ |
| 720 | distclean-noinstPROGRAMS clean-noinstPROGRAMS \ |
| 721 | maintainer-clean-noinstPROGRAMS mostlyclean-compile distclean-compile \ |
| 722 | clean-compile maintainer-clean-compile mostlyclean-libtool \ |
| 723 | distclean-libtool clean-libtool maintainer-clean-libtool \ |
| 724 | install-info-am uninstall-info mostlyclean-aminfo distclean-aminfo \ |
| 725 | clean-aminfo maintainer-clean-aminfo install-man uninstall-man tags \ |
| 726 | mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \ |
| 727 | distdir check-DEJAGNU info dvi installcheck install-info install-exec \ |
| 728 | install-data install uninstall all installdirs mostlyclean-generic \ |
| 729 | distclean-generic clean-generic maintainer-clean-generic clean \ |
| 730 | mostlyclean distclean maintainer-clean |
| 731 | |
| 732 | |
| 733 | ldmain.o: ldmain.c config.status |
| 734 | $(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' -DSCRIPTDIR='"$(scriptdir)"' -DTARGET='"@target@"' $(srcdir)/ldmain.c |
| 735 | |
| 736 | ldemul-list.h: Makefile |
| 737 | (echo "/* This file is automatically generated. DO NOT EDIT! */";\ |
| 738 | for f in `echo " " ${EMULATION_OFILES} "" \ |
| 739 | | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \ |
| 740 | echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \ |
| 741 | done;\ |
| 742 | echo "";\ |
| 743 | echo "#define EMULATION_LIST \\";\ |
| 744 | for f in `echo " " ${EMULATION_OFILES} "" \ |
| 745 | | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \ |
| 746 | echo " &ld_$${f}_emulation, \\"; \ |
| 747 | done;\ |
| 748 | echo " 0") >ldemul-tmp.h |
| 749 | mv ldemul-tmp.h ldemul-list.h |
| 750 | @TDIRS@ |
| 751 | |
| 752 | ea29k.c: $(srcdir)/emulparams/a29k.sh \ |
| 753 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/a29k.sc ${GEN_DEPENDS} |
| 754 | ${GENSCRIPTS} a29k "$(tdir_a29k)" |
| 755 | eaixppc.c: $(srcdir)/emulparams/aixppc.sh \ |
| 756 | $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS} |
| 757 | ${GENSCRIPTS} aixppc "$(tdir_aixppc)" |
| 758 | eaixrs6.c: $(srcdir)/emulparams/aixrs6.sh \ |
| 759 | $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS} |
| 760 | ${GENSCRIPTS} aixrs6 "$(tdir_aixrs6)" |
| 761 | ealpha.c: $(srcdir)/emulparams/alpha.sh \ |
| 762 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/alpha.sc ${GEN_DEPENDS} |
| 763 | ${GENSCRIPTS} alpha "$(tdir_alpha)" |
| 764 | earcelf.c: $(srcdir)/emulparams/arcelf.sh \ |
| 765 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 766 | ${GENSCRIPTS} arcelf "$(tdir_arcelf)" |
| 767 | earmaoutb.c: $(srcdir)/emulparams/armaoutb.sh \ |
| 768 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS} |
| 769 | ${GENSCRIPTS} armaoutb "$(tdir_armaoutb)" |
| 770 | earmaoutl.c: $(srcdir)/emulparams/armaoutl.sh \ |
| 771 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armaout.sc ${GEN_DEPENDS} |
| 772 | ${GENSCRIPTS} armaoutl "$(tdir_armaoutl)" |
| 773 | earmcoff.c: $(srcdir)/emulparams/armcoff.sh \ |
| 774 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/armcoff.sc ${GEN_DEPENDS} |
| 775 | ${GENSCRIPTS} armcoff "$(tdir_armcoff)" |
| 776 | earmpe.c: $(srcdir)/emulparams/armpe.sh \ |
| 777 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} |
| 778 | ${GENSCRIPTS} armpe "$(tdir_armpe)" |
| 779 | ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \ |
| 780 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparccoff.sc ${GEN_DEPENDS} |
| 781 | ${GENSCRIPTS} coff_sparc "$(tdir_coff_sparc)" |
| 782 | ed10velf.c: $(srcdir)/emulparams/d10velf.sh \ |
| 783 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd10v.sc ${GEN_DEPENDS} |
| 784 | ${GENSCRIPTS} d10velf "$(tdir_d10v)" |
| 785 | start-sanitize-d30v: |
| 786 | ed30velf.c: $(srcdir)/emulparams/d30velf.sh \ |
| 787 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS} |
| 788 | ${GENSCRIPTS} d30velf "$(tdir_d30v)" |
| 789 | ed30v_o.c: $(srcdir)/emulparams/d30v_o.sh \ |
| 790 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS} |
| 791 | ${GENSCRIPTS} d30v_o "$(tdir_d30v)" |
| 792 | ed30v_e.c: $(srcdir)/emulparams/d30v_e.sh \ |
| 793 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elfd30v.sc ${GEN_DEPENDS} |
| 794 | ${GENSCRIPTS} d30v_e "$(tdir_d30v)" |
| 795 | end-sanitize-d30v: |
| 796 | edelta68.c: $(srcdir)/emulparams/delta68.sh \ |
| 797 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS} |
| 798 | ${GENSCRIPTS} delta68 "$(tdir_delta68)" |
| 799 | eebmon29k.c: $(srcdir)/emulparams/ebmon29k.sh \ |
| 800 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/ebmon29k.sc ${GEN_DEPENDS} |
| 801 | ${GENSCRIPTS} ebmon29k "$(tdir_ebmon29k)" |
| 802 | em32relf.c: $(srcdir)/emulparams/m32relf.sh \ |
| 803 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 804 | ${GENSCRIPTS} m32relf "$(tdir_m32r)" |
| 805 | eelf32_sparc.c: $(srcdir)/emulparams/elf32_sparc.sh \ |
| 806 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 807 | ${GENSCRIPTS} elf32_sparc "$(tdir_elf32_sparc)" |
| 808 | eelf32b4300.c: $(srcdir)/emulparams/elf32b4300.sh \ |
| 809 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 810 | ${GENSCRIPTS} elf32b4300 "$(tdir_elf32b4300)" |
| 811 | eelf32bmip.c: $(srcdir)/emulparams/elf32bmip.sh \ |
| 812 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 813 | ${GENSCRIPTS} elf32bmip "$(tdir_elf32bmip)" |
| 814 | eelf32bsmip.c: $(srcdir)/emulparams/elf32bsmip.sh \ |
| 815 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 816 | ${GENSCRIPTS} elf32bsmip "$(tdir_elf32bsmip)" |
| 817 | eelf32ebmip.c: $(srcdir)/emulparams/elf32ebmip.sh \ |
| 818 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 819 | ${GENSCRIPTS} elf32ebmip "$(tdir_elf32ebmip)" |
| 820 | eelf32elmip.c: $(srcdir)/emulparams/elf32elmip.sh \ |
| 821 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 822 | ${GENSCRIPTS} elf32elmip "$(tdir_elf32elmip)" |
| 823 | eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \ |
| 824 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 825 | ${GENSCRIPTS} elf32l4300 "$(tdir_elf32l4300)" |
| 826 | start-sanitize-r5900: |
| 827 | eelf32l5900.c: $(srcdir)/emulparams/elf32l5900.sh \ |
| 828 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 829 | ${GENSCRIPTS} elf32l5900 "$(tdir_elf32l5900)" |
| 830 | end-sanitize-r5900: |
| 831 | eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \ |
| 832 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 833 | ${GENSCRIPTS} elf32lmip "$(tdir_elf32lmip)" |
| 834 | eelf32lppc.c: $(srcdir)/emulparams/elf32lppc.sh \ |
| 835 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfppc.sc ${GEN_DEPENDS} |
| 836 | ${GENSCRIPTS} elf32lppc "$(tdir_elf32lppc)" |
| 837 | eelf32lsmip.c: $(srcdir)/emulparams/elf32lsmip.sh \ |
| 838 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 839 | ${GENSCRIPTS} elf32lsmip "$(tdir_elf32lsmip)" |
| 840 | eelf32ppc.c: $(srcdir)/emulparams/elf32ppc.sh \ |
| 841 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elfppc.sc ${GEN_DEPENDS} |
| 842 | ${GENSCRIPTS} elf32ppc "$(tdir_elf32ppc)" |
| 843 | eelf64alpha.c: $(srcdir)/emulparams/elf64alpha.sh \ |
| 844 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 845 | ${GENSCRIPTS} elf64alpha "$(tdir_elf64alpha)" |
| 846 | eelf64_sparc.c: $(srcdir)/emulparams/elf64_sparc.sh \ |
| 847 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 848 | ${GENSCRIPTS} elf64_sparc "$(tdir_elf64_sparc)" |
| 849 | eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \ |
| 850 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 851 | ${GENSCRIPTS} elf_i386 "$(tdir_elf_i386)" |
| 852 | egld960.c: $(srcdir)/emulparams/gld960.sh \ |
| 853 | $(srcdir)/emultempl/gld960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS} |
| 854 | ${GENSCRIPTS} gld960 "$(tdir_gld960)" |
| 855 | egld960coff.c: $(srcdir)/emulparams/gld960coff.sh \ |
| 856 | $(srcdir)/emultempl/gld960c.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS} |
| 857 | ${GENSCRIPTS} gld960coff "$(tdir_gld960coff)" |
| 858 | ego32.c: $(srcdir)/emulparams/go32.sh \ |
| 859 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 860 | ${GENSCRIPTS} go32 "$(tdir_go32)" |
| 861 | eh8300.c: $(srcdir)/emulparams/h8300.sh \ |
| 862 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS} |
| 863 | ${GENSCRIPTS} h8300 "$(tdir_h8300)" |
| 864 | eh8300h.c: $(srcdir)/emulparams/h8300h.sh \ |
| 865 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300h.sc ${GEN_DEPENDS} |
| 866 | ${GENSCRIPTS} h8300h "$(tdir_h8300h)" |
| 867 | eh8300s.c: $(srcdir)/emulparams/h8300s.sh \ |
| 868 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300s.sc ${GEN_DEPENDS} |
| 869 | ${GENSCRIPTS} h8300s "$(tdir_h8300s)" |
| 870 | eh8500.c: $(srcdir)/emulparams/h8500.sh \ |
| 871 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500.sc ${GEN_DEPENDS} |
| 872 | ${GENSCRIPTS} h8500 "$(tdir_h8500)" |
| 873 | eh8500b.c: $(srcdir)/emulparams/h8500b.sh \ |
| 874 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500b.sc ${GEN_DEPENDS} |
| 875 | ${GENSCRIPTS} h8500b "$(tdir_h8500b)" |
| 876 | eh8500c.c: $(srcdir)/emulparams/h8500c.sh \ |
| 877 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500c.sc ${GEN_DEPENDS} |
| 878 | ${GENSCRIPTS} h8500c "$(tdir_h8500c)" |
| 879 | eh8500m.c: $(srcdir)/emulparams/h8500m.sh \ |
| 880 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500m.sc ${GEN_DEPENDS} |
| 881 | ${GENSCRIPTS} h8500m "$(tdir_h8500m)" |
| 882 | eh8500s.c: $(srcdir)/emulparams/h8500s.sh \ |
| 883 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8500s.sc ${GEN_DEPENDS} |
| 884 | ${GENSCRIPTS} h8500s "$(tdir_h8500s)" |
| 885 | ehp300bsd.c: $(srcdir)/emulparams/hp300bsd.sh \ |
| 886 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 887 | ${GENSCRIPTS} hp300bsd "$(tdir_hp300bsd)" |
| 888 | ehp3hpux.c: $(srcdir)/emulparams/hp3hpux.sh \ |
| 889 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 890 | ${GENSCRIPTS} hp3hpux "$(tdir_hp3hpux)" |
| 891 | ehppaelf.c: $(srcdir)/emulparams/hppaelf.sh \ |
| 892 | $(srcdir)/emultempl/hppaelf.em $(srcdir)/scripttempl/hppaelf.sc ${GEN_DEPENDS} |
| 893 | ${GENSCRIPTS} hppaelf "$(tdir_hppaelf)" |
| 894 | ei386aout.c: $(srcdir)/emulparams/i386aout.sh \ |
| 895 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 896 | ${GENSCRIPTS} i386aout "$(tdir_i386aout)" |
| 897 | ei386bsd.c: $(srcdir)/emulparams/i386bsd.sh \ |
| 898 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 899 | ${GENSCRIPTS} i386bsd "$(tdir_i386bsd)" |
| 900 | ei386coff.c: $(srcdir)/emulparams/i386coff.sh \ |
| 901 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386coff.sc ${GEN_DEPENDS} |
| 902 | ${GENSCRIPTS} i386coff "$(tdir_i386coff)" |
| 903 | ei386go32.c: $(srcdir)/emulparams/i386go32.sh \ |
| 904 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386go32.sc ${GEN_DEPENDS} |
| 905 | ${GENSCRIPTS} i386go32 "$(tdir_i386go32)" |
| 906 | ei386linux.c: $(srcdir)/emulparams/i386linux.sh \ |
| 907 | $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 908 | ${GENSCRIPTS} i386linux "$(tdir_i386linux)" |
| 909 | ei386lynx.c: $(srcdir)/emulparams/i386lynx.sh \ |
| 910 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386lynx.sc ${GEN_DEPENDS} |
| 911 | ${GENSCRIPTS} i386lynx "$(tdir_i386lynx)" |
| 912 | ei386mach.c: $(srcdir)/emulparams/i386mach.sh \ |
| 913 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 914 | ${GENSCRIPTS} i386mach "$(tdir_i386mach)" |
| 915 | ei386moss.c: $(srcdir)/emulparams/i386moss.sh \ |
| 916 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 917 | ${GENSCRIPTS} i386moss "$(tdir_i386moss)" |
| 918 | ei386msdos.c: $(srcdir)/emulparams/i386msdos.sh \ |
| 919 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i386msdos.sc ${GEN_DEPENDS} |
| 920 | ${GENSCRIPTS} i386msdos "$(tdir_i386msdos)" |
| 921 | ei386nbsd.c: $(srcdir)/emulparams/i386nbsd.sh \ |
| 922 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 923 | ${GENSCRIPTS} i386nbsd "$(tdir_i386nbsd)" |
| 924 | ei386nw.c: $(srcdir)/emulparams/i386nw.sh \ |
| 925 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS} |
| 926 | ${GENSCRIPTS} i386nw "$(tdir_i386nw)" |
| 927 | ei386pe.c: $(srcdir)/emulparams/i386pe.sh \ |
| 928 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS} |
| 929 | ${GENSCRIPTS} i386pe "$(tdir_i386pe)" |
| 930 | elnk960.c: $(srcdir)/emulparams/lnk960.sh \ |
| 931 | $(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS} |
| 932 | ${GENSCRIPTS} lnk960 "$(tdir_lnk960)" |
| 933 | em68k4knbsd.c: $(srcdir)/emulparams/m68k4knbsd.sh \ |
| 934 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 935 | ${GENSCRIPTS} m68k4knbsd "$(tdir_m68k4knbsd)" |
| 936 | em68kaout.c: $(srcdir)/emulparams/m68kaout.sh \ |
| 937 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 938 | ${GENSCRIPTS} m68kaout "$(tdir_m68kaout)" |
| 939 | em68kaux.c: $(srcdir)/emulparams/m68kaux.sh \ |
| 940 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kaux.sc ${GEN_DEPENDS} |
| 941 | ${GENSCRIPTS} m68kaux "$(tdir_m68kaux)" |
| 942 | em68kcoff.c: $(srcdir)/emulparams/m68kcoff.sh \ |
| 943 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68kcoff.sc ${GEN_DEPENDS} |
| 944 | ${GENSCRIPTS} m68kcoff "$(tdir_m68kcoff)" |
| 945 | em68kelf.c: $(srcdir)/emulparams/m68kelf.sh \ |
| 946 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 947 | ${GENSCRIPTS} m68kelf "$(tdir_m68kelf)" |
| 948 | em68klinux.c: $(srcdir)/emulparams/m68klinux.sh \ |
| 949 | $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 950 | ${GENSCRIPTS} m68klinux "$(tdir_m68klinux)" |
| 951 | em68klynx.c: $(srcdir)/emulparams/m68klynx.sh \ |
| 952 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m68klynx.sc ${GEN_DEPENDS} |
| 953 | ${GENSCRIPTS} m68klynx "$(tdir_m68klynx)" |
| 954 | em68knbsd.c: $(srcdir)/emulparams/m68knbsd.sh \ |
| 955 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 956 | ${GENSCRIPTS} m68knbsd "$(tdir_m68knbsd)" |
| 957 | em68kpsos.c: $(srcdir)/emulparams/m68kpsos.sh \ |
| 958 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/psos.sc ${GEN_DEPENDS} |
| 959 | ${GENSCRIPTS} m68kpsos "$(tdir_m68kpsos)" |
| 960 | em88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \ |
| 961 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS} |
| 962 | ${GENSCRIPTS} m88kbcs "$(tdir_m88kbcs)" |
| 963 | emipsbig.c: $(srcdir)/emulparams/mipsbig.sh \ |
| 964 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} |
| 965 | ${GENSCRIPTS} mipsbig |
| 966 | emipsbsd.c: $(srcdir)/emulparams/mipsbsd.sh \ |
| 967 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mipsbsd.sc ${GEN_DEPENDS} |
| 968 | ${GENSCRIPTS} mipsbsd |
| 969 | emipsidt.c: $(srcdir)/emulparams/mipsidt.sh \ |
| 970 | $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} |
| 971 | ${GENSCRIPTS} mipsidt "$(tdir_mipsidt)" |
| 972 | emipsidtl.c: $(srcdir)/emulparams/mipsidtl.sh \ |
| 973 | $(srcdir)/emultempl/mipsecoff.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} |
| 974 | ${GENSCRIPTS} mipsidtl "$(tdir_mipsidtl)" |
| 975 | emipslit.c: $(srcdir)/emulparams/mipslit.sh \ |
| 976 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} |
| 977 | ${GENSCRIPTS} mipslit "$(tdir_mipslit)" |
| 978 | emipslnews.c: $(srcdir)/emulparams/mipslnews.sh \ |
| 979 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/mips.sc ${GEN_DEPENDS} |
| 980 | ${GENSCRIPTS} mipslnews |
| 981 | emn10300.c: $(srcdir)/emulparams/mn10300.sh \ |
| 982 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 983 | ${GENSCRIPTS} mn10300 "$(tdir_mn10300)" |
| 984 | emn10200.c: $(srcdir)/emulparams/mn10200.sh \ |
| 985 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 986 | ${GENSCRIPTS} mn10200 "$(tdir_mn10200)" |
| 987 | enews.c: $(srcdir)/emulparams/news.sh \ |
| 988 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 989 | ${GENSCRIPTS} news "$(tdir_news)" |
| 990 | ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \ |
| 991 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 992 | ${GENSCRIPTS} ns32knbsd "$(tdir_ns32knbsd)" |
| 993 | epc532macha.c: $(srcdir)/emulparams/pc532macha.sh \ |
| 994 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 995 | ${GENSCRIPTS} pc532macha "$(tdir_pc532macha)" |
| 996 | eppcmacos.c: $(srcdir)/emulparams/ppcmacos.sh \ |
| 997 | $(srcdir)/emultempl/aix.em $(srcdir)/scripttempl/aix.sc ${GEN_DEPENDS} |
| 998 | ${GENSCRIPTS} ppcmacos "$(tdir_ppcmacos)" |
| 999 | eppcnw.c: $(srcdir)/emulparams/ppcnw.sh \ |
| 1000 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/nw.sc ${GEN_DEPENDS} |
| 1001 | ${GENSCRIPTS} ppcnw "$(tdir_ppcnw)" |
| 1002 | eppcpe.c: $(srcdir)/emulparams/ppcpe.sh \ |
| 1003 | $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/ppcpe.sc ${GEN_DEPENDS} |
| 1004 | ${GENSCRIPTS} ppcpe "$(tdir_ppcpe)" |
| 1005 | eriscix.c: $(srcdir)/emulparams/riscix.sh \ |
| 1006 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 1007 | ${GENSCRIPTS} riscix "$(tdir_riscix)" |
| 1008 | esa29200.c: $(srcdir)/emulparams/sa29200.sh \ |
| 1009 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sa29200.sc ${GEN_DEPENDS} |
| 1010 | ${GENSCRIPTS} sa29200 "$(tdir_sa29200)" |
| 1011 | esh.c: $(srcdir)/emulparams/sh.sh \ |
| 1012 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS} |
| 1013 | ${GENSCRIPTS} sh "$(tdir_sh)" |
| 1014 | eshelf.c: $(srcdir)/emulparams/shelf.sh \ |
| 1015 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 1016 | ${GENSCRIPTS} shelf "$(tdir_shelf)" |
| 1017 | eshlelf.c: $(srcdir)/emulparams/shlelf.sh \ |
| 1018 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |
| 1019 | ${GENSCRIPTS} shlelf "$(tdir_shlelf)" |
| 1020 | eshl.c: $(srcdir)/emulparams/shl.sh \ |
| 1021 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sh.sc ${GEN_DEPENDS} |
| 1022 | ${GENSCRIPTS} shl "$(tdir_shl)" |
| 1023 | esparcaout.c: $(srcdir)/emulparams/sparcaout.sh \ |
| 1024 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 1025 | ${GENSCRIPTS} sparcaout "$(tdir_sparcaout)" |
| 1026 | esparclinux.c: $(srcdir)/emulparams/sparclinux.sh \ |
| 1027 | $(srcdir)/emultempl/linux.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 1028 | ${GENSCRIPTS} sparclinux "$(tdir_sparclinux)" |
| 1029 | esparclynx.c: $(srcdir)/emulparams/sparclynx.sh \ |
| 1030 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/sparclynx.sc ${GEN_DEPENDS} |
| 1031 | ${GENSCRIPTS} sparclynx "$(tdir_sparclynx)" |
| 1032 | esparcnbsd.c: $(srcdir)/emulparams/sparcnbsd.sh \ |
| 1033 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 1034 | ${GENSCRIPTS} sparcnbsd "$(tdir_sparcnbsd)" |
| 1035 | est2000.c: $(srcdir)/emulparams/st2000.sh \ |
| 1036 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/st2000.sc ${GEN_DEPENDS} |
| 1037 | ${GENSCRIPTS} st2000 "$(tdir_st2000)" |
| 1038 | esun3.c: $(srcdir)/emulparams/sun3.sh \ |
| 1039 | $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 1040 | ${GENSCRIPTS} sun3 "$(tdir_sun3)" |
| 1041 | esun4.c: $(srcdir)/emulparams/sun4.sh \ |
| 1042 | $(srcdir)/emultempl/sunos.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 1043 | ${GENSCRIPTS} sun4 "$(tdir_sun4)" |
| 1044 | etic30aout.c: $(srcdir)/emulparams/tic30aout.sh \ |
| 1045 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30aout.sc ${GEN_DEPENDS} |
| 1046 | ${GENSCRIPTS} tic30aout "$(tdir_tic30aout)" |
| 1047 | etic30coff.c: $(srcdir)/emulparams/tic30coff.sh \ |
| 1048 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic30coff.sc ${GEN_DEPENDS} |
| 1049 | ${GENSCRIPTS} tic30coff "$(tdir_tic30coff)" |
| 1050 | start-sanitize-tic80: |
| 1051 | etic80coff.c: $(srcdir)/emulparams/tic80coff.sh \ |
| 1052 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/tic80coff.sc ${GEN_DEPENDS} |
| 1053 | ${GENSCRIPTS} tic80coff "$(tdir_tic80coff)" |
| 1054 | end-sanitize-tic80: |
| 1055 | evanilla.c: $(srcdir)/emulparams/vanilla.sh \ |
| 1056 | $(srcdir)/emultempl/vanilla.em $(srcdir)/scripttempl/vanilla.sc ${GEN_DEPENDS} |
| 1057 | ${GENSCRIPTS} vanilla "$(tdir_vanilla)" |
| 1058 | evax.c: $(srcdir)/emulparams/vax.sh \ |
| 1059 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 1060 | ${GENSCRIPTS} vax "$(tdir_vax)" |
| 1061 | evsta.c: $(srcdir)/emulparams/vsta.sh \ |
| 1062 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} |
| 1063 | ${GENSCRIPTS} vsta "$(tdir_vsta)" |
| 1064 | ev850.c: $(srcdir)/emulparams/v850.sh \ |
| 1065 | $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/v850.sc ${GEN_DEPENDS} |
| 1066 | ${GENSCRIPTS} v850 "$(tdir_v850)" |
| 1067 | ew65.c: $(srcdir)/emulparams/w65.sh \ |
| 1068 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS} |
| 1069 | ${GENSCRIPTS} w65 "$(tdir_w65)" |
| 1070 | ez8001.c: $(srcdir)/emulparams/z8001.sh \ |
| 1071 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS} |
| 1072 | ${GENSCRIPTS} z8001 "$(tdir_z8001)" |
| 1073 | ez8002.c: $(srcdir)/emulparams/z8002.sh \ |
| 1074 | $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/z8000.sc ${GEN_DEPENDS} |
| 1075 | ${GENSCRIPTS} z8002 "$(tdir_z8002)" |
| 1076 | |
| 1077 | # The generated emulation files mostly have the same dependencies. |
| 1078 | $(EMULATION_OFILES): ../bfd/bfd.h sysdep.h config.h $(INCDIR)/bfdlink.h \ |
| 1079 | ld.h ldmain.h ldemul.h ldfile.h ldmisc.h ldexp.h ldlang.h \ |
| 1080 | ldctor.h ldexp.h ldlang.h ldgram.h |
| 1081 | |
| 1082 | check-DEJAGNU: site.exp |
| 1083 | srcroot=`cd $(srcdir) && pwd`; export srcroot; \ |
| 1084 | r=`pwd`; export r; \ |
| 1085 | EXPECT=$(EXPECT); export EXPECT; \ |
| 1086 | if [ -f $(top_builddir)/../expect/expect ]; then \ |
| 1087 | TCL_LIBRARY=`cd $(top_srcdir)/../tcl/library && pwd`; \ |
| 1088 | export TCL_LIBRARY; \ |
| 1089 | fi; \ |
| 1090 | runtest=$(RUNTEST); \ |
| 1091 | if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \ |
| 1092 | $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \ |
| 1093 | CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" \ |
| 1094 | CXX="$(CXX_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS)" \ |
| 1095 | CC_FOR_HOST="$(CC)" CFLAGS_FOR_HOST="$(CFLAGS)" \ |
| 1096 | OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" \ |
| 1097 | LIBIBERTY="$(LIBIBERTY)" HOSTING_EMU="$(HOSTING_EMU)" \ |
| 1098 | HOSTING_CRT0="$(HOSTING_CRT0)" HOSTING_LIBS="$(HOSTING_LIBS)" \ |
| 1099 | $(RUNTESTFLAGS); \ |
| 1100 | else echo "WARNING: could not find \`runtest'" 1>&2; :;\ |
| 1101 | fi |
| 1102 | |
| 1103 | # Rules for testing by relinking ld itself. |
| 1104 | # A similar test is in the testsuite. This target is for ease of use |
| 1105 | # when porting ld. |
| 1106 | |
| 1107 | ld-partial.o: ld-new$(EXEEXT) |
| 1108 | ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld-partial.o -r $(OFILES) |
| 1109 | ld1$(EXEEXT): ld-partial.o |
| 1110 | ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1$(EXEEXT) $(HOSTING_CRT0) ld-partial.o $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) |
| 1111 | |
| 1112 | ld1-full$(EXEEXT): ld-new |
| 1113 | ./ld-new$(EXEEXT) $(HOSTING_EMU) -o ld1-full$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) |
| 1114 | |
| 1115 | ld2$(EXEEXT): ld1$(EXEEXT) |
| 1116 | ./ld1$(EXEEXT) $(HOSTING_EMU) -o ld2$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) |
| 1117 | |
| 1118 | ld3$(EXEEXT): ld2$(EXEEXT) |
| 1119 | ./ld2$(EXEEXT) $(HOSTING_EMU) -o ld3$(EXEEXT) $(HOSTING_CRT0) $(OFILES) $(TESTBFDLIB) $(LIBIBERTY) $(HOSTING_LIBS) |
| 1120 | |
| 1121 | bootstrap: ld3$(EXEEXT) |
| 1122 | cmp ld2$(EXEEXT) ld3$(EXEEXT) |
| 1123 | |
| 1124 | .PHONY: bootstrap |
| 1125 | |
| 1126 | # A test program for C++ constructors and destructors. |
| 1127 | # This test is now in the testsuite. |
| 1128 | # |
| 1129 | #cdtest: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new |
| 1130 | # ./ld.new $(HOSTING_EMU) -o cdtest $(HOSTING_CRT0) \ |
| 1131 | # cdtest-main.o cdtest-bar.o cdtest-foo.o $(HOSTING_LIBS) |
| 1132 | # |
| 1133 | #cdtest.out: cdtest |
| 1134 | # ./cdtest > cdtest.tmp |
| 1135 | # mv cdtest.tmp cdtest.out |
| 1136 | # |
| 1137 | #cdtest-ur.o: cdtest-main.o cdtest-bar.o cdtest-foo.o ld.new |
| 1138 | # ./ld.new $(HOSTING_EMU) -o cdtest-ur.o -Ur cdtest-main.o \ |
| 1139 | # cdtest-bar.o cdtest-foo.o |
| 1140 | # |
| 1141 | #cdtest-ur: cdtest-ur.o |
| 1142 | # ./ld.new $(HOSTING_EMU) -o cdtest-ur $(HOSTING_CRT0) cdtest-ur.o \ |
| 1143 | # $(HOSTING_LIBS) |
| 1144 | # |
| 1145 | #cdtest-ur.out: cdtest-ur |
| 1146 | # ./cdtest-ur > cdtest-ur.tmp |
| 1147 | # mv cdtest-ur.tmp cdtest-ur.out |
| 1148 | # |
| 1149 | #check-cdtest: cdtest.out cdtest-ur.out $(srcdir)/cdtest.exp |
| 1150 | # diff $(srcdir)/cdtest.exp cdtest.out |
| 1151 | # diff $(srcdir)/cdtest.exp cdtest-ur.out |
| 1152 | # |
| 1153 | #.PHONY: check-cdtest |
| 1154 | |
| 1155 | # END OF CHECK TARGETS |
| 1156 | |
| 1157 | # DOCUMENTATION TARGETS |
| 1158 | # Manual configuration file; not usually attached to normal configuration, |
| 1159 | # because almost all configs use "gen" version of manual. |
| 1160 | # Set DOCVER above to change. |
| 1161 | configdoc.texi: ${DOCVER}-doc.texi |
| 1162 | ln -s ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \ |
| 1163 | || ln ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi >/dev/null 2>&1 \ |
| 1164 | || cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi |
| 1165 | |
| 1166 | ld.info: $(srcdir)/ld.texinfo configdoc.texi bfdsumm.texi |
| 1167 | ld.dvi: $(srcdir)/ld.texinfo configdoc.texi bfdsumm.texi |
| 1168 | |
| 1169 | # We want to include a file from the BFD documentation. automake |
| 1170 | # doesn't give us a way to set the include directories for makeinfo, |
| 1171 | # so we just create a file locally to include it. |
| 1172 | bfdsumm.texi: Makefile |
| 1173 | echo @include $(BFDDIR)/doc/bfdsumm.texi > bfdsumm.texi |
| 1174 | |
| 1175 | # We want to reconfigure if configure.host or configure.tgt changes. |
| 1176 | Makefile: configure.host configure.tgt |
| 1177 | mostlyclean-local: |
| 1178 | -rm -rf tmpdir |
| 1179 | |
| 1180 | .PHONY: install-exec-local install-data-local |
| 1181 | |
| 1182 | install-exec-local: ld-new$(EXEEXT) |
| 1183 | $(mkinstalldirs) $(bindir) $(tooldir)/bin |
| 1184 | @list='$(noinst_PROGRAMS)'; for p in $$list; do \ |
| 1185 | if test -f $$p; then \ |
| 1186 | echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/-new//'|sed '$(transform)'`"; \ |
| 1187 | $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed -e 's/-new//'|sed '$(transform)'`; \ |
| 1188 | else :; fi; \ |
| 1189 | done |
| 1190 | rm -f $(tooldir)/bin/ld$(EXEEXT) |
| 1191 | n=`echo ld | sed '$(transform)'`; \ |
| 1192 | if [ "$(bindir)/$$n$(EXEEXT)" != "$(tooldir)/bin/ld$(EXEEXT)" ]; then \ |
| 1193 | ln $(bindir)/$$n$(EXEEXT) $(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \ |
| 1194 | || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(tooldir)/bin/ld$(EXEEXT); \ |
| 1195 | fi |
| 1196 | |
| 1197 | install-data-local: |
| 1198 | $(mkinstalldirs) $(scriptdir) |
| 1199 | for f in ldscripts/*; do \ |
| 1200 | $(INSTALL_DATA) $$f $(scriptdir)/$$f ; \ |
| 1201 | done |
| 1202 | diststuff: $(LDDISTSTUFF) info |
| 1203 | distclean-local: |
| 1204 | rm -rf ldscripts |
| 1205 | |
| 1206 | # Targets to rebuild dependencies in this Makefile. |
| 1207 | # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES). |
| 1208 | .dep: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h |
| 1209 | rm -f .dep1 |
| 1210 | $(MAKE) DEP=$(DEP) .dep1 |
| 1211 | sed -f dep.sed <.dep1 >.dep |
| 1212 | |
| 1213 | # This rule really wants a mkdep that runs "gcc -MM". |
| 1214 | .dep1: $(CFILES) $(GENERATED_CFILES) |
| 1215 | rm -f .dep2 |
| 1216 | echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2 |
| 1217 | $(DEP) -f .dep2 $(INCLUDES) $? |
| 1218 | $(srcdir)/../move-if-change .dep2 .dep1 |
| 1219 | |
| 1220 | dep.sed: dep-in.sed config.status |
| 1221 | sed <$(srcdir)/dep-in.sed >dep.sed \ |
| 1222 | -e 's!@INCDIR@!$(INCDIR)!' \ |
| 1223 | -e 's!@SRCDIR@!$(srcdir)!' |
| 1224 | |
| 1225 | dep: .dep |
| 1226 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile |
| 1227 | cat .dep >> tmp-Makefile |
| 1228 | $(srcdir)/../move-if-change tmp-Makefile Makefile |
| 1229 | |
| 1230 | dep-in: .dep |
| 1231 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in |
| 1232 | cat .dep >> tmp-Makefile.in |
| 1233 | $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in |
| 1234 | |
| 1235 | dep-am: .dep |
| 1236 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am |
| 1237 | cat .dep >> tmp-Makefile.am |
| 1238 | $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am |
| 1239 | |
| 1240 | .PHONY: dep dep-in dep-am |
| 1241 | |
| 1242 | # What appears below is generated by a hacked mkdep using gcc -MM. |
| 1243 | |
| 1244 | # DO NOT DELETE THIS LINE -- mkdep uses it. |
| 1245 | # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. |
| 1246 | |
| 1247 | ldctor.o: ldctor.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
| 1248 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \ |
| 1249 | ld.h ldexp.h ldlang.h ldmisc.h ldgram.h ldmain.h ldctor.h |
| 1250 | ldemul.o: ldemul.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
| 1251 | sysdep.h config.h $(INCDIR)/fopen-same.h ld.h ldemul.h \ |
| 1252 | ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h ldemul-list.h |
| 1253 | ldexp.o: ldexp.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
| 1254 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \ |
| 1255 | ld.h ldmain.h ldmisc.h ldexp.h ldgram.h ldlang.h |
| 1256 | ldfile.o: ldfile.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
| 1257 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \ |
| 1258 | ld.h ldmisc.h ldexp.h ldlang.h ldfile.h ldmain.h ldgram.h \ |
| 1259 | ldlex.h ldemul.h |
| 1260 | ldlang.o: ldlang.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
| 1261 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \ |
| 1262 | $(INCDIR)/obstack.h $(INCDIR)/bfdlink.h ld.h ldmain.h \ |
| 1263 | ldgram.h ldexp.h ldlang.h ldemul.h ldlex.h ldmisc.h \ |
| 1264 | ldctor.h ldfile.h $(INCDIR)/fnmatch.h |
| 1265 | ldmain.o: ldmain.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
| 1266 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \ |
| 1267 | $(INCDIR)/progress.h $(INCDIR)/bfdlink.h ld.h ldmain.h \ |
| 1268 | ldmisc.h ldwrite.h ldgram.h ldexp.h ldlang.h ldemul.h \ |
| 1269 | ldlex.h ldfile.h ldctor.h |
| 1270 | ldmisc.o: ldmisc.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
| 1271 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \ |
| 1272 | $(INCDIR)/demangle.h ld.h ldmisc.h ldexp.h ldlang.h \ |
| 1273 | ldgram.h ldlex.h ldmain.h ldfile.h |
| 1274 | ldver.o: ldver.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
| 1275 | sysdep.h config.h $(INCDIR)/fopen-same.h ld.h ldver.h \ |
| 1276 | ldemul.h ldmain.h |
| 1277 | ldwrite.o: ldwrite.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
| 1278 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \ |
| 1279 | $(INCDIR)/libiberty.h ld.h ldexp.h ldlang.h ldwrite.h \ |
| 1280 | ldmisc.h ldgram.h ldmain.h |
| 1281 | lexsup.o: lexsup.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
| 1282 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \ |
| 1283 | $(INCDIR)/getopt.h $(INCDIR)/bfdlink.h ld.h ldmain.h \ |
| 1284 | ldmisc.h ldexp.h ldlang.h ldgram.h ldlex.h ldfile.h \ |
| 1285 | ldver.h ldemul.h |
| 1286 | mri.o: mri.c ../bfd/bfd.h $(INCDIR)/ansidecl.h sysdep.h \ |
| 1287 | config.h $(INCDIR)/fopen-same.h ld.h ldexp.h ldlang.h \ |
| 1288 | ldmisc.h mri.h ldgram.h $(INCDIR)/libiberty.h |
| 1289 | ldcref.o: ldcref.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
| 1290 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \ |
| 1291 | $(INCDIR)/libiberty.h ld.h ldmain.h ldmisc.h ldexp.h \ |
| 1292 | ldlang.h |
| 1293 | ldgram.o: ldgram.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \ |
| 1294 | sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/bfdlink.h \ |
| 1295 | ld.h ldexp.h ldver.h ldlang.h ldemul.h ldfile.h ldmisc.h \ |
| 1296 | ldmain.h mri.h ldlex.h |
| 1297 | ldlex.o: ldlex.c ../bfd/bfd.h sysdep.h config.h $(INCDIR)/fopen-same.h \ |
| 1298 | ld.h ldgram.h ldmisc.h ldexp.h ldlang.h ldfile.h ldlex.h \ |
| 1299 | ldmain.h |
| 1300 | |
| 1301 | # IF YOU PUT ANYTHING HERE IT WILL GO AWAY |
| 1302 | |
| 1303 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
| 1304 | # Otherwise a system limit (for SysV at least) may be exceeded. |
| 1305 | .NOEXPORT: |