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.
163 $(start-sanitize-powerpc-netware) \
165 $(end-sanitize-powerpc-netware) \
173 # The .o files needed by all of the 64 bit vectors that are configured into
174 # target_vector in targets.c if configured with --with-targets=all
175 # and --with-64-bit-bfd.
185 OPTIONAL_BACKENDS = \
194 # These are defined by configure.in:
196 # BFD_BACKENDS = $(BFD32_BACKENDS)
200 #### host and target dependent Makefile fragments come in here.
205 "exec_prefix=$(exec_prefix)" \
206 "against=$(against)" \
208 "AR_FLAGS=$(AR_FLAGS)" \
210 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
213 "MAKEINFO=$(MAKEINFO)" \
214 "INSTALL=$(INSTALL)" \
215 "INSTALL_DATA=$(INSTALL_DATA)" \
216 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
219 ALL_CFLAGS=$(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES)
221 $(CC) -c $(ALL_CFLAGS) $<
223 # C source files that correspond to .o's.
224 CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c \
225 archures.c coff-i386.c aout64.c aout32.c sunos.c demo64.c \
226 coff-i960.c srec.c tekhex.c oasys.c ieee.c aout0.c \
227 ecoff.c ecofflink.c coff-m68k.c coff-u68k.c coff-apollo.c \
228 coff-a29k.c coff-rs6000.c coff-sparc.c coffgen.c format.c \
229 section.c core.c syms.c stab-syms.c reloc.c init.c ctor.c \
230 coff-m88k.c coff-mips.c coff-sh.c trad-core.c cisco-core.c newsos3.c \
231 i386aout.c i386linux.c netbsd386.c i386mach3.c i386os9k.c \
232 bout.c aout-adobe.c coff-we32k.c \
233 i386bsd.c i386dynix.c cpu-h8300.c cpu-i960.c cpu-sparc.c cpu-m68k.c \
234 cpu-m88k.c cpu-vax.c cpu-mips.c cpu-a29k.c cpu-i386.c cpu-powerpc.c \
235 cpu-rs6000.c coff-h8300.c som.c cpu-hppa.c cpu-we32k.c reloc16.c \
237 elf.c elf32.c elf32-sparc.c elf32-i386.c elf32-i860.c elf32-m68k.c \
238 elf32-hppa.c elf32-m88k.c elf32-mips.c elf32-gen.c elf32-ppc.c \
239 elf64.c elf64-gen.c \
240 nlm.c nlm32.c nlm32-i386.c nlm32-sparc.c nlm32-alpha.c \
241 nlm64.c coff-alpha.c cpu-alpha.c \
242 hp300bsd.c hp300hpux.c \
243 i386lynx.c cf-i386lynx.c m68klynx.c cf-m68klynx.c \
244 sparclynx.c cf-sparclynx.c aix386-core.c hpux-core.c \
245 irix-core.c lynx-core.c osf-core.c hash.c linker.c
247 HFILES = aout-target.h aoutf1.h aoutx.h coffcode.h \
248 coffswap.h ecoffswap.h elf32-hppa.h elf32-target.h elf64-target.h \
249 elfcode.h hppa_stubs.h libaout.h libbfd.h \
250 libcoff.h libecoff.h libelf.h libhppa.h libieee.h libnlm.h \
251 liboasys.h nlm-target.h nlmcode.h som.h genlink.h
253 STAGESTUFF = $(TARGETLIB) $(OFILES)
255 all: Makefile $(TARGETLIB)
256 @$(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
261 .PHONY: check installcheck
263 @echo No testsuites exist for the BFD library. Nothing to check.
266 @echo No testsuites exist for the BFD library. Nothing to check.
269 @$(MAKE) subdir_do DO=$@ "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
272 @$(MAKE) subdir_do DO=clean-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
275 @$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
279 # Various kinds of .o files to put in libbfd.a:
280 # BFD_LIBS Generic routines, always needed.
281 # BFD_BACKENDS Routines the configured targets need.
282 # BFD_MACHINES Architecture-specific routines the configured targets need.
283 # HDEPFILES Routines the host needs, regardless of target.
284 # TDEPFILES Routines the target needs, regardless of host.
285 OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) $(HDEPFILES) $(TDEPFILES)
290 for i in $(OFILES) ; do \
298 $(TARGETLIB): $(OFILES) ofiles
300 @echo ofiles = `cat ofiles`
301 $(AR) $(AR_FLAGS) $(TARGETLIB) `cat ofiles`
302 $(RANLIB) $(TARGETLIB)
304 # When compiling archures.c and targets.c, supply the default target
305 # info from configure.
308 targets.o: targets.c Makefile
309 $(CC) -c $(ALL_CFLAGS) $(TDEFAULTS) $<
311 archures.o: archures.c Makefile
312 $(CC) -c $(ALL_CFLAGS) $(TDEFAULTS) $<
315 @for i in $(DODIRS); do \
316 if [ -d ./$$i ] ; then \
318 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
326 etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c
329 rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout
330 do_clean: do_mostlyclean
331 rm -f libbfd.a TAGS bfd.h stmp-bfd.h ofiles
332 do_distclean: do_clean
333 rm -f Makefile config.status sysdep.h
335 # Should we remove $(srcdir)/libcoff.h $(srcdir)/libbfd.h $(srcdir)/bfd-in2.h?
336 # make-stds.texi says it depends on whether they can be regenerated using
337 # this makefile. Well, they can, but only via an explicit "make headers";
338 # the makefile does not regenerate them as needed. So I guess we should not
339 # remove them in realclean.
340 do_realclean: do_distclean
342 mostlyclean: do_mostlyclean
343 $(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
345 $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
347 $(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
350 $(MAKE) subdir_do DO=realclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
353 # Mark everything as depending on config.status, since the timestamp on
354 # sysdep.h might actually move backwards if we reconfig and relink it
355 # to a different hosts/h-xxx.h file. This will force a recompile anyway.
356 BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/obstack.h
357 RECONFIG = config.status
358 $(BFD_LIBS): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
359 $(BFD_MACHINES): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
360 $(BFD_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
361 $(OPTIONAL_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
363 # Get around a Sun Make bug in SunOS 4.1.1 with VPATH
364 cpu-i386.o:cpu-i386.c
366 cpu-h8500.o: cpu-h8500.c
367 cpu-we32k.o: cpu-we32k.c
370 #suppress 65 on bfd_map_over_sections
371 #suppress 66 on bfd_map_over_sections
372 #suppress 67 on bfd_map_over_sections
373 #suppress 68 on bfd_map_over_sections
374 #suppress 69 on bfd_map_over_sections
375 #suppress 70 on bfd_map_over_sections
376 #suppress 110 in bfd_map_over_sections
377 #suppress 112 in bfd_map_over_sections
379 #suppress 590 in swap_exec_header
380 #suppress 590 in _bfd_dummy_core_file_matches_executable_p
381 #suppress 590 in bfd_dont_truncate_arname
382 #suppress 590 on ignore
383 #suppress 590 on abfd
384 #setopt load_flags $(CFLAGS)
388 #-----------------------------------------------------------------------------
389 # 'STANDARD' GNU/960 TARGETS BELOW THIS POINT
391 # 'VERSION' file must be present and contain a string of the form "x.y"
392 #-----------------------------------------------------------------------------
396 echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c
399 # This target should be invoked before building a new release.
400 # 'VERSION' file must be present and contain a string of the form "x.y"
404 MAJ=`sed 's/\..*//' VERSION` ; \
405 MIN=`sed 's/.*\.//' VERSION` ; \
406 V=$$MAJ.`expr $$MIN + 1` ; \
408 echo $$V >VERSION ; \
411 # Dummy target to force execution of dependent targets.
416 $(INSTALL_DATA) libbfd.a $(libdir)/libbfd.a
417 $(RANLIB) $(libdir)/libbfd.a
418 # Install BFD include file, and others that it needs. Install them
419 # both in GCC's include directory, and in the system include dir
420 # if configured as $(oldincludedir) -- which it usually isnt.
421 $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
422 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
423 $(INSTALL_DATA) $(INCDIR)/obstack.h $(includedir)/obstack.h
424 -if test -z "$(oldincludedir)"; then true; else \
425 test -d $(oldincludedir) || mkdir $(oldincludedir); \
426 $(INSTALL_DATA) $(BFD_H) $(oldincludedir)/bfd.h; \
427 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h; \
428 $(INSTALL_DATA) $(INCDIR)/obstack.h $(oldincludedir)/obstack.h; \
429 $(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS); \
432 Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag)
433 $(SHELL) config.status
435 # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
436 .dep: dep.sed $(CFILES) $(HFILES) bfd.h
438 $(MAKE) DEP=$(DEP) .dep1
439 sed -f dep.sed <.dep1 >.dep
441 # This rule really wants a mkdep that runs "gcc -MM".
444 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
445 $(DEP) -f .dep2 $(ALL_CFLAGS) $?
446 $(srcdir)/../move-if-change .dep2 .dep1
448 dep.sed: dep-in.sed config.status
449 sed <$(srcdir)/dep-in.sed >dep.sed \
450 -e 's!@BFD_H@!$(BFD_H)!' \
451 -e 's!@INCDIR@!$(INCDIR)!' \
452 -e 's!@srcdir@!$(srcdir)!'
455 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
456 cat .dep >> tmp-Makefile
457 $(srcdir)/../move-if-change tmp-Makefile Makefile
460 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
461 cat .dep >> tmp-Makefile.in
462 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
464 host-aout.o: Makefile
466 # The following program can be used to generate a simple config file
467 # which can be folded into an h-XXX file for a new host, with some editing.
468 aout-params.h: gen-aout
469 ./gen-aout host > aout-params.h
470 gen-aout: $(srcdir)/gen-aout.c Makefile
471 $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
473 BFDIN_H= $(srcdir)/bfd-in2.h
475 $(BFD_H): stmp-bfd.h ; @true
477 # The file ../include/bfd.h is from earlier attempts to get this right.
478 # If the file is still there, kill it.
479 stmp-bfd.h : $(srcdir)/bfd-in2.h Makefile
480 rm -f bfd.h-new 64 ../include/bfd.h
481 grep BFD_HOST_64_BIT sysdep.h > 64 2>/dev/null || exit 0
482 sed -e 's/@WORDSIZE@/$(WORDSIZE)/' \
483 -e "s/@VERSION@/`cat $(srcdir)/VERSION`/" \
484 -e '/64-bit.*sysdep.h/ r 64' \
485 < $(srcdir)/bfd-in2.h \
487 $(srcdir)/../move-if-change bfd.h-new $(BFD_H)
491 # Could really use a "copy-if-change"...
493 (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
494 cp $(docdir)/bfd.h bfd-in2.h-new
495 $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
496 cp $(docdir)/libbfd.h libbfd.h-new
497 $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
498 cp $(docdir)/libcoff.h libcoff.h-new
499 $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
502 (cd $(docdir); $(MAKE) bfd.info $(FLAGS_TO_PASS))
505 (cd $(docdir); $(MAKE) bfd.dvi $(FLAGS_TO_PASS))
508 (cd $(docdir); $(MAKE) bfd.ps $(FLAGS_TO_PASS))
510 # What appears below is generated by a hacked mkdep using gcc -MM.
512 # DO NOT DELETE THIS LINE -- mkdep uses it.
513 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
517 bfd.o : bfd.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
518 $(INCDIR)/coff/sym.h libcoff.h libecoff.h $(INCDIR)/coff/ecoff.h \
519 libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
520 $(INCDIR)/elf/external.h
521 archive.o : archive.c $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h
522 targets.o : targets.c
524 archures.o : archures.c
525 coff-i386.o : coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
526 libcoff.h coffcode.h coffswap.h
527 aout64.o : aout64.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
528 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
530 aout32.o : aout32.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
531 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
533 sunos.o : sunos.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
534 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
535 $(INCDIR)/aout/ar.h aout-target.h
536 demo64.o : demo64.c aoutf1.h $(INCDIR)/aout/sun4.h \
537 libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
538 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
539 coff-i960.o : coff-i960.c $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h \
540 libcoff.h coffcode.h coffswap.h
543 oasys.o : oasys.c $(INCDIR)/oasys.h liboasys.h
544 ieee.o : ieee.c $(INCDIR)/ieee.h libieee.h
545 aout0.o : aout0.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 ecoff.o : ecoff.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/ar.h \
549 $(INCDIR)/aout/ranlib.h libaout.h $(INCDIR)/aout/aout64.h \
550 $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \
551 $(INCDIR)/coff/ecoff.h libcoff.h libecoff.h
552 ecofflink.o : ecofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
553 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h
554 coff-m68k.o : coff-m68k.c $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \
555 libcoff.h coffcode.h coffswap.h
556 coff-u68k.o : coff-u68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \
557 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
558 coff-apollo.o : coff-apollo.c $(INCDIR)/coff/apollo.h \
559 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
560 coff-a29k.o : coff-a29k.c $(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h \
561 libcoff.h coffcode.h coffswap.h
562 coff-rs6000.o : coff-rs6000.c $(INCDIR)/coff/internal.h \
563 $(INCDIR)/coff/rs6000.h libcoff.h coffcode.h coffswap.h
564 coff-sparc.o : coff-sparc.c $(INCDIR)/coff/sparc.h \
565 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
566 coffgen.o : coffgen.c $(INCDIR)/coff/internal.h libcoff.h
568 section.o : section.c
570 syms.o : syms.c $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
571 stab-syms.o : stab-syms.c libaout.h $(INCDIR)/aout/aout64.h \
572 $(INCDIR)/aout/stab.def
573 reloc.o : reloc.c $(INCDIR)/bfdlink.h
576 coff-m88k.o : coff-m88k.c $(INCDIR)/coff/m88k.h $(INCDIR)/coff/internal.h \
577 libcoff.h coffcode.h coffswap.h
578 coff-mips.o : coff-mips.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
579 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
580 $(INCDIR)/coff/mips.h libcoff.h libecoff.h coffswap.h \
582 coff-sh.o : coff-sh.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \
583 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
584 trad-core.o : trad-core.c libaout.h
585 cisco-core.o : cisco-core.c
586 newsos3.o : newsos3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
587 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
589 i386aout.o : i386aout.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
590 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
591 i386linux.o : i386linux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
592 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
594 netbsd386.o : netbsd386.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
595 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
596 i386mach3.o : i386mach3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
597 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
599 i386os9k.o : i386os9k.c $(INCDIR)/bfdlink.h libaout.h \
601 bout.o : bout.c $(INCDIR)/bfdlink.h genlink.h $(INCDIR)/bout.h \
602 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
603 aout-adobe.o : aout-adobe.c $(INCDIR)/aout/adobe.h \
604 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
605 coff-we32k.o : coff-we32k.c $(INCDIR)/coff/we32k.h \
606 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
607 i386bsd.o : i386bsd.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
608 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
609 i386dynix.o : i386dynix.c $(INCDIR)/aout/dynix3.h libaout.h \
610 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
611 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
612 cpu-h8300.o : cpu-h8300.c
613 cpu-i960.o : cpu-i960.c
614 cpu-sparc.o : cpu-sparc.c
615 cpu-m68k.o : cpu-m68k.c
616 cpu-m88k.o : cpu-m88k.c
617 cpu-vax.o : cpu-vax.c
618 cpu-mips.o : cpu-mips.c
619 cpu-a29k.o : cpu-a29k.c
620 cpu-i386.o : cpu-i386.c
621 cpu-powerpc.o : cpu-powerpc.c
622 cpu-rs6000.o : cpu-rs6000.c
623 coff-h8300.o : coff-h8300.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/h8300.h \
624 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
626 cpu-hppa.o : cpu-hppa.c
627 cpu-we32k.o : cpu-we32k.c
628 reloc16.o : reloc16.c $(INCDIR)/bfdlink.h genlink.h \
629 $(INCDIR)/coff/internal.h libcoff.h
630 mipsbsd.o : mipsbsd.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
631 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
633 elf.o : elf.c libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
634 $(INCDIR)/elf/external.h
635 elf32.o : elf32.c elfcode.h libelf.h $(INCDIR)/elf/common.h \
636 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
637 elf32-sparc.o : elf32-sparc.c libelf.h $(INCDIR)/elf/common.h \
638 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
639 elf32-i386.o : elf32-i386.c libelf.h $(INCDIR)/elf/common.h \
640 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
641 elf32-i860.o : elf32-i860.c libelf.h $(INCDIR)/elf/common.h \
642 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
643 elf32-m68k.o : elf32-m68k.c libelf.h $(INCDIR)/elf/common.h \
644 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
645 elf32-hppa.o : elf32-hppa.c $(INCDIR)/bfdlink.h libelf.h \
646 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
647 elf32-hppa.h libhppa.h $(INCDIR)/aout/aout64.h hppa_stubs.h \
649 elf32-m88k.o : elf32-m88k.c libelf.h $(INCDIR)/elf/common.h \
650 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
651 elf32-mips.o : elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \
652 libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
653 $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
654 $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
655 $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \
657 elf32-gen.o : elf32-gen.c libelf.h $(INCDIR)/elf/common.h \
658 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
659 elf32-ppc.o : elf32-ppc.c libelf.h $(INCDIR)/elf/common.h \
660 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
661 elf64.o : elf64.c elfcode.h libelf.h $(INCDIR)/elf/common.h \
662 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
663 elf64-gen.o : elf64-gen.c libelf.h $(INCDIR)/elf/common.h \
664 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf64-target.h
665 nlm.o : nlm.c libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
666 $(INCDIR)/nlm/external.h
667 nlm32.o : nlm32.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
668 $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
669 nlm32-i386.o : nlm32-i386.c $(INCDIR)/nlm/i386-ext.h \
670 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
671 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
672 nlm32-sparc.o : nlm32-sparc.c $(INCDIR)/nlm/sparc32-ext.h \
673 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
674 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
675 nlm32-alpha.o : nlm32-alpha.c $(INCDIR)/nlm/alpha-ext.h \
676 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
677 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
678 nlm64.o : nlm64.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
679 $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
680 coff-alpha.o : coff-alpha.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
681 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
682 $(INCDIR)/coff/alpha.h libcoff.h libecoff.h coffswap.h \
684 cpu-alpha.o : cpu-alpha.c
685 hp300bsd.o : hp300bsd.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
686 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
687 hp300hpux.o : hp300hpux.c $(INCDIR)/aout/hp300hpux.h \
688 aoutx.h $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
689 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
691 i386lynx.o : i386lynx.c libaout.h $(INCDIR)/aout/aout64.h \
692 aout-target.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
694 cf-i386lynx.o : cf-i386lynx.c coff-i386.c $(INCDIR)/coff/i386.h \
695 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
696 m68klynx.o : m68klynx.c libaout.h $(INCDIR)/aout/aout64.h \
697 aout-target.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
699 cf-m68klynx.o : cf-m68klynx.c coff-m68k.c $(INCDIR)/coff/m68k.h \
700 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
701 sparclynx.o : sparclynx.c $(INCDIR)/aout/sun4.h libaout.h \
702 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
703 $(INCDIR)/aout/ar.h aout-target.h
704 cf-sparclynx.o : cf-sparclynx.c coff-sparc.c $(INCDIR)/coff/sparc.h \
705 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
706 aix386-core.o : aix386-core.c $(INCDIR)/coff/i386.h \
707 $(INCDIR)/coff/internal.h libcoff.h
708 hpux-core.o : hpux-core.c
709 irix-core.o : irix-core.c
710 lynx-core.o : lynx-core.c
711 osf-core.o : osf-core.c
713 linker.o : linker.c $(INCDIR)/bfdlink.h genlink.h
715 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY