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