* elf.c (prep_headers): Add bfd_arch_alpha case.
[deliverable/binutils-gdb.git] / bfd / Makefile.in
CommitLineData
204ae00c 1# Makefile template for Configure for the BFD library.
86aac8ea
ILT
2# Copyright (C) 1990, 91, 92, 93, 94, 95, 1996
3# Free Software Foundation, Inc.
3c8a3c56
JG
4# Written by Cygnus Support.
5#
6# This file is part of BFD, the Binary File Descriptor library.
7#
8# This program is free software; you can redistribute it and/or modify
99a42820 9# it under the terms of the GNU General Public License as published by
3c8a3c56
JG
10# the Free Software Foundation; either version 2 of the License, or
11# (at your option) any later version.
12#
13# This program is distributed in the hope that it will be useful,
99a42820
RP
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16# GNU General Public License for more details.
3c8a3c56 17#
99a42820 18# You should have received a copy of the GNU General Public License
3c8a3c56 19# along with this program; if not, write to the Free Software
943fbd5b 20# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
99a42820 21
8c693660
KR
22VPATH = @srcdir@
23srcdir = @srcdir@
fde8212e 24
8c693660 25prefix = @prefix@
fde8212e 26
48fd00b6 27program_transform_name = @program_transform_name@
8c693660 28exec_prefix = @exec_prefix@
5868184b
FF
29bindir = $(exec_prefix)/bin
30libdir = $(exec_prefix)/lib
31
fde8212e 32datadir = $(prefix)/lib
5868184b 33mandir = $(prefix)/man
fde8212e
RP
34man1dir = $(mandir)/man1
35man2dir = $(mandir)/man2
36man3dir = $(mandir)/man3
37man4dir = $(mandir)/man4
38man5dir = $(mandir)/man5
39man6dir = $(mandir)/man6
40man7dir = $(mandir)/man7
41man8dir = $(mandir)/man8
42man9dir = $(mandir)/man9
5868184b 43infodir = $(prefix)/info
fde8212e 44includedir = $(prefix)/include
5868184b 45oldincludedir =
fbee3571 46docdir = doc
fde8212e
RP
47
48SHELL = /bin/sh
49
b7577823
ILT
50INSTALL = @INSTALL@
51INSTALL_PROGRAM = @INSTALL_PROGRAM@
52INSTALL_DATA = @INSTALL_DATA@
fde8212e 53
b7577823 54AR = @AR@
287c221d 55AR_FLAGS = rc
b7577823 56CC = @CC@
c877bdf1 57CFLAGS = @CFLAGS@
fde8212e 58MAKEINFO = makeinfo
8c693660 59RANLIB = @RANLIB@
fde8212e 60
44f795f7
ILT
61ALLLIBS = @ALLLIBS@
62
63PICFLAG = @PICFLAG@
64SHLIB = @SHLIB@
65SHLIB_CC = @SHLIB_CC@
66SHLIB_CFLAGS = @SHLIB_CFLAGS@
67COMMON_SHLIB = @COMMON_SHLIB@
68SHLINK = @SHLINK@
69
52c6bc4d
ILT
70SONAME = lib`echo $(SHLIB) | sed -e 's/^lib//' | sed '$(program_transform_name)'`
71
b7577823 72CC_FOR_BUILD = @CC_FOR_BUILD@
51300bdb 73
d6a554ae 74INCDIR = $(srcdir)/../include
bb552c64 75CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
a5c6b4b3 76DEP = mkdep
12e7087f 77
f259290f 78SUBDIRS = doc
12e7087f 79
5176a6bc 80TARGETLIB = libbfd.a
99a42820 81
a5220fb9 82# bfd.h goes here, for now
12f367a1 83BFD_H = bfd.h
99a42820 84
15db2044
KR
85# Some of these files should be in BFD*_BACKENDS below, but some programs
86# won't link without them. So, in order for some of the minimal-bfd
87# hacks to work, they're also included here for now.
caede515 88# gdb: elf.o
15db2044 89# objdump: elf.o
180acef5
DM
90#
91# Also, Jim Kingdon notes:
92# Writing S-records should be included in all (or at least most)
93# *-*-coff, *-*-aout, etc., configurations, because people will want to
94# be able to use objcopy to create S-records. (S-records are not useful
95# for the debugger, so if you are downloading things as S-records you
96# need two copies of the executable, one to download and one for the
97# debugger).
01087713 98BFD_LIBS = \
d9e771e3 99 archive.o archures.o bfd.o cache.o coffgen.o corefile.o \
01087713 100 format.o init.o libbfd.o opncls.o reloc.o \
130308bf 101 section.o syms.o targets.o hash.o linker.o \
d1bf45aa 102 elf.o srec.o binary.o tekhex.o ihex.o stabs.o stab-syms.o
767f22d5
FF
103
104BFD_LIBS_CFILES = \
105 archive.c archures.c bfd.c cache.c coffgen.c corefile.c \
106 format.c init.c libbfd.c opncls.c reloc.c \
107 section.c syms.c targets.c hash.c linker.c \
d1bf45aa 108 elf.c srec.c binary.c tekhex.c ihex.c stabs.c stab-syms.c
63ffe5ef 109
01087713
DM
110# This list is alphabetized to make it easier to keep in sync
111# with the decls and initializer in archures.c.
112ALL_MACHINES = \
113 cpu-a29k.o \
114 cpu-alpha.o \
661df78b
KR
115 $(start-sanitize-arc) \
116 cpu-arc.o \
117 $(end-sanitize-arc) \
358710a7 118 cpu-arm.o \
01087713
DM
119 cpu-h8300.o \
120 cpu-h8500.o \
121 cpu-hppa.o \
122 cpu-i386.o \
cf587de8 123 cpu-i860.o \
01087713
DM
124 cpu-i960.o \
125 cpu-m68k.o \
126 cpu-m88k.o \
127 cpu-mips.o \
caede515 128 cpu-ns32k.o \
99ec1f66 129 cpu-powerpc.o \
661df78b
KR
130 $(start-sanitize-rce) \
131 cpu-rce.o \
132 $(end-sanitize-rce) \
01087713
DM
133 cpu-rs6000.o \
134 cpu-sh.o \
135 cpu-sparc.o \
136 cpu-vax.o \
137 cpu-we32k.o \
ac400c0e 138 cpu-w65.o \
01087713
DM
139 cpu-z8k.o
140
767f22d5
FF
141ALL_MACHINES_CFILES = \
142 cpu-a29k.c \
143 cpu-alpha.c \
144 cpu-arm.c \
145 cpu-h8300.c \
146 cpu-h8500.c \
147 cpu-hppa.c \
148 cpu-i386.c \
149 cpu-i860.c \
150 cpu-i960.c \
151 cpu-m68k.c \
152 cpu-m88k.c \
153 cpu-mips.c \
154 cpu-ns32k.c \
155 cpu-powerpc.c \
156 cpu-rs6000.c \
157 cpu-sh.c \
158 cpu-sparc.c \
159 cpu-vax.c \
160 cpu-we32k.c \
161 cpu-w65.c \
162 cpu-z8k.c
163
01087713 164# The .o files needed by all of the 32 bit vectors that are configured into
caede515 165# target_vector in targets.c if configured with --enable-targets=all.
bb552c64 166BFD32_BACKENDS = \
01087713 167 aout-adobe.o \
caede515 168 aout-ns32k.o \
661df78b
KR
169 $(start-sanitize-rce) \
170 aout-rce.o \
171 $(end-sanitize-rce) \
666f5925 172 aout0.o \
01087713
DM
173 aout32.o \
174 bout.o \
d5d53b0a
JW
175 cf-i386lynx.o \
176 cf-m68klynx.o \
177 cf-sparclynx.o \
01087713 178 coff-a29k.o \
653dd82a 179 coff-apollo.o \
20d1e233 180 coff-arm.o \
d19df9b5 181 coff-aux.o \
01087713
DM
182 coff-h8300.o \
183 coff-h8500.o \
184 coff-i386.o \
c06e55d9 185 coff-go32.o \
cf587de8 186 coff-i860.o \
01087713
DM
187 coff-i960.o \
188 coff-m68k.o \
189 coff-m88k.o \
190 coff-mips.o \
356cd465 191 coff-pmac.o \
01087713
DM
192 coff-rs6000.o \
193 coff-sh.o \
6cac89c5 194 coff-sparc.o \
01087713
DM
195 coff-u68k.o \
196 coff-we32k.o \
ac400c0e 197 coff-w65.o \
01087713 198 coff-z8k.o \
3cd942de 199 cofflink.o \
caede515
SS
200 ecoff.o \
201 ecofflink.o \
661df78b
KR
202 $(start-sanitize-arc) \
203 elf32-arc.o \
204 $(end-sanitize-arc) \
01087713
DM
205 elf32-gen.o \
206 elf32-hppa.o \
207 elf32-i386.o \
208 elf32-i860.o \
209 elf32-m68k.o \
210 elf32-m88k.o \
211 elf32-mips.o \
5a66538b 212 elf32-ppc.o \
01087713
DM
213 elf32-sparc.o \
214 elf32.o \
4e98461f 215 elflink.o \
01087713 216 hp300hpux.o \
d5a30a08 217 som.o \
01087713
DM
218 i386aout.o \
219 i386bsd.o \
767f22d5 220 i386freebsd.o \
01087713
DM
221 i386linux.o \
222 i386lynx.o \
89665c85 223 i386msdos.o \
a3f7a777 224 i386netbsd.o \
01087713 225 i386mach3.o \
2f88343d 226 i386os9k.o \
01087713 227 ieee.o \
c877bdf1 228 m68klinux.o \
d5a30a08 229 m68klynx.o \
661df78b 230 m68knetbsd.o \
caede515 231 m88kmach3.o \
01087713
DM
232 mipsbsd.o \
233 newsos3.o \
c3e964b9 234 nlm.o \
01087713 235 nlm32-i386.o \
cecbf7ed 236 nlm32-sparc.o \
5a66538b 237 nlm32-ppc.o \
01087713 238 nlm32.o \
a3f7a777 239 ns32knetbsd.o \
01087713 240 oasys.o \
caede515 241 pc532-mach.o \
89665c85
SC
242 pe-arm.o \
243 pei-arm.o \
244 pe-i386.o \
245 pei-i386.o \
e0c10737
KK
246 pe-ppc.o \
247 pei-ppc.o \
01087713 248 reloc16.o \
d5d53b0a 249 sparclynx.o \
c768bd3f 250 sparcnetbsd.o \
d40d2d30 251 sunos.o \
8809320b 252 tekhex.o \
356cd465
ILT
253 versados.o \
254 xcofflink.o
01087713 255
767f22d5 256BFD32_BACKENDS_CFILES = \
8d0d6655
KR
257 aout-adobe.c \
258 aout-ns32k.c \
259 aout0.c \
260 aout32.c \
261 bout.c \
262 cf-i386lynx.c \
263 cf-m68klynx.c \
264 cf-sparclynx.c \
265 coff-a29k.c \
266 coff-apollo.c \
267 coff-arm.c \
d19df9b5 268 coff-aux.c \
8d0d6655
KR
269 coff-h8300.c \
270 coff-h8500.c \
271 coff-i386.c \
cf587de8 272 coff-i860.c \
8d0d6655
KR
273 coff-go32.c \
274 coff-i960.c \
275 coff-m68k.c \
276 coff-m88k.c \
277 coff-mips.c \
278 coff-pmac.c \
279 coff-rs6000.c \
280 coff-sh.c \
281 coff-sparc.c \
282 coff-u68k.c \
283 coff-we32k.c \
284 coff-w65.c \
285 coff-z8k.c \
286 cofflink.c \
287 ecoff.c \
288 ecofflink.c \
289 elf32-gen.c \
290 elf32-hppa.c \
291 elf32-i386.c \
292 elf32-i860.c \
293 elf32-m68k.c \
294 elf32-m88k.c \
295 elf32-mips.c \
296 elf32-ppc.c \
297 elf32-sparc.c \
298 elf32.c \
299 elflink.c \
300 hp300hpux.c \
301 som.c \
302 i386aout.c \
303 i386bsd.c \
767f22d5 304 i386freebsd.c \
8d0d6655
KR
305 i386linux.c \
306 i386lynx.c \
307 i386msdos.c \
308 i386netbsd.c \
309 i386mach3.c \
310 i386os9k.c \
311 ieee.c \
c877bdf1 312 m68klinux.c \
8d0d6655
KR
313 m68klynx.c \
314 m68knetbsd.c \
315 m88kmach3.c \
316 mipsbsd.c \
317 newsos3.c \
318 nlm.c \
319 nlm32-i386.c \
320 nlm32-sparc.c \
321 nlm32-ppc.c \
322 nlm32.c \
323 ns32knetbsd.c \
324 oasys.c \
325 pc532-mach.c \
326 pe-arm.c \
327 pei-arm.c \
328 pe-i386.c \
329 pei-i386.c \
330 pe-ppc.c \
331 pei-ppc.c \
332 reloc16.c \
333 sparclynx.c \
334 sparcnetbsd.c \
8d0d6655
KR
335 sunos.c \
336 tekhex.c \
337 versados.c \
767f22d5
FF
338 xcofflink.c
339
340# The .o files needed by all of the 64 bit vectors that are configured into
341# target_vector in targets.c if configured with --enable-targets=all
342# and --enable-64-bit-bfd.
343BFD64_BACKENDS = \
344 aout64.o \
345 coff-alpha.o \
346 demo64.o \
347 elf64-gen.o \
d1bf45aa 348 elf64-mips.o \
767f22d5
FF
349 elf64-sparc.o \
350 elf64.o \
351 nlm32-alpha.o \
352 nlm64.o
353
354BFD64_BACKENDS_CFILES = \
8d0d6655
KR
355 aout64.c \
356 coff-alpha.c \
357 demo64.c \
358 elf64-gen.c \
d1bf45aa 359 elf64-mips.c \
8d0d6655
KR
360 elf64-sparc.c \
361 elf64.c \
362 nlm32-alpha.c \
767f22d5
FF
363 nlm64.c
364
365OPTIONAL_BACKENDS = \
366 aix386-core.o \
367 hpux-core.o \
368 irix-core.o \
369 lynx-core.o \
370 osf-core.o \
371 trad-core.o \
372 cisco-core.o
373
374OPTIONAL_BACKENDS_CFILES = \
375 aix386-core.c \
376 hpux-core.c \
377 irix-core.c \
378 lynx-core.c \
379 osf-core.c \
380 trad-core.c \
381 cisco-core.c
382
383# These are defined by configure.in:
384WORDSIZE = @wordsize@
385ALL_BACKENDS = @all_backends@
386BFD_BACKENDS = @bfd_backends@
387BFD_MACHINES = @bfd_machines@
388TDEFAULTS = @tdefaults@
389
390all:
391
392FLAGS_TO_PASS = \
393 "prefix=$(prefix)" \
394 "exec_prefix=$(exec_prefix)" \
395 "against=$(against)" \
396 "AR=$(AR)" \
397 "AR_FLAGS=$(AR_FLAGS)" \
398 "CC=$(CC)" \
399 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
400 "CFLAGS=$(CFLAGS)" \
401 "RANLIB=$(RANLIB)" \
402 "MAKEINFO=$(MAKEINFO)" \
403 "INSTALL=$(INSTALL)" \
404 "INSTALL_DATA=$(INSTALL_DATA)" \
405 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)"
406
407ALL_CFLAGS=@HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) $(CFLAGS)
408.c.o:
44f795f7
ILT
409 if [ -n "$(PICFLAG)" ]; then \
410 $(CC) -c $(PICFLAG) $(ALL_CFLAGS) $< -o pic/$@; \
411 else true; fi
767f22d5
FF
412 $(CC) -c $(ALL_CFLAGS) $<
413
414bfd_libs_here =
415all_machines_here =
416bfd32_backends_here =
417core_files_here =
418configs_not_included_in_all_targets_option_here =
419
420# C source files that correspond to .o's.
421CFILES = \
422 $(BFD_LIBS_CFILES) \
423 $(ALL_MACHINES_CFILES) \
424 $(BFD32_BACKENDS_CFILES) \
425 $(BFD64_BACKENDS_CFILES) \
426 $(OPTIONAL_BACKENDS_CFILES) \
8d0d6655 427 i386dynix.c hp300bsd.c
63ffe5ef 428
c6b399ce
KR
429HFILES = aout-target.h aoutf1.h aoutx.h coffcode.h \
430 coffswap.h ecoffswap.h elf32-hppa.h elf32-target.h elf64-target.h \
431 elfcode.h hppa_stubs.h libaout.h libbfd.h \
6ab826bd 432 libcoff.h libecoff.h elf-bfd.h libhppa.h libieee.h libnlm.h \
c877bdf1 433 liboasys.h nlm-target.h nlmcode.h som.h genlink.h netbsd.h ns32k.h
c6b399ce 434
44f795f7 435all: Makefile $(ALLLIBS) @PICLIST@
98c0c56d 436 @$(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
5176a6bc 437
30662ca6 438.NOEXPORT:
204ae00c 439MAKEOVERRIDES=
30662ca6 440
d5d53b0a 441.PHONY: check installcheck
5868184b 442check:
26b572e4 443 @echo No testsuites exist for the BFD library. Nothing to check.
d5d53b0a 444
76019c92 445installcheck:
26b572e4 446 @echo No testsuites exist for the BFD library. Nothing to check.
5868184b 447
74991624 448info dvi : force
9faacb92 449 @$(MAKE) subdir_do DO=$@ "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
2090ba83 450
5868184b 451clean-info:
98c0c56d 452 @$(MAKE) subdir_do DO=clean-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
f0abedbe 453
2090ba83 454install-info: force
98c0c56d 455 @$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
2090ba83 456
a2bd0529 457diststuff: info
cecbf7ed 458
dcdfa32c
DM
459# Various kinds of .o files to put in libbfd.a:
460# BFD_LIBS Generic routines, always needed.
5f9a2245
DM
461# BFD_BACKENDS Routines the configured targets need.
462# BFD_MACHINES Architecture-specific routines the configured targets need.
a52a3ce8 463# COREFILE Core file routines for a native configuration
a21227ef 464OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) @COREFILE@
5176a6bc 465
44f795f7
ILT
466stamp-ofiles: Makefile
467 rm -f tofiles
2fdca021 468 f=""; \
c812942f 469 for i in $(OFILES) ; do \
2fdca021 470 case " $$f " in \
dae31cf5 471 *" $$i "*) ;; \
2fdca021
KR
472 *) f="$$f $$i" ;; \
473 esac ; \
474 done ; \
44f795f7
ILT
475 echo $$f > tofiles
476 $(srcdir)/../move-if-change tofiles ofiles
477 touch stamp-ofiles
478
479ofiles: stamp-ofiles ; @true
c812942f
KR
480
481$(TARGETLIB): $(OFILES) ofiles
482 rm -f $(TARGETLIB)
483 @echo ofiles = `cat ofiles`
484 $(AR) $(AR_FLAGS) $(TARGETLIB) `cat ofiles`
485 $(RANLIB) $(TARGETLIB)
5176a6bc 486
44f795f7
ILT
487stamp-piclist: ofiles
488 rm -f tpiclist
489 if [ -n "$(PICFLAG)" ]; then \
490 sed -e 's,\([^ ][^ ]*\),pic/\1,g' ofiles > tpiclist; \
491 else \
492 cp ofiles tpiclist; \
493 fi
494 $(srcdir)/../move-if-change tpiclist piclist
495 touch stamp-piclist
496
497piclist: stamp-piclist ; @true
498
499$(SHLIB): stamp-picdir $(OFILES) piclist
500 rm -f $(SHLIB)
501 $(SHLIB_CC) $(SHLIB_CFLAGS) -o $(SHLIB) `cat piclist`
502
52c6bc4d
ILT
503# We make a link from libbfd.so to libbfd.so.VERSION for linking, and
504# also a link from libTARGET-bfd.so.VERSION for running.
44f795f7 505$(SHLINK): $(SHLIB)
52c6bc4d
ILT
506 ts=lib`echo $(SHLIB) | sed -e 's/^lib//' | sed -e '$(program_transform_name)'`; \
507 if [ "$$ts" != "$(SHLIB)" ]; then \
508 rm -f $$ts; \
509 ln -sf $(SHLIB) $$ts; \
510 else true; fi
44f795f7
ILT
511 rm -f $(SHLINK)
512 ln -sf $(SHLIB) $(SHLINK)
513
52c6bc4d
ILT
514# This target creates libTARGET-bfd.so.VERSION as a symlink to
515# libbfd.so.VERSION. It is used on SunOS, which does not have SONAME.
516stamp-tshlink: $(SHLIB)
517 tf=lib`echo $(SHLIB) | sed -e 's/^lib//' | sed '$(program_transform_name)'`; \
518 if [ "$$tf" != "$(SHLIB)" ]; then \
519 rm -f $$tf; \
520 ln -sf $(SHLIB) $$tf; \
521 else true; fi
522 touch stamp-tshlink
523
98c0c56d
BK
524# When compiling archures.c and targets.c, supply the default target
525# info from configure.
526
51300bdb 527targets.o: targets.c Makefile
44f795f7
ILT
528 if [ -n "$(PICFLAG)" ]; then \
529 $(CC) -c $(PICFLAG) $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/targets.c -o pic/targets.o; \
530 else true; fi
531 $(CC) -c $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/targets.c
4a29cb1e 532
51300bdb 533archures.o: archures.c Makefile
44f795f7
ILT
534 if [ -n "$(PICFLAG)" ]; then \
535 $(CC) -c $(PICFLAG) $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/archures.c -o pic/archures.o; \
536 else true; fi
537 $(CC) -c $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/archures.c
98c0c56d 538
b968e4f4
KR
539elf32-target.h : elfxx-target.h
540 rm -f elf32-target.h
541 sed -e s/NN/32/g < $(srcdir)/elfxx-target.h > elf32-target.new
542 mv -f elf32-target.new elf32-target.h
543
544elf64-target.h : elfxx-target.h
545 rm -f elf64-target.h
546 sed -e s/NN/64/g < $(srcdir)/elfxx-target.h > elf64-target.new
547 mv -f elf64-target.new elf64-target.h
548
f259290f 549subdir_do: force
6e491a87 550 @for i in $(DODIRS); do \
5868184b
FF
551 if [ -d ./$$i ] ; then \
552 if (cd ./$$i; \
98c0c56d 553 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
f259290f
RP
554 else exit 1 ; fi ; \
555 else true ; fi ; \
556 done
557
99a42820
RP
558tags etags: TAGS
559
5176a6bc 560TAGS: force
453063fe 561 etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c
99a42820 562
ef2810d0 563do_mostlyclean:
44f795f7
ILT
564 rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout config.log \
565 pic/*.o
fbee3571 566do_clean: do_mostlyclean
44f795f7
ILT
567 rm -f libbfd.a TAGS bfd.h stmp-bfd.h ofiles stamp-ofiles \
568 elf32-target.h elf64-target.h $(SHLIB) $(SHLINK) \
569 piclist stamp-piclist
ef2810d0 570do_distclean: do_clean
870015b1 571 rm -f Makefile config.status config.cache config.h stamp-h
44f795f7 572 rm -rf pic stamp-picdir
9521bac3 573do_maintainer_clean: do_distclean
66761e59 574 rm -f $(srcdir)/bfd-in2.h $(srcdir)/libbfd.h $(srcdir)/libcoff.h
ef2810d0
PB
575
576mostlyclean: do_mostlyclean
577 $(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
fbee3571 578clean: do_clean
ef2810d0 579 $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
0e238aa7 580distclean:
ef2810d0 581 $(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
180acef5 582 $(MAKE) do_distclean
9521bac3 583clobber maintainer-clean realclean:
66761e59
ILT
584 @echo "This command is intended for maintainers to use;"
585 @echo "it deletes files that may require special tools to rebuild."
9521bac3
ILT
586 $(MAKE) subdir_do DO=maintainer-clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
587 $(MAKE) do_maintainer_clean
99a42820 588
d684720f 589BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/obstack.h
b7577823
ILT
590LOCAL_H_DEPS= libbfd.h sysdep.h config.h
591$(BFD_LIBS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
592$(BFD_MACHINES): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
593$(BFD_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
594$(OPTIONAL_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
99a42820 595
cbdc7909
JG
596# Get around a Sun Make bug in SunOS 4.1.1 with VPATH
597cpu-i386.o:cpu-i386.c
fbee3571 598cpu-z8k.o: cpu-z8k.c
204ae00c 599cpu-h8500.o: cpu-h8500.c
fbee3571 600cpu-we32k.o: cpu-we32k.c
cbdc7909 601
99a42820
RP
602saber:
603 #suppress 65 on bfd_map_over_sections
604 #suppress 66 on bfd_map_over_sections
605 #suppress 67 on bfd_map_over_sections
606 #suppress 68 on bfd_map_over_sections
607 #suppress 69 on bfd_map_over_sections
608 #suppress 70 on bfd_map_over_sections
609 #suppress 110 in bfd_map_over_sections
610 #suppress 112 in bfd_map_over_sections
611 #suppress 530
612 #suppress 590 in swap_exec_header
613 #suppress 590 in _bfd_dummy_core_file_matches_executable_p
614 #suppress 590 in bfd_dont_truncate_arname
615 #suppress 590 on ignore
616 #suppress 590 on abfd
617 #setopt load_flags $(CFLAGS)
618 #load $(CFILES)
a5c6b4b3 619
99a42820
RP
620
621#-----------------------------------------------------------------------------
622# 'STANDARD' GNU/960 TARGETS BELOW THIS POINT
623#
624# 'VERSION' file must be present and contain a string of the form "x.y"
625#-----------------------------------------------------------------------------
626
627ver960.c: FORCE
628 rm -f ver960.c
629 echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c
630
631
632# This target should be invoked before building a new release.
633# 'VERSION' file must be present and contain a string of the form "x.y"
634#
635roll:
636 @V=`cat VERSION` ; \
637 MAJ=`sed 's/\..*//' VERSION` ; \
638 MIN=`sed 's/.*\.//' VERSION` ; \
639 V=$$MAJ.`expr $$MIN + 1` ; \
640 rm -f VERSION ; \
641 echo $$V >VERSION ; \
642 echo Version $$V
643
644# Dummy target to force execution of dependent targets.
645#
5176a6bc 646force:
99a42820 647
44f795f7
ILT
648install: $(ALLLIBS)
649 for f in $(ALLLIBS); do \
52c6bc4d
ILT
650 if [ "$$f" = "stamp-tshlink" ]; then \
651 continue; \
652 fi; \
48fd00b6
ILT
653 tf=lib`echo $$f | sed -e 's/^lib//' | sed '$(program_transform_name)'`; \
654 rm -f $(libdir)/$$tf; \
44f795f7 655 if [ "$$f" = "$(SHLINK)" ]; then \
48fd00b6
ILT
656 ts=lib`echo $(SHLIB) | sed -e 's/^lib//' | sed '$(program_transform_name)'`; \
657 ln -sf $$ts $(libdir)/$$tf; \
44f795f7 658 elif [ "$$f" = "$(SHLIB)" ]; then \
48fd00b6 659 $(INSTALL_PROGRAM) $$f $(libdir)/$$tf; \
44f795f7 660 else \
48fd00b6
ILT
661 $(INSTALL_DATA) $$f $(libdir)/$$tf; \
662 $(RANLIB) $(libdir)/$$tf; \
663 chmod a-x $(libdir)/$$tf; \
44f795f7
ILT
664 fi; \
665 done
75ff7895
DZ
666# Install BFD include file, and others that it needs. Install them
667# both in GCC's include directory, and in the system include dir
668# if configured as $(oldincludedir) -- which it usually isnt.
a5220fb9 669 $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
6cabab78 670 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
89665c85 671 $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(includedir)/bfdlink.h
6cabab78 672 $(INSTALL_DATA) $(INCDIR)/obstack.h $(includedir)/obstack.h
5d4c714e
DM
673 -if test -z "$(oldincludedir)"; then true; else \
674 test -d $(oldincludedir) || mkdir $(oldincludedir); \
675 $(INSTALL_DATA) $(BFD_H) $(oldincludedir)/bfd.h; \
676 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h; \
89665c85 677 $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(oldincludedir)/bfdlink.h; \
5d4c714e 678 $(INSTALL_DATA) $(INCDIR)/obstack.h $(oldincludedir)/obstack.h; \
2c96ba79 679 $(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS); \
5d4c714e 680 fi
99a42820 681
65d3ae6b 682Makefile: Makefile.in config.status
870015b1
ILT
683 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
684
685config.h: stamp-h ; @true
936b870c
ILT
686stamp-h: config.in config.status
687 CONFIG_FILES= CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.status
a5c6b4b3 688
7fc1cd16 689config.status: configure configure.host config.bfd VERSION
b10e9afb
ILT
690 $(SHELL) config.status --recheck
691
c6b399ce
KR
692# Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
693.dep: dep.sed $(CFILES) $(HFILES) bfd.h
694 rm -f .dep1
695 $(MAKE) DEP=$(DEP) .dep1
696 sed -f dep.sed <.dep1 >.dep
697
d684720f 698# This rule really wants a mkdep that runs "gcc -MM".
767f22d5
FF
699# The NetBSD mkdep overwrites any existing file contents, and doesn't insert
700# the "DO NOT DELETE" line.
701# Other mkdep versions require a file that already exists, and do insert it.
702# Hence the weirdness....
d684720f 703.dep1: $(CFILES)
8d0d6655 704 rm -f .dep2 .dep2a
d684720f 705 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
767f22d5 706 echo > .dep2a
8d0d6655 707 $(DEP) -f .dep2a $(ALL_CFLAGS) $?
767f22d5 708 sed -e '/DO NOT DELETE/d' -e '/^$$/d' < .dep2a >> .dep2
8d0d6655 709 rm -f .dep2a
653dd82a 710 $(srcdir)/../move-if-change .dep2 .dep1
d684720f 711
c6b399ce 712dep.sed: dep-in.sed config.status
d684720f
KR
713 sed <$(srcdir)/dep-in.sed >dep.sed \
714 -e 's!@BFD_H@!$(BFD_H)!' \
715 -e 's!@INCDIR@!$(INCDIR)!' \
8c693660 716 -e 's!@SRCDIR@!$(srcdir)!'
d684720f 717
d684720f
KR
718dep: .dep
719 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
720 cat .dep >> tmp-Makefile
653dd82a
SG
721 $(srcdir)/../move-if-change tmp-Makefile Makefile
722
723dep-in: .dep
724 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
725 cat .dep >> tmp-Makefile.in
726 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
6f715d66 727
5868184b 728host-aout.o: Makefile
6f715d66 729
5868184b
FF
730# The following program can be used to generate a simple config file
731# which can be folded into an h-XXX file for a new host, with some editing.
d01cd8fc 732aout-params.h: gen-aout
4e810849 733 ./gen-aout host > aout-params.h
5868184b
FF
734gen-aout: $(srcdir)/gen-aout.c Makefile
735 $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
6f715d66 736
34075964
PB
737BFDIN_H= $(srcdir)/bfd-in2.h
738
a5220fb9 739$(BFD_H): stmp-bfd.h ; @true
75ff7895 740
15db2044 741stmp-bfd.h : $(srcdir)/bfd-in2.h Makefile
b7577823 742 rm -f bfd.h-new
5a66538b
KR
743 sed -e 's/@WORDSIZE@/$(WORDSIZE)/' \
744 -e "s/@VERSION@/`cat $(srcdir)/VERSION`/" \
b7577823 745 -e 's/@BFD_HOST_64BIT_LONG@/@HOST_64BIT_LONG@/' \
5a66538b
KR
746 < $(srcdir)/bfd-in2.h \
747 > bfd.h-new
15db2044 748 $(srcdir)/../move-if-change bfd.h-new $(BFD_H)
75ff7895 749 touch stmp-bfd.h
34075964 750
a5220fb9 751# Could really use a "copy-if-change"...
12e7087f 752headers:
98c0c56d 753 (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
15db2044
KR
754 cp $(docdir)/bfd.h bfd-in2.h-new
755 $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
6bb4c923
KR
756 cp $(docdir)/libbfd.h libbfd.h-new
757 $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
758 cp $(docdir)/libcoff.h libcoff.h-new
759 $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
12e7087f 760
66761e59
ILT
761# The rules for the generated header files are here so that people can
762# type `make bfd-in2.h' if they remove it. They are not run by default.
52c6bc4d 763$(srcdir)/bfd-in2.h:
44f795f7 764 (cd $(docdir); $(MAKE) bfd.h $(FLAGS_TO_PASS))
66761e59
ILT
765 cp $(docdir)/bfd.h bfd-in2.h-new
766 $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
52c6bc4d 767$(srcdir)/libbfd.h:
44f795f7 768 (cd $(docdir); $(MAKE) libbfd.h $(FLAGS_TO_PASS))
66761e59
ILT
769 cp $(docdir)/libbfd.h libbfd.h-new
770 $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
52c6bc4d 771$(srcdir)/libcoff.h:
44f795f7 772 (cd $(docdir); $(MAKE) libcoff.h $(FLAGS_TO_PASS))
66761e59
ILT
773 cp $(docdir)/libcoff.h libcoff.h-new
774 $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
775
12e7087f 776bfd.info:
fbee3571 777 (cd $(docdir); $(MAKE) bfd.info $(FLAGS_TO_PASS))
12e7087f
JG
778
779bfd.dvi:
98c0c56d 780 (cd $(docdir); $(MAKE) bfd.dvi $(FLAGS_TO_PASS))
12e7087f
JG
781
782bfd.ps:
98c0c56d 783 (cd $(docdir); $(MAKE) bfd.ps $(FLAGS_TO_PASS))
12e7087f 784
8809320b 785start-sanitize-arc:
6ab826bd 786elf32-arc.o: elf32-arc.c elf-bfd.h $(INCDIR)/elf/common.h \
8809320b
ILT
787 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
788 $(INCDIR)/elf/arc.h elf32-target.h
789end-sanitize-arc:
790
44f795f7
ILT
791$(OFILES): stamp-picdir
792
793stamp-picdir:
794 if [ -n "$(PICFLAG)" ] && [ ! -d pic ]; then \
795 mkdir pic; \
796 else true; fi
797 touch stamp-picdir
798
12e7087f
JG
799# What appears below is generated by a hacked mkdep using gcc -MM.
800
801# DO NOT DELETE THIS LINE -- mkdep uses it.
cf587de8 802# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
8d0d6655
KR
803archive.o: archive.c $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h
804archures.o: archures.c
7ce8b9d1 805bfd.o: bfd.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
130308bf 806 $(INCDIR)/coff/sym.h libcoff.h libecoff.h $(INCDIR)/coff/ecoff.h \
6ab826bd 807 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
130308bf 808 $(INCDIR)/elf/external.h
7ce8b9d1 809cache.o: cache.c
8d0d6655
KR
810coffgen.o: coffgen.c $(INCDIR)/coff/internal.h libcoff.h \
811 $(INCDIR)/bfdlink.h
812corefile.o: corefile.c
813format.o: format.c
814init.o: init.c
815libbfd.o: libbfd.c
816opncls.o: opncls.c
817reloc.o: reloc.c $(INCDIR)/bfdlink.h
818section.o: section.c
86aac8ea
ILT
819syms.o: syms.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/stab_gnu.h \
820 $(INCDIR)/aout/stab.def
8d0d6655
KR
821targets.o: targets.c
822hash.o: hash.c
823linker.o: linker.c $(INCDIR)/bfdlink.h genlink.h
824elf.o: elf.c $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
825 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
661df78b 826srec.o: srec.c $(INCDIR)/libiberty.h
29407610 827binary.o: binary.c
661df78b 828tekhex.o: tekhex.c $(INCDIR)/libiberty.h
767f22d5 829ihex.o: ihex.c $(INCDIR)/libiberty.h
d1bf45aa 830stabs.o: stabs.c $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def
c877bdf1
ILT
831stab-syms.o: stab-syms.c libaout.h $(INCDIR)/bfdlink.h \
832 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab.def
8d0d6655
KR
833cpu-a29k.o: cpu-a29k.c
834cpu-alpha.o: cpu-alpha.c
835cpu-arm.o: cpu-arm.c
836cpu-h8300.o: cpu-h8300.c
837cpu-h8500.o: cpu-h8500.c
838cpu-hppa.o: cpu-hppa.c
839cpu-i386.o: cpu-i386.c
cf587de8 840cpu-i860.o: cpu-i860.c
8d0d6655
KR
841cpu-i960.o: cpu-i960.c
842cpu-m68k.o: cpu-m68k.c
843cpu-m88k.o: cpu-m88k.c
844cpu-mips.o: cpu-mips.c
c877bdf1 845cpu-ns32k.o: cpu-ns32k.c ns32k.h
8d0d6655
KR
846cpu-powerpc.o: cpu-powerpc.c
847cpu-rs6000.o: cpu-rs6000.c
848cpu-sh.o: cpu-sh.c
849cpu-sparc.o: cpu-sparc.c
850cpu-vax.o: cpu-vax.c
851cpu-we32k.o: cpu-we32k.c
852cpu-w65.o: cpu-w65.c
853cpu-z8k.o: cpu-z8k.c
854aout-adobe.o: aout-adobe.c $(INCDIR)/aout/adobe.h $(INCDIR)/aout/stab_gnu.h \
855 $(INCDIR)/aout/stab.def libaout.h $(INCDIR)/bfdlink.h
856aout-ns32k.o: aout-ns32k.c $(INCDIR)/aout/aout64.h \
c877bdf1 857 ns32k.h libaout.h $(INCDIR)/bfdlink.h
7ce8b9d1 858aout0.o: aout0.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
0b72c410
KR
859 $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
860 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
8d0d6655
KR
861aout32.o: aout32.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
862 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
863 $(INCDIR)/aout/ar.h
864bout.o: bout.c $(INCDIR)/bfdlink.h genlink.h $(INCDIR)/bout.h \
865 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
866cf-i386lynx.o: cf-i386lynx.c coff-i386.c $(INCDIR)/coff/i386.h \
3cd942de
ILT
867 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
868 coffcode.h coffswap.h
8d0d6655
KR
869cf-m68klynx.o: cf-m68klynx.c coff-m68k.c $(INCDIR)/coff/m68k.h \
870 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
871 coffcode.h coffswap.h
872cf-sparclynx.o: cf-sparclynx.c coff-sparc.c $(INCDIR)/coff/sparc.h \
3cd942de
ILT
873 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
874 coffcode.h coffswap.h
7ce8b9d1 875coff-a29k.o: coff-a29k.c $(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h \
3cd942de 876 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
8d0d6655
KR
877coff-apollo.o: coff-apollo.c $(INCDIR)/coff/apollo.h \
878 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
356cd465 879 coffcode.h coffswap.h
8d0d6655
KR
880coff-arm.o: coff-arm.c $(INCDIR)/coff/arm.h $(INCDIR)/coff/internal.h \
881 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
f2e33e27 882coff-aux.o: coff-aux.c $(INCDIR)/coff/aux-coff.h $(INCDIR)/coff/internal.h \
d19df9b5
ILT
883 $(INCDIR)/coff/m68k.h coff-m68k.c libcoff.h $(INCDIR)/bfdlink.h \
884 coffcode.h coffswap.h
c877bdf1
ILT
885coff-h8300.o: coff-h8300.c $(INCDIR)/bfdlink.h genlink.h \
886 $(INCDIR)/coff/h8300.h $(INCDIR)/coff/internal.h libcoff.h \
887 coffcode.h coffswap.h
8d0d6655
KR
888coff-h8500.o: coff-h8500.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/h8500.h \
889 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
890coff-i386.o: coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
891 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
cf587de8
ILT
892coff-i860.o: coff-i860.c $(INCDIR)/coff/i860.h $(INCDIR)/coff/internal.h \
893 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
8d0d6655
KR
894coff-go32.o: coff-go32.c coff-i386.c $(INCDIR)/coff/i386.h \
895 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
3cd942de 896 coffcode.h coffswap.h
8d0d6655
KR
897coff-i960.o: coff-i960.c $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h \
898 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
899coff-m68k.o: coff-m68k.c $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \
3cd942de 900 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
7ce8b9d1 901coff-m88k.o: coff-m88k.c $(INCDIR)/coff/m88k.h $(INCDIR)/coff/internal.h \
3cd942de 902 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
7ce8b9d1 903coff-mips.o: coff-mips.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
d5d53b0a
JW
904 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
905 $(INCDIR)/coff/mips.h libcoff.h libecoff.h coffswap.h \
906 ecoffswap.h
8d0d6655
KR
907coff-pmac.o: coff-pmac.c coff-rs6000.c $(INCDIR)/coff/internal.h \
908 $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \
909 coffcode.h coffswap.h
910coff-rs6000.o: coff-rs6000.c $(INCDIR)/coff/internal.h \
911 $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \
912 coffcode.h coffswap.h
7ce8b9d1 913coff-sh.o: coff-sh.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \
130308bf 914 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
8d0d6655
KR
915coff-sparc.o: coff-sparc.c $(INCDIR)/coff/sparc.h $(INCDIR)/coff/internal.h \
916 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
917coff-u68k.o: coff-u68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \
918 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
919 coffcode.h coffswap.h
7ce8b9d1 920coff-we32k.o: coff-we32k.c $(INCDIR)/coff/we32k.h $(INCDIR)/coff/internal.h \
3cd942de 921 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
ac400c0e
ILT
922coff-w65.o: coff-w65.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/w65.h \
923 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
8d0d6655 924coff-z8k.o: coff-z8k.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/z8k.h \
130308bf 925 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
8d0d6655
KR
926cofflink.o: cofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
927 libcoff.h
928ecoff.o: ecoff.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/ar.h \
929 $(INCDIR)/aout/ranlib.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
930 libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/coff/internal.h \
931 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
932 libcoff.h libecoff.h
933ecofflink.o: ecofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/stab_gnu.h \
934 $(INCDIR)/aout/stab.def $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \
935 $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h
936elf32-gen.o: elf32-gen.c elf-bfd.h $(INCDIR)/elf/common.h \
937 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
938 elf32-target.h
939elf32-hppa.o: elf32-hppa.c $(INCDIR)/bfdlink.h elf-bfd.h \
130308bf 940 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
8d0d6655 941 elf32-hppa.h libhppa.h $(INCDIR)/elf/hppa.h hppa_stubs.h \
130308bf 942 elf32-target.h
6ab826bd 943elf32-i386.o: elf32-i386.c $(INCDIR)/bfdlink.h elf-bfd.h \
7ce8b9d1
ILT
944 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
945 elf32-target.h
6ab826bd 946elf32-i860.o: elf32-i860.c elf-bfd.h $(INCDIR)/elf/common.h \
7ce8b9d1
ILT
947 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
948 elf32-target.h
6ab826bd 949elf32-m68k.o: elf32-m68k.c $(INCDIR)/bfdlink.h elf-bfd.h \
8809320b 950 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
7ce8b9d1 951 elf32-target.h
6ab826bd 952elf32-m88k.o: elf32-m88k.c elf-bfd.h $(INCDIR)/elf/common.h \
7ce8b9d1
ILT
953 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
954 elf32-target.h
955elf32-mips.o: elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \
6ab826bd 956 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
130308bf
ILT
957 $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
958 $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
8d12f138 959 $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \
d5d53b0a 960 elf32-target.h
6ab826bd 961elf32-ppc.o: elf32-ppc.c $(INCDIR)/bfdlink.h elf-bfd.h \
8809320b
ILT
962 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
963 $(INCDIR)/elf/ppc.h elf32-target.h
8d0d6655
KR
964elf32-sparc.o: elf32-sparc.c $(INCDIR)/bfdlink.h elf-bfd.h \
965 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
86aac8ea 966 $(INCDIR)/elf/sparc.h elf32-target.h
8d0d6655 967elf32.o: elf32.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \
b10e9afb
ILT
968 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
969 elfcore.h elflink.h
8d0d6655
KR
970elflink.o: elflink.c $(INCDIR)/bfdlink.h elf-bfd.h \
971 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
7ce8b9d1 972hp300hpux.o: hp300hpux.c $(INCDIR)/aout/hp300hpux.h \
130308bf
ILT
973 aoutx.h $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
974 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
975 aout-target.h
8d0d6655
KR
976som.o: som.c
977i386aout.o: i386aout.c libaout.h $(INCDIR)/bfdlink.h \
978 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
979 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
980i386bsd.o: i386bsd.c libaout.h $(INCDIR)/bfdlink.h \
981 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
982 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
767f22d5
FF
983i386freebsd.o: i386freebsd.c freebsd.h libaout.h $(INCDIR)/bfdlink.h \
984 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
985 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
8d0d6655
KR
986i386linux.o: i386linux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
987 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
988 $(INCDIR)/bfdlink.h aout-target.h
0b72c410
KR
989i386lynx.o: i386lynx.c libaout.h $(INCDIR)/bfdlink.h \
990 $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
991 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
8d0d6655
KR
992i386msdos.o: i386msdos.c libaout.h $(INCDIR)/bfdlink.h
993i386netbsd.o: i386netbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
994 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
995 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
996i386mach3.o: i386mach3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
997 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
998 $(INCDIR)/bfdlink.h aout-target.h
999i386os9k.o: i386os9k.c $(INCDIR)/bfdlink.h libaout.h \
1000 $(INCDIR)/os9k.h
1001ieee.o: ieee.c $(INCDIR)/ieee.h libieee.h
c877bdf1
ILT
1002m68klinux.o: m68klinux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1003 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
1004 $(INCDIR)/bfdlink.h aout-target.h
0b72c410
KR
1005m68klynx.o: m68klynx.c libaout.h $(INCDIR)/bfdlink.h \
1006 $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
1007 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
661df78b
KR
1008m68knetbsd.o: m68knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
1009 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1010 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
8d0d6655 1011m88kmach3.o: m88kmach3.c libaout.h $(INCDIR)/bfdlink.h \
c768bd3f
ILT
1012 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1013 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
8d0d6655 1014mipsbsd.o: mipsbsd.c libaout.h $(INCDIR)/bfdlink.h \
c768bd3f
ILT
1015 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1016 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
8d0d6655
KR
1017newsos3.o: newsos3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1018 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
1019 $(INCDIR)/bfdlink.h aout-target.h
1020nlm.o: nlm.c libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1021 $(INCDIR)/nlm/external.h
1022nlm32-i386.o: nlm32-i386.c $(INCDIR)/nlm/i386-ext.h \
1023 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1024 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
1025nlm32-sparc.o: nlm32-sparc.c $(INCDIR)/nlm/sparc32-ext.h \
1026 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1027 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
1028nlm32-ppc.o: nlm32-ppc.c $(INCDIR)/nlm/ppc-ext.h libnlm.h \
1029 $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h \
1030 nlmswap.h nlm-target.h
1031nlm32.o: nlm32.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
1032 $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
1033ns32knetbsd.o: ns32knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
1034 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1035 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1036oasys.o: oasys.c $(INCDIR)/oasys.h liboasys.h
1037pc532-mach.o: pc532-mach.c libaout.h $(INCDIR)/bfdlink.h \
1038 $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
1039 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1040pe-arm.o: pe-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
8809320b 1041 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
356cd465 1042 $(INCDIR)/bfdlink.h coffcode.h peicode.h
8d0d6655 1043pei-arm.o: pei-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
8809320b 1044 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
a52a3ce8 1045 $(INCDIR)/bfdlink.h coffcode.h peicode.h
8d0d6655 1046pe-i386.o: pe-i386.c coff-i386.c $(INCDIR)/coff/i386.h \
4e98461f 1047 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
356cd465 1048 $(INCDIR)/bfdlink.h coffcode.h peicode.h
8d0d6655 1049pei-i386.o: pei-i386.c coff-i386.c $(INCDIR)/coff/i386.h \
4e98461f 1050 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
a52a3ce8 1051 $(INCDIR)/bfdlink.h coffcode.h peicode.h
356cd465
ILT
1052pe-ppc.o: pe-ppc.c coff-ppc.c $(INCDIR)/coff/powerpc.h \
1053 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1054 $(INCDIR)/bfdlink.h coffcode.h peicode.h
1055pei-ppc.o: pei-ppc.c coff-ppc.c $(INCDIR)/coff/powerpc.h \
1056 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1057 $(INCDIR)/bfdlink.h coffcode.h peicode.h
8d0d6655
KR
1058reloc16.o: reloc16.c $(INCDIR)/bfdlink.h genlink.h \
1059 $(INCDIR)/coff/internal.h libcoff.h
1060sparclynx.o: sparclynx.c $(INCDIR)/aout/sun4.h libaout.h \
1061 $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1062 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
1063sparcnetbsd.o: sparcnetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
1064 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1065 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
8d0d6655
KR
1066sunos.o: sunos.c $(INCDIR)/bfdlink.h libaout.h aoutf1.h \
1067 $(INCDIR)/aout/sun4.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1068 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
1069versados.o: versados.c $(INCDIR)/libiberty.h
356cd465
ILT
1070xcofflink.o: xcofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
1071 libcoff.h
8d0d6655
KR
1072aout64.o: aout64.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
1073 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
1074 $(INCDIR)/aout/ar.h
1075coff-alpha.o: coff-alpha.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
1076 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
86aac8ea
ILT
1077 $(INCDIR)/coff/alpha.h $(INCDIR)/aout/ar.h libcoff.h \
1078 libecoff.h coffswap.h ecoffswap.h
8d0d6655
KR
1079demo64.o: demo64.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
1080 $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1081 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
1082elf64-gen.o: elf64-gen.c elf-bfd.h $(INCDIR)/elf/common.h \
1083 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1084 elf64-target.h
d1bf45aa
ILT
1085elf64-mips.o: elf64-mips.c $(INCDIR)/bfdlink.h genlink.h \
1086 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1087 $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h elf64-target.h
8d0d6655
KR
1088elf64-sparc.o: elf64-sparc.c elf-bfd.h $(INCDIR)/elf/common.h \
1089 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
f2e33e27 1090 $(INCDIR)/elf/sparc.h elf64-target.h
8d0d6655
KR
1091elf64.o: elf64.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \
1092 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1093 elfcore.h elflink.h
1094nlm32-alpha.o: nlm32-alpha.c $(INCDIR)/nlm/alpha-ext.h \
1095 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1096 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
1097nlm64.o: nlm64.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
1098 $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
8d0d6655
KR
1099aix386-core.o: aix386-core.c $(INCDIR)/coff/i386.h \
1100 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h
1101hpux-core.o: hpux-core.c
1102irix-core.o: irix-core.c
1103lynx-core.o: lynx-core.c
1104osf-core.o: osf-core.c
86aac8ea 1105trad-core.o: trad-core.c libaout.h $(INCDIR)/bfdlink.h
767f22d5 1106cisco-core.o: cisco-core.c
8d0d6655
KR
1107i386dynix.o: i386dynix.c $(INCDIR)/aout/dynix3.h aoutx.h \
1108 $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
1109 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1110 aout-target.h
1111hp300bsd.o: hp300bsd.c libaout.h $(INCDIR)/bfdlink.h \
1112 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1113 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
cf587de8 1114# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This page took 0.22627 seconds and 4 git commands to generate.