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