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