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