Makefile.in revision 33965
1#    Makefile template for Configure for the BFD library.
2#    Copyright (C) 1990, 91, 92, 93, 94, 95, 96, 1997
3#    Free Software Foundation, Inc.
4#    Written by Cygnus Support.
5# 
6# This file is part of BFD, the Binary File Descriptor library.
7# 
8# This program is free software; you can redistribute it and/or modify
9# it under the terms of the GNU General Public License as published by
10# the Free Software Foundation; either version 2 of the License, or
11# (at your option) any later version.
12# 
13# This program is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16# GNU General Public License for more details.
17# 
18# You should have received a copy of the GNU General Public License
19# along with this program; if not, write to the Free Software
20# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21
22VPATH = @srcdir@
23srcdir = @srcdir@
24
25prefix = @prefix@
26
27program_transform_name = @program_transform_name@
28exec_prefix = @exec_prefix@
29bindir = @bindir@
30libdir = @libdir@
31
32datadir = @datadir@
33mandir = @mandir@
34man1dir = $(mandir)/man1
35man2dir = $(mandir)/man2
36man3dir = $(mandir)/man3
37man4dir = $(mandir)/man4
38man5dir = $(mandir)/man5
39man6dir = $(mandir)/man6
40man7dir = $(mandir)/man7
41man8dir = $(mandir)/man8
42man9dir = $(mandir)/man9
43infodir = @infodir@
44includedir = @includedir@
45oldincludedir =
46docdir = doc
47
48SHELL = /bin/sh
49
50INSTALL = @INSTALL@
51INSTALL_PROGRAM = @INSTALL_PROGRAM@
52INSTALL_DATA = @INSTALL_DATA@
53
54AR = @AR@
55AR_FLAGS = rc
56CC = @CC@
57CFLAGS = @CFLAGS@
58MAKEINFO = makeinfo
59RANLIB = @RANLIB@
60
61ALLLIBS = @ALLLIBS@
62
63PICFLAG = @PICFLAG@
64SHLIB = @SHLIB@
65SHLIB_CC = @SHLIB_CC@
66SHLIB_CFLAGS = @SHLIB_CFLAGS@
67SHLIB_LIBS = @SHLIB_LIBS@
68COMMON_SHLIB = @COMMON_SHLIB@
69SHLINK = @SHLINK@
70
71SONAME = lib`echo $(SHLIB) | sed -e 's/^lib//' | sed '$(program_transform_name)'`
72
73CC_FOR_BUILD = @CC_FOR_BUILD@
74
75INCDIR = $(srcdir)/../include
76CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
77DEP = mkdep
78
79SUBDIRS = doc
80
81TARGETLIB = libbfd.a
82
83# bfd.h goes here, for now
84BFD_H = bfd.h
85
86# Some of these files should be in BFD*_BACKENDS below, but some programs
87# won't link without them.  So, in order for some of the minimal-bfd
88# hacks to work, they're also included here for now.
89#	gdb: elf.o
90#	objdump: elf.o
91#
92# Also, Jim Kingdon notes:
93# Writing S-records should be included in all (or at least most)
94# *-*-coff, *-*-aout, etc., configurations, because people will want to
95# be able to use objcopy to create S-records.  (S-records are not useful
96# for the debugger, so if you are downloading things as S-records you
97# need two copies of the executable, one to download and one for the
98# debugger).
99BFD_LIBS = \
100	archive.o archures.o bfd.o cache.o coffgen.o corefile.o \
101	format.o init.o libbfd.o opncls.o reloc.o \
102	section.o syms.o targets.o hash.o linker.o \
103	elf.o srec.o binary.o tekhex.o ihex.o stabs.o stab-syms.o
104
105BFD_LIBS_CFILES = \
106	archive.c archures.c bfd.c cache.c coffgen.c corefile.c \
107	format.c init.c libbfd.c opncls.c reloc.c \
108	section.c syms.c targets.c hash.c linker.c \
109	elf.c srec.c binary.c tekhex.c ihex.c stabs.c stab-syms.c
110
111# This list is alphabetized to make it easier to keep in sync
112# with the decls and initializer in archures.c.
113ALL_MACHINES = \
114	cpu-a29k.o \
115	cpu-alpha.o \
116	cpu-arm.o \
117	cpu-d10v.o \
118	cpu-h8300.o \
119	cpu-h8500.o \
120	cpu-hppa.o \
121	cpu-i386.o \
122	cpu-i860.o \
123	cpu-i960.o \
124	cpu-m32r.o \
125	cpu-m68k.o \
126	cpu-m88k.o \
127	cpu-mips.o \
128	cpu-m10200.o \
129	cpu-m10300.o \
130	cpu-ns32k.o \
131	cpu-powerpc.o \
132	cpu-rs6000.o \
133	cpu-sh.o \
134	cpu-sparc.o \
135	cpu-vax.o \
136	cpu-we32k.o \
137	cpu-w65.o \
138	cpu-z8k.o
139
140ALL_MACHINES_CFILES = \
141	cpu-a29k.c \
142	cpu-alpha.c \
143	cpu-arm.c \
144	cpu-h8300.c \
145	cpu-h8500.c \
146	cpu-hppa.c \
147	cpu-i386.c \
148	cpu-i860.c \
149	cpu-i960.c \
150	cpu-m32r.c \
151	cpu-m68k.c \
152	cpu-m88k.c \
153	cpu-mips.c \
154	cpu-m10200.c \
155	cpu-m10300.c \
156	cpu-ns32k.c \
157	cpu-powerpc.c \
158	cpu-rs6000.c \
159	cpu-sh.c \
160	cpu-sparc.c \
161	cpu-vax.c \
162	cpu-we32k.c \
163	cpu-w65.c \
164	cpu-z8k.c
165
166# The .o files needed by all of the 32 bit vectors that are configured into
167# target_vector in targets.c if configured with --enable-targets=all.
168BFD32_BACKENDS = \
169	aout-adobe.o \
170	aout-arm.o \
171	aout-ns32k.o \
172	aout-sparcle.o \
173	aout0.o \
174	aout32.o \
175	bout.o \
176	cf-i386lynx.o \
177	cf-m68klynx.o \
178	cf-sparclynx.o \
179	coff-a29k.o \
180	coff-apollo.o \
181	coff-arm.o \
182	coff-aux.o \
183	coff-h8300.o \
184	coff-h8500.o \
185	coff-i386.o \
186	coff-go32.o \
187	coff-i860.o \
188	coff-i960.o \
189	coff-m68k.o \
190	coff-m88k.o \
191	coff-mips.o \
192	coff-pmac.o \
193	coff-rs6000.o \
194	coff-sh.o \
195	coff-sparc.o \
196	coff-svm68k.o \
197	coff-u68k.o \
198	coff-we32k.o \
199	coff-w65.o \
200	coff-z8k.o \
201	cofflink.o \
202	ecoff.o \
203	ecofflink.o \
204	elf32-d10v.o \
205	elf32-gen.o \
206	elf32-hppa.o \
207	elf32-i386.o \
208	elf32-i860.o \
209	elf32-m32r.o \
210	elf32-m68k.o \
211	elf32-m88k.o \
212	elf32-mips.o \
213	elf-m10200.o \
214	elf-m10300.o \
215	elf32-ppc.o \
216	elf32-sh.o \
217	elf32-sparc.o \
218	elf32.o \
219	elflink.o \
220	hp300bsd.o \
221	hp300hpux.o \
222	som.o \
223	i386aout.o \
224	i386bsd.o \
225	i386dynix.o \
226	i386freebsd.o \
227	i386linux.o \
228	i386lynx.o \
229	i386msdos.o \
230	i386netbsd.o \
231	i386mach3.o \
232	i386os9k.o \
233	ieee.o \
234	m68k4knetbsd.o \
235	m68klinux.o \
236	m68klynx.o \
237	m68knetbsd.o \
238	m88kmach3.o \
239	mipsbsd.o \
240	newsos3.o \
241	nlm.o \
242	nlm32-i386.o \
243	nlm32-sparc.o \
244	nlm32-ppc.o \
245	nlm32.o \
246	ns32knetbsd.o \
247	oasys.o \
248	pc532-mach.o \
249	pe-arm.o \
250	pei-arm.o \
251	pe-i386.o \
252	pei-i386.o \
253	pe-ppc.o \
254	pei-ppc.o \
255	ppcboot.o \
256	reloc16.o \
257	riscix.o \
258	sparclinux.o \
259	sparclynx.o \
260	sparcnetbsd.o \
261	sunos.o \
262	tekhex.o \
263	versados.o \
264	xcofflink.o
265
266BFD32_BACKENDS_CFILES = \
267	aout-adobe.c \
268	aout-arm.c \
269	aout-ns32k.c \
270	aout-sparcle.c \
271	aout0.c \
272	aout32.c \
273	bout.c \
274	cf-i386lynx.c \
275	cf-m68klynx.c \
276	cf-sparclynx.c \
277	coff-a29k.c \
278	coff-apollo.c \
279	coff-arm.c \
280	coff-aux.c \
281	coff-h8300.c \
282	coff-h8500.c \
283	coff-i386.c \
284	coff-i860.c \
285	coff-go32.c \
286	coff-i960.c \
287	coff-m68k.c \
288	coff-m88k.c \
289	coff-mips.c \
290	coff-pmac.c \
291	coff-rs6000.c \
292	coff-sh.c \
293	coff-sparc.c \
294	coff-svm68k.c \
295	coff-u68k.c \
296	coff-we32k.c \
297	coff-w65.c \
298	coff-z8k.c \
299	cofflink.c \
300	ecoff.c \
301	ecofflink.c \
302	elf32-gen.c \
303	elf32-hppa.c \
304	elf32-i386.c \
305	elf32-i860.c \
306	elf32-m32r.c \
307	elf32-m68k.c \
308	elf32-m88k.c \
309	elf32-mips.c \
310	elf-m10200.c \
311	elf-m10300.c \
312	elf32-ppc.c \
313	elf32-sh.c \
314	elf32-sparc.c \
315	elf32.c \
316	elflink.c \
317	hp300bsd.c \
318	hp300hpux.c \
319	som.c \
320	i386aout.c \
321	i386bsd.c \
322	i386dynix.c \
323	i386freebsd.c \
324	i386linux.c \
325	i386lynx.c \
326	i386msdos.c \
327	i386netbsd.c \
328	i386mach3.c \
329	i386os9k.c \
330	ieee.c \
331	m68k4knetbsd.c \
332	m68klinux.c \
333	m68klynx.c \
334	m68knetbsd.c \
335	m88kmach3.c \
336	mipsbsd.c \
337	newsos3.c \
338	nlm.c \
339	nlm32-i386.c \
340	nlm32-sparc.c \
341	nlm32-ppc.c \
342	nlm32.c \
343	ns32knetbsd.c \
344	oasys.c \
345	pc532-mach.c \
346	pe-arm.c \
347	pei-arm.c \
348	pe-i386.c \
349	pei-i386.c \
350	pe-ppc.c \
351	pei-ppc.c \
352	ppcboot.c \
353	reloc16.c \
354	riscix.c \
355	sparclinux.c \
356	sparclynx.c \
357	sparcnetbsd.c \
358	sunos.c \
359	tekhex.c \
360	versados.c \
361	xcofflink.c
362
363# The .o files needed by all of the 64 bit vectors that are configured into
364# target_vector in targets.c if configured with --enable-targets=all
365# and --enable-64-bit-bfd.
366BFD64_BACKENDS = \
367	aout64.o \
368	coff-alpha.o \
369	demo64.o \
370	elf64-alpha.o \
371	elf64-gen.o \
372	elf64-mips.o \
373	elf64-sparc.o \
374	elf64.o \
375	evax-alpha.o \
376	evax-egsd.o \
377	evax-etir.o \
378	evax-emh.o \
379	evax-misc.o \
380	nlm32-alpha.o \
381	nlm64.o
382
383BFD64_BACKENDS_CFILES = \
384	aout64.c \
385	coff-alpha.c \
386	demo64.c \
387	elf64-alpha.c \
388	elf64-gen.c \
389	elf64-mips.c \
390	elf64-sparc.c \
391	elf64.c \
392	evax-alpha.c \
393	evax-egsd.c \
394	evax-etir.c \
395	evax-emh.c \
396	evax-misc.c \
397	nlm32-alpha.c \
398	nlm64.c
399
400OPTIONAL_BACKENDS = \
401	aix386-core.o \
402	hpux-core.o \
403	irix-core.o \
404	lynx-core.o \
405	osf-core.o \
406	trad-core.o \
407	cisco-core.o
408
409OPTIONAL_BACKENDS_CFILES = \
410	aix386-core.c \
411	hpux-core.c \
412	irix-core.c \
413	lynx-core.c \
414	osf-core.c \
415	trad-core.c \
416	cisco-core.c
417
418# These are defined by configure.in:
419WORDSIZE = @wordsize@
420ALL_BACKENDS = @all_backends@
421BFD_BACKENDS = @bfd_backends@
422BFD_MACHINES = @bfd_machines@
423TDEFAULTS = @tdefaults@
424
425all:
426
427FLAGS_TO_PASS = \
428	"prefix=$(prefix)" \
429	"exec_prefix=$(exec_prefix)" \
430	"against=$(against)" \
431	"AR=$(AR)" \
432	"AR_FLAGS=$(AR_FLAGS)" \
433	"CC=$(CC)" \
434	"CC_FOR_BUILD=$(CC_FOR_BUILD)" \
435	"CFLAGS=$(CFLAGS)" \
436	"RANLIB=$(RANLIB)" \
437	"MAKEINFO=$(MAKEINFO)" \
438	"INSTALL=$(INSTALL)" \
439	"INSTALL_DATA=$(INSTALL_DATA)" \
440	"INSTALL_PROGRAM=$(INSTALL_PROGRAM)"
441
442ALL_CFLAGS=-D_GNU_SOURCE @HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) $(CFLAGS)
443.c.o:
444	if [ -n "$(PICFLAG)" ]; then \
445	  $(CC) -c $(PICFLAG) $(ALL_CFLAGS) $< -o pic/$@; \
446	else true; fi
447	$(CC) -c $(ALL_CFLAGS) $<
448
449bfd_libs_here =
450all_machines_here =
451bfd32_backends_here =
452core_files_here =
453configs_not_included_in_all_targets_option_here =
454
455# C source files that correspond to .o's.
456CFILES = \
457	$(BFD_LIBS_CFILES) \
458	$(ALL_MACHINES_CFILES) \
459	$(BFD32_BACKENDS_CFILES) \
460	$(BFD64_BACKENDS_CFILES) \
461	$(OPTIONAL_BACKENDS_CFILES)
462
463HFILES = \
464	aout-target.h aoutf1.h aoutx.h coffcode.h coffswap.h \
465	ecoffswap.h elf32-hppa.h elf32-target.h elf64-target.h \
466	elfcode.h evax.h genlink.h hppa_stubs.h libaout.h libbfd.h \
467	libcoff.h libecoff.h elf-bfd.h libhppa.h libieee.h libnlm.h \
468	liboasys.h netbsd.h nlm-target.h nlmcode.h ns32k.h som.h \
469	targmatch.h
470
471all: Makefile $(ALLLIBS) @PICLIST@
472	@$(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
473
474.NOEXPORT:
475MAKEOVERRIDES=
476
477.PHONY: check installcheck
478check:
479	@echo No testsuites exist for the BFD library. Nothing to check.
480
481installcheck:
482	@echo No testsuites exist for the BFD library. Nothing to check.
483
484info dvi : force
485	@$(MAKE) subdir_do DO=$@ "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
486
487clean-info:
488	@$(MAKE) subdir_do DO=clean-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
489
490install-info: force
491	@$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
492
493diststuff: info
494
495# Various kinds of .o files to put in libbfd.a:
496# BFD_LIBS	Generic routines, always needed.
497# BFD_BACKENDS	Routines the configured targets need.
498# BFD_MACHINES	Architecture-specific routines the configured targets need.
499# COREFILE	Core file routines for a native configuration
500OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) @COREFILE@
501
502stamp-ofiles: Makefile
503	rm -f tofiles
504	f=""; \
505	for i in $(OFILES) ; do \
506	  case " $$f " in \
507	    *" $$i "*) ;; \
508	    *) f="$$f $$i" ;; \
509	  esac ; \
510	done ; \
511	echo $$f > tofiles
512	$(SHELL) $(srcdir)/../move-if-change tofiles ofiles
513	touch stamp-ofiles
514
515ofiles: stamp-ofiles ; @true
516
517$(TARGETLIB): $(OFILES) ofiles
518	rm -f $(TARGETLIB)
519	@echo ofiles = `cat ofiles`
520	$(AR) $(AR_FLAGS) $(TARGETLIB) `cat ofiles`
521	$(RANLIB) $(TARGETLIB)
522
523stamp-piclist: ofiles
524	rm -f tpiclist
525	if [ -n "$(PICFLAG)" ]; then \
526	  sed -e 's,\([^ ][^ ]*\),pic/\1,g' ofiles > tpiclist; \
527	else \
528	  cp ofiles tpiclist; \
529	fi
530	$(SHELL) $(srcdir)/../move-if-change tpiclist piclist
531	touch stamp-piclist
532
533piclist: stamp-piclist ; @true
534
535$(SHLIB): stamp-picdir $(OFILES) piclist
536	rm -f $(SHLIB)
537	$(SHLIB_CC) $(SHLIB_CFLAGS) -o $(SHLIB) `cat piclist` $(SHLIB_LIBS)
538
539# We make a link from libbfd.so to libbfd.so.VERSION for linking, and
540# also a link from libTARGET-bfd.so.VERSION for running.
541$(SHLINK): $(SHLIB)
542	ts=lib`echo $(SHLIB) | sed -e 's/^lib//' | sed -e '$(program_transform_name)'`; \
543	if [ "$$ts" != "$(SHLIB)" ]; then \
544	  rm -f $$ts; \
545	  ln -s $(SHLIB) $$ts; \
546	else true; fi
547	rm -f $(SHLINK)
548	ln -s $(SHLIB) $(SHLINK)
549
550# This target creates libTARGET-bfd.so.VERSION as a symlink to
551# libbfd.so.VERSION.  It is used on SunOS, which does not have SONAME.
552stamp-tshlink: $(SHLIB)
553	tf=lib`echo $(SHLIB) | sed -e 's/^lib//' | sed '$(program_transform_name)'`; \
554	if [ "$$tf" != "$(SHLIB)" ]; then \
555	  rm -f $$tf; \
556	  ln -s $(SHLIB) $$tf; \
557	else true; fi
558	touch stamp-tshlink
559
560# This file holds an array associating configuration triplets and
561# vector names.  It is built from config.bfd.  It is not compiled by
562# itself, but is included by targets.c.
563targmatch.h: config.bfd targmatch.sed
564	rm -f targmatch.h
565	sed -f $(srcdir)/targmatch.sed < $(srcdir)/config.bfd > targmatch.new
566	mv -f targmatch.new targmatch.h
567
568# When compiling archures.c and targets.c, supply the default target
569# info from configure.
570
571targets.o: targets.c Makefile
572	if [ -n "$(PICFLAG)" ]; then \
573	  $(CC) -c $(PICFLAG) $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/targets.c -o pic/targets.o; \
574	else true; fi
575	$(CC) -c $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/targets.c
576
577archures.o: archures.c Makefile
578	if [ -n "$(PICFLAG)" ]; then \
579	  $(CC) -c $(PICFLAG) $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/archures.c -o pic/archures.o; \
580	else true; fi
581	$(CC) -c $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/archures.c
582
583elf32-target.h : elfxx-target.h
584	rm -f elf32-target.h
585	sed -e s/NN/32/g < $(srcdir)/elfxx-target.h > elf32-target.new
586	mv -f elf32-target.new elf32-target.h
587
588elf64-target.h : elfxx-target.h
589	rm -f elf64-target.h
590	sed -e s/NN/64/g < $(srcdir)/elfxx-target.h > elf64-target.new
591	mv -f elf64-target.new elf64-target.h
592
593subdir_do: force
594	@for i in $(DODIRS); do \
595		if [ -d ./$$i ] ; then \
596			if (cd ./$$i; \
597				$(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
598			else exit 1 ; fi ; \
599		else true ; fi ; \
600	done
601
602tags etags: TAGS
603
604TAGS: force
605	etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c
606
607do_mostlyclean:
608	rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout pic/*.o
609do_clean: do_mostlyclean
610	rm -f libbfd.a TAGS bfd.h stmp-bfd.h bfd-tmp.h ofiles stamp-ofiles \
611		elf32-target.h elf64-target.h $(SHLIB) $(SHLINK) \
612		piclist stamp-piclist targmatch.h
613do_distclean: do_clean
614	rm -f Makefile config.status config.cache config.h config.log \
615		stamp-h bfd-in3.h
616	rm -rf pic stamp-picdir
617
618# do_maintainer_clean really should remove bfd-in2.h, since it is a
619# generated file.  However, the GNU standards say that
620# maintainer-clean should not delete anything which needs to exist in
621# order to run configure, and bfd-in2.h is used by configure.
622do_maintainer_clean: do_distclean
623	rm -f $(srcdir)/libbfd.h $(srcdir)/libcoff.h
624
625mostlyclean: do_mostlyclean
626	$(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
627clean: do_clean
628	$(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
629distclean:
630	$(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
631	$(MAKE) do_distclean
632clobber maintainer-clean realclean:
633	@echo "This command is intended for maintainers to use;"
634	@echo "it deletes files that may require special tools to rebuild."
635	$(MAKE) subdir_do DO=maintainer-clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
636	$(MAKE) do_maintainer_clean
637
638BFD_H_DEPS= $(INCDIR)/ansidecl.h
639LOCAL_H_DEPS= libbfd.h sysdep.h config.h
640$(BFD_LIBS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
641$(BFD_MACHINES): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
642$(BFD_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
643$(OPTIONAL_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
644
645# Get around a Sun Make bug in SunOS 4.1.1 with VPATH
646cpu-i386.o:cpu-i386.c
647cpu-z8k.o: cpu-z8k.c
648cpu-h8500.o: cpu-h8500.c
649cpu-we32k.o: cpu-we32k.c
650
651saber:
652	#suppress 65 on bfd_map_over_sections 
653	#suppress 66 on bfd_map_over_sections 
654	#suppress 67 on bfd_map_over_sections 
655	#suppress 68 on bfd_map_over_sections 
656	#suppress 69 on bfd_map_over_sections 
657	#suppress 70 on bfd_map_over_sections 
658	#suppress 110 in bfd_map_over_sections 
659	#suppress 112 in bfd_map_over_sections 
660	#suppress 530 
661	#suppress 590 in swap_exec_header 
662	#suppress 590 in _bfd_dummy_core_file_matches_executable_p 
663	#suppress 590 in bfd_dont_truncate_arname
664	#suppress 590 on ignore 
665	#suppress 590 on abfd 
666	#setopt load_flags $(CFLAGS)
667	#load $(CFILES)
668
669
670#-----------------------------------------------------------------------------
671#		'STANDARD' GNU/960 TARGETS BELOW THIS POINT
672#
673# 'VERSION' file must be present and contain a string of the form "x.y"
674#-----------------------------------------------------------------------------
675
676ver960.c: FORCE
677	rm -f ver960.c
678	echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c
679
680
681# This target should be invoked before building a new release.
682# 'VERSION' file must be present and contain a string of the form "x.y"
683#
684roll:
685	@V=`cat VERSION`		; \
686	MAJ=`sed 's/\..*//' VERSION`	; \
687	MIN=`sed 's/.*\.//' VERSION`	; \
688	V=$$MAJ.`expr $$MIN + 1`	; \
689	rm -f VERSION			; \
690	echo $$V >VERSION		; \
691	echo Version $$V
692
693# Dummy target to force execution of dependent targets.
694#
695force:
696
697install: $(ALLLIBS)
698	for f in $(ALLLIBS); do \
699	  if [ "$$f" = "stamp-tshlink" ]; then \
700	    continue; \
701	  fi; \
702	  tf=lib`echo $$f | sed -e 's/^lib//' | sed '$(program_transform_name)'`; \
703	  rm -f $(libdir)/$$tf; \
704	  if [ "$$f" = "$(SHLINK)" ]; then \
705	    ts=lib`echo $(SHLIB) | sed -e 's/^lib//' | sed '$(program_transform_name)'`; \
706	    ln -s $$ts $(libdir)/$$tf; \
707	  elif [ "$$f" = "$(SHLIB)" ]; then \
708	    @INSTALL_SHLIB@ \
709	  else \
710	    $(INSTALL_DATA) $$f $(libdir)/$$tf; \
711	    $(RANLIB) $(libdir)/$$tf; \
712	    chmod a-x $(libdir)/$$tf; \
713	  fi; \
714	done
715# Install BFD include file, and others that it needs.  Install them
716# both in GCC's include directory, and in the system include dir
717# if configured as $(oldincludedir) -- which it usually isnt.
718	$(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
719	$(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
720	$(INSTALL_DATA) $(INCDIR)/bfdlink.h $(includedir)/bfdlink.h
721	-if test -z "$(oldincludedir)"; then true; else \
722	test -d $(oldincludedir) || mkdir $(oldincludedir); \
723	$(INSTALL_DATA) $(BFD_H) $(oldincludedir)/bfd.h; \
724	$(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h; \
725	$(INSTALL_DATA) $(INCDIR)/bfdlink.h $(oldincludedir)/bfdlink.h; \
726	fi
727	$(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
728
729Makefile: Makefile.in config.status
730	CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
731
732config.h: stamp-h ; @true
733stamp-h: config.in config.status
734	CONFIG_FILES= CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.status
735
736config.status: configure configure.host config.bfd VERSION
737	$(SHELL) config.status --recheck
738
739# Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
740.dep: dep.sed $(CFILES) $(HFILES) bfd.h
741	rm -f .dep1
742	$(MAKE) DEP=$(DEP) .dep1
743	sed -f dep.sed <.dep1 >.dep
744
745# This rule really wants a mkdep that runs "gcc -MM".
746# The NetBSD mkdep overwrites any existing file contents, and doesn't insert
747# the "DO NOT DELETE" line.
748# Other mkdep versions require a file that already exists, and do insert it.
749# Hence the weirdness....
750.dep1: $(CFILES)
751	rm -f .dep2 .dep2a
752	echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
753	echo > .dep2a
754	$(DEP) -f .dep2a $(ALL_CFLAGS) $?
755	sed -e '/DO NOT DELETE/d' -e '/^$$/d' < .dep2a >> .dep2
756	rm -f .dep2a
757	$(SHELL) $(srcdir)/../move-if-change .dep2 .dep1
758
759dep.sed: dep-in.sed config.status
760	sed <$(srcdir)/dep-in.sed >dep.sed	\
761		-e 's!@BFD_H@!$(BFD_H)!'	\
762		-e 's!@INCDIR@!$(INCDIR)!'	\
763		-e 's!@SRCDIR@!$(srcdir)!'
764
765dep: .dep
766	sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
767	cat .dep >> tmp-Makefile
768	$(SHELL) $(srcdir)/../move-if-change tmp-Makefile Makefile
769
770dep-in: .dep
771	sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
772	cat .dep >> tmp-Makefile.in
773	$(SHELL) $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
774
775host-aout.o: Makefile
776
777# The following program can be used to generate a simple config file
778# which can be folded into an h-XXX file for a new host, with some editing.
779aout-params.h: gen-aout
780	./gen-aout host > aout-params.h
781gen-aout: $(srcdir)/gen-aout.c Makefile
782	$(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
783
784BFDIN_H= $(srcdir)/bfd-in2.h
785
786$(BFD_H): stmp-bfd.h ; @true
787
788stmp-bfd.h: bfd-in3.h
789	rm -f bfd-tmp.h
790	cp bfd-in3.h bfd-tmp.h
791	$(SHELL) $(srcdir)/../move-if-change bfd-tmp.h $(BFD_H)
792	rm -f bfd-tmp.h
793	touch stmp-bfd.h
794
795bfd-in3.h: bfd-in2.h config.status
796	CONFIG_FILES=bfd-in3.h:bfd-in2.h CONFIG_HEADERS= $(SHELL) ./config.status
797
798# Could really use a "copy-if-change"...
799headers:
800	(cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
801	cp $(docdir)/bfd.h bfd-in2.h-new
802	$(SHELL) $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
803	cp $(docdir)/libbfd.h libbfd.h-new
804	$(SHELL) $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
805	cp $(docdir)/libcoff.h libcoff.h-new
806	$(SHELL) $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
807
808# The rules for the generated header files are here so that people can
809# type `make bfd-in2.h' if they remove it.  They are not run by default.
810$(srcdir)/bfd-in2.h:
811	(cd $(docdir); $(MAKE) bfd.h $(FLAGS_TO_PASS))
812	cp $(docdir)/bfd.h bfd-in2.h-new
813	$(SHELL) $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
814$(srcdir)/libbfd.h:
815	(cd $(docdir); $(MAKE) libbfd.h $(FLAGS_TO_PASS))
816	cp $(docdir)/libbfd.h libbfd.h-new
817	$(SHELL) $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
818$(srcdir)/libcoff.h:
819	(cd $(docdir); $(MAKE) libcoff.h $(FLAGS_TO_PASS))
820	cp $(docdir)/libcoff.h libcoff.h-new
821	$(SHELL) $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
822
823bfd.info:
824	(cd $(docdir); $(MAKE) bfd.info $(FLAGS_TO_PASS))
825
826bfd.dvi:
827	(cd $(docdir); $(MAKE) bfd.dvi $(FLAGS_TO_PASS))
828
829bfd.ps: 
830	(cd $(docdir); $(MAKE) bfd.ps $(FLAGS_TO_PASS))
831
832
833elf32-d10v.o: elf32-d10v.c elf-bfd.h $(INCDIR)/elf/common.h \
834  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
835  elf32-target.h
836
837
838
839
840$(OFILES): stamp-picdir
841
842stamp-picdir:
843	if [ -n "$(PICFLAG)" ] && [ ! -d pic ]; then \
844	  mkdir pic; \
845	else true; fi
846	touch stamp-picdir
847
848# What appears below is generated by a hacked mkdep using gcc -MM.
849
850# DO NOT DELETE THIS LINE -- mkdep uses it.
851# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
852archive.o: archive.c $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h
853archures.o: archures.c
854bfd.o: bfd.c $(INCDIR)/libiberty.h $(INCDIR)/bfdlink.h \
855  $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h libcoff.h \
856  libecoff.h $(INCDIR)/coff/ecoff.h elf-bfd.h $(INCDIR)/elf/common.h \
857  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
858cache.o: cache.c
859coffgen.o: coffgen.c $(INCDIR)/coff/internal.h libcoff.h \
860  $(INCDIR)/bfdlink.h
861corefile.o: corefile.c
862format.o: format.c
863init.o: init.c
864libbfd.o: libbfd.c
865opncls.o: opncls.c $(INCDIR)/objalloc.h
866reloc.o: reloc.c $(INCDIR)/bfdlink.h
867section.o: section.c
868syms.o: syms.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/stab_gnu.h \
869  $(INCDIR)/aout/stab.def
870targets.o: targets.c $(INCDIR)/fnmatch.h targmatch.h
871hash.o: hash.c $(INCDIR)/objalloc.h
872linker.o: linker.c $(INCDIR)/bfdlink.h genlink.h
873elf.o: elf.c $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
874  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
875srec.o: srec.c $(INCDIR)/libiberty.h
876binary.o: binary.c
877tekhex.o: tekhex.c $(INCDIR)/libiberty.h
878ihex.o: ihex.c $(INCDIR)/libiberty.h
879stabs.o: stabs.c $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
880stab-syms.o: stab-syms.c libaout.h $(INCDIR)/bfdlink.h \
881  $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab.def
882cpu-a29k.o: cpu-a29k.c
883cpu-alpha.o: cpu-alpha.c
884cpu-arm.o: cpu-arm.c
885cpu-h8300.o: cpu-h8300.c
886cpu-h8500.o: cpu-h8500.c
887cpu-hppa.o: cpu-hppa.c
888cpu-i386.o: cpu-i386.c
889cpu-i860.o: cpu-i860.c
890cpu-i960.o: cpu-i960.c
891cpu-m32r.o: cpu-m32r.c
892cpu-m68k.o: cpu-m68k.c
893cpu-m88k.o: cpu-m88k.c
894cpu-mips.o: cpu-mips.c
895cpu-m10200.o: cpu-m10200.c
896cpu-m10300.o: cpu-m10300.c
897cpu-ns32k.o: cpu-ns32k.c ns32k.h
898cpu-powerpc.o: cpu-powerpc.c
899cpu-rs6000.o: cpu-rs6000.c
900cpu-sh.o: cpu-sh.c
901cpu-sparc.o: cpu-sparc.c
902cpu-vax.o: cpu-vax.c
903cpu-we32k.o: cpu-we32k.c
904cpu-w65.o: cpu-w65.c
905cpu-z8k.o: cpu-z8k.c
906aout-adobe.o: aout-adobe.c $(INCDIR)/aout/adobe.h $(INCDIR)/aout/stab_gnu.h \
907  $(INCDIR)/aout/stab.def libaout.h $(INCDIR)/bfdlink.h
908aout-arm.o: aout-arm.c libaout.h $(INCDIR)/bfdlink.h \
909  $(INCDIR)/aout/aout64.h aoutx.h $(INCDIR)/aout/stab_gnu.h \
910  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
911aout-ns32k.o: aout-ns32k.c $(INCDIR)/aout/aout64.h \
912  ns32k.h libaout.h $(INCDIR)/bfdlink.h
913aout-sparcle.o: aout-sparcle.c $(INCDIR)/bfdlink.h \
914  libaout.h aoutf1.h $(INCDIR)/aout/sun4.h $(INCDIR)/aout/aout64.h \
915  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
916  aout-target.h
917aout0.o: aout0.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
918  $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
919  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
920aout32.o: aout32.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
921  $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
922  $(INCDIR)/aout/ar.h
923bout.o: bout.c $(INCDIR)/bfdlink.h genlink.h $(INCDIR)/bout.h \
924  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
925cf-i386lynx.o: cf-i386lynx.c coff-i386.c $(INCDIR)/coff/i386.h \
926  $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
927  coffcode.h coffswap.h
928cf-m68klynx.o: cf-m68klynx.c coff-m68k.c $(INCDIR)/coff/m68k.h \
929  $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
930  coffcode.h coffswap.h
931cf-sparclynx.o: cf-sparclynx.c coff-sparc.c $(INCDIR)/coff/sparc.h \
932  $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
933  coffcode.h coffswap.h
934coff-a29k.o: coff-a29k.c $(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h \
935  libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
936coff-apollo.o: coff-apollo.c $(INCDIR)/coff/apollo.h \
937  $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
938  coffcode.h coffswap.h
939coff-arm.o: coff-arm.c $(INCDIR)/coff/arm.h $(INCDIR)/coff/internal.h \
940  libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
941coff-aux.o: coff-aux.c $(INCDIR)/coff/aux-coff.h $(INCDIR)/coff/internal.h \
942  $(INCDIR)/coff/m68k.h coff-m68k.c libcoff.h $(INCDIR)/bfdlink.h \
943  coffcode.h coffswap.h
944coff-h8300.o: coff-h8300.c $(INCDIR)/bfdlink.h genlink.h \
945  $(INCDIR)/coff/h8300.h $(INCDIR)/coff/internal.h libcoff.h \
946  coffcode.h coffswap.h
947coff-h8500.o: coff-h8500.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/h8500.h \
948  $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
949coff-i386.o: coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
950  libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
951coff-i860.o: coff-i860.c $(INCDIR)/coff/i860.h $(INCDIR)/coff/internal.h \
952  libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
953coff-go32.o: coff-go32.c coff-i386.c $(INCDIR)/coff/i386.h \
954  $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
955  coffcode.h coffswap.h
956coff-i960.o: coff-i960.c $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h \
957  libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
958coff-m68k.o: coff-m68k.c $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \
959  libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
960coff-m88k.o: coff-m88k.c $(INCDIR)/coff/m88k.h $(INCDIR)/coff/internal.h \
961  libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
962coff-mips.o: coff-mips.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
963  $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
964  $(INCDIR)/coff/mips.h libcoff.h libecoff.h coffswap.h \
965  ecoffswap.h
966coff-pmac.o: coff-pmac.c coff-rs6000.c $(INCDIR)/coff/internal.h \
967  $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \
968  coffcode.h coffswap.h
969coff-rs6000.o: coff-rs6000.c $(INCDIR)/coff/internal.h \
970  $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \
971  coffcode.h coffswap.h
972coff-sh.o: coff-sh.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \
973  $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
974coff-sparc.o: coff-sparc.c $(INCDIR)/coff/sparc.h $(INCDIR)/coff/internal.h \
975  libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
976coff-svm68k.o: coff-svm68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \
977  $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
978  coffcode.h coffswap.h
979coff-u68k.o: coff-u68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \
980  $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
981  coffcode.h coffswap.h
982coff-we32k.o: coff-we32k.c $(INCDIR)/coff/we32k.h $(INCDIR)/coff/internal.h \
983  libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
984coff-w65.o: coff-w65.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/w65.h \
985  $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
986coff-z8k.o: coff-z8k.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/z8k.h \
987  $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
988cofflink.o: cofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
989  libcoff.h
990ecoff.o: ecoff.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/ar.h \
991  $(INCDIR)/aout/ranlib.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
992  libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/coff/internal.h \
993  $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
994  libcoff.h libecoff.h
995ecofflink.o: ecofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/objalloc.h \
996  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/coff/internal.h \
997  $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
998  libcoff.h libecoff.h
999elf32-gen.o: elf32-gen.c elf-bfd.h $(INCDIR)/elf/common.h \
1000  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1001  elf32-target.h
1002elf32-hppa.o: elf32-hppa.c $(INCDIR)/bfdlink.h elf-bfd.h \
1003  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1004  elf32-hppa.h libhppa.h $(INCDIR)/elf/hppa.h hppa_stubs.h \
1005  elf32-target.h
1006elf32-i386.o: elf32-i386.c $(INCDIR)/bfdlink.h elf-bfd.h \
1007  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1008  elf32-target.h
1009elf32-i860.o: elf32-i860.c elf-bfd.h $(INCDIR)/elf/common.h \
1010  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1011  elf32-target.h
1012elf32-m32r.o: elf32-m32r.c elf-bfd.h $(INCDIR)/elf/common.h \
1013  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1014  $(INCDIR)/elf/m32r.h elf32-target.h
1015elf32-m68k.o: elf32-m68k.c $(INCDIR)/bfdlink.h elf-bfd.h \
1016  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1017  elf32-target.h
1018elf32-m88k.o: elf32-m88k.c elf-bfd.h $(INCDIR)/elf/common.h \
1019  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1020  elf32-target.h
1021elf32-mips.o: elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \
1022  elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1023  $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
1024  $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
1025  $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \
1026  elf32-target.h
1027elf-m10200.o: elf-m10200.c elf-bfd.h $(INCDIR)/elf/common.h \
1028  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1029  elf32-target.h
1030elf-m10300.o: elf-m10300.c elf-bfd.h $(INCDIR)/elf/common.h \
1031  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1032  elf32-target.h
1033elf32-ppc.o: elf32-ppc.c $(INCDIR)/bfdlink.h elf-bfd.h \
1034  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1035  $(INCDIR)/elf/ppc.h elf32-target.h
1036elf32-sh.o: elf32-sh.c $(INCDIR)/bfdlink.h elf-bfd.h \
1037  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1038  elf32-target.h
1039elf32-sparc.o: elf32-sparc.c $(INCDIR)/bfdlink.h elf-bfd.h \
1040  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1041  $(INCDIR)/elf/sparc.h elf32-target.h
1042elf32.o: elf32.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \
1043  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1044  $(INCDIR)/fnmatch.h elfcore.h elflink.h
1045elflink.o: elflink.c $(INCDIR)/bfdlink.h elf-bfd.h \
1046  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
1047hp300bsd.o: hp300bsd.c libaout.h $(INCDIR)/bfdlink.h \
1048  aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1049  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1050hp300hpux.o: hp300hpux.c $(INCDIR)/aout/hp300hpux.h \
1051  aoutx.h $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
1052  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1053  aout-target.h
1054som.o: som.c
1055i386aout.o: i386aout.c $(INCDIR)/aout/aout64.h libaout.h \
1056  $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
1057  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1058i386bsd.o: i386bsd.c libaout.h $(INCDIR)/bfdlink.h \
1059  aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1060  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1061i386dynix.o: i386dynix.c $(INCDIR)/aout/dynix3.h aoutx.h \
1062  $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
1063  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1064  aout-target.h
1065i386freebsd.o: i386freebsd.c freebsd.h libaout.h $(INCDIR)/bfdlink.h \
1066  aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1067  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1068i386linux.o: i386linux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1069  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
1070  $(INCDIR)/bfdlink.h aout-target.h
1071i386lynx.o: i386lynx.c libaout.h $(INCDIR)/bfdlink.h \
1072  $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
1073  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1074i386msdos.o: i386msdos.c libaout.h $(INCDIR)/bfdlink.h
1075i386netbsd.o: i386netbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
1076  aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1077  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1078i386mach3.o: i386mach3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1079  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
1080  $(INCDIR)/bfdlink.h aout-target.h
1081i386os9k.o: i386os9k.c $(INCDIR)/bfdlink.h libaout.h \
1082  $(INCDIR)/os9k.h
1083ieee.o: ieee.c $(INCDIR)/ieee.h libieee.h
1084m68k4knetbsd.o: m68k4knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
1085  aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1086  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1087m68klinux.o: m68klinux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1088  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
1089  $(INCDIR)/bfdlink.h aout-target.h
1090m68klynx.o: m68klynx.c libaout.h $(INCDIR)/bfdlink.h \
1091  $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
1092  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1093m68knetbsd.o: m68knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
1094  aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1095  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1096m88kmach3.o: m88kmach3.c libaout.h $(INCDIR)/bfdlink.h \
1097  aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1098  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1099mipsbsd.o: mipsbsd.c libaout.h $(INCDIR)/bfdlink.h \
1100  aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1101  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1102newsos3.o: newsos3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1103  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
1104  $(INCDIR)/bfdlink.h aout-target.h
1105nlm.o: nlm.c libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1106  $(INCDIR)/nlm/external.h
1107nlm32-i386.o: nlm32-i386.c $(INCDIR)/nlm/i386-ext.h \
1108  libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1109  $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
1110nlm32-sparc.o: nlm32-sparc.c $(INCDIR)/nlm/sparc32-ext.h \
1111  libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1112  $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
1113nlm32-ppc.o: nlm32-ppc.c $(INCDIR)/nlm/ppc-ext.h libnlm.h \
1114  $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h \
1115  nlmswap.h nlm-target.h
1116nlm32.o: nlm32.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
1117  $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
1118ns32knetbsd.o: ns32knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
1119  aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1120  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1121oasys.o: oasys.c $(INCDIR)/oasys.h liboasys.h
1122pc532-mach.o: pc532-mach.c libaout.h $(INCDIR)/bfdlink.h \
1123  $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
1124  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1125pe-arm.o: pe-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
1126  $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1127  $(INCDIR)/bfdlink.h coffcode.h peicode.h
1128pei-arm.o: pei-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
1129  $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1130  $(INCDIR)/bfdlink.h coffcode.h peicode.h
1131pe-i386.o: pe-i386.c coff-i386.c $(INCDIR)/coff/i386.h \
1132  $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1133  $(INCDIR)/bfdlink.h coffcode.h peicode.h
1134pei-i386.o: pei-i386.c coff-i386.c $(INCDIR)/coff/i386.h \
1135  $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1136  $(INCDIR)/bfdlink.h coffcode.h peicode.h
1137pe-ppc.o: pe-ppc.c coff-ppc.c $(INCDIR)/coff/powerpc.h \
1138  $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1139  $(INCDIR)/bfdlink.h coffcode.h peicode.h
1140pei-ppc.o: pei-ppc.c coff-ppc.c $(INCDIR)/coff/powerpc.h \
1141  $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1142  $(INCDIR)/bfdlink.h coffcode.h peicode.h
1143ppcboot.o: ppcboot.c
1144reloc16.o: reloc16.c $(INCDIR)/bfdlink.h genlink.h \
1145  $(INCDIR)/coff/internal.h libcoff.h
1146riscix.o: riscix.c libaout.h $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h \
1147  aout-target.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
1148  $(INCDIR)/aout/ar.h
1149sparclinux.o: sparclinux.c $(INCDIR)/aout/aout64.h \
1150  $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1151  libaout.h $(INCDIR)/bfdlink.h aout-target.h
1152sparclynx.o: sparclynx.c $(INCDIR)/aout/sun4.h libaout.h \
1153  $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1154  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
1155sparcnetbsd.o: sparcnetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
1156  aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1157  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1158sunos.o: sunos.c $(INCDIR)/bfdlink.h libaout.h aoutf1.h \
1159  $(INCDIR)/aout/sun4.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1160  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
1161versados.o: versados.c $(INCDIR)/libiberty.h
1162xcofflink.o: xcofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
1163  libcoff.h
1164aout64.o: aout64.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
1165  $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
1166  $(INCDIR)/aout/ar.h
1167coff-alpha.o: coff-alpha.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
1168  $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
1169  $(INCDIR)/coff/alpha.h $(INCDIR)/aout/ar.h libcoff.h \
1170  libecoff.h coffswap.h ecoffswap.h
1171demo64.o: demo64.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
1172  $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1173  $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
1174elf64-alpha.o: elf64-alpha.c elf-bfd.h $(INCDIR)/elf/common.h \
1175  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1176  $(INCDIR)/elf/alpha.h $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \
1177  $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/alpha.h \
1178  $(INCDIR)/aout/ar.h libcoff.h libecoff.h ecoffswap.h \
1179  elf64-target.h
1180elf64-gen.o: elf64-gen.c elf-bfd.h $(INCDIR)/elf/common.h \
1181  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1182  elf64-target.h
1183elf64-mips.o: elf64-mips.c $(INCDIR)/aout/ar.h $(INCDIR)/bfdlink.h \
1184  genlink.h elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1185  $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
1186  $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
1187  $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/alpha.h ecoffswap.h \
1188  elf64-target.h
1189elf64-sparc.o: elf64-sparc.c elf-bfd.h $(INCDIR)/elf/common.h \
1190  $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1191  $(INCDIR)/elf/sparc.h elf64-target.h
1192elf64.o: elf64.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \
1193  $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1194  $(INCDIR)/fnmatch.h elfcore.h elflink.h
1195evax-alpha.o: evax-alpha.c $(INCDIR)/bfdlink.h evax.h
1196evax-egsd.o: evax-egsd.c $(INCDIR)/bfdlink.h evax.h
1197evax-etir.o: evax-etir.c $(INCDIR)/bfdlink.h evax.h
1198evax-emh.o: evax-emh.c $(INCDIR)/bfdlink.h evax.h
1199evax-misc.o: evax-misc.c $(INCDIR)/bfdlink.h evax.h
1200nlm32-alpha.o: nlm32-alpha.c $(INCDIR)/nlm/alpha-ext.h \
1201  libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1202  $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
1203nlm64.o: nlm64.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
1204  $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
1205aix386-core.o: aix386-core.c $(INCDIR)/coff/i386.h \
1206  $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h
1207hpux-core.o: hpux-core.c
1208irix-core.o: irix-core.c
1209lynx-core.o: lynx-core.c
1210osf-core.o: osf-core.c
1211trad-core.o: trad-core.c libaout.h $(INCDIR)/bfdlink.h
1212cisco-core.o: cisco-core.c
1213# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
1214