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.
5 # This file is part of BFD, the Binary File Descriptor library.
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.
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.
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.
25 exec_prefix = $(prefix)
26 bindir = $(exec_prefix)/bin
27 libdir = $(exec_prefix)/lib
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
48 INSTALL_PROGRAM = $(INSTALL)
49 INSTALL_DATA = $(INSTALL)
60 INCDIR = $(srcdir)/../include
61 CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
69 # bfd.h goes here, for now
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: ecoff.o ecofflink.o elf.o
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
86 archive.o archures.o bfd.o cache.o coffgen.o core.o ctor.o \
87 format.o init.o libbfd.o opncls.o reloc.o \
88 section.o syms.o targets.o hash.o linker.o \
89 ecoff.o ecofflink.o elf.o srec.o
91 # This list is alphabetized to make it easier to keep in sync
92 # with the decls and initializer in archures.c.
112 # The .o files needed by all of the 32 bit vectors that are configured into
113 # target_vector in targets.c if configured with --with-targets=all.
172 # The .o files needed by all of the 64 bit vectors that are configured into
173 # target_vector in targets.c if configured with --with-targets=all
174 # and --with-64-bit-bfd.
184 OPTIONAL_BACKENDS = \
193 # These are defined by configure.in:
195 # BFD_BACKENDS = $(BFD32_BACKENDS)
199 #### host and target dependent Makefile fragments come in here.
204 "exec_prefix=$(exec_prefix)" \
205 "against=$(against)" \
207 "AR_FLAGS=$(AR_FLAGS)" \
209 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
212 "MAKEINFO=$(MAKEINFO)" \
213 "INSTALL=$(INSTALL)" \
214 "INSTALL_DATA=$(INSTALL_DATA)" \
215 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
218 ALL_CFLAGS=$(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES)
220 $(CC) -c $(ALL_CFLAGS) $<
222 # C source files that correspond to .o's.
223 CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c \
224 archures.c coff-i386.c coff-go32.c aout64.c aout32.c sunos.c demo64.c \
225 coff-i960.c srec.c tekhex.c oasys.c ieee.c aout0.c \
226 ecoff.c ecofflink.c coff-m68k.c coff-u68k.c coff-apollo.c \
227 coff-a29k.c coff-rs6000.c coff-sparc.c coffgen.c format.c \
228 section.c core.c syms.c stab-syms.c reloc.c init.c ctor.c \
229 coff-m88k.c coff-mips.c coff-sh.c trad-core.c cisco-core.c newsos3.c \
230 i386aout.c i386linux.c netbsd386.c i386mach3.c i386os9k.c \
231 bout.c aout-adobe.c coff-we32k.c \
232 i386bsd.c i386dynix.c cpu-h8300.c cpu-i960.c cpu-sparc.c cpu-m68k.c \
233 cpu-m88k.c cpu-vax.c cpu-mips.c cpu-a29k.c cpu-i386.c cpu-powerpc.c \
234 cpu-rs6000.c coff-h8300.c som.c cpu-hppa.c cpu-we32k.c reloc16.c \
236 elf.c elf32.c elf32-sparc.c elf32-i386.c elf32-i860.c elf32-m68k.c \
237 elf32-hppa.c elf32-m88k.c elf32-mips.c elf32-gen.c elf32-ppc.c \
238 elf64.c elf64-gen.c \
239 nlm.c nlm32.c nlm32-i386.c nlm32-sparc.c nlm32-alpha.c \
240 nlm64.c coff-alpha.c cpu-alpha.c nlm32-ppc.c \
241 hp300bsd.c hp300hpux.c \
242 i386lynx.c cf-i386lynx.c m68klynx.c cf-m68klynx.c \
243 sparclynx.c cf-sparclynx.c aix386-core.c hpux-core.c \
244 irix-core.c lynx-core.c osf-core.c hash.c linker.c
246 HFILES = aout-target.h aoutf1.h aoutx.h coffcode.h \
247 coffswap.h ecoffswap.h elf32-hppa.h elf32-target.h elf64-target.h \
248 elfcode.h hppa_stubs.h libaout.h libbfd.h \
249 libcoff.h libecoff.h libelf.h libhppa.h libieee.h libnlm.h \
250 liboasys.h nlm-target.h nlmcode.h som.h genlink.h
252 STAGESTUFF = $(TARGETLIB) $(OFILES)
254 all: Makefile $(TARGETLIB)
255 @$(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
260 .PHONY: check installcheck
262 @echo No testsuites exist for the BFD library. Nothing to check.
265 @echo No testsuites exist for the BFD library. Nothing to check.
268 @$(MAKE) subdir_do DO=$@ "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
271 @$(MAKE) subdir_do DO=clean-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
274 @$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
278 # Various kinds of .o files to put in libbfd.a:
279 # BFD_LIBS Generic routines, always needed.
280 # BFD_BACKENDS Routines the configured targets need.
281 # BFD_MACHINES Architecture-specific routines the configured targets need.
282 # HDEPFILES Routines the host needs, regardless of target.
283 # TDEPFILES Routines the target needs, regardless of host.
284 OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) $(HDEPFILES) $(TDEPFILES)
289 for i in $(OFILES) ; do \
297 $(TARGETLIB): $(OFILES) ofiles
299 @echo ofiles = `cat ofiles`
300 $(AR) $(AR_FLAGS) $(TARGETLIB) `cat ofiles`
301 $(RANLIB) $(TARGETLIB)
303 # When compiling archures.c and targets.c, supply the default target
304 # info from configure.
307 targets.o: targets.c Makefile
308 $(CC) -c $(ALL_CFLAGS) $(TDEFAULTS) $<
310 archures.o: archures.c Makefile
311 $(CC) -c $(ALL_CFLAGS) $(TDEFAULTS) $<
314 @for i in $(DODIRS); do \
315 if [ -d ./$$i ] ; then \
317 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
325 etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c
328 rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout
329 do_clean: do_mostlyclean
330 rm -f libbfd.a TAGS bfd.h stmp-bfd.h ofiles
331 do_distclean: do_clean
332 rm -f Makefile config.status sysdep.h
334 # Should we remove $(srcdir)/libcoff.h $(srcdir)/libbfd.h $(srcdir)/bfd-in2.h?
335 # make-stds.texi says it depends on whether they can be regenerated using
336 # this makefile. Well, they can, but only via an explicit "make headers";
337 # the makefile does not regenerate them as needed. So I guess we should not
338 # remove them in realclean.
339 do_realclean: do_distclean
341 mostlyclean: do_mostlyclean
342 $(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
344 $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
346 $(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
349 $(MAKE) subdir_do DO=realclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
352 # Mark everything as depending on config.status, since the timestamp on
353 # sysdep.h might actually move backwards if we reconfig and relink it
354 # to a different hosts/h-xxx.h file. This will force a recompile anyway.
355 BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/obstack.h
356 RECONFIG = config.status
357 $(BFD_LIBS): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
358 $(BFD_MACHINES): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
359 $(BFD_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
360 $(OPTIONAL_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
362 # Get around a Sun Make bug in SunOS 4.1.1 with VPATH
363 cpu-i386.o:cpu-i386.c
365 cpu-h8500.o: cpu-h8500.c
366 cpu-we32k.o: cpu-we32k.c
369 #suppress 65 on bfd_map_over_sections
370 #suppress 66 on bfd_map_over_sections
371 #suppress 67 on bfd_map_over_sections
372 #suppress 68 on bfd_map_over_sections
373 #suppress 69 on bfd_map_over_sections
374 #suppress 70 on bfd_map_over_sections
375 #suppress 110 in bfd_map_over_sections
376 #suppress 112 in bfd_map_over_sections
378 #suppress 590 in swap_exec_header
379 #suppress 590 in _bfd_dummy_core_file_matches_executable_p
380 #suppress 590 in bfd_dont_truncate_arname
381 #suppress 590 on ignore
382 #suppress 590 on abfd
383 #setopt load_flags $(CFLAGS)
387 #-----------------------------------------------------------------------------
388 # 'STANDARD' GNU/960 TARGETS BELOW THIS POINT
390 # 'VERSION' file must be present and contain a string of the form "x.y"
391 #-----------------------------------------------------------------------------
395 echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c
398 # This target should be invoked before building a new release.
399 # 'VERSION' file must be present and contain a string of the form "x.y"
403 MAJ=`sed 's/\..*//' VERSION` ; \
404 MIN=`sed 's/.*\.//' VERSION` ; \
405 V=$$MAJ.`expr $$MIN + 1` ; \
407 echo $$V >VERSION ; \
410 # Dummy target to force execution of dependent targets.
415 $(INSTALL_DATA) libbfd.a $(libdir)/libbfd.a
416 $(RANLIB) $(libdir)/libbfd.a
417 # Install BFD include file, and others that it needs. Install them
418 # both in GCC's include directory, and in the system include dir
419 # if configured as $(oldincludedir) -- which it usually isnt.
420 $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
421 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
422 $(INSTALL_DATA) $(INCDIR)/obstack.h $(includedir)/obstack.h
423 -if test -z "$(oldincludedir)"; then true; else \
424 test -d $(oldincludedir) || mkdir $(oldincludedir); \
425 $(INSTALL_DATA) $(BFD_H) $(oldincludedir)/bfd.h; \
426 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h; \
427 $(INSTALL_DATA) $(INCDIR)/obstack.h $(oldincludedir)/obstack.h; \
428 $(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS); \
431 Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag)
432 $(SHELL) config.status
434 # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
435 .dep: dep.sed $(CFILES) $(HFILES) bfd.h
437 $(MAKE) DEP=$(DEP) .dep1
438 sed -f dep.sed <.dep1 >.dep
440 # This rule really wants a mkdep that runs "gcc -MM".
443 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
444 $(DEP) -f .dep2 $(ALL_CFLAGS) $?
445 $(srcdir)/../move-if-change .dep2 .dep1
447 dep.sed: dep-in.sed config.status
448 sed <$(srcdir)/dep-in.sed >dep.sed \
449 -e 's!@BFD_H@!$(BFD_H)!' \
450 -e 's!@INCDIR@!$(INCDIR)!' \
451 -e 's!@srcdir@!$(srcdir)!'
454 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
455 cat .dep >> tmp-Makefile
456 $(srcdir)/../move-if-change tmp-Makefile Makefile
459 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
460 cat .dep >> tmp-Makefile.in
461 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
463 host-aout.o: Makefile
465 # The following program can be used to generate a simple config file
466 # which can be folded into an h-XXX file for a new host, with some editing.
467 aout-params.h: gen-aout
468 ./gen-aout host > aout-params.h
469 gen-aout: $(srcdir)/gen-aout.c Makefile
470 $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
472 BFDIN_H= $(srcdir)/bfd-in2.h
474 $(BFD_H): stmp-bfd.h ; @true
476 # The file ../include/bfd.h is from earlier attempts to get this right.
477 # If the file is still there, kill it.
478 # The weird sh*t with grep is to avoid printing "exit 1 (ignored)" type
479 # messages from make, and avoid various ways in which different versions
480 # of make will screw up exit status checks.
481 # -grep... -> make prints "exit 1" message
482 # grep ... ; exit 0 -> sun(?) make notices grep failure
483 # grep ... || exit 0 -> bsd4.4 make still notices
484 # if grep ... -> seems okay so far
485 stmp-bfd.h : $(srcdir)/bfd-in2.h Makefile
486 rm -f bfd.h-new 64 ../include/bfd.h
487 if grep BFD_HOST_64_BIT sysdep.h > 64 2>/dev/null; then true; \
489 sed -e 's/@WORDSIZE@/$(WORDSIZE)/' \
490 -e "s/@VERSION@/`cat $(srcdir)/VERSION`/" \
491 -e '/64-bit.*sysdep.h/ r 64' \
492 < $(srcdir)/bfd-in2.h \
494 $(srcdir)/../move-if-change bfd.h-new $(BFD_H)
498 # Could really use a "copy-if-change"...
500 (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
501 cp $(docdir)/bfd.h bfd-in2.h-new
502 $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
503 cp $(docdir)/libbfd.h libbfd.h-new
504 $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
505 cp $(docdir)/libcoff.h libcoff.h-new
506 $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
509 (cd $(docdir); $(MAKE) bfd.info $(FLAGS_TO_PASS))
512 (cd $(docdir); $(MAKE) bfd.dvi $(FLAGS_TO_PASS))
515 (cd $(docdir); $(MAKE) bfd.ps $(FLAGS_TO_PASS))
517 # What appears below is generated by a hacked mkdep using gcc -MM.
519 # DO NOT DELETE THIS LINE -- mkdep uses it.
520 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
524 bfd.o: bfd.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
525 $(INCDIR)/coff/sym.h libcoff.h libecoff.h $(INCDIR)/coff/ecoff.h \
526 libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
527 $(INCDIR)/elf/external.h
528 archive.o: archive.c $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h
531 archures.o: archures.c
532 coff-i386.o: coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
533 libcoff.h coffcode.h coffswap.h
534 coff-go32.o: coff-go32.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
535 libcoff.h coffcode.h coffswap.h
536 aout64.o: aout64.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
537 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
539 aout32.o: aout32.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
540 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
542 sunos.o: sunos.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
543 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
544 $(INCDIR)/aout/ar.h aout-target.h
545 demo64.o: demo64.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
546 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
547 $(INCDIR)/aout/ar.h aout-target.h
548 coff-i960.o: coff-i960.c $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h \
549 libcoff.h coffcode.h coffswap.h
552 oasys.o: oasys.c $(INCDIR)/oasys.h liboasys.h
553 ieee.o: ieee.c $(INCDIR)/ieee.h libieee.h
554 aout0.o: aout0.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
555 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
556 $(INCDIR)/aout/ar.h aout-target.h
557 ecoff.o: ecoff.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/ar.h \
558 $(INCDIR)/aout/ranlib.h libaout.h $(INCDIR)/aout/aout64.h \
559 $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \
560 $(INCDIR)/coff/ecoff.h libcoff.h libecoff.h
561 ecofflink.o: ecofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
562 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h
563 coff-m68k.o: coff-m68k.c $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \
564 libcoff.h coffcode.h coffswap.h
565 coff-u68k.o: coff-u68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \
566 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
567 coff-apollo.o: coff-apollo.c $(INCDIR)/coff/apollo.h \
568 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
569 coff-a29k.o: coff-a29k.c $(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h \
570 libcoff.h coffcode.h coffswap.h
571 coff-rs6000.o: coff-rs6000.c $(INCDIR)/coff/internal.h \
572 $(INCDIR)/coff/rs6000.h libcoff.h coffcode.h coffswap.h
573 coff-sparc.o: coff-sparc.c $(INCDIR)/coff/sparc.h $(INCDIR)/coff/internal.h \
574 libcoff.h coffcode.h coffswap.h
575 coffgen.o: coffgen.c $(INCDIR)/coff/internal.h libcoff.h
579 syms.o: syms.c $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
580 stab-syms.o: stab-syms.c libaout.h $(INCDIR)/aout/aout64.h \
581 $(INCDIR)/aout/stab.def
582 reloc.o: reloc.c $(INCDIR)/bfdlink.h
585 coff-m88k.o: coff-m88k.c $(INCDIR)/coff/m88k.h $(INCDIR)/coff/internal.h \
586 libcoff.h coffcode.h coffswap.h
587 coff-mips.o: coff-mips.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
588 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
589 $(INCDIR)/coff/mips.h libcoff.h libecoff.h coffswap.h \
591 coff-sh.o: coff-sh.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \
592 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
593 trad-core.o: trad-core.c libaout.h
594 cisco-core.o: cisco-core.c
595 newsos3.o: newsos3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
596 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
598 i386aout.o: i386aout.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
599 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
600 i386linux.o: i386linux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
601 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
603 netbsd386.o: netbsd386.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
604 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
605 i386mach3.o: i386mach3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
606 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
608 i386os9k.o: i386os9k.c $(INCDIR)/bfdlink.h libaout.h \
610 bout.o: bout.c $(INCDIR)/bfdlink.h genlink.h $(INCDIR)/bout.h \
611 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
612 aout-adobe.o: aout-adobe.c $(INCDIR)/aout/adobe.h $(INCDIR)/aout/stab_gnu.h \
613 $(INCDIR)/aout/stab.def libaout.h
614 coff-we32k.o: coff-we32k.c $(INCDIR)/coff/we32k.h $(INCDIR)/coff/internal.h \
615 libcoff.h coffcode.h coffswap.h
616 i386bsd.o: i386bsd.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
617 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
618 i386dynix.o: i386dynix.c $(INCDIR)/aout/dynix3.h libaout.h \
619 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
620 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
621 cpu-h8300.o: cpu-h8300.c
622 cpu-i960.o: cpu-i960.c
623 cpu-sparc.o: cpu-sparc.c
624 cpu-m68k.o: cpu-m68k.c
625 cpu-m88k.o: cpu-m88k.c
627 cpu-mips.o: cpu-mips.c
628 cpu-a29k.o: cpu-a29k.c
629 cpu-i386.o: cpu-i386.c
630 cpu-powerpc.o: cpu-powerpc.c
631 cpu-rs6000.o: cpu-rs6000.c
632 coff-h8300.o: coff-h8300.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/h8300.h \
633 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
635 cpu-hppa.o: cpu-hppa.c
636 cpu-we32k.o: cpu-we32k.c
637 reloc16.o: reloc16.c $(INCDIR)/bfdlink.h genlink.h \
638 $(INCDIR)/coff/internal.h libcoff.h
639 mipsbsd.o: mipsbsd.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
640 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
642 elf.o: elf.c $(INCDIR)/bfdlink.h libelf.h $(INCDIR)/elf/common.h \
643 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
644 elf32.o: elf32.c elfcode.h $(INCDIR)/bfdlink.h libelf.h \
645 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
646 elf32-sparc.o: elf32-sparc.c $(INCDIR)/bfdlink.h libelf.h \
647 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
649 elf32-i386.o: elf32-i386.c $(INCDIR)/bfdlink.h libelf.h \
650 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
652 elf32-i860.o: elf32-i860.c libelf.h $(INCDIR)/elf/common.h \
653 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
655 elf32-m68k.o: elf32-m68k.c libelf.h $(INCDIR)/elf/common.h \
656 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
658 elf32-hppa.o: elf32-hppa.c $(INCDIR)/bfdlink.h libelf.h \
659 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
660 elf32-hppa.h libhppa.h $(INCDIR)/elf/hppa.h $(INCDIR)/aout/aout64.h \
661 hppa_stubs.h elf32-target.h
662 elf32-m88k.o: elf32-m88k.c libelf.h $(INCDIR)/elf/common.h \
663 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
665 elf32-mips.o: elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \
666 libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
667 $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
668 $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
669 $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \
671 elf32-gen.o: elf32-gen.c libelf.h $(INCDIR)/elf/common.h \
672 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
674 elf32-ppc.o: elf32-ppc.c libelf.h $(INCDIR)/elf/common.h \
675 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
677 elf64.o: elf64.c elfcode.h $(INCDIR)/bfdlink.h libelf.h \
678 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
679 elf64-gen.o: elf64-gen.c libelf.h $(INCDIR)/elf/common.h \
680 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
682 nlm.o: nlm.c libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
683 $(INCDIR)/nlm/external.h
684 nlm32.o: nlm32.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
685 $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
686 nlm32-i386.o: nlm32-i386.c $(INCDIR)/nlm/i386-ext.h \
687 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
688 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
689 nlm32-sparc.o: nlm32-sparc.c $(INCDIR)/nlm/sparc32-ext.h \
690 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
691 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
692 nlm32-alpha.o: nlm32-alpha.c $(INCDIR)/nlm/alpha-ext.h \
693 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
694 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
695 nlm64.o: nlm64.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
696 $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
697 coff-alpha.o: coff-alpha.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
698 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
699 $(INCDIR)/coff/alpha.h libcoff.h libecoff.h coffswap.h \
701 cpu-alpha.o: cpu-alpha.c
702 nlm32-ppc.o: nlm32-ppc.c $(INCDIR)/nlm/ppc-ext.h libnlm.h \
703 $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h \
704 nlmswap.h nlm-target.h
705 hp300bsd.o: hp300bsd.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
706 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
707 hp300hpux.o: hp300hpux.c $(INCDIR)/aout/hp300hpux.h \
708 aoutx.h $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
709 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
711 i386lynx.o: i386lynx.c libaout.h $(INCDIR)/aout/aout64.h \
712 aout-target.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
714 cf-i386lynx.o: cf-i386lynx.c coff-i386.c $(INCDIR)/coff/i386.h \
715 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
716 m68klynx.o: m68klynx.c libaout.h $(INCDIR)/aout/aout64.h \
717 aout-target.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
719 cf-m68klynx.o: cf-m68klynx.c coff-m68k.c $(INCDIR)/coff/m68k.h \
720 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
721 sparclynx.o: sparclynx.c $(INCDIR)/aout/sun4.h libaout.h \
722 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
723 $(INCDIR)/aout/ar.h aout-target.h
724 cf-sparclynx.o: cf-sparclynx.c coff-sparc.c $(INCDIR)/coff/sparc.h \
725 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
726 aix386-core.o: aix386-core.c $(INCDIR)/coff/i386.h \
727 $(INCDIR)/coff/internal.h libcoff.h
728 hpux-core.o: hpux-core.c
729 irix-core.o: irix-core.c
730 lynx-core.o: lynx-core.c
731 osf-core.o: osf-core.c
733 linker.o: linker.c $(INCDIR)/bfdlink.h genlink.h
735 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY