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