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