start-sanitize-powerpc-netware
[binutils-gdb.git] / bfd / Makefile.in
1 # Makefile template for Configure for the BFD library.
2 # Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
3 # Written by Cygnus Support.
4 #
5 # This file is part of BFD, the Binary File Descriptor library.
6 #
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2 of the License, or
10 # (at your option) any later version.
11 #
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
21 srcdir = .
22
23 prefix = /usr/local
24
25 exec_prefix = $(prefix)
26 bindir = $(exec_prefix)/bin
27 libdir = $(exec_prefix)/lib
28
29 datadir = $(prefix)/lib
30 mandir = $(prefix)/man
31 man1dir = $(mandir)/man1
32 man2dir = $(mandir)/man2
33 man3dir = $(mandir)/man3
34 man4dir = $(mandir)/man4
35 man5dir = $(mandir)/man5
36 man6dir = $(mandir)/man6
37 man7dir = $(mandir)/man7
38 man8dir = $(mandir)/man8
39 man9dir = $(mandir)/man9
40 infodir = $(prefix)/info
41 includedir = $(prefix)/include
42 oldincludedir =
43 docdir = doc
44
45 SHELL = /bin/sh
46
47 INSTALL = install -c
48 INSTALL_PROGRAM = $(INSTALL)
49 INSTALL_DATA = $(INSTALL)
50
51 AR = ar
52 AR_FLAGS = rc
53 CFLAGS = -g
54 BISON = bison
55 MAKEINFO = makeinfo
56 RANLIB = ranlib
57
58 CC_FOR_BUILD = $(CC)
59
60 INCDIR = $(srcdir)/../include
61 CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
62 DEP = mkdep
63
64 SUBDIRS = doc
65
66
67 TARGETLIB = libbfd.a
68
69 # bfd.h goes here, for now
70 BFD_H = bfd.h
71
72 # Some of these files should be in BFD*_BACKENDS below, but some programs
73 # won't link without them. So, in order for some of the minimal-bfd
74 # hacks to work, they're also included here for now.
75 # gdb: ecoff.o ecofflink.o elf.o
76 # objdump: elf.o
77 #
78 # Also, Jim Kingdon notes:
79 # Writing S-records should be included in all (or at least most)
80 # *-*-coff, *-*-aout, etc., configurations, because people will want to
81 # be able to use objcopy to create S-records. (S-records are not useful
82 # for the debugger, so if you are downloading things as S-records you
83 # need two copies of the executable, one to download and one for the
84 # debugger).
85 BFD_LIBS = \
86 archive.o archures.o bfd.o cache.o coffgen.o core.o ctor.o \
87 format.o init.o libbfd.o opncls.o reloc.o \
88 section.o syms.o targets.o hash.o linker.o \
89 ecoff.o ecofflink.o elf.o srec.o
90
91 # This list is alphabetized to make it easier to keep in sync
92 # with the decls and initializer in archures.c.
93 ALL_MACHINES = \
94 cpu-a29k.o \
95 cpu-alpha.o \
96 cpu-h8300.o \
97 cpu-h8500.o \
98 cpu-hppa.o \
99 cpu-i386.o \
100 cpu-i960.o \
101 cpu-m68k.o \
102 cpu-m88k.o \
103 cpu-mips.o \
104 cpu-powerpc.o \
105 cpu-rs6000.o \
106 cpu-sh.o \
107 cpu-sparc.o \
108 cpu-vax.o \
109 cpu-we32k.o \
110 cpu-z8k.o
111
112 # The .o files needed by all of the 32 bit vectors that are configured into
113 # target_vector in targets.c if configured with --with-targets=all.
114 BFD32_BACKENDS = \
115 aout-adobe.o \
116 aout32.o \
117 bout.o \
118 cf-i386lynx.o \
119 cf-m68klynx.o \
120 cf-sparclynx.o \
121 coff-a29k.o \
122 coff-apollo.o \
123 coff-h8300.o \
124 coff-h8500.o \
125 coff-i386.o \
126 coff-i960.o \
127 coff-m68k.o \
128 coff-m88k.o \
129 coff-mips.o \
130 coff-rs6000.o \
131 coff-sh.o \
132 coff-u68k.o \
133 coff-we32k.o \
134 coff-z8k.o \
135 elf32-gen.o \
136 elf32-hppa.o \
137 elf32-i386.o \
138 elf32-i860.o \
139 elf32-m68k.o \
140 elf32-m88k.o \
141 elf32-mips.o \
142 elf32-powerpc.o \
143 elf32-sparc.o \
144 elf32.o \
145 hp300hpux.o \
146 som.o \
147 i386aout.o \
148 i386bsd.o \
149 i386linux.o \
150 i386lynx.o \
151 netbsd386.o \
152 i386mach3.o \
153 ieee.o \
154 m68klynx.o \
155 mipsbsd.o \
156 newsos3.o \
157 nlm.o \
158 nlm32-i386.o \
159 nlm32-sparc.o \
160 $(start-sanitize-powerpc-netware) \
161 nlm32-powerpc.o \
162 $(end-sanitize-powerpc-netware) \
163 nlm32.o \
164 oasys.o \
165 reloc16.o \
166 sparclynx.o \
167 stab-syms.o \
168 sunos.o
169
170 # The .o files needed by all of the 64 bit vectors that are configured into
171 # target_vector in targets.c if configured with --with-targets=all
172 # and --with-64-bit-bfd.
173 BFD64_BACKENDS = \
174 aout64.o \
175 coff-alpha.o \
176 demo64.o \
177 elf64-gen.o \
178 elf64.o \
179 nlm32-alpha.o \
180 nlm64.o
181
182 OPTIONAL_BACKENDS = \
183 aix386-core.o \
184 hpux-core.o \
185 irix-core.o \
186 lynx-core.o \
187 osf-core.o \
188 trad-core.o
189
190 # These are defined by configure.in:
191 # WORDSIZE=32
192 # BFD_BACKENDS = $(BFD32_BACKENDS)
193
194 all:
195
196 #### host and target dependent Makefile fragments come in here.
197 ###
198
199 FLAGS_TO_PASS = \
200 "prefix=$(prefix)" \
201 "exec_prefix=$(exec_prefix)" \
202 "against=$(against)" \
203 "AR=$(AR)" \
204 "AR_FLAGS=$(AR_FLAGS)" \
205 "CC=$(CC)" \
206 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
207 "CFLAGS=$(CFLAGS)" \
208 "RANLIB=$(RANLIB)" \
209 "MAKEINFO=$(MAKEINFO)" \
210 "INSTALL=$(INSTALL)" \
211 "INSTALL_DATA=$(INSTALL_DATA)" \
212 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
213 "BISON=$(BISON)"
214
215 ALL_CFLAGS=$(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES)
216 .c.o:
217 $(CC) -c $(ALL_CFLAGS) $<
218
219 # C source files that correspond to .o's.
220 CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c \
221 archures.c coff-i386.c aout64.c aout32.c sunos.c demo64.c \
222 coff-i960.c srec.c tekhex.c oasys.c ieee.c \
223 ecoff.c ecofflink.c coff-m68k.c coff-u68k.c coff-apollo.c \
224 coff-a29k.c coff-rs6000.c coff-sparc.c coffgen.c format.c \
225 section.c core.c syms.c stab-syms.c reloc.c init.c ctor.c \
226 coff-m88k.c coff-mips.c coff-sh.c trad-core.c newsos3.c \
227 i386aout.c i386linux.c netbsd386.c i386mach3.c bout.c aout-adobe.c coff-we32k.c \
228 i386bsd.c cpu-h8300.c cpu-i960.c cpu-sparc.c cpu-m68k.c \
229 cpu-m88k.c cpu-vax.c cpu-mips.c cpu-a29k.c cpu-i386.c cpu-powerpc.c \
230 cpu-rs6000.c coff-h8300.c som.c cpu-hppa.c cpu-we32k.c reloc16.c \
231 mipsbsd.c cpu-sh.c \
232 elf.c elf32.c elf32-sparc.c elf32-i386.c elf32-i860.c elf32-m68k.c \
233 elf32-hppa.c elf32-m88k.c elf32-mips.c elf32-gen.c elf32-powerpc.c \
234 elf64.c elf64-gen.c \
235 nlm.c nlm32.c nlm32-i386.c nlm32-sparc.c nlm32-alpha.c \
236 nlm64.c coff-alpha.c cpu-alpha.c \
237 hp300bsd.c hp300hpux.c \
238 i386lynx.c cf-i386lynx.c m68klynx.c cf-m68klynx.c \
239 sparclynx.c cf-sparclynx.c aix386-core.c hpux-core.c \
240 irix-core.c lynx-core.c osf-core.c hash.c linker.c
241
242 HFILES = aout-target.h aoutf1.h aoutx.h coffcode.h \
243 coffswap.h ecoffswap.h elf32-hppa.h elf32-target.h elf64-target.h \
244 elfcode.h hppa_stubs.h libaout.h libbfd.h \
245 libcoff.h libecoff.h libelf.h libhppa.h libieee.h libnlm.h \
246 liboasys.h nlm-target.h nlmcode.h som.h genlink.h
247
248 STAGESTUFF = $(TARGETLIB) $(OFILES)
249
250 all: Makefile $(TARGETLIB)
251 @$(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
252
253 .NOEXPORT:
254 MAKEOVERRIDES=
255
256 .PHONY: check installcheck
257 check:
258 @echo No testsuites exist for the BFD library. Nothing to check.
259
260 installcheck:
261 @echo No testsuites exist for the BFD library. Nothing to check.
262
263 info dvi : force
264 @$(MAKE) subdir_do DO=$@ "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
265
266 clean-info:
267 @$(MAKE) subdir_do DO=clean-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
268
269 install-info: force
270 @$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
271
272 diststuff: info
273
274 # Various kinds of .o files to put in libbfd.a:
275 # BFD_LIBS Generic routines, always needed.
276 # BFD_BACKENDS Routines the configured targets need.
277 # BFD_MACHINES Architecture-specific routines the configured targets need.
278 # HDEPFILES Routines the host needs, regardless of target.
279 # TDEPFILES Routines the target needs, regardless of host.
280 OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) $(HDEPFILES) $(TDEPFILES)
281
282 ofiles : Makefile
283 rm -f ofiles
284 f=""; \
285 for i in $(OFILES) ; do \
286 case " $$f " in \
287 *" $$i "*) ;; \
288 *) f="$$f $$i" ;; \
289 esac ; \
290 done ; \
291 echo $$f > ofiles
292
293 $(TARGETLIB): $(OFILES) ofiles
294 rm -f $(TARGETLIB)
295 @echo ofiles = `cat ofiles`
296 $(AR) $(AR_FLAGS) $(TARGETLIB) `cat ofiles`
297 $(RANLIB) $(TARGETLIB)
298
299 # When compiling archures.c and targets.c, supply the default target
300 # info from configure.
301
302
303 targets.o: targets.c Makefile
304 $(CC) -c $(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) $(TDEFAULTS) $<
305
306 archures.o: archures.c Makefile
307 $(CC) -c $(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) $(TDEFAULTS) $<
308
309 subdir_do: force
310 @for i in $(DODIRS); do \
311 if [ -d ./$$i ] ; then \
312 if (cd ./$$i; \
313 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
314 else exit 1 ; fi ; \
315 else true ; fi ; \
316 done
317
318 tags etags: TAGS
319
320 TAGS: force
321 etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c
322
323 do_mostlyclean:
324 rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout
325 do_clean: do_mostlyclean
326 rm -f libbfd.a TAGS bfd.h stmp-bfd.h ofiles
327 do_distclean: do_clean
328 rm -f Makefile config.status sysdep.h
329
330 # Should we remove $(srcdir)/libcoff.h $(srcdir)/libbfd.h $(srcdir)/bfd-in2.h?
331 # make-stds.texi says it depends on whether they can be regenerated using
332 # this makefile. Well, they can, but only via an explicit "make headers";
333 # the makefile does not regenerate them as needed. So I guess we should not
334 # remove them in realclean.
335 do_realclean: do_distclean
336
337 mostlyclean: do_mostlyclean
338 $(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
339 clean: do_clean
340 $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
341 distclean:
342 $(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
343 $(MAKE) do_distclean
344 clobber realclean:
345 $(MAKE) subdir_do DO=realclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
346 $(MAKE) do_realclean
347
348 # Mark everything as depending on config.status, since the timestamp on
349 # sysdep.h might actually move backwards if we reconfig and relink it
350 # to a different hosts/h-xxx.h file. This will force a recompile anyway.
351 BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/obstack.h
352 RECONFIG = config.status
353 $(BFD_LIBS): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
354 $(BFD_MACHINES): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
355 $(BFD_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
356 $(OPTIONAL_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
357
358 # Get around a Sun Make bug in SunOS 4.1.1 with VPATH
359 cpu-i386.o:cpu-i386.c
360 cpu-z8k.o: cpu-z8k.c
361 cpu-h8500.o: cpu-h8500.c
362 cpu-we32k.o: cpu-we32k.c
363
364 saber:
365 #suppress 65 on bfd_map_over_sections
366 #suppress 66 on bfd_map_over_sections
367 #suppress 67 on bfd_map_over_sections
368 #suppress 68 on bfd_map_over_sections
369 #suppress 69 on bfd_map_over_sections
370 #suppress 70 on bfd_map_over_sections
371 #suppress 110 in bfd_map_over_sections
372 #suppress 112 in bfd_map_over_sections
373 #suppress 530
374 #suppress 590 in swap_exec_header
375 #suppress 590 in _bfd_dummy_core_file_matches_executable_p
376 #suppress 590 in bfd_dont_truncate_arname
377 #suppress 590 on ignore
378 #suppress 590 on abfd
379 #setopt load_flags $(CFLAGS)
380 #load $(CFILES)
381
382
383 #-----------------------------------------------------------------------------
384 # 'STANDARD' GNU/960 TARGETS BELOW THIS POINT
385 #
386 # 'VERSION' file must be present and contain a string of the form "x.y"
387 #-----------------------------------------------------------------------------
388
389 ver960.c: FORCE
390 rm -f ver960.c
391 echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c
392
393
394 # This target should be invoked before building a new release.
395 # 'VERSION' file must be present and contain a string of the form "x.y"
396 #
397 roll:
398 @V=`cat VERSION` ; \
399 MAJ=`sed 's/\..*//' VERSION` ; \
400 MIN=`sed 's/.*\.//' VERSION` ; \
401 V=$$MAJ.`expr $$MIN + 1` ; \
402 rm -f VERSION ; \
403 echo $$V >VERSION ; \
404 echo Version $$V
405
406 # Dummy target to force execution of dependent targets.
407 #
408 force:
409
410 install:
411 $(INSTALL_DATA) libbfd.a $(libdir)/libbfd.a
412 $(RANLIB) $(libdir)/libbfd.a
413 # Install BFD include file, and others that it needs. Install them
414 # both in GCC's include directory, and in the system include dir
415 # if configured as $(oldincludedir) -- which it usually isnt.
416 $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
417 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
418 $(INSTALL_DATA) $(INCDIR)/obstack.h $(includedir)/obstack.h
419 -if test -z "$(oldincludedir)"; then true; else \
420 test -d $(oldincludedir) || mkdir $(oldincludedir); \
421 $(INSTALL_DATA) $(BFD_H) $(oldincludedir)/bfd.h; \
422 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h; \
423 $(INSTALL_DATA) $(INCDIR)/obstack.h $(oldincludedir)/obstack.h; \
424 $(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS); \
425 fi
426
427 Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag)
428 $(SHELL) config.status
429
430 # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
431 .dep: dep.sed $(CFILES) $(HFILES) bfd.h
432 rm -f .dep1
433 $(MAKE) DEP=$(DEP) .dep1
434 sed -f dep.sed <.dep1 >.dep
435
436 # This rule really wants a mkdep that runs "gcc -MM".
437 .dep1: $(CFILES)
438 rm -f .dep2
439 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
440 $(DEP) -f .dep2 $(ALL_CFLAGS) $?
441 $(srcdir)/../move-if-change .dep2 .dep1
442
443 dep.sed: dep-in.sed config.status
444 sed <$(srcdir)/dep-in.sed >dep.sed \
445 -e 's!@BFD_H@!$(BFD_H)!' \
446 -e 's!@INCDIR@!$(INCDIR)!' \
447 -e 's!@srcdir@!$(srcdir)!'
448
449 dep: .dep
450 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
451 cat .dep >> tmp-Makefile
452 $(srcdir)/../move-if-change tmp-Makefile Makefile
453
454 dep-in: .dep
455 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
456 cat .dep >> tmp-Makefile.in
457 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
458
459 host-aout.o: Makefile
460
461 # The following program can be used to generate a simple config file
462 # which can be folded into an h-XXX file for a new host, with some editing.
463 aout-params.h: gen-aout
464 ./gen-aout host > aout-params.h
465 gen-aout: $(srcdir)/gen-aout.c Makefile
466 $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
467
468 BFDIN_H= $(srcdir)/bfd-in2.h
469
470 $(BFD_H): stmp-bfd.h ; @true
471
472 # The file ../include/bfd.h is from earlier attempts to get this right.
473 # If the file is still there, kill it.
474 stmp-bfd.h : $(srcdir)/bfd-in2.h Makefile
475 rm -f bfd.h-new 64 ../include/bfd.h
476 -grep BFD_HOST_64_BIT sysdep.h > 64
477 sed -e 's/@WORDSIZE@/$(WORDSIZE)/' -e '/64-bit.*sysdep.h/ r 64' < $(srcdir)/bfd-in2.h > bfd.h-new
478 $(srcdir)/../move-if-change bfd.h-new $(BFD_H)
479 rm -f 64
480 touch stmp-bfd.h
481
482 # Could really use a "copy-if-change"...
483 headers:
484 (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
485 cp $(docdir)/bfd.h bfd-in2.h-new
486 $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
487 cp $(docdir)/libbfd.h libbfd.h-new
488 $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
489 cp $(docdir)/libcoff.h libcoff.h-new
490 $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
491
492 bfd.info:
493 (cd $(docdir); $(MAKE) bfd.info $(FLAGS_TO_PASS))
494
495 bfd.dvi:
496 (cd $(docdir); $(MAKE) bfd.dvi $(FLAGS_TO_PASS))
497
498 bfd.ps:
499 (cd $(docdir); $(MAKE) bfd.ps $(FLAGS_TO_PASS))
500
501 # What appears below is generated by a hacked mkdep using gcc -MM.
502
503 # DO NOT DELETE THIS LINE -- mkdep uses it.
504 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
505
506 libbfd.o : libbfd.c
507 opncls.o : opncls.c
508 bfd.o : bfd.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
509 $(INCDIR)/coff/sym.h libcoff.h libecoff.h $(INCDIR)/coff/ecoff.h \
510 libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
511 $(INCDIR)/elf/external.h
512 archive.o : archive.c $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h
513 targets.o : targets.c
514 cache.o : cache.c
515 archures.o : archures.c
516 coff-i386.o : coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
517 libcoff.h coffcode.h coffswap.h
518 aout64.o : aout64.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
519 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
520 $(INCDIR)/aout/ar.h
521 aout32.o : aout32.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
522 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
523 $(INCDIR)/aout/ar.h
524 sunos.o : sunos.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
525 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
526 $(INCDIR)/aout/ar.h aout-target.h
527 demo64.o : demo64.c aoutf1.h $(INCDIR)/aout/sun4.h \
528 libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
529 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
530 coff-i960.o : coff-i960.c $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h \
531 libcoff.h coffcode.h coffswap.h
532 srec.o : srec.c
533 tekhex.o : tekhex.c
534 oasys.o : oasys.c $(INCDIR)/oasys.h liboasys.h
535 ieee.o : ieee.c $(INCDIR)/ieee.h libieee.h
536 ecoff.o : ecoff.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/ar.h \
537 $(INCDIR)/aout/ranlib.h libaout.h $(INCDIR)/aout/aout64.h \
538 $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \
539 $(INCDIR)/coff/ecoff.h libcoff.h libecoff.h
540 ecofflink.o : ecofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
541 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h
542 coff-m68k.o : coff-m68k.c $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \
543 libcoff.h coffcode.h coffswap.h
544 coff-u68k.o : coff-u68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \
545 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
546 coff-apollo.o : coff-apollo.c $(INCDIR)/coff/apollo.h \
547 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
548 coff-a29k.o : coff-a29k.c $(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h \
549 libcoff.h coffcode.h coffswap.h
550 coff-rs6000.o : coff-rs6000.c $(INCDIR)/coff/internal.h \
551 $(INCDIR)/coff/rs6000.h libcoff.h coffcode.h coffswap.h
552 coff-sparc.o : coff-sparc.c $(INCDIR)/coff/sparc.h \
553 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
554 coffgen.o : coffgen.c $(INCDIR)/coff/internal.h libcoff.h
555 format.o : format.c
556 section.o : section.c
557 core.o : core.c
558 syms.o : syms.c $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
559 stab-syms.o : stab-syms.c libaout.h $(INCDIR)/aout/aout64.h \
560 $(INCDIR)/aout/stab.def
561 reloc.o : reloc.c $(INCDIR)/bfdlink.h
562 init.o : init.c
563 ctor.o : ctor.c
564 coff-m88k.o : coff-m88k.c $(INCDIR)/coff/m88k.h $(INCDIR)/coff/internal.h \
565 libcoff.h coffcode.h coffswap.h
566 coff-mips.o : coff-mips.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
567 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
568 $(INCDIR)/coff/mips.h libcoff.h libecoff.h coffswap.h \
569 ecoffswap.h
570 coff-sh.o : coff-sh.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \
571 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
572 trad-core.o : trad-core.c libaout.h
573 newsos3.o : newsos3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
574 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
575 aout-target.h
576 i386aout.o : i386aout.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
577 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
578 i386linux.o : i386linux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
579 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
580 aout-target.h
581 netbsd386.o : netbsd386.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
582 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
583 i386mach3.o : i386mach3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
584 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
585 aout-target.h
586 bout.o : bout.c $(INCDIR)/bfdlink.h $(INCDIR)/bout.h \
587 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
588 aout-adobe.o : aout-adobe.c $(INCDIR)/aout/adobe.h \
589 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
590 coff-we32k.o : coff-we32k.c $(INCDIR)/coff/we32k.h \
591 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
592 i386bsd.o : i386bsd.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
593 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
594 cpu-h8300.o : cpu-h8300.c
595 cpu-i960.o : cpu-i960.c
596 cpu-sparc.o : cpu-sparc.c
597 cpu-m68k.o : cpu-m68k.c
598 cpu-m88k.o : cpu-m88k.c
599 cpu-vax.o : cpu-vax.c
600 cpu-mips.o : cpu-mips.c
601 cpu-a29k.o : cpu-a29k.c
602 cpu-i386.o : cpu-i386.c
603 cpu-powerpc.o : cpu-powerpc.c
604 cpu-rs6000.o : cpu-rs6000.c
605 coff-h8300.o : coff-h8300.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/h8300.h \
606 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
607 som.o : som.c
608 cpu-hppa.o : cpu-hppa.c
609 cpu-we32k.o : cpu-we32k.c
610 reloc16.o : reloc16.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
611 libcoff.h
612 mipsbsd.o : mipsbsd.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
613 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
614 cpu-sh.o : cpu-sh.c
615 elf.o : elf.c libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
616 $(INCDIR)/elf/external.h
617 elf32.o : elf32.c elfcode.h libelf.h $(INCDIR)/elf/common.h \
618 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
619 elf32-sparc.o : elf32-sparc.c libelf.h $(INCDIR)/elf/common.h \
620 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
621 elf32-i386.o : elf32-i386.c libelf.h $(INCDIR)/elf/common.h \
622 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
623 elf32-i860.o : elf32-i860.c libelf.h $(INCDIR)/elf/common.h \
624 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
625 elf32-m68k.o : elf32-m68k.c libelf.h $(INCDIR)/elf/common.h \
626 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
627 elf32-hppa.o : elf32-hppa.c $(INCDIR)/bfdlink.h libelf.h \
628 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
629 elf32-hppa.h libhppa.h $(INCDIR)/aout/aout64.h hppa_stubs.h \
630 elf32-target.h
631 elf32-m88k.o : elf32-m88k.c libelf.h $(INCDIR)/elf/common.h \
632 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
633 elf32-mips.o : elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \
634 libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
635 $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
636 $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
637 $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \
638 elf32-target.h
639 elf32-gen.o : elf32-gen.c libelf.h $(INCDIR)/elf/common.h \
640 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
641 elf32-powerpc.o : elf32-powerpc.c libelf.h $(INCDIR)/elf/common.h \
642 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h
643 elf64.o : elf64.c elfcode.h libelf.h $(INCDIR)/elf/common.h \
644 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
645 elf64-gen.o : elf64-gen.c libelf.h $(INCDIR)/elf/common.h \
646 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf64-target.h
647 nlm.o : nlm.c libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
648 $(INCDIR)/nlm/external.h
649 nlm32.o : nlm32.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
650 $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
651 nlm32-i386.o : nlm32-i386.c $(INCDIR)/nlm/i386-ext.h \
652 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
653 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
654 nlm32-sparc.o : nlm32-sparc.c $(INCDIR)/nlm/sparc32-ext.h \
655 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
656 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
657 nlm32-alpha.o : nlm32-alpha.c $(INCDIR)/nlm/alpha-ext.h \
658 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
659 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
660 nlm64.o : nlm64.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
661 $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
662 coff-alpha.o : coff-alpha.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
663 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
664 $(INCDIR)/coff/alpha.h libcoff.h libecoff.h coffswap.h \
665 ecoffswap.h
666 cpu-alpha.o : cpu-alpha.c
667 hp300bsd.o : hp300bsd.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \
668 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
669 hp300hpux.o : hp300hpux.c $(INCDIR)/aout/hp300hpux.h \
670 aoutx.h $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
671 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
672 aout-target.h
673 i386lynx.o : i386lynx.c libaout.h $(INCDIR)/aout/aout64.h \
674 aout-target.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
675 $(INCDIR)/aout/ar.h
676 cf-i386lynx.o : cf-i386lynx.c coff-i386.c $(INCDIR)/coff/i386.h \
677 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
678 m68klynx.o : m68klynx.c libaout.h $(INCDIR)/aout/aout64.h \
679 aout-target.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
680 $(INCDIR)/aout/ar.h
681 cf-m68klynx.o : cf-m68klynx.c coff-m68k.c $(INCDIR)/coff/m68k.h \
682 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
683 sparclynx.o : sparclynx.c $(INCDIR)/aout/sun4.h libaout.h \
684 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
685 $(INCDIR)/aout/ar.h aout-target.h
686 cf-sparclynx.o : cf-sparclynx.c coff-sparc.c $(INCDIR)/coff/sparc.h \
687 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
688 aix386-core.o : aix386-core.c $(INCDIR)/coff/i386.h \
689 $(INCDIR)/coff/internal.h libcoff.h
690 hpux-core.o : hpux-core.c
691 irix-core.o : irix-core.c
692 lynx-core.o : lynx-core.c
693 osf-core.o : osf-core.c
694 hash.o : hash.c
695 linker.o : linker.c $(INCDIR)/bfdlink.h genlink.h
696
697 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY