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