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