* Makefile.in (INTERNAL_LDFLAGS): New macro. The new part is
[deliverable/binutils-gdb.git] / bfd / Makefile.in
CommitLineData
204ae00c
ILT
1# Makefile template for Configure for the BFD library.
2# Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
3c8a3c56
JG
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
99a42820 8# it under the terms of the GNU General Public License as published by
3c8a3c56
JG
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,
99a42820
RP
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.
3c8a3c56 16#
99a42820 17# You should have received a copy of the GNU General Public License
3c8a3c56
JG
18# along with this program; if not, write to the Free Software
19# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
99a42820 20
99a42820 21srcdir = .
fde8212e
RP
22
23prefix = /usr/local
24
5868184b
FF
25exec_prefix = $(prefix)
26bindir = $(exec_prefix)/bin
27libdir = $(exec_prefix)/lib
28
fde8212e 29datadir = $(prefix)/lib
5868184b 30mandir = $(prefix)/man
fde8212e
RP
31man1dir = $(mandir)/man1
32man2dir = $(mandir)/man2
33man3dir = $(mandir)/man3
34man4dir = $(mandir)/man4
35man5dir = $(mandir)/man5
36man6dir = $(mandir)/man6
37man7dir = $(mandir)/man7
38man8dir = $(mandir)/man8
39man9dir = $(mandir)/man9
5868184b 40infodir = $(prefix)/info
fde8212e 41includedir = $(prefix)/include
5868184b 42oldincludedir =
fbee3571 43docdir = doc
fde8212e
RP
44
45SHELL = /bin/sh
46
47INSTALL = install -c
48INSTALL_PROGRAM = $(INSTALL)
49INSTALL_DATA = $(INSTALL)
50
1b494bfa 51AR = ar
287c221d 52AR_FLAGS = rc
6e491a87 53CFLAGS = -g
fde8212e
RP
54BISON = bison
55MAKEINFO = makeinfo
56RANLIB = ranlib
57
51300bdb
KR
58CC_FOR_BUILD = $(CC)
59
d6a554ae 60INCDIR = $(srcdir)/../include
bb552c64 61CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
a5c6b4b3 62DEP = mkdep
12e7087f 63
f259290f 64SUBDIRS = doc
12e7087f 65
99a42820 66
5176a6bc 67TARGETLIB = libbfd.a
99a42820 68
a5220fb9 69# bfd.h goes here, for now
12f367a1 70BFD_H = bfd.h
99a42820 71
15db2044
KR
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.
13cadf76 75# gdb: ecoff.o elf.o
15db2044 76# objdump: elf.o
180acef5
DM
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).
01087713
DM
85BFD_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 \
ac0d500c 89 ecoff.o elf.o srec.o
63ffe5ef 90
01087713
DM
91# This list is alphabetized to make it easier to keep in sync
92# with the decls and initializer in archures.c.
93ALL_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.
bb552c64 113BFD32_BACKENDS = \
01087713
DM
114 aout-adobe.o \
115 aout32.o \
116 bout.o \
117 coff-a29k.o \
653dd82a 118 coff-apollo.o \
01087713
DM
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 \
d5a30a08 141 som.o \
01087713
DM
142 i386aout.o \
143 i386bsd.o \
144 i386linux.o \
145 i386lynx.o \
d5a30a08
ILT
146 i386lynx-cf.o \
147 netbsd386.o \
01087713
DM
148 i386mach3.o \
149 ieee.o \
d5a30a08
ILT
150 m68klynx.o \
151 m68klynx-cf.o \
01087713
DM
152 mipsbsd.o \
153 newsos3.o \
c3e964b9 154 nlm.o \
01087713
DM
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.
34075964 166BFD64_BACKENDS = \
01087713
DM
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
175OPTIONAL_BACKENDS = \
176 aix386-core.o \
177 hpux-core.o \
d5a30a08
ILT
178 lynx-core.o \
179 osf-core.o \
01087713
DM
180 sco-core.o \
181 trad-core.o
99a42820 182
34075964
PB
183# These are defined by configure.in:
184# WORDSIZE=32
185# BFD_BACKENDS = $(BFD32_BACKENDS)
34075964 186
bb552c64
JK
187all:
188
22e98743
SC
189#### host and target dependent Makefile fragments come in here.
190###
191
98c0c56d 192FLAGS_TO_PASS = \
287c221d
PB
193 "prefix=$(prefix)" \
194 "exec_prefix=$(exec_prefix)" \
98c0c56d
BK
195 "against=$(against)" \
196 "AR=$(AR)" \
197 "AR_FLAGS=$(AR_FLAGS)" \
198 "CC=$(CC)" \
51300bdb 199 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
98c0c56d
BK
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
d684720f 208ALL_CFLAGS=$(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES)
6e491a87 209.c.o:
d684720f 210 $(CC) -c $(ALL_CFLAGS) $<
6e491a87 211
99a42820 212# C source files that correspond to .o's.
a3b3dbdd
ILT
213CFILES = 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 \
4d09e8ac 215 coff-i960.c srec.c tekhex.c oasys.c ieee.c \
653dd82a 216 ecoff.c coff-m68k.c coff-u68k.c coff-apollo.c \
dae31cf5 217 coff-a29k.c coff-rs6000.c coffgen.c format.c \
a3b3dbdd 218 section.c core.c syms.c stab-syms.c reloc.c init.c ctor.c \
51300bdb 219 seclet.c coff-m88k.c coff-mips.c coff-sh.c trad-core.c newsos3.c \
d5a30a08 220 i386aout.c i386linux.c netbsd386.c i386mach3.c bout.c aout-adobe.c coff-we32k.c \
a3b3dbdd
ILT
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 \
d5a30a08 223 cpu-rs6000.c coff-h8300.c som.c cpu-hppa.c cpu-we32k.c reloc16.c \
51300bdb 224 mipsbsd.c cpu-sh.c \
653dd82a 225 elf.c elf32.c elf32-sparc.c elf32-i386.c elf32-i860.c elf32-m68k.c \
c55665ea
JK
226 elf32-hppa.c elf32-m88k.c elf32-mips.c elf32-gen.c \
227 elf64.c elf64-gen.c \
dae31cf5 228 nlm32.c nlm32-gen.c nlm32-i386.c nlm64.c nlm64-gen.c \
51300bdb 229 coff-alpha.c cpu-alpha.c \
d5a30a08
ILT
230 hp300bsd.c hp300hpux.c \
231 i386lynx.c i386lynx-cf.c m68klynx.c m68klynx-cf.c
63ffe5ef 232
5176a6bc
RP
233STAGESTUFF = $(TARGETLIB) $(OFILES)
234
fbee3571 235all: Makefile $(TARGETLIB)
98c0c56d 236 @$(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
5176a6bc 237
30662ca6 238.NOEXPORT:
204ae00c 239MAKEOVERRIDES=
30662ca6 240
5868184b 241check:
76019c92 242installcheck:
5868184b 243
74991624 244info dvi : force
9faacb92 245 @$(MAKE) subdir_do DO=$@ "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
2090ba83 246
5868184b 247clean-info:
98c0c56d 248 @$(MAKE) subdir_do DO=clean-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
5868184b 249
2090ba83 250install-info: force
98c0c56d 251 @$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
2090ba83 252
dcdfa32c
DM
253# Various kinds of .o files to put in libbfd.a:
254# BFD_LIBS Generic routines, always needed.
5f9a2245
DM
255# BFD_BACKENDS Routines the configured targets need.
256# BFD_MACHINES Architecture-specific routines the configured targets need.
dcdfa32c
DM
257# HDEPFILES Routines the host needs, regardless of target.
258# TDEPFILES Routines the target needs, regardless of host.
6a469027 259OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) $(HDEPFILES) $(TDEPFILES)
5176a6bc 260
c812942f 261ofiles : Makefile
15db2044 262 rm -f ofiles
2fdca021 263 f=""; \
c812942f 264 for i in $(OFILES) ; do \
2fdca021 265 case " $$f " in \
dae31cf5 266 *" $$i "*) ;; \
2fdca021
KR
267 *) f="$$f $$i" ;; \
268 esac ; \
269 done ; \
270 echo $$f > ofiles
c812942f
KR
271
272$(TARGETLIB): $(OFILES) ofiles
273 rm -f $(TARGETLIB)
274 @echo ofiles = `cat ofiles`
275 $(AR) $(AR_FLAGS) $(TARGETLIB) `cat ofiles`
276 $(RANLIB) $(TARGETLIB)
5176a6bc 277
98c0c56d
BK
278# When compiling archures.c and targets.c, supply the default target
279# info from configure.
280
281
51300bdb 282targets.o: targets.c Makefile
5f9a2245 283 $(CC) -c $(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) $(TDEFAULTS) $<
4a29cb1e 284
51300bdb 285archures.o: archures.c Makefile
5f9a2245 286 $(CC) -c $(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) $(TDEFAULTS) $<
98c0c56d 287
f259290f 288subdir_do: force
6e491a87 289 @for i in $(DODIRS); do \
5868184b
FF
290 if [ -d ./$$i ] ; then \
291 if (cd ./$$i; \
98c0c56d 292 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
f259290f
RP
293 else exit 1 ; fi ; \
294 else true ; fi ; \
295 done
296
99a42820
RP
297tags etags: TAGS
298
5176a6bc 299TAGS: force
453063fe 300 etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c
99a42820 301
ef2810d0
PB
302do_mostlyclean:
303 rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout
fbee3571 304do_clean: do_mostlyclean
15db2044 305 rm -f libbfd.a TAGS bfd.h stmp-bfd.h ofiles
ef2810d0 306do_distclean: do_clean
0e238aa7 307 rm -f Makefile config.status sysdep.h
ef2810d0 308do_realclean: do_distclean
15db2044 309 rm -f $(srcdir)/libcoff.h $(srcdir)/libbfd.h $(srcdir)/bfd-in2.h
ef2810d0
PB
310
311mostlyclean: do_mostlyclean
312 $(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
fbee3571 313clean: do_clean
ef2810d0 314 $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
0e238aa7 315distclean:
ef2810d0 316 $(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
180acef5 317 $(MAKE) do_distclean
0e238aa7 318clobber realclean:
ef2810d0 319 $(MAKE) subdir_do DO=realclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
180acef5 320 $(MAKE) do_realclean
99a42820 321
23d44ec9
JG
322# Mark everything as depending on config.status, since the timestamp on
323# sysdep.h might actually move backwards if we reconfig and relink it
324# to a different hosts/h-xxx.h file. This will force a recompile anyway.
d684720f 325BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/obstack.h
23d44ec9 326RECONFIG = config.status
d684720f
KR
327$(BFD_LIBS): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
328$(BFD_MACHINES): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
329$(BFD_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
330$(OPTIONAL_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS)
99a42820 331
cbdc7909
JG
332# Get around a Sun Make bug in SunOS 4.1.1 with VPATH
333cpu-i386.o:cpu-i386.c
fbee3571 334cpu-z8k.o: cpu-z8k.c
204ae00c 335cpu-h8500.o: cpu-h8500.c
fbee3571 336cpu-we32k.o: cpu-we32k.c
cbdc7909 337
99a42820
RP
338saber:
339 #suppress 65 on bfd_map_over_sections
340 #suppress 66 on bfd_map_over_sections
341 #suppress 67 on bfd_map_over_sections
342 #suppress 68 on bfd_map_over_sections
343 #suppress 69 on bfd_map_over_sections
344 #suppress 70 on bfd_map_over_sections
345 #suppress 110 in bfd_map_over_sections
346 #suppress 112 in bfd_map_over_sections
347 #suppress 530
348 #suppress 590 in swap_exec_header
349 #suppress 590 in _bfd_dummy_core_file_matches_executable_p
350 #suppress 590 in bfd_dont_truncate_arname
351 #suppress 590 on ignore
352 #suppress 590 on abfd
353 #setopt load_flags $(CFLAGS)
354 #load $(CFILES)
a5c6b4b3 355
99a42820
RP
356
357#-----------------------------------------------------------------------------
358# 'STANDARD' GNU/960 TARGETS BELOW THIS POINT
359#
360# 'VERSION' file must be present and contain a string of the form "x.y"
361#-----------------------------------------------------------------------------
362
363ver960.c: FORCE
364 rm -f ver960.c
365 echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c
366
367
368# This target should be invoked before building a new release.
369# 'VERSION' file must be present and contain a string of the form "x.y"
370#
371roll:
372 @V=`cat VERSION` ; \
373 MAJ=`sed 's/\..*//' VERSION` ; \
374 MIN=`sed 's/.*\.//' VERSION` ; \
375 V=$$MAJ.`expr $$MIN + 1` ; \
376 rm -f VERSION ; \
377 echo $$V >VERSION ; \
378 echo Version $$V
379
380# Dummy target to force execution of dependent targets.
381#
5176a6bc 382force:
99a42820 383
99a42820 384install:
fde8212e
RP
385 $(INSTALL_DATA) libbfd.a $(libdir)/libbfd.a
386 $(RANLIB) $(libdir)/libbfd.a
75ff7895
DZ
387# Install BFD include file, and others that it needs. Install them
388# both in GCC's include directory, and in the system include dir
389# if configured as $(oldincludedir) -- which it usually isnt.
a5220fb9 390 $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
6cabab78
DZ
391 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
392 $(INSTALL_DATA) $(INCDIR)/obstack.h $(includedir)/obstack.h
5d4c714e
DM
393 -if test -z "$(oldincludedir)"; then true; else \
394 test -d $(oldincludedir) || mkdir $(oldincludedir); \
395 $(INSTALL_DATA) $(BFD_H) $(oldincludedir)/bfd.h; \
396 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h; \
397 $(INSTALL_DATA) $(INCDIR)/obstack.h $(oldincludedir)/obstack.h; \
398 @$(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS); \
399 fi
99a42820 400
dae31cf5
ILT
401Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag)
402 $(SHELL) config.status
a5c6b4b3 403
d684720f
KR
404# This rule really wants a mkdep that runs "gcc -MM".
405.dep1: $(CFILES)
406 rm -f .dep1 .dep2
407 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
408 $(DEP) -f .dep2 $(ALL_CFLAGS) $?
653dd82a 409 $(srcdir)/../move-if-change .dep2 .dep1
d684720f
KR
410
411dep.sed: dep-in.sed Makefile
412 sed <$(srcdir)/dep-in.sed >dep.sed \
413 -e 's!@BFD_H@!$(BFD_H)!' \
414 -e 's!@INCDIR@!$(INCDIR)!' \
415 -e 's!@srcdir@!$(srcdir)!'
416
417.dep: .dep1 dep.sed
418 sed -f dep.sed <.dep1 >.dep
419
420dep: .dep
421 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
422 cat .dep >> tmp-Makefile
653dd82a
SG
423 $(srcdir)/../move-if-change tmp-Makefile Makefile
424
425dep-in: .dep
426 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
427 cat .dep >> tmp-Makefile.in
428 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
6f715d66 429
5868184b 430host-aout.o: Makefile
6f715d66 431
5868184b
FF
432# The following program can be used to generate a simple config file
433# which can be folded into an h-XXX file for a new host, with some editing.
d01cd8fc
FF
434aout-params.h: gen-aout
435 ./gen-aout > aout-params.h
5868184b
FF
436gen-aout: $(srcdir)/gen-aout.c Makefile
437 $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
6f715d66 438
34075964
PB
439BFDIN_H= $(srcdir)/bfd-in2.h
440
a5220fb9 441$(BFD_H): stmp-bfd.h ; @true
75ff7895 442
12f367a1
KR
443# The file ../include/bfd.h is from earlier attempts to get this right.
444# If the file is still there, kill it.
15db2044
KR
445stmp-bfd.h : $(srcdir)/bfd-in2.h Makefile
446 rm -f bfd.h-new 64 ../include/bfd.h
12f367a1 447 -grep HOST_64_BIT sysdep.h > 64
15db2044
KR
448 sed -e 's/@WORDSIZE@/$(WORDSIZE)/' -e '/64-bit.*sysdep.h/ r 64' < $(srcdir)/bfd-in2.h > bfd.h-new
449 $(srcdir)/../move-if-change bfd.h-new $(BFD_H)
12f367a1 450 rm -f 64
75ff7895 451 touch stmp-bfd.h
34075964 452
a5220fb9 453# Could really use a "copy-if-change"...
12e7087f 454headers:
98c0c56d 455 (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
15db2044
KR
456 cp $(docdir)/bfd.h bfd-in2.h-new
457 $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
6bb4c923
KR
458 cp $(docdir)/libbfd.h libbfd.h-new
459 $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
460 cp $(docdir)/libcoff.h libcoff.h-new
461 $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
12e7087f
JG
462
463bfd.info:
fbee3571 464 (cd $(docdir); $(MAKE) bfd.info $(FLAGS_TO_PASS))
12e7087f
JG
465
466bfd.dvi:
98c0c56d 467 (cd $(docdir); $(MAKE) bfd.dvi $(FLAGS_TO_PASS))
12e7087f
JG
468
469bfd.ps:
98c0c56d 470 (cd $(docdir); $(MAKE) bfd.ps $(FLAGS_TO_PASS))
12e7087f
JG
471
472# What appears below is generated by a hacked mkdep using gcc -MM.
473
474# DO NOT DELETE THIS LINE -- mkdep uses it.
475# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
476
d684720f
KR
477libbfd.o : libbfd.c
478opncls.o : opncls.c
6327ba5d
KR
479bfd.o : bfd.c \
480 $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \
481 libcoff.h libecoff.h libelf.h $(INCDIR)/elf/common.h \
482 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
483archive.o : archive.c \
484 $(INCDIR)/aout/ar.h \
485 $(INCDIR)/aout/ranlib.h
d684720f
KR
486targets.o : targets.c
487cache.o : cache.c
488archures.o : archures.c
6327ba5d
KR
489coff-i386.o : coff-i386.c \
490 $(INCDIR)/coff/i386.h \
491 $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
492 seclet.h coffswap.h
d684720f
KR
493aout64.o : aout64.c aoutx.h \
494 libaout.h \
495 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
496 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
497aout32.o : aout32.c aoutx.h \
498 libaout.h \
499 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
500 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
6327ba5d
KR
501sunos.o : sunos.c aoutf1.h \
502 $(INCDIR)/aout/sun4.h \
503 libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
504 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
505demo64.o : demo64.c aoutf1.h \
506 $(INCDIR)/aout/sun4.h \
507 libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
508 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
509coff-i960.o : coff-i960.c \
510 $(INCDIR)/coff/i960.h \
511 $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
512 seclet.h coffswap.h
d684720f
KR
513srec.o : srec.c
514tekhex.o : tekhex.c
6327ba5d
KR
515oasys.o : oasys.c \
516 $(INCDIR)/oasys.h \
517 liboasys.h
518ieee.o : ieee.c \
519 $(INCDIR)/ieee.h libieee.h
520ecoff.o : ecoff.c \
521 seclet.h \
522 $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h libaout.h \
523 $(INCDIR)/aout/aout64.h $(INCDIR)/coff/internal.h \
524 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \
525 $(INCDIR)/coff/ecoff.h libcoff.h libecoff.h
526coff-m68k.o : coff-m68k.c \
527 $(INCDIR)/coff/m68k.h \
528 $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
529 seclet.h coffswap.h
530coff-u68k.o : coff-u68k.c coff-m68k.c \
531 $(INCDIR)/coff/m68k.h \
532 $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
533 seclet.h coffswap.h
653dd82a
SG
534coff-apollo.o : coff-apollo.c \
535 $(INCDIR)/coff/apollo.h \
536 $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
537 seclet.h coffswap.h
6327ba5d
KR
538coff-a29k.o : coff-a29k.c \
539 $(INCDIR)/coff/a29k.h \
540 $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
541 seclet.h coffswap.h
542coff-rs6000.o : coff-rs6000.c \
543 $(INCDIR)/coff/internal.h \
544 $(INCDIR)/coff/rs6000.h libcoff.h coffcode.h \
545 seclet.h coffswap.h
546coffgen.o : coffgen.c \
547 $(INCDIR)/coff/internal.h \
548 seclet.h libcoff.h
d684720f
KR
549format.o : format.c
550section.o : section.c
551core.o : core.c
552syms.o : syms.c \
6327ba5d 553 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
d684720f
KR
554stab-syms.o : stab-syms.c \
555 libaout.h $(INCDIR)/aout/aout64.h \
556 $(INCDIR)/aout/stab.def
6327ba5d
KR
557reloc.o : reloc.c \
558 seclet.h
d684720f
KR
559init.o : init.c
560ctor.o : ctor.c
6327ba5d
KR
561seclet.o : seclet.c \
562 seclet.h \
563 $(INCDIR)/coff/internal.h
564coff-m88k.o : coff-m88k.c \
565 $(INCDIR)/coff/m88k.h \
566 $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
567 seclet.h coffswap.h
568coff-mips.o : coff-mips.c \
569 seclet.h \
570 $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \
571 $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
572 $(INCDIR)/coff/mips.h libcoff.h libecoff.h \
573 coffswap.h ecoffswap.h
574coff-sh.o : coff-sh.c \
575 $(INCDIR)/coff/sh.h \
576 $(INCDIR)/coff/internal.h libcoff.h seclet.h \
577 coffcode.h coffswap.h
578trad-core.o : trad-core.c \
579 libaout.h
580newsos3.o : newsos3.c \
581 $(INCDIR)/aout/aout64.h \
582 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
583 $(INCDIR)/aout/ar.h libaout.h aout-target.h
584i386aout.o : i386aout.c \
585 libaout.h \
586 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
587 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
588i386linux.o : i386linux.c \
589 $(INCDIR)/aout/aout64.h \
590 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
591 $(INCDIR)/aout/ar.h libaout.h aout-target.h
592netbsd386.o : netbsd386.c \
593 libaout.h \
594 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
595 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
596i386mach3.o : i386mach3.c \
597 $(INCDIR)/aout/aout64.h \
598 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
599 $(INCDIR)/aout/ar.h libaout.h aout-target.h
600bout.o : bout.c \
601 seclet.h $(INCDIR)/bout.h \
602 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
603 libaout.h
604aout-adobe.o : aout-adobe.c \
605 $(INCDIR)/aout/adobe.h \
606 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
607 libaout.h
608coff-we32k.o : coff-we32k.c \
609 $(INCDIR)/coff/we32k.h \
610 $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
611 seclet.h coffswap.h
612i386bsd.o : i386bsd.c \
613 libaout.h \
614 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
615 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
d684720f
KR
616cpu-h8300.o : cpu-h8300.c
617cpu-i960.o : cpu-i960.c
618cpu-sparc.o : cpu-sparc.c
619cpu-m68k.o : cpu-m68k.c
620cpu-m88k.o : cpu-m88k.c
621cpu-vax.o : cpu-vax.c
622cpu-mips.o : cpu-mips.c
623cpu-a29k.o : cpu-a29k.c
624cpu-i386.o : cpu-i386.c
625cpu-rs6000.o : cpu-rs6000.c
6327ba5d
KR
626coff-h8300.o : coff-h8300.c \
627 $(INCDIR)/coff/h8300.h \
628 $(INCDIR)/coff/internal.h seclet.h libcoff.h \
629 coffcode.h coffswap.h
d684720f
KR
630som.o : som.c
631cpu-hppa.o : cpu-hppa.c
632cpu-we32k.o : cpu-we32k.c
6327ba5d
KR
633reloc16.o : reloc16.c \
634 seclet.h \
635 $(INCDIR)/coff/internal.h libcoff.h
636mipsbsd.o : mipsbsd.c \
637 libaout.h \
638 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
639 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
d684720f 640cpu-sh.o : cpu-sh.c
653dd82a
SG
641elf.o : elf.c elfcode.h \
642 libelf.h \
643 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
644 $(INCDIR)/elf/external.h
6327ba5d
KR
645elf32.o : elf32.c elfcode.h \
646 libelf.h \
647 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
648 $(INCDIR)/elf/external.h
649elf32-sparc.o : elf32-sparc.c \
650 libelf.h \
651 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
652 $(INCDIR)/elf/external.h elf32-target.h
653elf32-i386.o : elf32-i386.c \
654 libelf.h \
655 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
656 $(INCDIR)/elf/external.h elf32-target.h
657elf32-i860.o : elf32-i860.c \
658 libelf.h \
659 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
660 $(INCDIR)/elf/external.h elf32-target.h
661elf32-m68k.o : elf32-m68k.c \
662 libelf.h \
663 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
664 $(INCDIR)/elf/external.h elf32-target.h
665elf32-hppa.o : elf32-hppa.c \
666 libelf.h \
667 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
668 $(INCDIR)/elf/external.h elf32-hppa.h libhppa.h \
669 $(INCDIR)/aout/aout64.h hppa_stubs.h elf32-target.h
670elf32-m88k.o : elf32-m88k.c \
671 libelf.h \
672 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
673 $(INCDIR)/elf/external.h elf32-target.h
674elf32-mips.o : elf32-mips.c \
675 libelf.h \
676 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
677 $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h \
678 elf32-target.h
679elf32-gen.o : elf32-gen.c \
680 libelf.h \
681 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
682 $(INCDIR)/elf/external.h elf32-target.h
683elf64.o : elf64.c elfcode.h \
684 libelf.h \
685 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
686 $(INCDIR)/elf/external.h
687elf64-gen.o : elf64-gen.c \
688 libelf.h \
689 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
690 $(INCDIR)/elf/external.h elf64-target.h
691nlm32.o : nlm32.c nlmcode.h \
692 libnlm.h \
693 $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
694 $(INCDIR)/nlm/external.h
695nlm32-gen.o : nlm32-gen.c \
696 libnlm.h \
697 $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
698 $(INCDIR)/nlm/external.h nlm-target.h
699nlm32-i386.o : nlm32-i386.c \
700 libnlm.h \
701 $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
702 $(INCDIR)/nlm/external.h nlm-target.h
703nlm64.o : nlm64.c nlmcode.h \
704 libnlm.h \
705 $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
706 $(INCDIR)/nlm/external.h
707nlm64-gen.o : nlm64-gen.c \
708 libnlm.h \
709 $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
710 $(INCDIR)/nlm/external.h nlm-target.h
711coff-alpha.o : coff-alpha.c \
712 seclet.h \
713 $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \
714 $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
715 $(INCDIR)/coff/alpha.h libcoff.h libecoff.h \
716 coffswap.h ecoffswap.h
d684720f 717cpu-alpha.o : cpu-alpha.c
6327ba5d
KR
718hp300bsd.o : hp300bsd.c \
719 libaout.h \
720 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
721 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
d684720f
KR
722hp300hpux.o : hp300hpux.c $(INCDIR)/aout/hp300hpux.h \
723 aoutx.h \
724 libaout.h $(INCDIR)/aout/aout64.h \
725 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
726 $(INCDIR)/aout/ar.h aout-target.h
6327ba5d
KR
727i386lynx.o : i386lynx.c \
728 libaout.h \
729 $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
730 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
731i386lynx-cf.o : i386lynx-cf.c coff-i386.c \
732 \
733 $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
734 libcoff.h coffcode.h seclet.h coffswap.h
735m68klynx.o : m68klynx.c \
736 libaout.h \
737 $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
738 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
739m68klynx-cf.o : m68klynx-cf.c coff-m68k.c \
740 \
741 $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \
742 libcoff.h coffcode.h seclet.h coffswap.h
6bb4c923 743
12e7087f 744# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This page took 0.118295 seconds and 4 git commands to generate.