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