Makefile.am revision 94536
1## Process this file with automake to generate Makefile.in
2
3AUTOMAKE_OPTIONS = cygnus
4
5INCDIR = $(srcdir)/../include
6CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
7MKDEP = gcc -MM
8
9SUBDIRS = doc po
10
11docdir = doc
12
13lib_LTLIBRARIES = libbfd.la
14
15WARN_CFLAGS = @WARN_CFLAGS@
16AM_CFLAGS = $(WARN_CFLAGS)
17
18# bfd.h goes here, for now
19BFD_H = bfd.h
20
21# Jim Kingdon notes:
22# Writing S-records should be included in all (or at least most)
23# *-*-coff, *-*-aout, etc., configurations, because people will want to
24# be able to use objcopy to create S-records.  (S-records are not useful
25# for the debugger, so if you are downloading things as S-records you
26# need two copies of the executable, one to download and one for the
27# debugger).
28BFD32_LIBS = \
29	archive.lo archures.lo bfd.lo cache.lo coffgen.lo corefile.lo \
30	format.lo init.lo libbfd.lo opncls.lo reloc.lo \
31	section.lo syms.lo targets.lo hash.lo linker.lo \
32	srec.lo binary.lo tekhex.lo ihex.lo stabs.lo stab-syms.lo \
33	merge.lo dwarf2.lo
34
35BFD64_LIBS = archive64.lo
36
37BFD32_LIBS_CFILES = \
38	archive.c archures.c bfd.c cache.c coffgen.c corefile.c \
39	format.c init.c libbfd.c opncls.c reloc.c \
40	section.c syms.c targets.c hash.c linker.c \
41	srec.c binary.c tekhex.c ihex.c stabs.c stab-syms.c \
42	merge.c dwarf2.c
43
44BFD64_LIBS_CFILES = archive64.c
45
46# This list is alphabetized to make it easier to keep in sync
47# with the decls and initializer in archures.c.
48ALL_MACHINES = \
49	cpu-a29k.lo \
50	cpu-alpha.lo \
51	cpu-arc.lo \
52	cpu-arm.lo \
53	cpu-avr.lo \
54	cpu-cris.lo \
55	cpu-d10v.lo \
56	cpu-d30v.lo \
57	cpu-fr30.lo \
58	cpu-h8300.lo \
59	cpu-h8500.lo \
60	cpu-hppa.lo \
61	cpu-ia64.lo \
62	cpu-i370.lo \
63	cpu-i386.lo \
64	cpu-i860.lo \
65	cpu-i960.lo \
66	cpu-m32r.lo \
67	cpu-m68hc11.lo \
68	cpu-m68hc12.lo \
69	cpu-m68k.lo \
70	cpu-m88k.lo \
71	cpu-m10200.lo \
72	cpu-m10300.lo \
73	cpu-mcore.lo \
74	cpu-mips.lo \
75	cpu-mmix.lo \
76	cpu-or32.lo \
77	cpu-ns32k.lo \
78	cpu-openrisc.lo \
79	cpu-pdp11.lo \
80	cpu-pj.lo \
81	cpu-powerpc.lo \
82	cpu-rs6000.lo \
83	cpu-s390.lo \
84	cpu-sh.lo \
85	cpu-sparc.lo \
86	cpu-tic30.lo \
87	cpu-tic54x.lo \
88	cpu-tic80.lo \
89	cpu-v850.lo \
90	cpu-vax.lo \
91	cpu-we32k.lo \
92	cpu-w65.lo \
93	cpu-xstormy16.lo \
94	cpu-z8k.lo
95
96ALL_MACHINES_CFILES = \
97	cpu-a29k.c \
98	cpu-alpha.c \
99	cpu-arc.c \
100	cpu-arm.c \
101	cpu-avr.c \
102	cpu-cris.c \
103	cpu-d10v.c \
104	cpu-d30v.c \
105	cpu-fr30.c \
106	cpu-h8300.c \
107	cpu-h8500.c \
108	cpu-hppa.c \
109	cpu-ia64.c \
110	cpu-i370.c \
111	cpu-i386.c \
112	cpu-i860.c \
113	cpu-i960.c \
114	cpu-m32r.c \
115	cpu-m68hc11.c \
116	cpu-m68hc12.c \
117	cpu-m68k.c \
118	cpu-m88k.c \
119	cpu-m10200.c \
120	cpu-m10300.c \
121	cpu-mcore.c \
122	cpu-mips.c \
123	cpu-mmix.c \
124	cpu-or32.c \
125	cpu-ns32k.c \
126	cpu-openrisc.c \
127	cpu-pdp11.c \
128	cpu-pj.c \
129	cpu-powerpc.c \
130	cpu-rs6000.c \
131	cpu-s390.c \
132	cpu-sh.c \
133	cpu-sparc.c \
134	cpu-tic30.c \
135	cpu-tic54x.c \
136	cpu-tic80.c \
137	cpu-v850.c \
138	cpu-vax.c \
139	cpu-we32k.c \
140	cpu-w65.c \
141	cpu-xstormy16.c \
142	cpu-z8k.c
143
144# The .o files needed by all of the 32 bit vectors that are configured into
145# target_vector in targets.c if configured with --enable-targets=all.
146BFD32_BACKENDS = \
147	aout-adobe.lo \
148	aout-arm.lo \
149	aout-cris.lo \
150	aout-ns32k.lo \
151	aout-sparcle.lo \
152	aout-tic30.lo \
153	aout0.lo \
154	aout32.lo \
155	armnetbsd.lo \
156	bout.lo \
157	cf-i386lynx.lo \
158	cf-m68klynx.lo \
159	cf-sparclynx.lo \
160	coff-a29k.lo \
161	coff-apollo.lo \
162	coff-arm.lo \
163	coff-aux.lo \
164	coff-h8300.lo \
165	coff-h8500.lo \
166	coff-i386.lo \
167	coff-go32.lo \
168	coff-i860.lo \
169	coff-i960.lo \
170	coff-m68k.lo \
171	coff-m88k.lo \
172	coff-mips.lo \
173	coff-or32.lo \
174	coff-rs6000.lo \
175	coff-sh.lo \
176	coff-sparc.lo \
177	coff-stgo32.lo \
178	coff-svm68k.lo \
179	coff-tic30.lo \
180	coff-tic54x.lo \
181	coff-tic80.lo \
182	coff-u68k.lo \
183	coff-we32k.lo \
184	coff-w65.lo \
185	coff-z8k.lo \
186	cofflink.lo \
187	dwarf1.lo \
188	ecoff.lo \
189	ecofflink.lo \
190	efi-app-ia32.lo \
191	elf.lo \
192	elf32-arc.lo \
193	elfarm-oabi.lo \
194	elfarm-nabi.lo \
195	elf32-avr.lo \
196	elf32-cris.lo \
197	elf32-d10v.lo \
198	elf32-d30v.lo \
199	elf32-fr30.lo \
200	elf32-gen.lo \
201	elf32-h8300.lo \
202	elf32-hppa.lo \
203	elf32-i370.lo \
204	elf32-i386.lo \
205	elf32-i860.lo \
206	elf32-i960.lo \
207	elf32-ia64.lo \
208	elf32-m32r.lo \
209	elf32-m68hc11.lo \
210	elf32-m68hc12.lo \
211	elf32-m68k.lo \
212	elf32-m88k.lo \
213	elf-m10200.lo \
214	elf-m10300.lo \
215	elf32-mcore.lo \
216	elf32-mips.lo \
217	elf32-openrisc.lo \
218	elf32-or32.lo \
219	elf32-pj.lo \
220	elf32-ppc.lo \
221	elf32-s390.lo \
222	elf32-sh.lo \
223	elf32-sh-lin.lo \
224	elf32-sh64.lo \
225	elf32-sh-nbsd.lo \
226	elf32-sparc.lo \
227	elf32-v850.lo \
228	elf32-xstormy16.lo \
229	elf32.lo \
230	elflink.lo \
231	elf-strtab.lo \
232	elf-eh-frame.lo \
233	epoc-pe-arm.lo \
234	epoc-pei-arm.lo \
235	hp300bsd.lo \
236	hp300hpux.lo \
237	som.lo \
238	i386aout.lo \
239	i386bsd.lo \
240	i386dynix.lo \
241	i386freebsd.lo \
242	i386linux.lo \
243	i386lynx.lo \
244	i386msdos.lo \
245	i386netbsd.lo \
246	i386mach3.lo \
247	i386os9k.lo \
248	ieee.lo \
249	m68k4knetbsd.lo \
250	m68klinux.lo \
251	m68klynx.lo \
252	m68knetbsd.lo \
253	m88kmach3.lo \
254	mipsbsd.lo \
255	newsos3.lo \
256	nlm.lo \
257	nlm32-i386.lo \
258	nlm32-sparc.lo \
259	nlm32-ppc.lo \
260	nlm32.lo \
261	ns32knetbsd.lo \
262	oasys.lo \
263	pc532-mach.lo \
264	pdp11.lo \
265	pe-arm.lo \
266	pei-arm.lo \
267	pe-i386.lo \
268	pei-i386.lo \
269	pe-mcore.lo \
270	pei-mcore.lo \
271	pe-ppc.lo \
272	pei-ppc.lo \
273	pe-sh.lo \
274	pei-sh.lo \
275	pe-mips.lo \
276	pei-mips.lo \
277	peigen.lo \
278	ppcboot.lo \
279	reloc16.lo \
280	riscix.lo \
281	sparclinux.lo \
282	sparclynx.lo \
283	sparcnetbsd.lo \
284	sunos.lo \
285	vaxnetbsd.lo \
286	versados.lo \
287	vms.lo \
288	vms-gsd.lo \
289	vms-hdr.lo \
290	vms-misc.lo \
291	vms-tir.lo \
292	xcofflink.lo
293
294BFD32_BACKENDS_CFILES = \
295	aout-adobe.c \
296	aout-arm.c \
297	aout-cris.c \
298	aout-ns32k.c \
299	aout-sparcle.c \
300	aout-tic30.c \
301	aout0.c \
302	aout32.c \
303	armnetbsd.c \
304	bout.c \
305	cf-i386lynx.c \
306	cf-m68klynx.c \
307	cf-sparclynx.c \
308	coff-a29k.c \
309	coff-apollo.c \
310	coff-arm.c \
311	coff-aux.c \
312	coff-h8300.c \
313	coff-h8500.c \
314	coff-i386.c \
315	coff-i860.c \
316	coff-go32.c \
317	coff-i960.c \
318	coff-m68k.c \
319	coff-m88k.c \
320	coff-mips.c \
321	coff-or32.c \
322	coff-rs6000.c \
323	coff-sh.c \
324	coff-sparc.c \
325	coff-stgo32.c \
326	coff-svm68k.c \
327	coff-tic30.c \
328	coff-tic54x.c \
329	coff-tic80.c \
330	coff-u68k.c \
331	coff-we32k.c \
332	coff-w65.c \
333	coff-z8k.c \
334	cofflink.c \
335	dwarf1.c \
336	ecoff.c \
337	ecofflink.c \
338	efi-app-ia32.c \
339	elf.c \
340	elf32-arc.c \
341	elfarm-oabi.c \
342	elfarm-nabi.c \
343	elf32-avr.c \
344	elf32-cris.c \
345	elf32-d10v.c \
346	elf32-d30v.c \
347	elf32-fr30.c \
348	elf32-gen.c \
349	elf32-h8300.c \
350	elf32-hppa.c \
351	elf32-i370.c \
352	elf32-i386.c \
353	elf32-i860.c \
354	elf32-i960.c \
355	elf32-m32r.c \
356	elf32-m68k.c \
357	elf32-m68hc11.c \
358	elf32-m68hc12.c \
359	elf32-m88k.c \
360	elf-m10200.c \
361	elf-m10300.c \
362	elf32-mcore.c \
363	elf32-mips.c \
364	elf32-openrisc.c \
365	elf32-or32.c \
366	elf32-pj.c \
367	elf32-ppc.c \
368	elf32-sh64.c \
369	elf32-s390.c \
370	elf32-sh.c \
371	elf32-sh-lin.c \
372	elf32-sh-nbsd.c \
373	elf32-sparc.c \
374	elf32-v850.c \
375	elf32-xstormy16.c \
376	elf32.c \
377	elflink.c \
378	elf-strtab.c \
379	elf-eh-frame.c \
380	epoc-pe-arm.c \
381	epoc-pei-arm.c \
382	hp300bsd.c \
383	hp300hpux.c \
384	som.c \
385	i386aout.c \
386	i386bsd.c \
387	i386dynix.c \
388	i386freebsd.c \
389	i386linux.c \
390	i386lynx.c \
391	i386msdos.c \
392	i386netbsd.c \
393	i386mach3.c \
394	i386os9k.c \
395	ieee.c \
396	m68k4knetbsd.c \
397	m68klinux.c \
398	m68klynx.c \
399	m68knetbsd.c \
400	m88kmach3.c \
401	mipsbsd.c \
402	newsos3.c \
403	nlm.c \
404	nlm32-i386.c \
405	nlm32-sparc.c \
406	nlm32-ppc.c \
407	nlm32.c \
408	ns32knetbsd.c \
409	oasys.c \
410	pc532-mach.c \
411	pdp11.c \
412	pe-arm.c \
413	pei-arm.c \
414	pe-i386.c \
415	pei-i386.c \
416	pe-mcore.c \
417	pei-mcore.c \
418	pe-ppc.c \
419	pei-ppc.c \
420	pe-sh.c \
421	pei-sh.c \
422	pe-mips.c \
423	pei-mips.c \
424	ppcboot.c \
425	reloc16.c \
426	riscix.c \
427	sparclinux.c \
428	sparclynx.c \
429	sparcnetbsd.c \
430	sunos.c \
431	vaxnetbsd.c \
432	versados.c \
433	vms.c \
434	vms-gsd.c \
435	vms-hdr.c \
436	vms-misc.c \
437	vms-tir.c \
438	xcofflink.c
439
440# The .o files needed by all of the 64 bit vectors that are configured into
441# target_vector in targets.c if configured with --enable-targets=all
442# and --enable-64-bit-bfd.
443BFD64_BACKENDS = \
444	aout64.lo \
445	coff-alpha.lo \
446	coff64-rs6000.lo \
447	demo64.lo \
448	efi-app-ia64.lo \
449	elf64-x86-64.lo \
450	elf64-alpha.lo \
451	elf64-hppa.lo \
452	elf64-ia64.lo \
453	elf64-gen.lo \
454	elf64-mips.lo \
455	elf64-mmix.lo \
456	elf64-sh64.lo \
457	elf64-ppc.lo \
458	elf64-s390.lo \
459	elf64-sparc.lo \
460	elf64.lo \
461	mmo.lo \
462	nlm32-alpha.lo \
463	nlm64.lo \
464	pepigen.lo
465
466BFD64_BACKENDS_CFILES = \
467	aout64.c \
468	coff-alpha.c \
469	coff64-rs6000.c \
470	demo64.c \
471	efi-app-ia64.c \
472	elf64-x86-64.c \
473	elf64-alpha.c \
474	elf64-hppa.c \
475	elf64-gen.c \
476	elf64-mips.c \
477	elf64-mmix.c \
478	elf64-ppc.c \
479	elf64-s390.c \
480	elf64-sh64.c \
481	elf64-sparc.c \
482	elf64.c \
483	mmo.c \
484	nlm32-alpha.c \
485	nlm64.c
486
487OPTIONAL_BACKENDS = \
488	aix386-core.lo \
489	hpux-core.lo \
490	irix-core.lo \
491	lynx-core.lo \
492	osf-core.lo \
493	sco5-core.lo \
494	trad-core.lo \
495	cisco-core.lo
496
497OPTIONAL_BACKENDS_CFILES = \
498	aix386-core.c \
499	hpux-core.c \
500	irix-core.c \
501	lynx-core.c \
502	osf-core.c \
503	sco5-core.c \
504	trad-core.c \
505	cisco-core.c
506
507# These are defined by configure.in:
508WORDSIZE = @wordsize@
509ALL_BACKENDS = @all_backends@
510BFD_BACKENDS = @bfd_backends@
511BFD_LIBS = @bfd_libs@
512BFD_MACHINES = @bfd_machines@
513TDEFAULTS = @tdefaults@
514
515INCLUDES = -D_GNU_SOURCE @HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) -I$(srcdir)/../intl -I../intl
516
517# C source files that correspond to .o's.
518SOURCE_CFILES = \
519	$(BFD32_LIBS_CFILES) \
520	$(BFD64_LIBS_CFILES) \
521	$(ALL_MACHINES_CFILES) \
522	$(BFD32_BACKENDS_CFILES) \
523	$(BFD64_BACKENDS_CFILES) \
524	$(OPTIONAL_BACKENDS_CFILES)
525
526BUILD_CFILES = \
527	elf32-ia64.c elf64-ia64.c peigen.c pepigen.c
528
529CFILES = $(SOURCE_CFILES) $(BUILD_CFILES)
530
531## This is a list of all .h files which are in the source tree.
532SOURCE_HFILES = \
533	aout-target.h aoutf1.h aoutx.h coffcode.h coffswap.h ecoffswap.h \
534	elf-bfd.h elf-hppa.h elf32-arm.h elf32-hppa.h elf64-hppa.h \
535	elfcode.h elfcore.h elflink.h freebsd.h genlink.h go32stub.h \
536	libaout.h libbfd.h libcoff.h libecoff.h libhppa.h \
537	libieee.h libnlm.h liboasys.h libpei.h netbsd.h nlm-target.h \
538	nlmcode.h nlmswap.h ns32k.h peicode.h som.h vms.h libxcoff.h \
539	xcoff-target.h version.h
540
541## ... and all .h files which are in the build tree.
542BUILD_HFILES = \
543	elf32-target.h elf64-target.h targmatch.h
544
545HFILES = $(SOURCE_HFILES) $(BUILD_HFILES)
546
547SRC_POTFILES = $(SOURCE_CFILES) $(SOURCE_HFILES)
548BLD_POTFILES = $(BUILD_CFILES) $(BUILD_HFILES)
549
550po/SRC-POTFILES.in: @MAINT@ Makefile $(SRC_POTFILES)
551	for file in $(SRC_POTFILES); do echo $$file; done | sort > tmp.src \
552	  && mv tmp.src $(srcdir)/po/SRC-POTFILES.in
553
554po/BLD-POTFILES.in: @MAINT@ Makefile $(BLD_POTFILES)
555	for file in $(BLD_POTFILES); do echo $$file; done | sort > tmp.bld \
556	  && mv tmp.bld $(srcdir)/po/BLD-POTFILES.in
557
558# The following target is retained for upgrade purposes.
559# This target used to exist in older versions of this makefile, and was
560# referenced by <builddir>/po/Makefile (which is created from <srcdir>/po/Make-in)
561# So old versions of <builddir>/po/Makefile will try to regenerate themselves
562# when make is next run, but that dependency cannot be completed without a build
563# of po/POTFILES.in.  Hence the presence of this rule.  This rule will be deleted
564# once it is no longer needed - probably in the fall of 2001.
565po/POTFILES.in:
566
567
568diststuff: info
569
570# Various kinds of .o files to put in libbfd.a:
571# BFD_BACKENDS	Routines the configured targets need.
572# BFD_MACHINES	Architecture-specific routines the configured targets need.
573# COREFILE	Core file routines for a native configuration
574OFILES = $(BFD_BACKENDS) $(BFD_MACHINES) @COREFILE@
575
576stamp-ofiles: Makefile
577	rm -f tofiles
578	f=""; \
579	for i in $(OFILES) ; do \
580	  case " $$f " in \
581	    *" $$i "*) ;; \
582	    *) f="$$f $$i" ;; \
583	  esac ; \
584	done ; \
585	echo $$f > tofiles
586	$(SHELL) $(srcdir)/../move-if-change tofiles ofiles
587	touch stamp-ofiles
588
589ofiles: stamp-ofiles ; @true
590
591libbfd_la_SOURCES = $(BFD32_LIBS_CFILES) $(BFD64_LIBS_CFILES)
592libbfd_la_DEPENDENCIES = $(OFILES) ofiles
593libbfd_la_LIBADD = `cat ofiles` @WIN32LIBADD@
594libbfd_la_LDFLAGS = -release $(VERSION) @WIN32LDFLAGS@
595
596# libtool will build .libs/libbfd.a.  We create libbfd.a in the build
597# directory so that we don't have to convert all the programs that use
598# libbfd.a simultaneously.  This is a hack which should be removed if
599# everything else starts using libtool.  FIXME.
600
601noinst_LIBRARIES = libbfd.a
602libbfd_a_SOURCES =
603
604stamp-lib: libbfd.la
605	libtooldir=`$(LIBTOOL) --config | sed -n -e 's/^objdir=//p'`; \
606	if [ -f $$libtooldir/libbfd.a ]; then \
607	  cp $$libtooldir/libbfd.a libbfd.tmp; \
608	  $(RANLIB) libbfd.tmp; \
609	  $(SHELL) $(srcdir)/../move-if-change libbfd.tmp libbfd.a; \
610	else true; fi
611	touch stamp-lib
612
613libbfd.a: stamp-lib ; @true
614
615# This file holds an array associating configuration triplets and
616# vector names.  It is built from config.bfd.  It is not compiled by
617# itself, but is included by targets.c.
618targmatch.h: config.bfd targmatch.sed
619	rm -f targmatch.h
620	sed -f $(srcdir)/targmatch.sed < $(srcdir)/config.bfd > targmatch.new
621	mv -f targmatch.new targmatch.h
622
623# When compiling archures.c and targets.c, supply the default target
624# info from configure.
625
626targets.lo: targets.c config.status
627	$(LIBTOOL) --mode=compile $(COMPILE) -c $(TDEFAULTS) $(srcdir)/targets.c
628
629archures.lo: archures.c config.status
630	$(LIBTOOL) --mode=compile $(COMPILE) -c $(TDEFAULTS) $(srcdir)/archures.c
631
632elf32-target.h : elfxx-target.h
633	rm -f elf32-target.h
634	sed -e s/NN/32/g < $(srcdir)/elfxx-target.h > elf32-target.new
635	mv -f elf32-target.new elf32-target.h
636
637elf64-target.h : elfxx-target.h
638	rm -f elf64-target.h
639	sed -e s/NN/64/g < $(srcdir)/elfxx-target.h > elf64-target.new
640	mv -f elf64-target.new elf64-target.h
641
642elf32-ia64.c : elfxx-ia64.c
643	rm -f elf32-ia64.c
644	sed -e s/NN/32/g < $(srcdir)/elfxx-ia64.c > elf32-ia64.new
645	mv -f elf32-ia64.new elf32-ia64.c
646
647elf64-ia64.c : elfxx-ia64.c
648	rm -f elf64-ia64.c
649	sed -e s/NN/64/g < $(srcdir)/elfxx-ia64.c > elf64-ia64.new
650	mv -f elf64-ia64.new elf64-ia64.c
651
652peigen.c : peXXigen.c
653	rm -f peigen.c
654	sed -e s/XX/pe/g < $(srcdir)/peXXigen.c > peigen.new
655	mv -f peigen.new peigen.c
656
657pepigen.c : peXXigen.c
658	rm -f pepigen.c
659	sed -e s/XX/pep/g < $(srcdir)/peXXigen.c > pepigen.new
660	mv -f pepigen.new pepigen.c
661
662BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h
663LOCAL_H_DEPS= libbfd.h sysdep.h config.h
664$(BFD32_LIBS) \
665 $(BFD64_LIBS) \
666 $(ALL_MACHINES) \
667 $(BFD32_BACKENDS) \
668 $(BFD64_BACKENDS) \
669 $(OPTIONAL_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
670
671# Install BFD include file, and others that it needs.
672install-data-local: $(BFD_H)
673	@$(NORMAL_INSTALL)
674	$(mkinstalldirs) $(DESTDIR)$(includedir)
675	$(INSTALL_DATA) $(BFD_H) $(DESTDIR)$(includedir)/bfd.h
676	$(INSTALL_DATA) $(INCDIR)/ansidecl.h $(DESTDIR)$(includedir)/ansidecl.h
677	$(INSTALL_DATA) $(INCDIR)/symcat.h $(DESTDIR)$(includedir)/symcat.h
678	$(INSTALL_DATA) $(INCDIR)/bfdlink.h $(DESTDIR)$(includedir)/bfdlink.h
679
680Makefile: $(srcdir)/configure.in
681
682# Have to get rid of DEP1 here so that "$?" later includes all of $(CFILES).
683DEP: dep.sed $(CFILES) $(HFILES) bfd.h
684	rm -f DEP1
685	$(MAKE) MKDEP="$(MKDEP)" DEP1
686	sed -f dep.sed < DEP1 > DEPA
687	echo '# IF YOU PUT ANYTHING HERE IT WILL GO AWAY' >> DEPA
688	if grep ' /' DEPA > /dev/null 2> /dev/null; then \
689	  echo 'make DEP failed!'; exit 1; \
690	else \
691	  mv -f DEPA $@; \
692	fi
693
694DEP1: $(CFILES)
695	echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > DEP2
696	echo '# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.' >> DEP2
697	$(MKDEP) $(INCLUDES) $(CFLAGS) $? >> DEP2
698	mv -f DEP2 $@
699
700dep.sed: dep-in.sed config.status
701	sed <$(srcdir)/dep-in.sed >dep.sed	\
702		-e 's!@BFD_H@!$(BFD_H)!'	\
703		-e 's!@SRCDIR@!$(srcdir)!'	\
704		-e 's!@TOPDIR@!'`echo $(srcdir) | sed -e s,/bfd$$,,`'!'
705
706dep: DEP
707	sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
708	cat DEP >> tmp-Makefile
709	$(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
710
711dep-in: DEP
712	sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
713	cat DEP >> tmp-Makefile.in
714	$(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
715
716dep-am: DEP
717	sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.am > tmp-Makefile.am
718	cat DEP >> tmp-Makefile.am
719	$(SHELL) $(srcdir)/../move-if-change tmp-Makefile.am $(srcdir)/Makefile.am
720
721host-aout.lo: Makefile
722
723# The following program can be used to generate a simple config file
724# which can be folded into an h-XXX file for a new host, with some editing.
725aout-params.h: gen-aout
726	./gen-aout host > aout-params.h
727gen-aout: $(srcdir)/gen-aout.c Makefile
728	$(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
729
730$(BFD_H): stmp-bfd-h ; @true
731
732stmp-bfd-h: bfd-in3.h
733	rm -f bfd-tmp.h
734	cp bfd-in3.h bfd-tmp.h
735	$(SHELL) $(srcdir)/../move-if-change bfd-tmp.h $(BFD_H)
736	rm -f bfd-tmp.h
737	touch stmp-bfd-h
738
739BFD_H_FILES = bfd-in.h init.c opncls.c libbfd.c section.c archures.c \
740	reloc.c syms.c bfd.c archive.c corefile.c targets.c format.c version.h
741BFD64_H_FILES = archive64.c
742LIBBFD_H_FILES = libbfd-in.h init.c libbfd.c cache.c reloc.c archures.c elf.c
743LIBCOFF_H_FILES = libcoff-in.h coffcode.h
744
745# Could really use a "copy-if-change"...
746headers:
747	(cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
748	cp $(docdir)/bfd.h bfd-in2.h-new
749	$(SHELL) $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
750	cp $(docdir)/libbfd.h libbfd.h-new
751	$(SHELL) $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
752	cp $(docdir)/libcoff.h libcoff.h-new
753	$(SHELL) $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
754
755# We only rebuild the header files automatically if we have been
756# configured with --enable-maintainer-mode.
757
758$(srcdir)/bfd-in2.h: @MAINT@ stmp-bin2-h ; @true
759stmp-bin2-h: $(BFD_H_FILES) $(BFD64_H_FILES)
760	(cd $(docdir); $(MAKE) $(FLAGS_TO_PASS) bfd.h)
761	cp $(docdir)/bfd.h bfd-in2.h-new
762	$(SHELL) $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
763	touch stmp-bin2-h
764
765$(srcdir)/libbfd.h: @MAINT@ stmp-lbfd-h ; @true
766stmp-lbfd-h: $(LIBBFD_H_FILES)
767	(cd $(docdir); $(MAKE) $(FLAGS_TO_PASS) libbfd.h)
768	cp $(docdir)/libbfd.h libbfd.h-new
769	$(SHELL) $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
770	touch stmp-lbfd-h
771
772$(srcdir)/libcoff.h: @MAINT@ stmp-lcoff-h ; @true
773stmp-lcoff-h: $(LIBCOFF_H_FILES)
774	(cd $(docdir); $(MAKE) $(FLAGS_TO_PASS) libcoff.h)
775	cp $(docdir)/libcoff.h libcoff.h-new
776	$(SHELL) $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
777	touch stmp-lcoff-h
778
779MOSTLYCLEANFILES = ofiles stamp-ofiles
780
781CLEANFILES = bfd.h dep.sed stmp-bfd-h DEP DEPA DEP1 DEP2 libbfd.a stamp-lib \
782	stmp-bin2-h stmp-lbfd-h stmp-lcoff-h
783
784DISTCLEANFILES = $(BUILD_CFILES) $(BUILD_HFILES)
785
786# We want to rerun configure if config.bfd or configure.host change.
787config.status: $(srcdir)/configure $(srcdir)/config.bfd $(srcdir)/configure.host
788	$(SHELL) ./config.status --recheck
789
790
791# What appears below is generated by a hacked mkdep using gcc -MM.
792
793# DO NOT DELETE THIS LINE -- mkdep uses it.
794# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
795archive.lo: archive.c $(INCDIR)/filenames.h $(INCDIR)/aout/ar.h \
796  $(INCDIR)/aout/ranlib.h $(INCDIR)/safe-ctype.h
797archures.lo: archures.c $(INCDIR)/filenames.h $(INCDIR)/safe-ctype.h
798bfd.lo: bfd.c $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \
799  $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
800  $(INCDIR)/coff/sym.h libcoff.h libecoff.h $(INCDIR)/coff/ecoff.h \
801  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
802  $(INCDIR)/elf/external.h
803cache.lo: cache.c $(INCDIR)/filenames.h
804coffgen.lo: coffgen.c $(INCDIR)/filenames.h $(INCDIR)/coff/internal.h \
805  libcoff.h $(INCDIR)/bfdlink.h
806corefile.lo: corefile.c $(INCDIR)/filenames.h
807format.lo: format.c $(INCDIR)/filenames.h
808init.lo: init.c $(INCDIR)/filenames.h
809libbfd.lo: libbfd.c $(INCDIR)/filenames.h
810opncls.lo: opncls.c $(INCDIR)/filenames.h $(INCDIR)/objalloc.h
811reloc.lo: reloc.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h
812section.lo: section.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h
813syms.lo: syms.c $(INCDIR)/filenames.h $(INCDIR)/safe-ctype.h \
814  $(INCDIR)/bfdlink.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
815targets.lo: targets.c $(INCDIR)/filenames.h $(INCDIR)/fnmatch.h \
816  targmatch.h
817hash.lo: hash.c $(INCDIR)/filenames.h $(INCDIR)/objalloc.h
818linker.lo: linker.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
819  genlink.h
820srec.lo: srec.c $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \
821  $(INCDIR)/safe-ctype.h
822binary.lo: binary.c $(INCDIR)/filenames.h $(INCDIR)/safe-ctype.h
823tekhex.lo: tekhex.c $(INCDIR)/filenames.h $(INCDIR)/libiberty.h
824ihex.lo: ihex.c $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \
825  $(INCDIR)/safe-ctype.h
826stabs.lo: stabs.c $(INCDIR)/filenames.h $(INCDIR)/aout/stab_gnu.h \
827  $(INCDIR)/aout/stab.def $(INCDIR)/safe-ctype.h
828stab-syms.lo: stab-syms.c libaout.h $(INCDIR)/bfdlink.h \
829  $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab.def
830merge.lo: merge.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
831dwarf2.lo: dwarf2.c $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \
832  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
833  $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/dwarf2.h
834archive64.lo: archive64.c $(INCDIR)/filenames.h $(INCDIR)/aout/ar.h
835cpu-a29k.lo: cpu-a29k.c $(INCDIR)/filenames.h
836cpu-alpha.lo: cpu-alpha.c $(INCDIR)/filenames.h
837cpu-arc.lo: cpu-arc.c $(INCDIR)/filenames.h
838cpu-arm.lo: cpu-arm.c $(INCDIR)/filenames.h
839cpu-avr.lo: cpu-avr.c $(INCDIR)/filenames.h
840cpu-cris.lo: cpu-cris.c $(INCDIR)/filenames.h
841cpu-d10v.lo: cpu-d10v.c $(INCDIR)/filenames.h
842cpu-d30v.lo: cpu-d30v.c $(INCDIR)/filenames.h
843cpu-fr30.lo: cpu-fr30.c $(INCDIR)/filenames.h
844cpu-h8300.lo: cpu-h8300.c $(INCDIR)/filenames.h
845cpu-h8500.lo: cpu-h8500.c $(INCDIR)/filenames.h
846cpu-hppa.lo: cpu-hppa.c $(INCDIR)/filenames.h
847cpu-ia64.lo: cpu-ia64.c $(INCDIR)/filenames.h cpu-ia64-opc.c \
848  $(srcdir)/../opcodes/ia64-opc.h $(INCDIR)/opcode/ia64.h
849cpu-i370.lo: cpu-i370.c $(INCDIR)/filenames.h
850cpu-i386.lo: cpu-i386.c $(INCDIR)/filenames.h
851cpu-i860.lo: cpu-i860.c $(INCDIR)/filenames.h
852cpu-i960.lo: cpu-i960.c $(INCDIR)/filenames.h
853cpu-m32r.lo: cpu-m32r.c $(INCDIR)/filenames.h
854cpu-m68hc11.lo: cpu-m68hc11.c $(INCDIR)/filenames.h
855cpu-m68hc12.lo: cpu-m68hc12.c $(INCDIR)/filenames.h
856cpu-m68k.lo: cpu-m68k.c $(INCDIR)/filenames.h
857cpu-m88k.lo: cpu-m88k.c $(INCDIR)/filenames.h
858cpu-m10200.lo: cpu-m10200.c $(INCDIR)/filenames.h
859cpu-m10300.lo: cpu-m10300.c $(INCDIR)/filenames.h
860cpu-mcore.lo: cpu-mcore.c $(INCDIR)/filenames.h
861cpu-mips.lo: cpu-mips.c $(INCDIR)/filenames.h
862cpu-mmix.lo: cpu-mmix.c $(INCDIR)/filenames.h
863cpu-or32.lo: cpu-or32.c $(INCDIR)/filenames.h
864cpu-ns32k.lo: cpu-ns32k.c $(INCDIR)/filenames.h ns32k.h
865cpu-openrisc.lo: cpu-openrisc.c $(INCDIR)/filenames.h
866cpu-pdp11.lo: cpu-pdp11.c $(INCDIR)/filenames.h
867cpu-pj.lo: cpu-pj.c $(INCDIR)/filenames.h
868cpu-powerpc.lo: cpu-powerpc.c $(INCDIR)/filenames.h
869cpu-rs6000.lo: cpu-rs6000.c $(INCDIR)/filenames.h
870cpu-s390.lo: cpu-s390.c $(INCDIR)/filenames.h
871cpu-sh.lo: cpu-sh.c $(INCDIR)/filenames.h
872cpu-sparc.lo: cpu-sparc.c $(INCDIR)/filenames.h
873cpu-tic30.lo: cpu-tic30.c $(INCDIR)/filenames.h
874cpu-tic54x.lo: cpu-tic54x.c $(INCDIR)/filenames.h
875cpu-tic80.lo: cpu-tic80.c $(INCDIR)/filenames.h
876cpu-v850.lo: cpu-v850.c $(INCDIR)/filenames.h $(INCDIR)/safe-ctype.h
877cpu-vax.lo: cpu-vax.c $(INCDIR)/filenames.h
878cpu-we32k.lo: cpu-we32k.c $(INCDIR)/filenames.h
879cpu-w65.lo: cpu-w65.c $(INCDIR)/filenames.h
880cpu-xstormy16.lo: cpu-xstormy16.c $(INCDIR)/filenames.h
881cpu-z8k.lo: cpu-z8k.c $(INCDIR)/filenames.h
882aout-adobe.lo: aout-adobe.c $(INCDIR)/filenames.h $(INCDIR)/aout/adobe.h \
883  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h \
884  $(INCDIR)/bfdlink.h
885aout-arm.lo: aout-arm.c $(INCDIR)/filenames.h libaout.h \
886  $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h aoutx.h \
887  $(INCDIR)/safe-ctype.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
888  $(INCDIR)/aout/ar.h aout-target.h
889aout-cris.lo: aout-cris.c aout32.c aoutx.h $(INCDIR)/filenames.h \
890  $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h libaout.h \
891  $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
892  $(INCDIR)/aout/ar.h aout-target.h
893aout-ns32k.lo: aout-ns32k.c $(INCDIR)/aout/aout64.h \
894  ns32k.h libaout.h $(INCDIR)/bfdlink.h aoutx.h $(INCDIR)/filenames.h \
895  $(INCDIR)/safe-ctype.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
896  $(INCDIR)/aout/ar.h
897aout-sparcle.lo: aout-sparcle.c $(INCDIR)/bfdlink.h \
898  libaout.h aoutf1.h $(INCDIR)/filenames.h $(INCDIR)/aout/sun4.h \
899  $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
900  $(INCDIR)/aout/ar.h aout-target.h
901aout-tic30.lo: aout-tic30.c $(INCDIR)/filenames.h libaout.h \
902  $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
903  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aoutx.h \
904  $(INCDIR)/safe-ctype.h
905aout0.lo: aout0.c aoutf1.h $(INCDIR)/filenames.h $(INCDIR)/aout/sun4.h \
906  libaout.h $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h \
907  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
908  aout-target.h
909aout32.lo: aout32.c aoutx.h $(INCDIR)/filenames.h $(INCDIR)/safe-ctype.h \
910  $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
911  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
912armnetbsd.lo: armnetbsd.c netbsd.h $(INCDIR)/filenames.h \
913  libaout.h $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
914  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
915bout.lo: bout.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
916  genlink.h $(INCDIR)/bout.h $(INCDIR)/aout/stab_gnu.h \
917  $(INCDIR)/aout/stab.def libaout.h
918cf-i386lynx.lo: cf-i386lynx.c $(INCDIR)/filenames.h \
919  coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/external.h \
920  $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
921  coffcode.h coffswap.h
922cf-m68klynx.lo: cf-m68klynx.c coff-m68k.c $(INCDIR)/filenames.h \
923  $(INCDIR)/coff/m68k.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
924  libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
925cf-sparclynx.lo: cf-sparclynx.c coff-sparc.c $(INCDIR)/filenames.h \
926  $(INCDIR)/coff/sparc.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
927  libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
928coff-a29k.lo: coff-a29k.c $(INCDIR)/filenames.h $(INCDIR)/coff/a29k.h \
929  $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
930  libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
931coff-apollo.lo: coff-apollo.c $(INCDIR)/filenames.h \
932  $(INCDIR)/coff/apollo.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
933  libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
934coff-arm.lo: coff-arm.c $(INCDIR)/filenames.h $(INCDIR)/coff/arm.h \
935  $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
936  libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
937coff-aux.lo: coff-aux.c $(INCDIR)/filenames.h $(INCDIR)/coff/aux-coff.h \
938  $(INCDIR)/coff/internal.h $(INCDIR)/coff/m68k.h $(INCDIR)/coff/external.h \
939  coff-m68k.c libcoff.h $(INCDIR)/bfdlink.h coffcode.h \
940  coffswap.h
941coff-h8300.lo: coff-h8300.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
942  genlink.h $(INCDIR)/coff/h8300.h $(INCDIR)/coff/external.h \
943  $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
944coff-h8500.lo: coff-h8500.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
945  $(INCDIR)/coff/h8500.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
946  libcoff.h coffcode.h coffswap.h
947coff-i386.lo: coff-i386.c $(INCDIR)/filenames.h $(INCDIR)/coff/i386.h \
948  $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
949  libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
950coff-i860.lo: coff-i860.c $(INCDIR)/filenames.h $(INCDIR)/coff/i860.h \
951  $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
952  libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
953coff-go32.lo: coff-go32.c coff-i386.c $(INCDIR)/filenames.h \
954  $(INCDIR)/coff/i386.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
955  libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
956coff-i960.lo: coff-i960.c $(INCDIR)/filenames.h $(INCDIR)/coff/i960.h \
957  $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
958  coffcode.h coffswap.h
959coff-m68k.lo: coff-m68k.c $(INCDIR)/filenames.h $(INCDIR)/coff/m68k.h \
960  $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
961  libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
962coff-m88k.lo: coff-m88k.c $(INCDIR)/filenames.h $(INCDIR)/coff/m88k.h \
963  $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
964  libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
965coff-mips.lo: coff-mips.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
966  $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \
967  $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h $(INCDIR)/coff/external.h \
968  libcoff.h libecoff.h coffswap.h ecoffswap.h
969coff-or32.lo: coff-or32.c $(INCDIR)/filenames.h $(INCDIR)/coff/or32.h \
970  $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
971  coffcode.h coffswap.h
972coff-rs6000.lo: coff-rs6000.c $(INCDIR)/filenames.h \
973  $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h $(INCDIR)/coff/xcoff.h \
974  $(INCDIR)/coff/rs6000.h libcoff.h libxcoff.h coffcode.h \
975  coffswap.h
976coff-sh.lo: coff-sh.c $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \
977  $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h $(INCDIR)/coff/external.h \
978  $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
979coff-sparc.lo: coff-sparc.c $(INCDIR)/filenames.h $(INCDIR)/coff/sparc.h \
980  $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
981  libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
982coff-stgo32.lo: coff-stgo32.c coff-i386.c $(INCDIR)/filenames.h \
983  $(INCDIR)/coff/i386.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
984  $(INCDIR)/coff/go32exe.h libcoff.h $(INCDIR)/bfdlink.h \
985  coffcode.h coffswap.h go32stub.h
986coff-svm68k.lo: coff-svm68k.c coff-m68k.c $(INCDIR)/filenames.h \
987  $(INCDIR)/coff/m68k.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
988  libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
989coff-tic30.lo: coff-tic30.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
990  $(INCDIR)/coff/tic30.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
991  libcoff.h coffcode.h coffswap.h
992coff-tic54x.lo: coff-tic54x.c $(INCDIR)/filenames.h \
993  $(INCDIR)/bfdlink.h $(INCDIR)/coff/tic54x.h $(INCDIR)/coff/ti.h \
994  $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
995coff-tic80.lo: coff-tic80.c $(INCDIR)/bfdlink.h $(INCDIR)/filenames.h \
996  $(INCDIR)/coff/tic80.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
997  libcoff.h coffcode.h coffswap.h
998coff-u68k.lo: coff-u68k.c coff-m68k.c $(INCDIR)/filenames.h \
999  $(INCDIR)/coff/m68k.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
1000  libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
1001coff-we32k.lo: coff-we32k.c $(INCDIR)/filenames.h $(INCDIR)/coff/we32k.h \
1002  $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
1003  libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
1004coff-w65.lo: coff-w65.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1005  $(INCDIR)/coff/w65.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
1006  libcoff.h coffcode.h coffswap.h
1007coff-z8k.lo: coff-z8k.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1008  $(INCDIR)/coff/z8k.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
1009  libcoff.h coffcode.h coffswap.h
1010cofflink.lo: cofflink.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1011  $(INCDIR)/coff/internal.h libcoff.h
1012dwarf1.lo: dwarf1.c $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \
1013  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1014  $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/dwarf.h
1015ecoff.lo: ecoff.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1016  $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h $(INCDIR)/aout/stab_gnu.h \
1017  $(INCDIR)/aout/stab.def libaout.h $(INCDIR)/aout/aout64.h \
1018  $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \
1019  $(INCDIR)/coff/ecoff.h libcoff.h libecoff.h
1020ecofflink.lo: ecofflink.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1021  $(INCDIR)/objalloc.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
1022  $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \
1023  $(INCDIR)/coff/ecoff.h libcoff.h libecoff.h
1024efi-app-ia32.lo: efi-app-ia32.c $(INCDIR)/filenames.h \
1025  coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/external.h \
1026  $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1027  $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
1028elf.lo: elf.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1029  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1030  $(INCDIR)/elf/external.h $(INCDIR)/libiberty.h
1031elf32-arc.lo: elf32-arc.c $(INCDIR)/filenames.h elf-bfd.h \
1032  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1033  $(INCDIR)/bfdlink.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/reloc-macros.h \
1034  $(INCDIR)/libiberty.h elf32-target.h
1035elfarm-oabi.lo: elfarm-oabi.c $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h \
1036  $(INCDIR)/filenames.h elf-bfd.h $(INCDIR)/elf/common.h \
1037  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1038  elf32-arm.h elf32-target.h
1039elfarm-nabi.lo: elfarm-nabi.c $(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h \
1040  $(INCDIR)/filenames.h elf-bfd.h $(INCDIR)/elf/common.h \
1041  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1042  elf32-arm.h elf32-target.h
1043elf32-avr.lo: elf32-avr.c $(INCDIR)/filenames.h elf-bfd.h \
1044  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1045  $(INCDIR)/bfdlink.h $(INCDIR)/elf/avr.h $(INCDIR)/elf/reloc-macros.h \
1046  elf32-target.h
1047elf32-cris.lo: elf32-cris.c $(INCDIR)/filenames.h elf-bfd.h \
1048  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1049  $(INCDIR)/bfdlink.h $(INCDIR)/elf/cris.h $(INCDIR)/elf/reloc-macros.h \
1050  elf32-target.h
1051elf32-d10v.lo: elf32-d10v.c $(INCDIR)/filenames.h elf-bfd.h \
1052  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1053  $(INCDIR)/bfdlink.h $(INCDIR)/elf/d10v.h $(INCDIR)/elf/reloc-macros.h \
1054  elf32-target.h
1055elf32-d30v.lo: elf32-d30v.c $(INCDIR)/filenames.h elf-bfd.h \
1056  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1057  $(INCDIR)/bfdlink.h $(INCDIR)/elf/d30v.h $(INCDIR)/elf/reloc-macros.h \
1058  elf32-target.h
1059elf32-fr30.lo: elf32-fr30.c $(INCDIR)/filenames.h elf-bfd.h \
1060  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1061  $(INCDIR)/bfdlink.h $(INCDIR)/elf/fr30.h $(INCDIR)/elf/reloc-macros.h \
1062  elf32-target.h
1063elf32-gen.lo: elf32-gen.c $(INCDIR)/filenames.h elf-bfd.h \
1064  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1065  $(INCDIR)/bfdlink.h elf32-target.h
1066elf32-h8300.lo: elf32-h8300.c $(INCDIR)/filenames.h \
1067  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1068  $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/h8.h \
1069  $(INCDIR)/elf/reloc-macros.h elf32-target.h
1070elf32-hppa.lo: elf32-hppa.c $(INCDIR)/filenames.h elf-bfd.h \
1071  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1072  $(INCDIR)/bfdlink.h $(INCDIR)/elf/hppa.h $(INCDIR)/elf/reloc-macros.h \
1073  libhppa.h elf32-hppa.h elf-hppa.h elf32-target.h
1074elf32-i370.lo: elf32-i370.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1075  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1076  $(INCDIR)/elf/external.h $(INCDIR)/elf/i370.h elf32-target.h
1077elf32-i386.lo: elf32-i386.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1078  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1079  $(INCDIR)/elf/external.h $(INCDIR)/elf/i386.h $(INCDIR)/elf/reloc-macros.h \
1080  elf32-target.h
1081elf32-i860.lo: elf32-i860.c $(INCDIR)/filenames.h elf-bfd.h \
1082  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1083  $(INCDIR)/bfdlink.h $(INCDIR)/elf/i860.h $(INCDIR)/elf/reloc-macros.h \
1084  elf32-target.h
1085elf32-i960.lo: elf32-i960.c $(INCDIR)/filenames.h elf-bfd.h \
1086  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1087  $(INCDIR)/bfdlink.h $(INCDIR)/elf/i960.h $(INCDIR)/elf/reloc-macros.h \
1088  elf32-target.h
1089elf32-m32r.lo: elf32-m32r.c $(INCDIR)/filenames.h elf-bfd.h \
1090  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1091  $(INCDIR)/bfdlink.h $(INCDIR)/elf/m32r.h $(INCDIR)/elf/reloc-macros.h \
1092  elf32-target.h
1093elf32-m68k.lo: elf32-m68k.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1094  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1095  $(INCDIR)/elf/external.h $(INCDIR)/elf/m68k.h $(INCDIR)/elf/reloc-macros.h \
1096  elf32-target.h
1097elf32-m68hc11.lo: elf32-m68hc11.c $(INCDIR)/filenames.h \
1098  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1099  $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/m68hc11.h \
1100  $(INCDIR)/elf/reloc-macros.h elf32-target.h
1101elf32-m68hc12.lo: elf32-m68hc12.c $(INCDIR)/filenames.h \
1102  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1103  $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/m68hc11.h \
1104  $(INCDIR)/elf/reloc-macros.h elf32-target.h
1105elf32-m88k.lo: elf32-m88k.c $(INCDIR)/filenames.h elf-bfd.h \
1106  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1107  $(INCDIR)/bfdlink.h elf32-target.h
1108elf-m10200.lo: elf-m10200.c $(INCDIR)/filenames.h elf-bfd.h \
1109  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1110  $(INCDIR)/bfdlink.h elf32-target.h
1111elf-m10300.lo: elf-m10300.c $(INCDIR)/filenames.h elf-bfd.h \
1112  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1113  $(INCDIR)/bfdlink.h $(INCDIR)/elf/mn10300.h $(INCDIR)/elf/reloc-macros.h \
1114  elf32-target.h
1115elf32-mcore.lo: elf32-mcore.c $(INCDIR)/filenames.h \
1116  $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
1117  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/mcore.h \
1118  $(INCDIR)/elf/reloc-macros.h elf32-target.h
1119elf32-mips.lo: elf32-mips.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1120  genlink.h elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1121  $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/elf/reloc-macros.h \
1122  $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
1123  $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h $(INCDIR)/coff/external.h \
1124  ecoffswap.h elf32-target.h
1125elf32-openrisc.lo: elf32-openrisc.c $(INCDIR)/filenames.h \
1126  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1127  $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/openrisc.h \
1128  $(INCDIR)/elf/reloc-macros.h $(INCDIR)/libiberty.h \
1129  elf32-target.h
1130elf32-or32.lo: elf32-or32.c $(INCDIR)/filenames.h elf-bfd.h \
1131  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1132  $(INCDIR)/bfdlink.h $(INCDIR)/elf/or32.h $(INCDIR)/elf/reloc-macros.h \
1133  $(INCDIR)/libiberty.h elf32-target.h
1134elf32-pj.lo: elf32-pj.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1135  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1136  $(INCDIR)/elf/external.h $(INCDIR)/elf/pj.h $(INCDIR)/elf/reloc-macros.h \
1137  elf32-target.h
1138elf32-ppc.lo: elf32-ppc.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1139  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1140  $(INCDIR)/elf/external.h $(INCDIR)/elf/ppc.h $(INCDIR)/elf/reloc-macros.h \
1141  elf32-target.h
1142elf32-sh64.lo: elf32-sh64.c $(INCDIR)/filenames.h elf-bfd.h \
1143  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1144  $(INCDIR)/bfdlink.h $(srcdir)/../opcodes/sh64-opc.h \
1145  elf32-sh.c $(INCDIR)/elf/sh.h $(INCDIR)/elf/reloc-macros.h \
1146  elf32-target.h
1147elf32-s390.lo: elf32-s390.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1148  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1149  $(INCDIR)/elf/external.h $(INCDIR)/elf/s390.h $(INCDIR)/elf/reloc-macros.h \
1150  elf32-target.h
1151elf32-sh.lo: elf32-sh.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1152  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1153  $(INCDIR)/elf/external.h $(INCDIR)/elf/sh.h $(INCDIR)/elf/reloc-macros.h \
1154  elf32-target.h
1155elf32-sh-lin.lo: elf32-sh-lin.c $(INCDIR)/filenames.h \
1156  $(INCDIR)/elf/internal.h elf-bfd.h $(INCDIR)/elf/common.h \
1157  $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h elf32-sh.c \
1158  $(INCDIR)/elf/sh.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
1159elf32-sh-nbsd.lo: elf32-sh-nbsd.c elf32-sh.c $(INCDIR)/filenames.h \
1160  $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
1161  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/sh.h \
1162  $(INCDIR)/elf/reloc-macros.h elf32-target.h
1163elf32-sparc.lo: elf32-sparc.c $(INCDIR)/filenames.h \
1164  $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
1165  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/sparc.h \
1166  $(INCDIR)/elf/reloc-macros.h $(INCDIR)/opcode/sparc.h \
1167  elf32-target.h
1168elf32-v850.lo: elf32-v850.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1169  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1170  $(INCDIR)/elf/external.h $(INCDIR)/elf/v850.h $(INCDIR)/elf/reloc-macros.h \
1171  $(INCDIR)/libiberty.h elf32-target.h
1172elf32-xstormy16.lo: elf32-xstormy16.c $(INCDIR)/filenames.h \
1173  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1174  $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/xstormy16.h \
1175  $(INCDIR)/elf/reloc-macros.h $(INCDIR)/libiberty.h \
1176  elf32-target.h
1177elf32.lo: elf32.c elfcode.h $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \
1178  $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
1179  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elfcore.h \
1180  elflink.h
1181elflink.lo: elflink.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1182  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1183  $(INCDIR)/elf/external.h
1184elf-strtab.lo: elf-strtab.c $(INCDIR)/filenames.h elf-bfd.h \
1185  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1186  $(INCDIR)/bfdlink.h $(INCDIR)/hashtab.h
1187elf-eh-frame.lo: elf-eh-frame.c $(INCDIR)/filenames.h \
1188  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1189  $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/dwarf2.h
1190epoc-pe-arm.lo: epoc-pe-arm.c pe-arm.c $(INCDIR)/filenames.h \
1191  coff-arm.c $(INCDIR)/coff/arm.h $(INCDIR)/coff/external.h \
1192  $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1193  $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
1194epoc-pei-arm.lo: epoc-pei-arm.c pei-arm.c $(INCDIR)/filenames.h \
1195  coff-arm.c $(INCDIR)/coff/arm.h $(INCDIR)/coff/external.h \
1196  $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1197  $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
1198hp300bsd.lo: hp300bsd.c $(INCDIR)/filenames.h libaout.h \
1199  $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
1200  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1201hp300hpux.lo: hp300hpux.c $(INCDIR)/aout/hp300hpux.h \
1202  aoutx.h $(INCDIR)/filenames.h $(INCDIR)/safe-ctype.h \
1203  $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
1204  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1205  aout-target.h
1206som.lo: som.c $(INCDIR)/alloca-conf.h $(INCDIR)/filenames.h
1207i386aout.lo: i386aout.c $(INCDIR)/filenames.h $(INCDIR)/aout/aout64.h \
1208  libaout.h $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
1209  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1210i386bsd.lo: i386bsd.c $(INCDIR)/filenames.h libaout.h \
1211  $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
1212  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1213i386dynix.lo: i386dynix.c $(INCDIR)/aout/dynix3.h aoutx.h \
1214  $(INCDIR)/filenames.h $(INCDIR)/safe-ctype.h $(INCDIR)/bfdlink.h \
1215  libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1216  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
1217i386freebsd.lo: i386freebsd.c freebsd.h $(INCDIR)/filenames.h \
1218  libaout.h $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
1219  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1220i386linux.lo: i386linux.c $(INCDIR)/filenames.h $(INCDIR)/aout/aout64.h \
1221  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1222  libaout.h $(INCDIR)/bfdlink.h aout-target.h
1223i386lynx.lo: i386lynx.c $(INCDIR)/filenames.h libaout.h \
1224  $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h aout-target.h \
1225  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1226i386msdos.lo: i386msdos.c $(INCDIR)/filenames.h libaout.h \
1227  $(INCDIR)/bfdlink.h
1228i386netbsd.lo: i386netbsd.c netbsd.h $(INCDIR)/filenames.h \
1229  libaout.h $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
1230  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1231i386mach3.lo: i386mach3.c $(INCDIR)/filenames.h $(INCDIR)/aout/aout64.h \
1232  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1233  libaout.h $(INCDIR)/bfdlink.h aout-target.h
1234i386os9k.lo: i386os9k.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1235  libaout.h $(INCDIR)/os9k.h
1236ieee.lo: ieee.c $(INCDIR)/filenames.h $(INCDIR)/ieee.h \
1237  libieee.h $(INCDIR)/safe-ctype.h
1238m68k4knetbsd.lo: m68k4knetbsd.c netbsd.h $(INCDIR)/filenames.h \
1239  libaout.h $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
1240  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1241m68klinux.lo: m68klinux.c $(INCDIR)/filenames.h $(INCDIR)/aout/aout64.h \
1242  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1243  libaout.h $(INCDIR)/bfdlink.h aout-target.h
1244m68klynx.lo: m68klynx.c $(INCDIR)/filenames.h libaout.h \
1245  $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h aout-target.h \
1246  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1247m68knetbsd.lo: m68knetbsd.c netbsd.h $(INCDIR)/filenames.h \
1248  libaout.h $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
1249  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1250m88kmach3.lo: m88kmach3.c $(INCDIR)/filenames.h libaout.h \
1251  $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
1252  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1253mipsbsd.lo: mipsbsd.c $(INCDIR)/filenames.h libaout.h \
1254  $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
1255  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1256newsos3.lo: newsos3.c $(INCDIR)/filenames.h $(INCDIR)/aout/aout64.h \
1257  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1258  libaout.h $(INCDIR)/bfdlink.h aout-target.h
1259nlm.lo: nlm.c $(INCDIR)/filenames.h libnlm.h $(INCDIR)/nlm/common.h \
1260  $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
1261nlm32-i386.lo: nlm32-i386.c $(INCDIR)/filenames.h $(INCDIR)/nlm/i386-ext.h \
1262  libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1263  $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
1264nlm32-sparc.lo: nlm32-sparc.c $(INCDIR)/filenames.h \
1265  $(INCDIR)/nlm/sparc32-ext.h libnlm.h $(INCDIR)/nlm/common.h \
1266  $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h nlmswap.h \
1267  nlm-target.h
1268nlm32-ppc.lo: nlm32-ppc.c $(INCDIR)/filenames.h $(INCDIR)/nlm/ppc-ext.h \
1269  libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1270  $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
1271nlm32.lo: nlm32.c nlmcode.h $(INCDIR)/filenames.h libnlm.h \
1272  $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
1273ns32knetbsd.lo: ns32knetbsd.c netbsd.h $(INCDIR)/filenames.h \
1274  libaout.h $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
1275  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1276oasys.lo: oasys.c $(INCDIR)/filenames.h $(INCDIR)/safe-ctype.h \
1277  $(INCDIR)/oasys.h liboasys.h
1278pc532-mach.lo: pc532-mach.c $(INCDIR)/filenames.h libaout.h \
1279  $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h aout-target.h \
1280  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1281pdp11.lo: pdp11.c $(INCDIR)/filenames.h libaout.h $(INCDIR)/bfdlink.h \
1282  aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1283  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h $(INCDIR)/safe-ctype.h
1284pe-arm.lo: pe-arm.c $(INCDIR)/filenames.h coff-arm.c \
1285  $(INCDIR)/coff/arm.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
1286  $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h \
1287  peicode.h libpei.h
1288pei-arm.lo: pei-arm.c $(INCDIR)/filenames.h coff-arm.c \
1289  $(INCDIR)/coff/arm.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
1290  $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h \
1291  peicode.h libpei.h
1292pe-i386.lo: pe-i386.c $(INCDIR)/filenames.h coff-i386.c \
1293  $(INCDIR)/coff/i386.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
1294  $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h \
1295  peicode.h libpei.h
1296pei-i386.lo: pei-i386.c $(INCDIR)/filenames.h coff-i386.c \
1297  $(INCDIR)/coff/i386.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
1298  $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h \
1299  peicode.h libpei.h
1300pe-mcore.lo: pe-mcore.c $(INCDIR)/filenames.h coff-mcore.c \
1301  $(INCDIR)/coff/mcore.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
1302  $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h \
1303  peicode.h libpei.h
1304pei-mcore.lo: pei-mcore.c $(INCDIR)/filenames.h coff-mcore.c \
1305  $(INCDIR)/coff/mcore.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
1306  $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h \
1307  peicode.h libpei.h
1308pe-ppc.lo: pe-ppc.c $(INCDIR)/filenames.h coff-ppc.c \
1309  $(INCDIR)/coff/powerpc.h $(INCDIR)/coff/external.h \
1310  $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1311  $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
1312pei-ppc.lo: pei-ppc.c $(INCDIR)/filenames.h coff-ppc.c \
1313  $(INCDIR)/coff/powerpc.h $(INCDIR)/coff/external.h \
1314  $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1315  $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
1316pe-sh.lo: pe-sh.c $(INCDIR)/filenames.h coff-sh.c $(INCDIR)/libiberty.h \
1317  $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h $(INCDIR)/coff/external.h \
1318  $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1319  coffcode.h peicode.h libpei.h
1320pei-sh.lo: pei-sh.c $(INCDIR)/filenames.h coff-sh.c \
1321  $(INCDIR)/libiberty.h $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \
1322  $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
1323  $(INCDIR)/coff/pe.h libcoff.h coffcode.h peicode.h \
1324  libpei.h
1325pe-mips.lo: pe-mips.c $(INCDIR)/filenames.h $(INCDIR)/coff/mipspe.h \
1326  $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
1327  $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h \
1328  peicode.h libpei.h
1329pei-mips.lo: pei-mips.c $(INCDIR)/filenames.h pe-mips.c \
1330  $(INCDIR)/coff/mipspe.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
1331  $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h \
1332  peicode.h libpei.h
1333ppcboot.lo: ppcboot.c $(INCDIR)/safe-ctype.h $(INCDIR)/filenames.h
1334reloc16.lo: reloc16.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1335  genlink.h $(INCDIR)/coff/internal.h libcoff.h
1336riscix.lo: riscix.c $(INCDIR)/filenames.h libaout.h \
1337  $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h aout-target.h \
1338  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1339sparclinux.lo: sparclinux.c $(INCDIR)/filenames.h $(INCDIR)/aout/aout64.h \
1340  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1341  libaout.h $(INCDIR)/bfdlink.h aout-target.h
1342sparclynx.lo: sparclynx.c $(INCDIR)/filenames.h $(INCDIR)/aout/sun4.h \
1343  libaout.h $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h \
1344  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1345  aout-target.h
1346sparcnetbsd.lo: sparcnetbsd.c netbsd.h $(INCDIR)/filenames.h \
1347  libaout.h $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
1348  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1349sunos.lo: sunos.c $(INCDIR)/bfdlink.h libaout.h aoutf1.h \
1350  $(INCDIR)/filenames.h $(INCDIR)/aout/sun4.h $(INCDIR)/aout/aout64.h \
1351  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1352  aout-target.h
1353vaxnetbsd.lo: vaxnetbsd.c netbsd.h $(INCDIR)/filenames.h \
1354  libaout.h $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
1355  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1356versados.lo: versados.c $(INCDIR)/filenames.h $(INCDIR)/libiberty.h
1357vms.lo: vms.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1358  vms.h
1359vms-gsd.lo: vms-gsd.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1360  vms.h
1361vms-hdr.lo: vms-hdr.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1362  $(INCDIR)/safe-ctype.h vms.h
1363vms-misc.lo: vms-misc.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1364  vms.h
1365vms-tir.lo: vms-tir.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1366  vms.h
1367xcofflink.lo: xcofflink.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1368  $(INCDIR)/coff/internal.h $(INCDIR)/coff/xcoff.h libcoff.h \
1369  libxcoff.h
1370aout64.lo: aout64.c aoutx.h $(INCDIR)/filenames.h $(INCDIR)/safe-ctype.h \
1371  $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
1372  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1373coff-alpha.lo: coff-alpha.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1374  $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \
1375  $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/alpha.h $(INCDIR)/aout/ar.h \
1376  libcoff.h libecoff.h coffswap.h ecoffswap.h
1377coff64-rs6000.lo: coff64-rs6000.c $(INCDIR)/filenames.h \
1378  $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h $(INCDIR)/coff/xcoff.h \
1379  $(INCDIR)/coff/rs6k64.h libcoff.h libxcoff.h coffcode.h \
1380  coffswap.h
1381demo64.lo: demo64.c aoutf1.h $(INCDIR)/filenames.h \
1382  $(INCDIR)/aout/sun4.h libaout.h $(INCDIR)/bfdlink.h \
1383  $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
1384  $(INCDIR)/aout/ar.h aout-target.h
1385efi-app-ia64.lo: efi-app-ia64.c $(INCDIR)/filenames.h \
1386  coff-ia64.c $(INCDIR)/coff/ia64.h $(INCDIR)/coff/external.h \
1387  $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1388  $(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
1389elf64-x86-64.lo: elf64-x86-64.c $(INCDIR)/filenames.h \
1390  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1391  $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/x86-64.h \
1392  $(INCDIR)/elf/reloc-macros.h elf64-target.h
1393elf64-alpha.lo: elf64-alpha.c $(INCDIR)/filenames.h \
1394  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1395  $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/alpha.h \
1396  $(INCDIR)/elf/reloc-macros.h $(INCDIR)/coff/internal.h \
1397  $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
1398  $(INCDIR)/coff/alpha.h $(INCDIR)/aout/ar.h libcoff.h \
1399  libecoff.h ecoffswap.h elf64-target.h
1400elf64-hppa.lo: elf64-hppa.c $(INCDIR)/alloca-conf.h \
1401  $(INCDIR)/filenames.h elf-bfd.h $(INCDIR)/elf/common.h \
1402  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1403  $(INCDIR)/elf/hppa.h $(INCDIR)/elf/reloc-macros.h libhppa.h \
1404  elf64-hppa.h elf-hppa.h elf64-target.h
1405elf64-gen.lo: elf64-gen.c $(INCDIR)/filenames.h elf-bfd.h \
1406  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1407  $(INCDIR)/bfdlink.h elf64-target.h
1408elf64-mips.lo: elf64-mips.c $(INCDIR)/filenames.h $(INCDIR)/aout/ar.h \
1409  $(INCDIR)/bfdlink.h genlink.h elf-bfd.h $(INCDIR)/elf/common.h \
1410  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h \
1411  $(INCDIR)/elf/reloc-macros.h $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \
1412  $(INCDIR)/coff/internal.h $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/alpha.h \
1413  ecoffswap.h elf64-target.h
1414elf64-mmix.lo: elf64-mmix.c $(INCDIR)/filenames.h elf-bfd.h \
1415  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1416  $(INCDIR)/bfdlink.h $(INCDIR)/elf/mmix.h $(INCDIR)/elf/reloc-macros.h \
1417  $(INCDIR)/opcode/mmix.h elf64-target.h
1418elf64-ppc.lo: elf64-ppc.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1419  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1420  $(INCDIR)/elf/external.h $(INCDIR)/elf/ppc.h $(INCDIR)/elf/reloc-macros.h \
1421  elf64-ppc.h elf64-target.h
1422elf64-s390.lo: elf64-s390.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1423  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1424  $(INCDIR)/elf/external.h $(INCDIR)/elf/s390.h $(INCDIR)/elf/reloc-macros.h \
1425  elf64-target.h
1426elf64-sh64.lo: elf64-sh64.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
1427  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1428  $(INCDIR)/elf/external.h $(INCDIR)/elf/sh.h $(INCDIR)/elf/reloc-macros.h \
1429  elf64-target.h
1430elf64-sparc.lo: elf64-sparc.c $(INCDIR)/filenames.h \
1431  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1432  $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/opcode/sparc.h \
1433  $(INCDIR)/elf/sparc.h $(INCDIR)/elf/reloc-macros.h \
1434  elf64-target.h
1435elf64.lo: elf64.c elfcode.h $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \
1436  $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
1437  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elfcore.h \
1438  elflink.h
1439mmo.lo: mmo.c $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \
1440  $(INCDIR)/elf/mmix.h $(INCDIR)/elf/reloc-macros.h $(INCDIR)/opcode/mmix.h
1441nlm32-alpha.lo: nlm32-alpha.c $(INCDIR)/filenames.h \
1442  $(INCDIR)/nlm/alpha-ext.h libnlm.h $(INCDIR)/nlm/common.h \
1443  $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h nlmswap.h \
1444  nlm-target.h
1445nlm64.lo: nlm64.c nlmcode.h $(INCDIR)/filenames.h libnlm.h \
1446  $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
1447aix386-core.lo: aix386-core.c $(INCDIR)/filenames.h \
1448  $(INCDIR)/coff/i386.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
1449  libcoff.h $(INCDIR)/bfdlink.h
1450hpux-core.lo: hpux-core.c $(INCDIR)/filenames.h
1451irix-core.lo: irix-core.c $(INCDIR)/filenames.h
1452lynx-core.lo: lynx-core.c $(INCDIR)/filenames.h
1453osf-core.lo: osf-core.c $(INCDIR)/filenames.h
1454sco5-core.lo: sco5-core.c $(INCDIR)/filenames.h libaout.h \
1455  $(INCDIR)/bfdlink.h
1456trad-core.lo: trad-core.c $(INCDIR)/filenames.h libaout.h \
1457  $(INCDIR)/bfdlink.h
1458cisco-core.lo: cisco-core.c $(INCDIR)/filenames.h
1459elf32-ia64.lo: elf32-ia64.c $(INCDIR)/filenames.h elf-bfd.h \
1460  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1461  $(INCDIR)/bfdlink.h $(INCDIR)/opcode/ia64.h $(INCDIR)/elf/ia64.h \
1462  $(INCDIR)/elf/reloc-macros.h elf32-target.h
1463elf64-ia64.lo: elf64-ia64.c $(INCDIR)/filenames.h elf-bfd.h \
1464  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1465  $(INCDIR)/bfdlink.h $(INCDIR)/opcode/ia64.h $(INCDIR)/elf/ia64.h \
1466  $(INCDIR)/elf/reloc-macros.h elf64-target.h
1467peigen.lo: peigen.c $(INCDIR)/filenames.h $(INCDIR)/coff/internal.h \
1468  $(INCDIR)/coff/i386.h $(INCDIR)/coff/external.h $(INCDIR)/coff/pe.h \
1469  libcoff.h $(INCDIR)/bfdlink.h libpei.h
1470pepigen.lo: pepigen.c $(INCDIR)/filenames.h $(INCDIR)/coff/internal.h \
1471  $(INCDIR)/coff/ia64.h $(INCDIR)/coff/external.h $(INCDIR)/coff/pe.h \
1472  libcoff.h $(INCDIR)/bfdlink.h libpei.h
1473# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
1474