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