make target selection fully configurable
[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
76 # objdump: elf.o
77 BFD_LIBS = libbfd.o opncls.o bfd.o archive.o targets.o cache.o \
78 archures.o core.o section.o format.o syms.o reloc.o init.o \
79 ctor.o seclet.o coffgen.o ecoff.o reloc16.o elf.o
80
81 ALL_MACHINES = cpu-h8300.o cpu-i960.o cpu-sparc.o cpu-m68k.o cpu-m88k.o \
82 cpu-vax.o cpu-mips.o cpu-a29k.o cpu-i386.o cpu-rs6000.o cpu-hppa.o \
83 cpu-z8k.o cpu-we32k.o cpu-h8500.o cpu-alpha.o cpu-sh.o
84
85 BFD32_BACKENDS = \
86 elf32.o elf32-sparc.o elf32-i386.o elf32-i860.o elf32-m68k.o \
87 elf32-hppa.o elf32-mips.o elf32-m88k.o elf32-gen.o \
88 nlm.o \
89 nlm32.o nlm32-gen.o nlm32-i386.o \
90 aout32.o sunos.o newsos3.o mipsbsd.o aout-adobe.o \
91 i386aout.o i386bsd.o i386linux.o i386lynx.o \
92 hp300bsd.o hp300hpux.o bout.o \
93 coff-i960.o coff-a29k.o coff-m68k.o coff-u68k.o \
94 coff-i386.o coff-m88k.o \
95 coff-rs6000.o coff-h8300.o coff-h8500.o coff-z8k.o coff-we32k.o \
96 coff-mips.o coff-sh.o \
97 hppa.o oasys.o ieee.o srec.o \
98 stab-syms.o
99
100 BFD64_BACKENDS = \
101 elf64.o elf64-gen.o \
102 nlm64.o nlm64-gen.o \
103 aout64.o demo64.o coff-alpha.o
104
105 OPTIONAL_BACKENDS = trad-core.o sco-core.o aix386-core.o hpux-core.o
106
107 # These are defined by configure.in:
108 # WORDSIZE=32
109 # BFD_BACKENDS = $(BFD32_BACKENDS)
110
111 all:
112
113 #### host and target dependent Makefile fragments come in here.
114 ###
115
116 FLAGS_TO_PASS = \
117 "prefix=$(prefix)" \
118 "exec_prefix=$(exec_prefix)" \
119 "against=$(against)" \
120 "AR=$(AR)" \
121 "AR_FLAGS=$(AR_FLAGS)" \
122 "CC=$(CC)" \
123 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
124 "CFLAGS=$(CFLAGS)" \
125 "RANLIB=$(RANLIB)" \
126 "MAKEINFO=$(MAKEINFO)" \
127 "INSTALL=$(INSTALL)" \
128 "INSTALL_DATA=$(INSTALL_DATA)" \
129 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
130 "BISON=$(BISON)"
131
132 .c.o:
133 $(CC) -c $(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) $<
134
135 # C source files that correspond to .o's.
136 CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c \
137 archures.c coff-i386.c aout64.c aout32.c sunos.c demo64.c \
138 coff-i960.c srec.c tekhex.c oasys.c ieee.c \
139 ecoff.c coff-m68k.c coff-u68k.c \
140 coff-a29k.c coff-rs6000.c coffgen.c format.c \
141 section.c core.c syms.c stab-syms.c reloc.c init.c ctor.c \
142 seclet.c coff-m88k.c coff-mips.c coff-sh.c trad-core.c newsos3.c \
143 i386aout.c i386linux.c bout.c aout-adobe.c coff-we32k.c \
144 i386bsd.c cpu-h8300.c cpu-i960.c cpu-sparc.c cpu-m68k.c \
145 cpu-m88k.c cpu-vax.c cpu-mips.c cpu-a29k.c cpu-i386.c \
146 cpu-rs6000.c coff-h8300.c hppa.c cpu-hppa.c cpu-we32k.c reloc16.c \
147 mipsbsd.c cpu-sh.c \
148 elf32.c elf32-sparc.c elf32-i386.c elf32-i860.c elf32-m68k.c \
149 elf32-hppa.c elf32-m88k.c elf32-mips.c elf32-gen.c \
150 elf64.c elf64-gen.c \
151 nlm32.c nlm32-gen.c nlm32-i386.c nlm64.c nlm64-gen.c \
152 coff-alpha.c cpu-alpha.c \
153 hp300bsd.c hp300hpux.c i386lynx.c
154
155 STAGESTUFF = $(TARGETLIB) $(OFILES)
156
157 all: Makefile $(TARGETLIB)
158 @$(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
159
160 .NOEXPORT:
161 MAKEOVERRIDES=
162
163 check:
164 installcheck:
165
166 info dvi : force
167 @$(MAKE) subdir_do DO=$@ "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
168
169 clean-info:
170 @$(MAKE) subdir_do DO=clean-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
171
172 install-info: force
173 @$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
174
175 # Various kinds of .o files to put in libbfd.a:
176 # BFD_LIBS Generic routines, always needed.
177 # BFD_BACKENDS Routines the configured targets need.
178 # BFD_MACHINES Architecture-specific routines the configured targets need.
179 # HDEPFILES Routines the host needs, regardless of target.
180 # TDEPFILES Routines the target needs, regardless of host.
181 OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) $(HDEPFILES) $(TDEPFILES)
182
183 ofiles : Makefile
184 rm -f ofiles
185 f=""; \
186 for i in $(OFILES) ; do \
187 case " $$f " in \
188 *" $$i "*) ;; \
189 *) f="$$f $$i" ;; \
190 esac ; \
191 done ; \
192 echo $$f > ofiles
193
194 $(TARGETLIB): $(OFILES) ofiles
195 rm -f $(TARGETLIB)
196 @echo ofiles = `cat ofiles`
197 $(AR) $(AR_FLAGS) $(TARGETLIB) `cat ofiles`
198 $(RANLIB) $(TARGETLIB)
199
200 # When compiling archures.c and targets.c, supply the default target
201 # info from configure.
202
203
204 targets.o: targets.c Makefile
205 $(CC) -c $(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) $(TDEFAULTS) $<
206
207 archures.o: archures.c Makefile
208 $(CC) -c $(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) $(TDEFAULTS) $<
209
210 subdir_do: force
211 @for i in $(DODIRS); do \
212 if [ -d ./$$i ] ; then \
213 if (cd ./$$i; \
214 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
215 else exit 1 ; fi ; \
216 else true ; fi ; \
217 done
218
219 tags etags: TAGS
220
221 TAGS: force
222 etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c
223
224 do_mostlyclean:
225 rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout
226 do_clean: do_mostlyclean
227 rm -f libbfd.a TAGS bfd.h stmp-bfd.h ofiles
228 do_distclean: do_clean
229 rm -f Makefile config.status sysdep.h
230 do_realclean: do_distclean
231 rm -f $(srcdir)/libcoff.h $(srcdir)/libbfd.h $(srcdir)/bfd-in2.h
232
233 mostlyclean: do_mostlyclean
234 $(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
235 clean: do_clean
236 $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
237 distclean:
238 $(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
239 make do_distclean
240 clobber realclean:
241 $(MAKE) subdir_do DO=realclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
242 make do_realclean
243
244 # Mark everything as depending on config.status, since the timestamp on
245 # sysdep.h might actually move backwards if we reconfig and relink it
246 # to a different hosts/h-xxx.h file. This will force a recompile anyway.
247 RECONFIG = config.status
248 $(BFD_LIBS): libbfd.h $(BFD_H) $(RECONFIG)
249 $(BFD_MACHINES): libbfd.h $(BFD_H) $(RECONFIG)
250 $(BFD_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG)
251 $(OPTIONAL_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG)
252
253 # Get around a Sun Make bug in SunOS 4.1.1 with VPATH
254 cpu-i386.o:cpu-i386.c
255 cpu-z8k.o: cpu-z8k.c
256 cpu-h8500.o: cpu-h8500.c
257 cpu-we32k.o: cpu-we32k.c
258
259 saber:
260 #suppress 65 on bfd_map_over_sections
261 #suppress 66 on bfd_map_over_sections
262 #suppress 67 on bfd_map_over_sections
263 #suppress 68 on bfd_map_over_sections
264 #suppress 69 on bfd_map_over_sections
265 #suppress 70 on bfd_map_over_sections
266 #suppress 110 in bfd_map_over_sections
267 #suppress 112 in bfd_map_over_sections
268 #suppress 530
269 #suppress 590 in swap_exec_header
270 #suppress 590 in _bfd_dummy_core_file_matches_executable_p
271 #suppress 590 in bfd_dont_truncate_arname
272 #suppress 590 on ignore
273 #suppress 590 on abfd
274 #setopt load_flags $(CFLAGS)
275 #load $(CFILES)
276
277
278 #-----------------------------------------------------------------------------
279 # 'STANDARD' GNU/960 TARGETS BELOW THIS POINT
280 #
281 # 'VERSION' file must be present and contain a string of the form "x.y"
282 #-----------------------------------------------------------------------------
283
284 ver960.c: FORCE
285 rm -f ver960.c
286 echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c
287
288
289 # This target should be invoked before building a new release.
290 # 'VERSION' file must be present and contain a string of the form "x.y"
291 #
292 roll:
293 @V=`cat VERSION` ; \
294 MAJ=`sed 's/\..*//' VERSION` ; \
295 MIN=`sed 's/.*\.//' VERSION` ; \
296 V=$$MAJ.`expr $$MIN + 1` ; \
297 rm -f VERSION ; \
298 echo $$V >VERSION ; \
299 echo Version $$V
300
301 # Dummy target to force execution of dependent targets.
302 #
303 force:
304
305 install:
306 $(INSTALL_DATA) libbfd.a $(libdir)/libbfd.a
307 $(RANLIB) $(libdir)/libbfd.a
308 # Install BFD include file, and others that it needs. Install them
309 # both in GCC's include directory, and in the system include dir
310 # if configured as $(oldincludedir) -- which it usually isnt.
311 $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
312 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
313 $(INSTALL_DATA) $(INCDIR)/obstack.h $(includedir)/obstack.h
314 -if test -z "$(oldincludedir)"; then true; else \
315 test -d $(oldincludedir) || mkdir $(oldincludedir); \
316 $(INSTALL_DATA) $(BFD_H) $(oldincludedir)/bfd.h; \
317 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h; \
318 $(INSTALL_DATA) $(INCDIR)/obstack.h $(oldincludedir)/obstack.h; \
319 @$(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS); \
320 fi
321
322 Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag)
323 $(SHELL) config.status
324
325 dep: $(CFILES)
326 mkdep $(CFLAGS) $?
327
328 host-aout.o: Makefile
329
330 # The following program can be used to generate a simple config file
331 # which can be folded into an h-XXX file for a new host, with some editing.
332 aout-params.h: gen-aout
333 ./gen-aout > aout-params.h
334 gen-aout: $(srcdir)/gen-aout.c Makefile
335 $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
336
337 BFDIN_H= $(srcdir)/bfd-in2.h
338
339 $(BFD_H): stmp-bfd.h ; @true
340
341 # The file ../include/bfd.h is from earlier attempts to get this right.
342 # If the file is still there, kill it.
343 stmp-bfd.h : $(srcdir)/bfd-in2.h Makefile
344 rm -f bfd.h-new 64 ../include/bfd.h
345 -grep HOST_64_BIT sysdep.h > 64
346 sed -e 's/@WORDSIZE@/$(WORDSIZE)/' -e '/64-bit.*sysdep.h/ r 64' < $(srcdir)/bfd-in2.h > bfd.h-new
347 $(srcdir)/../move-if-change bfd.h-new $(BFD_H)
348 rm -f 64
349 touch stmp-bfd.h
350
351 # Could really use a "copy-if-change"...
352 headers:
353 (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
354 cp $(docdir)/bfd.h bfd-in2.h-new
355 $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
356 cp $(docdir)/libbfd.h libbfd.h-new
357 $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
358 cp $(docdir)/libcoff.h libcoff.h-new
359 $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
360
361 bfd.info:
362 (cd $(docdir); $(MAKE) bfd.info $(FLAGS_TO_PASS))
363
364 bfd.dvi:
365 (cd $(docdir); $(MAKE) bfd.dvi $(FLAGS_TO_PASS))
366
367 bfd.ps:
368 (cd $(docdir); $(MAKE) bfd.ps $(FLAGS_TO_PASS))
369
370 # What appears below is generated by a hacked mkdep using gcc -MM.
371
372 # DO NOT DELETE THIS LINE -- mkdep uses it.
373 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
374
375 libbfd.o : libbfd.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h
376 opncls.o : opncls.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h
377 bfd.o : bfd.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \
378 $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h libecoff.h
379 archive.o : archive.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \
380 $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h
381 targets.o : targets.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h
382 cache.o : cache.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h
383 archures.o : archures.c $(BFD_H) $(INCDIR)/obstack.h
384 aout64.o : aout64.c
385 aout32.o : aout32.c aoutx.h $(BFD_H) $(INCDIR)/ansidecl.h \
386 $(INCDIR)/obstack.h libaout.h libbfd.h $(INCDIR)/aout/aout64.h \
387 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
388 sunos.o : sunos.c aoutf1.h $(BFD_H) $(INCDIR)/obstack.h \
389 libaout.h libbfd.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
390 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
391 hp300hpux.o : hp300hpux.c aoutx.h $(BFD_H) $(INCDIR)/ansidecl.h \
392 $(INCDIR)/obstack.h libaout.h libbfd.h $(INCDIR)/aout/aout64.h \
393 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
394 $(INCDIR)/aout/hp300hpux.h aout-target.h
395 hp300bsd.o : hp300bsd.c aoutx.h $(BFD_H) $(INCDIR)/ansidecl.h \
396 $(INCDIR)/obstack.h libaout.h libbfd.h $(INCDIR)/aout/aout64.h \
397 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
398 aout-target.h
399 demo64.o : demo64.c
400
401 srec.o : srec.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h
402 oasys.o : oasys.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \
403 $(INCDIR)/oasys.h liboasys.h
404 ieee.o : ieee.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \
405 $(INCDIR)/ieee.h libieee.h
406 coff-h8300.o: coff-h8300.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \
407 $(INCDIR)/coff/h8300.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
408 coffswap.h seclet.h
409 coff-h8500.o: coff-h8500.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \
410 $(INCDIR)/coff/h8300.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
411 coffswap.h seclet.h
412 coff-a29k.o: coff-a29k.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \
413 $(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
414 coffswap.h seclet.h
415 coff-i386.o: coff-i386.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \
416 $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
417 coffswap.h seclet.h
418 coff-i960.o: coff-i960.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \
419 $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
420 coffswap.h seclet.h
421 coff-m68k.o: coff-m68k.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \
422 $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
423 coffswap.h seclet.h
424 coff-m88k.o: coff-m88k.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \
425 $(INCDIR)/coff/m88k.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
426 coffswap.h seclet.h
427 ecoff.o: ecoff.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \
428 $(INCDIR)/coff/internal.h libecoff.h libcoff.h seclet.h \
429 $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h libaout.h \
430 $(INCDIR)/aout/aout64.h $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/sym.h \
431 $(INCDIR)/coff/symconst.h
432 coff-mips.o: coff-mips.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \
433 $(INCDIR)/coff/mips.h $(INCDIR)/coff/internal.h libcoff.h \
434 coffswap.h seclet.h libecoff.h ecoffswap.h $(INCDIR)/coff/ecoff.h
435 coff-alpha.o: coff-alpha.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \
436 $(INCDIR)/coff/alpha.h $(INCDIR)/coff/internal.h libcoff.h \
437 coffswap.h seclet.h libecoff.h ecoffswap.h $(INCDIR)/coff/ecoff.h
438 coff-rs6000.o: coff-rs6000.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \
439 $(INCDIR)/coff/rs6000.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
440 coffswap.h seclet.h
441 coff-z8k.o: coff-z8k.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \
442 $(INCDIR)/coff/z8k.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
443 coffswap.h seclet.h
444 coff-we32k.o: coff-we32k.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \
445 $(INCDIR)/coff/we32k.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
446 coffswap.h seclet.h
447 coffgen.o: coffgen.c $(BFD_H) libbfd.h $(INCDIR)/coff/internal.h \
448 libcoff.h
449 reloc16.o: reloc16.c $(BFD_H) libbfd.h $(INCDIR)/coff/internal.h \
450 libcoff.h seclet.h
451 format.o : format.c $(BFD_H) \
452 $(INCDIR)/obstack.h libbfd.h
453 section.o : section.c $(BFD_H) \
454 $(INCDIR)/obstack.h libbfd.h
455 core.o : core.c $(BFD_H) \
456 $(INCDIR)/obstack.h libbfd.h
457 syms.o : syms.c $(BFD_H) \
458 $(INCDIR)/obstack.h libbfd.h
459 syms.o : stab-syms.c
460 reloc.o : reloc.c $(BFD_H) \
461 $(INCDIR)/obstack.h libbfd.h
462
463 trad-core.o : trad-core.c $(BFD_H) $(INCDIR)/obstack.h \
464 libbfd.h libaout.h
465 sco-core.o : sco-core.c $(BFD_H) libbfd.h libcoff.h \
466 $(INCDIR)/obstack.h $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h
467 aix386-core.o : aix386-core.c $(BFD_H) libbfd.h libcoff.h \
468 $(INCDIR)/obstack.h $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h
469 hpux-core.o : hpux-core.c $(BFD_H) libbfd.h libhppa.h
470
471 newsos3.o : newsos3.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \
472 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
473 $(INCDIR)/aout/ar.h libaout.h
474 i386lynx.o : i386lynx.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \
475 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
476 $(INCDIR)/aout/ar.h libaout.h
477 i386aout.o : i386aout.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \
478 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
479 $(INCDIR)/aout/ar.h libaout.h
480 i386linux.o : i386linux.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \
481 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
482 $(INCDIR)/aout/ar.h libaout.h
483 i386bsd.o : i386bsd.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \
484 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
485 $(INCDIR)/aout/ar.h libaout.h
486 bout.o : bout.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \
487 $(INCDIR)/bout.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
488 mipsbsd.o : mipsbsd.c $(BFD_H) $(INCDIR)/obstack.h \
489 libbfd.h libaout.h
490 elf.o : elf.c libelf.h libbfd.h $(BFD_H) $(INCDIR)/obstack.h
491 elf32.o : elf32.c elfcode.h libelf.h libbfd.h $(BFD_H) \
492 $(INCDIR)/obstack.h
493 elf32-sparc.o : elf32-sparc.c libelf.h libbfd.h $(BFD_H) \
494 $(INCDIR)/obstack.h
495 elf32-m68k.o : elf32-m68k.c libelf.h libbfd.h $(BFD_H) \
496 $(INCDIR)/obstack.h
497 elf32-i860.o : elf32-i860.c libelf.h libbfd.h $(BFD_H) \
498 $(INCDIR)/obstack.h
499 elf32-i386.o : elf32-i386.c libelf.h libbfd.h $(BFD_H) \
500 $(INCDIR)/obstack.h
501 elf32-hppa.o : elf32-hppa.c $(srcdir)/elf32-hppa.h libelf.h libbfd.h \
502 $(BFD_H) $(INCDIR)/obstack.h
503 elf32-m88k.o : elf32-m88k.c libelf.h libbfd.h \
504 $(BFD_H) $(INCDIR)/obstack.h
505 elf32-mips.o : elf32-mips.c libelf.h libbfd.h \
506 $(BFD_H) $(INCDIR)/obstack.h
507 elf32-gen.o : elf32-gen.c libelf.h libbfd.h \
508 $(BFD_H) $(INCDIR)/obstack.h
509 elf64.o : elf64.c elfcode.h libelf.h libbfd.h $(BFD_H) \
510 $(INCDIR)/obstack.h
511 elf64-gen.o : elf64-gen.c libelf.h libbfd.h \
512 $(BFD_H) $(INCDIR)/obstack.h
513 nlm.o : nlm.c libnlm.h libbfd.h $(BFD_H) $(INCDIR)/obstack.h
514 nlm32.o : nlm32.c nlmcode.h libnlm.h libbfd.h $(BFD_H) \
515 $(INCDIR)/obstack.h
516 nlm32-gen.o : nlm32-gen.c libnlm.h libbfd.h \
517 $(BFD_H) $(INCDIR)/obstack.h nlm-target.h
518 nlm32-i386.o : nlm32-i386.c libnlm.h libbfd.h \
519 $(BFD_H) $(INCDIR)/obstack.h nlm-target.h
520 nlm64.o : nlm64.c nlmcode.h libnlm.h libbfd.h $(BFD_H) \
521 $(INCDIR)/obstack.h
522 nlm64-gen.o : nlm64-gen.c libnlm.h libbfd.h \
523 $(BFD_H) $(INCDIR)/obstack.h nlm-target.h
524
525 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
526