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