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