* configure.host (sparc-*-netbsd): use sparcnbsd.
[external/binutils.git] / bfd / Makefile.in
1 #    Makefile template for Configure for the BFD library.
2 #    Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
3 #    Written by Cygnus Support.
4
5 # This file is part of BFD, the Binary File Descriptor library.
6
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2 of the License, or
10 # (at your option) any later version.
11
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 # GNU General Public License for more details.
16
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
21 srcdir = .
22
23 prefix = /usr/local
24
25 exec_prefix = $(prefix)
26 bindir = $(exec_prefix)/bin
27 libdir = $(exec_prefix)/lib
28
29 datadir = $(prefix)/lib
30 mandir = $(prefix)/man
31 man1dir = $(mandir)/man1
32 man2dir = $(mandir)/man2
33 man3dir = $(mandir)/man3
34 man4dir = $(mandir)/man4
35 man5dir = $(mandir)/man5
36 man6dir = $(mandir)/man6
37 man7dir = $(mandir)/man7
38 man8dir = $(mandir)/man8
39 man9dir = $(mandir)/man9
40 infodir = $(prefix)/info
41 includedir = $(prefix)/include
42 oldincludedir =
43 docdir = doc
44
45 SHELL = /bin/sh
46
47 INSTALL = install -c
48 INSTALL_PROGRAM = $(INSTALL)
49 INSTALL_DATA = $(INSTALL)
50
51 AR = ar
52 AR_FLAGS = rc
53 CFLAGS = -g
54 BISON = bison
55 MAKEINFO = makeinfo
56 RANLIB = ranlib
57
58 CC_FOR_BUILD = $(CC)
59
60 INCDIR = $(srcdir)/../include
61 CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
62 DEP = mkdep
63
64 SUBDIRS = doc
65
66
67 TARGETLIB = libbfd.a
68
69 # bfd.h goes here, for now
70 BFD_H = bfd.h
71
72 # Some of these files should be in BFD*_BACKENDS below, but some programs
73 # won't link without them.  So, in order for some of the minimal-bfd
74 # hacks to work, they're also included here for now.
75 #       gdb: elf.o
76 #       objdump: elf.o
77 #
78 # Also, Jim Kingdon notes:
79 # Writing S-records should be included in all (or at least most)
80 # *-*-coff, *-*-aout, etc., configurations, because people will want to
81 # be able to use objcopy to create S-records.  (S-records are not useful
82 # for the debugger, so if you are downloading things as S-records you
83 # need two copies of the executable, one to download and one for the
84 # debugger).
85 BFD_LIBS = \
86         archive.o archures.o bfd.o cache.o coffgen.o core.o \
87         format.o init.o libbfd.o opncls.o reloc.o \
88         section.o syms.o targets.o hash.o linker.o \
89         elf.o srec.o
90
91 # This list is alphabetized to make it easier to keep in sync
92 # with the decls and initializer in archures.c.
93 ALL_MACHINES = \
94         cpu-a29k.o \
95         cpu-alpha.o \
96         cpu-arm.o \
97         cpu-h8300.o \
98         cpu-h8500.o \
99         cpu-hppa.o \
100         cpu-i386.o \
101         cpu-i960.o \
102         cpu-m68k.o \
103         cpu-m88k.o \
104         cpu-mips.o \
105         cpu-ns32k.o \
106         cpu-powerpc.o \
107         cpu-rs6000.o \
108         cpu-sh.o \
109         cpu-sparc.o \
110         cpu-vax.o \
111         cpu-we32k.o \
112         cpu-z8k.o
113
114 # The .o files needed by all of the 32 bit vectors that are configured into
115 # target_vector in targets.c if configured with --enable-targets=all.
116 BFD32_BACKENDS = \
117         aout-adobe.o \
118         aout-ns32k.o \
119         aout0.o \
120         aout32.o \
121         bout.o \
122         cf-i386lynx.o \
123         cf-m68klynx.o \
124         cf-sparclynx.o \
125         coff-a29k.o \
126         coff-apollo.o \
127         coff-h8300.o \
128         coff-h8500.o \
129         coff-i386.o \
130         coff-go32.o \
131         coff-i960.o \
132         coff-m68k.o \
133         coff-m88k.o \
134         coff-mips.o \
135         coff-rs6000.o \
136         coff-sh.o \
137         coff-sparc.o \
138         coff-u68k.o \
139         coff-we32k.o \
140         coff-z8k.o \
141         cofflink.o \
142         ecoff.o \
143         ecofflink.o \
144         elf32-gen.o \
145         elf32-hppa.o \
146         elf32-i386.o \
147         elf32-i860.o \
148         elf32-m68k.o \
149         elf32-m88k.o \
150         elf32-mips.o \
151         elf32-ppc.o \
152         elf32-sparc.o \
153         elf32.o \
154         hp300hpux.o \
155         som.o \
156         i386aout.o \
157         i386bsd.o \
158         i386linux.o \
159         i386lynx.o \
160         i386netbsd.o \
161         i386mach3.o \
162         i386os9k.o \
163         ieee.o \
164         m68klynx.o \
165         m88kmach3.o \
166         mipsbsd.o \
167         newsos3.o \
168         nlm.o \
169         nlm32-i386.o \
170         nlm32-sparc.o \
171         nlm32-ppc.o \
172         nlm32.o \
173         ns32knetbsd.o \
174         oasys.o \
175         pc532-mach.o \
176         reloc16.o \
177         sparclynx.o \
178         stab-syms.o \
179         sunos.o
180
181 # The .o files needed by all of the 64 bit vectors that are configured into
182 # target_vector in targets.c if configured with --enable-targets=all
183 # and --enable-64-bit-bfd.
184 BFD64_BACKENDS = \
185         aout64.o \
186         coff-alpha.o \
187         demo64.o \
188         elf64-gen.o \
189         elf64-sparc.o \
190         elf64.o \
191         nlm32-alpha.o \
192         nlm64.o
193
194 OPTIONAL_BACKENDS = \
195         aix386-core.o \
196         hpux-core.o \
197         irix-core.o \
198         lynx-core.o \
199         osf-core.o \
200         trad-core.o \
201         cisco-core.o
202
203 # These are defined by configure.in:
204 # WORDSIZE=32
205 # BFD_BACKENDS = $(BFD32_BACKENDS)
206
207 all:
208
209 #### host and target dependent Makefile fragments come in here.
210 ###
211
212 FLAGS_TO_PASS = \
213         "prefix=$(prefix)" \
214         "exec_prefix=$(exec_prefix)" \
215         "against=$(against)" \
216         "AR=$(AR)" \
217         "AR_FLAGS=$(AR_FLAGS)" \
218         "CC=$(CC)" \
219         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
220         "CFLAGS=$(CFLAGS)" \
221         "RANLIB=$(RANLIB)" \
222         "MAKEINFO=$(MAKEINFO)" \
223         "INSTALL=$(INSTALL)" \
224         "INSTALL_DATA=$(INSTALL_DATA)" \
225         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
226         "BISON=$(BISON)"
227
228 ALL_CFLAGS=$(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES)
229 .c.o:
230         $(CC) -c $(ALL_CFLAGS) $<
231
232 # C source files that correspond to .o's.
233 CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c \
234          archures.c coff-i386.c coff-go32.c aout64.c aout32.c sunos.c demo64.c \
235          coff-i960.c srec.c tekhex.c oasys.c ieee.c aout0.c \
236          ecoff.c ecofflink.c coff-m68k.c coff-u68k.c coff-apollo.c \
237          coff-a29k.c coff-rs6000.c coff-sparc.c coffgen.c format.c \
238          section.c core.c syms.c stab-syms.c reloc.c init.c \
239          coff-m88k.c coff-mips.c coff-sh.c trad-core.c cisco-core.c newsos3.c \
240          i386aout.c i386linux.c i386mach3.c i386netbsd.c i386os9k.c \
241          bout.c aout-adobe.c coff-we32k.c \
242          i386bsd.c i386dynix.c cpu-h8300.c cpu-i960.c cpu-sparc.c cpu-m68k.c \
243          cpu-m88k.c cpu-vax.c cpu-mips.c cpu-a29k.c cpu-i386.c cpu-powerpc.c \
244          cpu-rs6000.c coff-h8300.c som.c cpu-hppa.c cpu-we32k.c reloc16.c \
245          mipsbsd.c cpu-sh.c \
246          elf.c elf32.c elf32-sparc.c elf32-i386.c elf32-i860.c elf32-m68k.c \
247          elf32-hppa.c elf32-m88k.c elf32-mips.c elf32-gen.c elf32-ppc.c \
248          elf64.c elf64-gen.c elf64-sparc.c \
249          nlm.c nlm32.c nlm32-i386.c nlm32-sparc.c nlm32-alpha.c \
250          nlm64.c coff-alpha.c cpu-alpha.c nlm32-ppc.c \
251          hp300bsd.c hp300hpux.c \
252          i386lynx.c cf-i386lynx.c m68klynx.c cf-m68klynx.c \
253          sparclynx.c cf-sparclynx.c aix386-core.c hpux-core.c \
254          irix-core.c lynx-core.c osf-core.c hash.c linker.c cofflink.c
255
256 HFILES = aout-target.h aoutf1.h aoutx.h coffcode.h \
257          coffswap.h ecoffswap.h elf32-hppa.h elf32-target.h elf64-target.h \
258          elfcode.h hppa_stubs.h libaout.h libbfd.h \
259          libcoff.h libecoff.h libelf.h libhppa.h libieee.h libnlm.h \
260          liboasys.h nlm-target.h nlmcode.h som.h genlink.h
261
262 STAGESTUFF = $(TARGETLIB) $(OFILES)
263
264 all: Makefile $(TARGETLIB) 
265         @$(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
266
267 .NOEXPORT:
268 MAKEOVERRIDES=
269
270 .PHONY: check installcheck
271 check:
272         @echo No testsuites exist for the BFD library. Nothing to check.
273
274 installcheck:
275         @echo No testsuites exist for the BFD library. Nothing to check.
276
277 info dvi : force
278         @$(MAKE) subdir_do DO=$@ "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
279
280 clean-info:
281         @$(MAKE) subdir_do DO=clean-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
282         
283 install-info: force
284         @$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
285
286 diststuff: info
287
288 # Various kinds of .o files to put in libbfd.a:
289 # BFD_LIBS      Generic routines, always needed.
290 # BFD_BACKENDS  Routines the configured targets need.
291 # BFD_MACHINES  Architecture-specific routines the configured targets need.
292 # HDEPFILES     Routines the host needs, regardless of target.
293 # TDEPFILES     Routines the target needs, regardless of host.
294 OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) $(HDEPFILES) $(TDEPFILES)
295
296 ofiles : Makefile
297         rm -f ofiles
298         f=""; \
299         for i in $(OFILES) ; do \
300           case " $$f " in \
301             *" $$i "*) ;; \
302             *) f="$$f $$i" ;; \
303           esac ; \
304         done ; \
305         echo $$f > ofiles
306
307 $(TARGETLIB): $(OFILES) ofiles
308         rm -f $(TARGETLIB)
309         @echo ofiles = `cat ofiles`
310         $(AR) $(AR_FLAGS) $(TARGETLIB) `cat ofiles`
311         $(RANLIB) $(TARGETLIB)
312
313 # When compiling archures.c and targets.c, supply the default target
314 # info from configure.
315
316
317 targets.o: targets.c Makefile
318         $(CC) -c $(ALL_CFLAGS) $(TDEFAULTS) $<
319
320 archures.o: archures.c Makefile
321         $(CC) -c $(ALL_CFLAGS) $(TDEFAULTS) $<
322
323 subdir_do: force
324         @for i in $(DODIRS); do \
325                 if [ -d ./$$i ] ; then \
326                         if (cd ./$$i; \
327                                 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
328                         else exit 1 ; fi ; \
329                 else true ; fi ; \
330         done
331
332 tags etags: TAGS
333
334 TAGS: force
335         etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c
336
337 do_mostlyclean:
338         rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout
339 do_clean: do_mostlyclean
340         rm -f libbfd.a TAGS bfd.h stmp-bfd.h ofiles
341 do_distclean: do_clean
342         rm -f Makefile config.status sysdep.h
343
344 # Should we remove $(srcdir)/libcoff.h $(srcdir)/libbfd.h $(srcdir)/bfd-in2.h?
345 # make-stds.texi says it depends on whether they can be regenerated using
346 # this makefile.  Well, they can, but only via an explicit "make headers";
347 # the makefile does not regenerate them as needed.  So I guess we should not
348 # remove them in realclean.
349 do_realclean: do_distclean
350
351 mostlyclean: do_mostlyclean
352         $(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
353 clean: do_clean
354         $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
355 distclean:
356         $(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
357         $(MAKE) do_distclean
358 clobber realclean:
359         $(MAKE) subdir_do DO=realclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
360         $(MAKE) do_realclean
361
362 # Mark everything as depending on config.status, since the timestamp on
363 # sysdep.h might actually move backwards if we reconfig and relink it
364 # to a different hosts/h-xxx.h file.  This will force a recompile anyway.
365 BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/obstack.h
366 RECONFIG = config.status
367 $(BFD_LIBS):  libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
368 $(BFD_MACHINES):  libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
369 $(BFD_BACKENDS):  libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
370 $(OPTIONAL_BACKENDS):  libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
371
372 # Get around a Sun Make bug in SunOS 4.1.1 with VPATH
373 cpu-i386.o:cpu-i386.c
374 cpu-z8k.o: cpu-z8k.c
375 cpu-h8500.o: cpu-h8500.c
376 cpu-we32k.o: cpu-we32k.c
377
378 saber:
379         #suppress 65 on bfd_map_over_sections 
380         #suppress 66 on bfd_map_over_sections 
381         #suppress 67 on bfd_map_over_sections 
382         #suppress 68 on bfd_map_over_sections 
383         #suppress 69 on bfd_map_over_sections 
384         #suppress 70 on bfd_map_over_sections 
385         #suppress 110 in bfd_map_over_sections 
386         #suppress 112 in bfd_map_over_sections 
387         #suppress 530 
388         #suppress 590 in swap_exec_header 
389         #suppress 590 in _bfd_dummy_core_file_matches_executable_p 
390         #suppress 590 in bfd_dont_truncate_arname
391         #suppress 590 on ignore 
392         #suppress 590 on abfd 
393         #setopt load_flags $(CFLAGS)
394         #load $(CFILES)
395
396
397 #-----------------------------------------------------------------------------
398 #               'STANDARD' GNU/960 TARGETS BELOW THIS POINT
399 #
400 # 'VERSION' file must be present and contain a string of the form "x.y"
401 #-----------------------------------------------------------------------------
402
403 ver960.c: FORCE
404         rm -f ver960.c
405         echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c
406
407
408 # This target should be invoked before building a new release.
409 # 'VERSION' file must be present and contain a string of the form "x.y"
410 #
411 roll:
412         @V=`cat VERSION`                ; \
413         MAJ=`sed 's/\..*//' VERSION`    ; \
414         MIN=`sed 's/.*\.//' VERSION`    ; \
415         V=$$MAJ.`expr $$MIN + 1`        ; \
416         rm -f VERSION                   ; \
417         echo $$V >VERSION               ; \
418         echo Version $$V
419
420 # Dummy target to force execution of dependent targets.
421 #
422 force:
423
424 install:
425         $(INSTALL_DATA) libbfd.a $(libdir)/libbfd.a
426         $(RANLIB) $(libdir)/libbfd.a
427 # Install BFD include file, and others that it needs.  Install them
428 # both in GCC's include directory, and in the system include dir
429 # if configured as $(oldincludedir) -- which it usually isnt.
430         $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
431         $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
432         $(INSTALL_DATA) $(INCDIR)/obstack.h $(includedir)/obstack.h
433         -if test -z "$(oldincludedir)"; then true; else \
434         test -d $(oldincludedir) || mkdir $(oldincludedir); \
435         $(INSTALL_DATA) $(BFD_H) $(oldincludedir)/bfd.h; \
436         $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h; \
437         $(INSTALL_DATA) $(INCDIR)/obstack.h $(oldincludedir)/obstack.h; \
438         $(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS); \
439         fi
440
441 Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag)
442         $(SHELL) config.status
443
444 # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
445 .dep: dep.sed $(CFILES) $(HFILES) bfd.h
446         rm -f .dep1
447         $(MAKE) DEP=$(DEP) .dep1
448         sed -f dep.sed <.dep1 >.dep
449
450 # This rule really wants a mkdep that runs "gcc -MM".
451 .dep1: $(CFILES)
452         rm -f .dep2
453         echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
454         $(DEP) -f .dep2 $(ALL_CFLAGS) $?
455         $(srcdir)/../move-if-change .dep2 .dep1
456
457 dep.sed: dep-in.sed config.status
458         sed <$(srcdir)/dep-in.sed >dep.sed      \
459                 -e 's!@BFD_H@!$(BFD_H)!'        \
460                 -e 's!@INCDIR@!$(INCDIR)!'      \
461                 -e 's!@srcdir@!$(srcdir)!'
462
463 dep: .dep
464         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
465         cat .dep >> tmp-Makefile
466         $(srcdir)/../move-if-change tmp-Makefile Makefile
467
468 dep-in: .dep
469         sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
470         cat .dep >> tmp-Makefile.in
471         $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
472
473 host-aout.o: Makefile
474
475 # The following program can be used to generate a simple config file
476 # which can be folded into an h-XXX file for a new host, with some editing.
477 aout-params.h: gen-aout
478         ./gen-aout host > aout-params.h
479 gen-aout: $(srcdir)/gen-aout.c Makefile
480         $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
481
482 BFDIN_H= $(srcdir)/bfd-in2.h
483
484 $(BFD_H): stmp-bfd.h ; @true
485
486 # The file ../include/bfd.h is from earlier attempts to get this right.
487 # If the file is still there, kill it.
488 # The weird sh*t with grep is to avoid printing "exit 1 (ignored)" type
489 # messages from make, and avoid various ways in which different versions
490 # of make will screw up exit status checks.
491 #       -grep...                -> make prints "exit 1" message
492 #       grep ... ; exit 0       -> sun(?) make notices grep failure
493 #       grep ... || exit 0      -> bsd4.4 make still notices
494 #       if grep ...             -> seems okay so far
495 stmp-bfd.h : $(srcdir)/bfd-in2.h Makefile
496         rm -f bfd.h-new 64 ../include/bfd.h
497         if grep BFD_HOST_64_BIT sysdep.h > 64 2>/dev/null; then true; \
498         else true; fi
499         sed -e 's/@WORDSIZE@/$(WORDSIZE)/' \
500             -e "s/@VERSION@/`cat $(srcdir)/VERSION`/" \
501             -e '/64-bit.*sysdep.h/ r 64' \
502                 < $(srcdir)/bfd-in2.h \
503                 > bfd.h-new
504         $(srcdir)/../move-if-change bfd.h-new $(BFD_H)
505         rm -f 64
506         touch stmp-bfd.h
507
508 # Could really use a "copy-if-change"...
509 headers:
510         (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
511         cp $(docdir)/bfd.h bfd-in2.h-new
512         $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
513         cp $(docdir)/libbfd.h libbfd.h-new
514         $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
515         cp $(docdir)/libcoff.h libcoff.h-new
516         $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
517
518 bfd.info:
519         (cd $(docdir); $(MAKE) bfd.info $(FLAGS_TO_PASS))
520
521 bfd.dvi:
522         (cd $(docdir); $(MAKE) bfd.dvi $(FLAGS_TO_PASS))
523
524 bfd.ps: 
525         (cd $(docdir); $(MAKE) bfd.ps $(FLAGS_TO_PASS))
526
527 # What appears below is generated by a hacked mkdep using gcc -MM.
528
529 # DO NOT DELETE THIS LINE -- mkdep uses it.
530 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
531
532 libbfd.o: libbfd.c
533 opncls.o: opncls.c
534 bfd.o: bfd.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
535   $(INCDIR)/coff/sym.h libcoff.h libecoff.h $(INCDIR)/coff/ecoff.h \
536   libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
537   $(INCDIR)/elf/external.h
538 archive.o: archive.c $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h
539 targets.o: targets.c
540 cache.o: cache.c
541 archures.o: archures.c
542 coff-i386.o: coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
543   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
544 coff-go32.o: coff-go32.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
545   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
546 aout64.o: aout64.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
547   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
548   $(INCDIR)/aout/ar.h
549 aout32.o: aout32.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
550   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
551   $(INCDIR)/aout/ar.h
552 sunos.o: sunos.c $(INCDIR)/bfdlink.h libaout.h aoutf1.h \
553   $(INCDIR)/aout/sun4.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
554   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
555 demo64.o: demo64.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
556   $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
557   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
558 coff-i960.o: coff-i960.c $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h \
559   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
560 srec.o: srec.c
561 tekhex.o: tekhex.c
562 oasys.o: oasys.c $(INCDIR)/oasys.h liboasys.h
563 ieee.o: ieee.c $(INCDIR)/ieee.h libieee.h
564 aout0.o: aout0.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
565   $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
566   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
567 ecoff.o: ecoff.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/ar.h \
568   $(INCDIR)/aout/ranlib.h libaout.h $(INCDIR)/aout/aout64.h \
569   $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \
570   $(INCDIR)/coff/ecoff.h libcoff.h libecoff.h
571 ecofflink.o: ecofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
572   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h
573 coff-m68k.o: coff-m68k.c $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \
574   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
575 coff-u68k.o: coff-u68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \
576   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
577   coffcode.h coffswap.h
578 coff-apollo.o: coff-apollo.c $(INCDIR)/coff/apollo.h \
579   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
580   coffcode.h coffswap.h
581 coff-a29k.o: coff-a29k.c $(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h \
582   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
583 coff-rs6000.o: coff-rs6000.c $(INCDIR)/coff/internal.h \
584   $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \
585   coffcode.h coffswap.h
586 coff-sparc.o: coff-sparc.c $(INCDIR)/coff/sparc.h $(INCDIR)/coff/internal.h \
587   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
588 coffgen.o: coffgen.c $(INCDIR)/coff/internal.h libcoff.h \
589   $(INCDIR)/bfdlink.h
590 format.o: format.c
591 section.o: section.c
592 core.o: core.c
593 syms.o: syms.c $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
594 stab-syms.o: stab-syms.c libaout.h $(INCDIR)/bfdlink.h \
595   $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab.def
596 reloc.o: reloc.c $(INCDIR)/bfdlink.h
597 init.o: init.c
598 coff-m88k.o: coff-m88k.c $(INCDIR)/coff/m88k.h $(INCDIR)/coff/internal.h \
599   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
600 coff-mips.o: coff-mips.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
601   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
602   $(INCDIR)/coff/mips.h libcoff.h libecoff.h coffswap.h \
603   ecoffswap.h
604 coff-sh.o: coff-sh.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \
605   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
606 trad-core.o: trad-core.c libaout.h $(INCDIR)/bfdlink.h
607 cisco-core.o: cisco-core.c
608 newsos3.o: newsos3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
609   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
610   $(INCDIR)/bfdlink.h aout-target.h
611 i386aout.o: i386aout.c libaout.h $(INCDIR)/bfdlink.h \
612   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
613   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
614 i386linux.o: i386linux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
615   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
616   $(INCDIR)/bfdlink.h aout-target.h
617 i386mach3.o: i386mach3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
618   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
619   $(INCDIR)/bfdlink.h aout-target.h
620 i386netbsd.o: i386netbsd.c libaout.h $(INCDIR)/bfdlink.h \
621   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
622   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
623 i386os9k.o: i386os9k.c $(INCDIR)/bfdlink.h libaout.h \
624   $(INCDIR)/os9k.h
625 bout.o: bout.c $(INCDIR)/bfdlink.h genlink.h $(INCDIR)/bout.h \
626   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
627 aout-adobe.o: aout-adobe.c $(INCDIR)/aout/adobe.h $(INCDIR)/aout/stab_gnu.h \
628   $(INCDIR)/aout/stab.def libaout.h $(INCDIR)/bfdlink.h
629 coff-we32k.o: coff-we32k.c $(INCDIR)/coff/we32k.h $(INCDIR)/coff/internal.h \
630   libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
631 i386bsd.o: i386bsd.c libaout.h $(INCDIR)/bfdlink.h \
632   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
633   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
634 i386dynix.o: i386dynix.c $(INCDIR)/aout/dynix3.h libaout.h \
635   $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/aout64.h \
636   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
637 cpu-h8300.o: cpu-h8300.c
638 cpu-i960.o: cpu-i960.c
639 cpu-sparc.o: cpu-sparc.c
640 cpu-m68k.o: cpu-m68k.c
641 cpu-m88k.o: cpu-m88k.c
642 cpu-vax.o: cpu-vax.c
643 cpu-mips.o: cpu-mips.c
644 cpu-a29k.o: cpu-a29k.c
645 cpu-i386.o: cpu-i386.c
646 cpu-powerpc.o: cpu-powerpc.c
647 cpu-rs6000.o: cpu-rs6000.c
648 coff-h8300.o: coff-h8300.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/h8300.h \
649   $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
650 som.o: som.c
651 cpu-hppa.o: cpu-hppa.c
652 cpu-we32k.o: cpu-we32k.c
653 reloc16.o: reloc16.c $(INCDIR)/bfdlink.h genlink.h \
654   $(INCDIR)/coff/internal.h libcoff.h
655 mipsbsd.o: mipsbsd.c libaout.h $(INCDIR)/bfdlink.h \
656   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
657   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
658 cpu-sh.o: cpu-sh.c
659 elf.o: elf.c $(INCDIR)/bfdlink.h libelf.h $(INCDIR)/elf/common.h \
660   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
661 elf32.o: elf32.c elfcode.h $(INCDIR)/bfdlink.h libelf.h \
662   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
663 elf32-sparc.o: elf32-sparc.c $(INCDIR)/bfdlink.h libelf.h \
664   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
665   elf32-target.h
666 elf32-i386.o: elf32-i386.c $(INCDIR)/bfdlink.h libelf.h \
667   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
668   elf32-target.h
669 elf32-i860.o: elf32-i860.c libelf.h $(INCDIR)/elf/common.h \
670   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
671   elf32-target.h
672 elf32-m68k.o: elf32-m68k.c libelf.h $(INCDIR)/elf/common.h \
673   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
674   elf32-target.h
675 elf32-hppa.o: elf32-hppa.c $(INCDIR)/bfdlink.h libelf.h \
676   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
677   elf32-hppa.h libhppa.h $(INCDIR)/elf/hppa.h hppa_stubs.h \
678   elf32-target.h
679 elf32-m88k.o: elf32-m88k.c libelf.h $(INCDIR)/elf/common.h \
680   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
681   elf32-target.h
682 elf32-mips.o: elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \
683   libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
684   $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
685   $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
686   $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \
687   elf32-target.h
688 elf32-gen.o: elf32-gen.c libelf.h $(INCDIR)/elf/common.h \
689   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
690   elf32-target.h
691 elf32-ppc.o: elf32-ppc.c libelf.h $(INCDIR)/elf/common.h \
692   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
693   elf32-target.h
694 elf64.o: elf64.c elfcode.h $(INCDIR)/bfdlink.h libelf.h \
695   $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
696 elf64-gen.o: elf64-gen.c libelf.h $(INCDIR)/elf/common.h \
697   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
698   elf64-target.h
699 elf64-sparc.o: elf64-sparc.c libelf.h $(INCDIR)/elf/common.h \
700   $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
701   elf64-target.h
702 nlm.o: nlm.c libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
703   $(INCDIR)/nlm/external.h
704 nlm32.o: nlm32.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
705   $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
706 nlm32-i386.o: nlm32-i386.c $(INCDIR)/nlm/i386-ext.h \
707   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
708   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
709 nlm32-sparc.o: nlm32-sparc.c $(INCDIR)/nlm/sparc32-ext.h \
710   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
711   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
712 nlm32-alpha.o: nlm32-alpha.c $(INCDIR)/nlm/alpha-ext.h \
713   libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
714   $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
715 nlm64.o: nlm64.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
716   $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
717 coff-alpha.o: coff-alpha.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
718   $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
719   $(INCDIR)/coff/alpha.h libcoff.h libecoff.h coffswap.h \
720   ecoffswap.h
721 cpu-alpha.o: cpu-alpha.c
722 nlm32-ppc.o: nlm32-ppc.c $(INCDIR)/nlm/ppc-ext.h libnlm.h \
723   $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h \
724   nlmswap.h nlm-target.h
725 hp300bsd.o: hp300bsd.c libaout.h $(INCDIR)/bfdlink.h \
726   aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
727   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
728 hp300hpux.o: hp300hpux.c $(INCDIR)/aout/hp300hpux.h \
729   aoutx.h $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
730   $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
731   aout-target.h
732 i386lynx.o: i386lynx.c libaout.h $(INCDIR)/bfdlink.h \
733   $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
734   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
735 cf-i386lynx.o: cf-i386lynx.c coff-i386.c $(INCDIR)/coff/i386.h \
736   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
737   coffcode.h coffswap.h
738 m68klynx.o: m68klynx.c libaout.h $(INCDIR)/bfdlink.h \
739   $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
740   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
741 cf-m68klynx.o: cf-m68klynx.c coff-m68k.c $(INCDIR)/coff/m68k.h \
742   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
743   coffcode.h coffswap.h
744 sparclynx.o: sparclynx.c $(INCDIR)/aout/sun4.h libaout.h \
745   $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
746   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
747 cf-sparclynx.o: cf-sparclynx.c coff-sparc.c $(INCDIR)/coff/sparc.h \
748   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
749   coffcode.h coffswap.h
750 aix386-core.o: aix386-core.c $(INCDIR)/coff/i386.h \
751   $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h
752 hpux-core.o: hpux-core.c
753 irix-core.o: irix-core.c
754 lynx-core.o: lynx-core.c
755 osf-core.o: osf-core.c
756 hash.o: hash.c
757 linker.o: linker.c $(INCDIR)/bfdlink.h genlink.h
758 cofflink.o: cofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
759   libcoff.h
760
761 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY