(HFILES): New variable, for use in "make dep".
[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 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 seclet.o section.o syms.o targets.o \
89 ecoff.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-rs6000.o \
105 cpu-sh.o \
106 cpu-sparc.o \
107 cpu-vax.o \
108 cpu-we32k.o \
109 cpu-z8k.o
110
111 # The .o files needed by all of the 32 bit vectors that are configured into
112 # target_vector in targets.c if configured with --with-targets=all.
113 BFD32_BACKENDS = \
114 aout-adobe.o \
115 aout32.o \
116 bout.o \
117 coff-a29k.o \
118 coff-apollo.o \
119 coff-h8300.o \
120 coff-h8500.o \
121 coff-i386.o \
122 coff-i960.o \
123 coff-m68k.o \
124 coff-m88k.o \
125 coff-mips.o \
126 coff-rs6000.o \
127 coff-sh.o \
128 coff-u68k.o \
129 coff-we32k.o \
130 coff-z8k.o \
131 elf32-gen.o \
132 elf32-hppa.o \
133 elf32-i386.o \
134 elf32-i860.o \
135 elf32-m68k.o \
136 elf32-m88k.o \
137 elf32-mips.o \
138 elf32-sparc.o \
139 elf32.o \
140 hp300hpux.o \
141 som.o \
142 i386aout.o \
143 i386bsd.o \
144 i386linux.o \
145 i386lynx.o \
146 i386lynx-cf.o \
147 netbsd386.o \
148 i386mach3.o \
149 ieee.o \
150 m68klynx.o \
151 m68klynx-cf.o \
152 mipsbsd.o \
153 newsos3.o \
154 nlm.o \
155 nlm32-gen.o \
156 nlm32-i386.o \
157 nlm32.o \
158 oasys.o \
159 reloc16.o \
160 stab-syms.o \
161 sunos.o
162
163 # The .o files needed by all of the 64 bit vectors that are configured into
164 # target_vector in targets.c if configured with --with-targets=all
165 # and --with-64-bit-bfd.
166 BFD64_BACKENDS = \
167 aout64.o \
168 coff-alpha.o \
169 demo64.o \
170 elf64-gen.o \
171 elf64.o \
172 nlm64-gen.o \
173 nlm64.o
174
175 OPTIONAL_BACKENDS = \
176 aix386-core.o \
177 hpux-core.o \
178 lynx-core.o \
179 osf-core.o \
180 sco-core.o \
181 trad-core.o
182
183 # These are defined by configure.in:
184 # WORDSIZE=32
185 # BFD_BACKENDS = $(BFD32_BACKENDS)
186
187 all:
188
189 #### host and target dependent Makefile fragments come in here.
190 ###
191
192 FLAGS_TO_PASS = \
193 "prefix=$(prefix)" \
194 "exec_prefix=$(exec_prefix)" \
195 "against=$(against)" \
196 "AR=$(AR)" \
197 "AR_FLAGS=$(AR_FLAGS)" \
198 "CC=$(CC)" \
199 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
200 "CFLAGS=$(CFLAGS)" \
201 "RANLIB=$(RANLIB)" \
202 "MAKEINFO=$(MAKEINFO)" \
203 "INSTALL=$(INSTALL)" \
204 "INSTALL_DATA=$(INSTALL_DATA)" \
205 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
206 "BISON=$(BISON)"
207
208 ALL_CFLAGS=$(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES)
209 .c.o:
210 $(CC) -c $(ALL_CFLAGS) $<
211
212 # C source files that correspond to .o's.
213 CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c \
214 archures.c coff-i386.c aout64.c aout32.c sunos.c demo64.c \
215 coff-i960.c srec.c tekhex.c oasys.c ieee.c \
216 ecoff.c coff-m68k.c coff-u68k.c coff-apollo.c \
217 coff-a29k.c coff-rs6000.c coffgen.c format.c \
218 section.c core.c syms.c stab-syms.c reloc.c init.c ctor.c \
219 seclet.c coff-m88k.c coff-mips.c coff-sh.c trad-core.c newsos3.c \
220 i386aout.c i386linux.c netbsd386.c i386mach3.c bout.c aout-adobe.c coff-we32k.c \
221 i386bsd.c cpu-h8300.c cpu-i960.c cpu-sparc.c cpu-m68k.c \
222 cpu-m88k.c cpu-vax.c cpu-mips.c cpu-a29k.c cpu-i386.c \
223 cpu-rs6000.c coff-h8300.c som.c cpu-hppa.c cpu-we32k.c reloc16.c \
224 mipsbsd.c cpu-sh.c \
225 elf.c elf32.c elf32-sparc.c elf32-i386.c elf32-i860.c elf32-m68k.c \
226 elf32-hppa.c elf32-m88k.c elf32-mips.c elf32-gen.c \
227 elf64.c elf64-gen.c \
228 nlm.c nlm32.c nlm32-gen.c nlm32-i386.c nlm64.c nlm64-gen.c \
229 coff-alpha.c cpu-alpha.c \
230 hp300bsd.c hp300hpux.c \
231 i386lynx.c i386lynx-cf.c m68klynx.c m68klynx-cf.c
232
233 HFILES = aout-target.h aoutf1.h aoutx.h coffcode.h \
234 coffswap.h ecoffswap.h elf32-hppa.h elf32-target.h elf64-target.h \
235 elfcode.h hppa_stubs.h libaout.h libbfd.h \
236 libcoff.h libecoff.h libelf.h libhppa.h libieee.h libnlm.h \
237 liboasys.h nlm-target.h nlmcode.h seclet.h som.h
238
239 STAGESTUFF = $(TARGETLIB) $(OFILES)
240
241 all: Makefile $(TARGETLIB)
242 @$(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
243
244 .NOEXPORT:
245 MAKEOVERRIDES=
246
247 check:
248 installcheck:
249
250 info dvi : force
251 @$(MAKE) subdir_do DO=$@ "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
252
253 clean-info:
254 @$(MAKE) subdir_do DO=clean-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
255
256 install-info: force
257 @$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
258
259 # Various kinds of .o files to put in libbfd.a:
260 # BFD_LIBS Generic routines, always needed.
261 # BFD_BACKENDS Routines the configured targets need.
262 # BFD_MACHINES Architecture-specific routines the configured targets need.
263 # HDEPFILES Routines the host needs, regardless of target.
264 # TDEPFILES Routines the target needs, regardless of host.
265 OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) $(HDEPFILES) $(TDEPFILES)
266
267 ofiles : Makefile
268 rm -f ofiles
269 f=""; \
270 for i in $(OFILES) ; do \
271 case " $$f " in \
272 *" $$i "*) ;; \
273 *) f="$$f $$i" ;; \
274 esac ; \
275 done ; \
276 echo $$f > ofiles
277
278 $(TARGETLIB): $(OFILES) ofiles
279 rm -f $(TARGETLIB)
280 @echo ofiles = `cat ofiles`
281 $(AR) $(AR_FLAGS) $(TARGETLIB) `cat ofiles`
282 $(RANLIB) $(TARGETLIB)
283
284 # When compiling archures.c and targets.c, supply the default target
285 # info from configure.
286
287
288 targets.o: targets.c Makefile
289 $(CC) -c $(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) $(TDEFAULTS) $<
290
291 archures.o: archures.c Makefile
292 $(CC) -c $(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) $(TDEFAULTS) $<
293
294 subdir_do: force
295 @for i in $(DODIRS); do \
296 if [ -d ./$$i ] ; then \
297 if (cd ./$$i; \
298 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
299 else exit 1 ; fi ; \
300 else true ; fi ; \
301 done
302
303 tags etags: TAGS
304
305 TAGS: force
306 etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c
307
308 do_mostlyclean:
309 rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout
310 do_clean: do_mostlyclean
311 rm -f libbfd.a TAGS bfd.h stmp-bfd.h ofiles
312 do_distclean: do_clean
313 rm -f Makefile config.status sysdep.h
314 do_realclean: do_distclean
315 rm -f $(srcdir)/libcoff.h $(srcdir)/libbfd.h $(srcdir)/bfd-in2.h
316
317 mostlyclean: do_mostlyclean
318 $(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
319 clean: do_clean
320 $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
321 distclean:
322 $(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
323 $(MAKE) do_distclean
324 clobber realclean:
325 $(MAKE) subdir_do DO=realclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
326 $(MAKE) do_realclean
327
328 # Mark everything as depending on config.status, since the timestamp on
329 # sysdep.h might actually move backwards if we reconfig and relink it
330 # to a different hosts/h-xxx.h file. This will force a recompile anyway.
331 BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/obstack.h
332 RECONFIG = config.status
333 $(BFD_LIBS): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
334 $(BFD_MACHINES): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
335 $(BFD_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
336 $(OPTIONAL_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
337
338 # Get around a Sun Make bug in SunOS 4.1.1 with VPATH
339 cpu-i386.o:cpu-i386.c
340 cpu-z8k.o: cpu-z8k.c
341 cpu-h8500.o: cpu-h8500.c
342 cpu-we32k.o: cpu-we32k.c
343
344 saber:
345 #suppress 65 on bfd_map_over_sections
346 #suppress 66 on bfd_map_over_sections
347 #suppress 67 on bfd_map_over_sections
348 #suppress 68 on bfd_map_over_sections
349 #suppress 69 on bfd_map_over_sections
350 #suppress 70 on bfd_map_over_sections
351 #suppress 110 in bfd_map_over_sections
352 #suppress 112 in bfd_map_over_sections
353 #suppress 530
354 #suppress 590 in swap_exec_header
355 #suppress 590 in _bfd_dummy_core_file_matches_executable_p
356 #suppress 590 in bfd_dont_truncate_arname
357 #suppress 590 on ignore
358 #suppress 590 on abfd
359 #setopt load_flags $(CFLAGS)
360 #load $(CFILES)
361
362
363 #-----------------------------------------------------------------------------
364 # 'STANDARD' GNU/960 TARGETS BELOW THIS POINT
365 #
366 # 'VERSION' file must be present and contain a string of the form "x.y"
367 #-----------------------------------------------------------------------------
368
369 ver960.c: FORCE
370 rm -f ver960.c
371 echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c
372
373
374 # This target should be invoked before building a new release.
375 # 'VERSION' file must be present and contain a string of the form "x.y"
376 #
377 roll:
378 @V=`cat VERSION` ; \
379 MAJ=`sed 's/\..*//' VERSION` ; \
380 MIN=`sed 's/.*\.//' VERSION` ; \
381 V=$$MAJ.`expr $$MIN + 1` ; \
382 rm -f VERSION ; \
383 echo $$V >VERSION ; \
384 echo Version $$V
385
386 # Dummy target to force execution of dependent targets.
387 #
388 force:
389
390 install:
391 $(INSTALL_DATA) libbfd.a $(libdir)/libbfd.a
392 $(RANLIB) $(libdir)/libbfd.a
393 # Install BFD include file, and others that it needs. Install them
394 # both in GCC's include directory, and in the system include dir
395 # if configured as $(oldincludedir) -- which it usually isnt.
396 $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
397 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
398 $(INSTALL_DATA) $(INCDIR)/obstack.h $(includedir)/obstack.h
399 -if test -z "$(oldincludedir)"; then true; else \
400 test -d $(oldincludedir) || mkdir $(oldincludedir); \
401 $(INSTALL_DATA) $(BFD_H) $(oldincludedir)/bfd.h; \
402 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h; \
403 $(INSTALL_DATA) $(INCDIR)/obstack.h $(oldincludedir)/obstack.h; \
404 @$(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS); \
405 fi
406
407 Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag)
408 $(SHELL) config.status
409
410 # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
411 .dep: dep.sed $(CFILES) $(HFILES) bfd.h
412 rm -f .dep1
413 $(MAKE) DEP=$(DEP) .dep1
414 sed -f dep.sed <.dep1 >.dep
415
416 # This rule really wants a mkdep that runs "gcc -MM".
417 .dep1: $(CFILES)
418 rm -f .dep2
419 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
420 $(DEP) -f .dep2 $(ALL_CFLAGS) $?
421 $(srcdir)/../move-if-change .dep2 .dep1
422
423 dep.sed: dep-in.sed config.status
424 sed <$(srcdir)/dep-in.sed >dep.sed \
425 -e 's!@BFD_H@!$(BFD_H)!' \
426 -e 's!@INCDIR@!$(INCDIR)!' \
427 -e 's!@srcdir@!$(srcdir)!'
428
429 dep: .dep
430 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
431 cat .dep >> tmp-Makefile
432 $(srcdir)/../move-if-change tmp-Makefile Makefile
433
434 dep-in: .dep
435 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
436 cat .dep >> tmp-Makefile.in
437 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
438
439 host-aout.o: Makefile
440
441 # The following program can be used to generate a simple config file
442 # which can be folded into an h-XXX file for a new host, with some editing.
443 aout-params.h: gen-aout
444 ./gen-aout > aout-params.h
445 gen-aout: $(srcdir)/gen-aout.c Makefile
446 $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
447
448 BFDIN_H= $(srcdir)/bfd-in2.h
449
450 $(BFD_H): stmp-bfd.h ; @true
451
452 # The file ../include/bfd.h is from earlier attempts to get this right.
453 # If the file is still there, kill it.
454 stmp-bfd.h : $(srcdir)/bfd-in2.h Makefile
455 rm -f bfd.h-new 64 ../include/bfd.h
456 -grep HOST_64_BIT sysdep.h > 64
457 sed -e 's/@WORDSIZE@/$(WORDSIZE)/' -e '/64-bit.*sysdep.h/ r 64' < $(srcdir)/bfd-in2.h > bfd.h-new
458 $(srcdir)/../move-if-change bfd.h-new $(BFD_H)
459 rm -f 64
460 touch stmp-bfd.h
461
462 # Could really use a "copy-if-change"...
463 headers:
464 (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
465 cp $(docdir)/bfd.h bfd-in2.h-new
466 $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
467 cp $(docdir)/libbfd.h libbfd.h-new
468 $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
469 cp $(docdir)/libcoff.h libcoff.h-new
470 $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
471
472 bfd.info:
473 (cd $(docdir); $(MAKE) bfd.info $(FLAGS_TO_PASS))
474
475 bfd.dvi:
476 (cd $(docdir); $(MAKE) bfd.dvi $(FLAGS_TO_PASS))
477
478 bfd.ps:
479 (cd $(docdir); $(MAKE) bfd.ps $(FLAGS_TO_PASS))
480
481 # What appears below is generated by a hacked mkdep using gcc -MM.
482
483 # DO NOT DELETE THIS LINE -- mkdep uses it.
484 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
485
486 libbfd.o : libbfd.c
487 opncls.o : opncls.c
488 bfd.o : bfd.c \
489 $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \
490 libcoff.h libecoff.h libelf.h $(INCDIR)/elf/common.h \
491 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
492 archive.o : archive.c \
493 $(INCDIR)/aout/ar.h \
494 $(INCDIR)/aout/ranlib.h
495 targets.o : targets.c
496 cache.o : cache.c
497 archures.o : archures.c
498 coff-i386.o : coff-i386.c \
499 $(INCDIR)/coff/i386.h \
500 $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
501 seclet.h coffswap.h
502 aout64.o : aout64.c aoutx.h \
503 libaout.h \
504 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
505 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
506 aout32.o : aout32.c aoutx.h \
507 libaout.h \
508 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
509 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
510 sunos.o : sunos.c aoutf1.h \
511 $(INCDIR)/aout/sun4.h \
512 libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
513 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
514 demo64.o : demo64.c aoutf1.h \
515 $(INCDIR)/aout/sun4.h \
516 libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
517 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
518 coff-i960.o : coff-i960.c \
519 $(INCDIR)/coff/i960.h \
520 $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
521 seclet.h coffswap.h
522 srec.o : srec.c
523 tekhex.o : tekhex.c
524 oasys.o : oasys.c \
525 $(INCDIR)/oasys.h \
526 liboasys.h
527 ieee.o : ieee.c \
528 $(INCDIR)/ieee.h libieee.h
529 ecoff.o : ecoff.c \
530 seclet.h \
531 $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h libaout.h \
532 $(INCDIR)/aout/aout64.h $(INCDIR)/coff/internal.h \
533 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \
534 $(INCDIR)/coff/ecoff.h libcoff.h libecoff.h
535 coff-m68k.o : coff-m68k.c \
536 $(INCDIR)/coff/m68k.h \
537 $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
538 seclet.h coffswap.h
539 coff-u68k.o : coff-u68k.c coff-m68k.c \
540 $(INCDIR)/coff/m68k.h \
541 $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
542 seclet.h coffswap.h
543 coff-apollo.o : coff-apollo.c \
544 $(INCDIR)/coff/apollo.h \
545 $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
546 seclet.h coffswap.h
547 coff-a29k.o : coff-a29k.c \
548 $(INCDIR)/coff/a29k.h \
549 $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
550 seclet.h coffswap.h
551 coff-rs6000.o : coff-rs6000.c \
552 $(INCDIR)/coff/internal.h \
553 $(INCDIR)/coff/rs6000.h libcoff.h coffcode.h \
554 seclet.h coffswap.h
555 coffgen.o : coffgen.c \
556 $(INCDIR)/coff/internal.h \
557 seclet.h libcoff.h
558 format.o : format.c
559 section.o : section.c
560 core.o : core.c
561 syms.o : syms.c \
562 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
563 stab-syms.o : stab-syms.c \
564 libaout.h $(INCDIR)/aout/aout64.h \
565 $(INCDIR)/aout/stab.def
566 reloc.o : reloc.c \
567 seclet.h
568 init.o : init.c
569 ctor.o : ctor.c
570 seclet.o : seclet.c \
571 seclet.h \
572 $(INCDIR)/coff/internal.h
573 coff-m88k.o : coff-m88k.c \
574 $(INCDIR)/coff/m88k.h \
575 $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
576 seclet.h coffswap.h
577 coff-mips.o : coff-mips.c \
578 seclet.h \
579 $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \
580 $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
581 $(INCDIR)/coff/mips.h libcoff.h libecoff.h \
582 coffswap.h ecoffswap.h
583 coff-sh.o : coff-sh.c \
584 $(INCDIR)/coff/sh.h \
585 $(INCDIR)/coff/internal.h libcoff.h seclet.h \
586 coffcode.h coffswap.h
587 trad-core.o : trad-core.c \
588 libaout.h
589 newsos3.o : newsos3.c \
590 $(INCDIR)/aout/aout64.h \
591 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
592 $(INCDIR)/aout/ar.h libaout.h aout-target.h
593 i386aout.o : i386aout.c \
594 libaout.h \
595 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
596 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
597 i386linux.o : i386linux.c \
598 $(INCDIR)/aout/aout64.h \
599 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
600 $(INCDIR)/aout/ar.h libaout.h aout-target.h
601 netbsd386.o : netbsd386.c \
602 libaout.h \
603 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
604 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
605 i386mach3.o : i386mach3.c \
606 $(INCDIR)/aout/aout64.h \
607 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
608 $(INCDIR)/aout/ar.h libaout.h aout-target.h
609 bout.o : bout.c \
610 seclet.h $(INCDIR)/bout.h \
611 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
612 libaout.h
613 aout-adobe.o : aout-adobe.c \
614 $(INCDIR)/aout/adobe.h \
615 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
616 libaout.h
617 coff-we32k.o : coff-we32k.c \
618 $(INCDIR)/coff/we32k.h \
619 $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
620 seclet.h coffswap.h
621 i386bsd.o : i386bsd.c \
622 libaout.h \
623 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
624 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
625 cpu-h8300.o : cpu-h8300.c
626 cpu-i960.o : cpu-i960.c
627 cpu-sparc.o : cpu-sparc.c
628 cpu-m68k.o : cpu-m68k.c
629 cpu-m88k.o : cpu-m88k.c
630 cpu-vax.o : cpu-vax.c
631 cpu-mips.o : cpu-mips.c
632 cpu-a29k.o : cpu-a29k.c
633 cpu-i386.o : cpu-i386.c
634 cpu-rs6000.o : cpu-rs6000.c
635 coff-h8300.o : coff-h8300.c \
636 $(INCDIR)/coff/h8300.h \
637 $(INCDIR)/coff/internal.h seclet.h libcoff.h \
638 coffcode.h coffswap.h
639 som.o : som.c
640 cpu-hppa.o : cpu-hppa.c
641 cpu-we32k.o : cpu-we32k.c
642 reloc16.o : reloc16.c \
643 seclet.h \
644 $(INCDIR)/coff/internal.h libcoff.h
645 mipsbsd.o : mipsbsd.c \
646 libaout.h \
647 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
648 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
649 cpu-sh.o : cpu-sh.c
650 elf.o : elf.c \
651 libelf.h $(INCDIR)/elf/common.h \
652 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
653 elf32.o : elf32.c elfcode.h \
654 libelf.h \
655 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
656 $(INCDIR)/elf/external.h
657 elf32-sparc.o : elf32-sparc.c \
658 libelf.h \
659 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
660 $(INCDIR)/elf/external.h elf32-target.h
661 elf32-i386.o : elf32-i386.c \
662 libelf.h \
663 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
664 $(INCDIR)/elf/external.h elf32-target.h
665 elf32-i860.o : elf32-i860.c \
666 libelf.h \
667 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
668 $(INCDIR)/elf/external.h elf32-target.h
669 elf32-m68k.o : elf32-m68k.c \
670 libelf.h \
671 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
672 $(INCDIR)/elf/external.h elf32-target.h
673 elf32-hppa.o : elf32-hppa.c \
674 libelf.h \
675 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
676 $(INCDIR)/elf/external.h elf32-hppa.h libhppa.h \
677 $(INCDIR)/aout/aout64.h hppa_stubs.h elf32-target.h
678 elf32-m88k.o : elf32-m88k.c \
679 libelf.h \
680 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
681 $(INCDIR)/elf/external.h elf32-target.h
682 elf32-mips.o : elf32-mips.c \
683 libelf.h \
684 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
685 $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h \
686 elf32-target.h
687 elf32-gen.o : elf32-gen.c \
688 libelf.h \
689 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
690 $(INCDIR)/elf/external.h elf32-target.h
691 elf64.o : elf64.c elfcode.h \
692 libelf.h \
693 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
694 $(INCDIR)/elf/external.h
695 elf64-gen.o : elf64-gen.c \
696 libelf.h \
697 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
698 $(INCDIR)/elf/external.h elf64-target.h
699 nlm.o : nlm.c \
700 libnlm.h $(INCDIR)/nlm/common.h \
701 $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
702 nlm32.o : nlm32.c nlmcode.h \
703 libnlm.h \
704 $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
705 $(INCDIR)/nlm/external.h
706 nlm32-gen.o : nlm32-gen.c \
707 libnlm.h \
708 $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
709 $(INCDIR)/nlm/external.h nlm-target.h
710 nlm32-i386.o : nlm32-i386.c \
711 libnlm.h \
712 $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
713 $(INCDIR)/nlm/external.h nlm-target.h
714 nlm64.o : nlm64.c nlmcode.h \
715 libnlm.h \
716 $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
717 $(INCDIR)/nlm/external.h
718 nlm64-gen.o : nlm64-gen.c \
719 libnlm.h \
720 $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
721 $(INCDIR)/nlm/external.h nlm-target.h
722 coff-alpha.o : coff-alpha.c \
723 seclet.h \
724 $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \
725 $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
726 $(INCDIR)/coff/alpha.h libcoff.h libecoff.h \
727 coffswap.h ecoffswap.h
728 cpu-alpha.o : cpu-alpha.c
729 hp300bsd.o : hp300bsd.c \
730 libaout.h \
731 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
732 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
733 hp300hpux.o : hp300hpux.c $(INCDIR)/aout/hp300hpux.h \
734 aoutx.h \
735 libaout.h $(INCDIR)/aout/aout64.h \
736 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
737 $(INCDIR)/aout/ar.h aout-target.h
738 i386lynx.o : i386lynx.c \
739 libaout.h \
740 $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
741 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
742 i386lynx-cf.o : i386lynx-cf.c coff-i386.c \
743 \
744 $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
745 libcoff.h coffcode.h seclet.h coffswap.h
746 m68klynx.o : m68klynx.c \
747 libaout.h \
748 $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
749 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
750 m68klynx-cf.o : m68klynx-cf.c coff-m68k.c \
751 \
752 $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \
753 libcoff.h coffcode.h seclet.h coffswap.h
754
755 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY