* ns32k.h: New file.
[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 \
c877bdf1 102 elf.o srec.o binary.o tekhex.o ihex.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 \
c877bdf1 108 elf.c srec.c binary.c tekhex.c ihex.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 \
348 elf64-sparc.o \
349 elf64.o \
350 nlm32-alpha.o \
351 nlm64.o
352
353BFD64_BACKENDS_CFILES = \
8d0d6655
KR
354 aout64.c \
355 coff-alpha.c \
356 demo64.c \
357 elf64-gen.c \
358 elf64-sparc.c \
359 elf64.c \
360 nlm32-alpha.c \
767f22d5
FF
361 nlm64.c
362
363OPTIONAL_BACKENDS = \
364 aix386-core.o \
365 hpux-core.o \
366 irix-core.o \
367 lynx-core.o \
368 osf-core.o \
369 trad-core.o \
370 cisco-core.o
371
372OPTIONAL_BACKENDS_CFILES = \
373 aix386-core.c \
374 hpux-core.c \
375 irix-core.c \
376 lynx-core.c \
377 osf-core.c \
378 trad-core.c \
379 cisco-core.c
380
381# These are defined by configure.in:
382WORDSIZE = @wordsize@
383ALL_BACKENDS = @all_backends@
384BFD_BACKENDS = @bfd_backends@
385BFD_MACHINES = @bfd_machines@
386TDEFAULTS = @tdefaults@
387
388all:
389
390FLAGS_TO_PASS = \
391 "prefix=$(prefix)" \
392 "exec_prefix=$(exec_prefix)" \
393 "against=$(against)" \
394 "AR=$(AR)" \
395 "AR_FLAGS=$(AR_FLAGS)" \
396 "CC=$(CC)" \
397 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
398 "CFLAGS=$(CFLAGS)" \
399 "RANLIB=$(RANLIB)" \
400 "MAKEINFO=$(MAKEINFO)" \
401 "INSTALL=$(INSTALL)" \
402 "INSTALL_DATA=$(INSTALL_DATA)" \
403 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)"
404
405ALL_CFLAGS=@HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) $(CFLAGS)
406.c.o:
44f795f7
ILT
407 if [ -n "$(PICFLAG)" ]; then \
408 $(CC) -c $(PICFLAG) $(ALL_CFLAGS) $< -o pic/$@; \
409 else true; fi
767f22d5
FF
410 $(CC) -c $(ALL_CFLAGS) $<
411
412bfd_libs_here =
413all_machines_here =
414bfd32_backends_here =
415core_files_here =
416configs_not_included_in_all_targets_option_here =
417
418# C source files that correspond to .o's.
419CFILES = \
420 $(BFD_LIBS_CFILES) \
421 $(ALL_MACHINES_CFILES) \
422 $(BFD32_BACKENDS_CFILES) \
423 $(BFD64_BACKENDS_CFILES) \
424 $(OPTIONAL_BACKENDS_CFILES) \
8d0d6655 425 i386dynix.c hp300bsd.c
63ffe5ef 426
c6b399ce
KR
427HFILES = aout-target.h aoutf1.h aoutx.h coffcode.h \
428 coffswap.h ecoffswap.h elf32-hppa.h elf32-target.h elf64-target.h \
429 elfcode.h hppa_stubs.h libaout.h libbfd.h \
6ab826bd 430 libcoff.h libecoff.h elf-bfd.h libhppa.h libieee.h libnlm.h \
c877bdf1 431 liboasys.h nlm-target.h nlmcode.h som.h genlink.h netbsd.h ns32k.h
c6b399ce 432
44f795f7 433all: Makefile $(ALLLIBS) @PICLIST@
98c0c56d 434 @$(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
5176a6bc 435
30662ca6 436.NOEXPORT:
204ae00c 437MAKEOVERRIDES=
30662ca6 438
d5d53b0a 439.PHONY: check installcheck
5868184b 440check:
26b572e4 441 @echo No testsuites exist for the BFD library. Nothing to check.
d5d53b0a 442
76019c92 443installcheck:
26b572e4 444 @echo No testsuites exist for the BFD library. Nothing to check.
5868184b 445
74991624 446info dvi : force
9faacb92 447 @$(MAKE) subdir_do DO=$@ "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
2090ba83 448
5868184b 449clean-info:
98c0c56d 450 @$(MAKE) subdir_do DO=clean-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
f0abedbe 451
2090ba83 452install-info: force
98c0c56d 453 @$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
2090ba83 454
a2bd0529 455diststuff: info
cecbf7ed 456
dcdfa32c
DM
457# Various kinds of .o files to put in libbfd.a:
458# BFD_LIBS Generic routines, always needed.
5f9a2245
DM
459# BFD_BACKENDS Routines the configured targets need.
460# BFD_MACHINES Architecture-specific routines the configured targets need.
a52a3ce8 461# COREFILE Core file routines for a native configuration
a21227ef 462OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) @COREFILE@
5176a6bc 463
44f795f7
ILT
464stamp-ofiles: Makefile
465 rm -f tofiles
2fdca021 466 f=""; \
c812942f 467 for i in $(OFILES) ; do \
2fdca021 468 case " $$f " in \
dae31cf5 469 *" $$i "*) ;; \
2fdca021
KR
470 *) f="$$f $$i" ;; \
471 esac ; \
472 done ; \
44f795f7
ILT
473 echo $$f > tofiles
474 $(srcdir)/../move-if-change tofiles ofiles
475 touch stamp-ofiles
476
477ofiles: stamp-ofiles ; @true
c812942f
KR
478
479$(TARGETLIB): $(OFILES) ofiles
480 rm -f $(TARGETLIB)
481 @echo ofiles = `cat ofiles`
482 $(AR) $(AR_FLAGS) $(TARGETLIB) `cat ofiles`
483 $(RANLIB) $(TARGETLIB)
5176a6bc 484
44f795f7
ILT
485stamp-piclist: ofiles
486 rm -f tpiclist
487 if [ -n "$(PICFLAG)" ]; then \
488 sed -e 's,\([^ ][^ ]*\),pic/\1,g' ofiles > tpiclist; \
489 else \
490 cp ofiles tpiclist; \
491 fi
492 $(srcdir)/../move-if-change tpiclist piclist
493 touch stamp-piclist
494
495piclist: stamp-piclist ; @true
496
497$(SHLIB): stamp-picdir $(OFILES) piclist
498 rm -f $(SHLIB)
499 $(SHLIB_CC) $(SHLIB_CFLAGS) -o $(SHLIB) `cat piclist`
500
52c6bc4d
ILT
501# We make a link from libbfd.so to libbfd.so.VERSION for linking, and
502# also a link from libTARGET-bfd.so.VERSION for running.
44f795f7 503$(SHLINK): $(SHLIB)
52c6bc4d
ILT
504 ts=lib`echo $(SHLIB) | sed -e 's/^lib//' | sed -e '$(program_transform_name)'`; \
505 if [ "$$ts" != "$(SHLIB)" ]; then \
506 rm -f $$ts; \
507 ln -sf $(SHLIB) $$ts; \
508 else true; fi
44f795f7
ILT
509 rm -f $(SHLINK)
510 ln -sf $(SHLIB) $(SHLINK)
511
52c6bc4d
ILT
512# This target creates libTARGET-bfd.so.VERSION as a symlink to
513# libbfd.so.VERSION. It is used on SunOS, which does not have SONAME.
514stamp-tshlink: $(SHLIB)
515 tf=lib`echo $(SHLIB) | sed -e 's/^lib//' | sed '$(program_transform_name)'`; \
516 if [ "$$tf" != "$(SHLIB)" ]; then \
517 rm -f $$tf; \
518 ln -sf $(SHLIB) $$tf; \
519 else true; fi
520 touch stamp-tshlink
521
98c0c56d
BK
522# When compiling archures.c and targets.c, supply the default target
523# info from configure.
524
51300bdb 525targets.o: targets.c Makefile
44f795f7
ILT
526 if [ -n "$(PICFLAG)" ]; then \
527 $(CC) -c $(PICFLAG) $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/targets.c -o pic/targets.o; \
528 else true; fi
529 $(CC) -c $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/targets.c
4a29cb1e 530
51300bdb 531archures.o: archures.c Makefile
44f795f7
ILT
532 if [ -n "$(PICFLAG)" ]; then \
533 $(CC) -c $(PICFLAG) $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/archures.c -o pic/archures.o; \
534 else true; fi
535 $(CC) -c $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/archures.c
98c0c56d 536
b968e4f4
KR
537elf32-target.h : elfxx-target.h
538 rm -f elf32-target.h
539 sed -e s/NN/32/g < $(srcdir)/elfxx-target.h > elf32-target.new
540 mv -f elf32-target.new elf32-target.h
541
542elf64-target.h : elfxx-target.h
543 rm -f elf64-target.h
544 sed -e s/NN/64/g < $(srcdir)/elfxx-target.h > elf64-target.new
545 mv -f elf64-target.new elf64-target.h
546
f259290f 547subdir_do: force
6e491a87 548 @for i in $(DODIRS); do \
5868184b
FF
549 if [ -d ./$$i ] ; then \
550 if (cd ./$$i; \
98c0c56d 551 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
f259290f
RP
552 else exit 1 ; fi ; \
553 else true ; fi ; \
554 done
555
99a42820
RP
556tags etags: TAGS
557
5176a6bc 558TAGS: force
453063fe 559 etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c
99a42820 560
ef2810d0 561do_mostlyclean:
44f795f7
ILT
562 rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout config.log \
563 pic/*.o
fbee3571 564do_clean: do_mostlyclean
44f795f7
ILT
565 rm -f libbfd.a TAGS bfd.h stmp-bfd.h ofiles stamp-ofiles \
566 elf32-target.h elf64-target.h $(SHLIB) $(SHLINK) \
567 piclist stamp-piclist
ef2810d0 568do_distclean: do_clean
870015b1 569 rm -f Makefile config.status config.cache config.h stamp-h
44f795f7 570 rm -rf pic stamp-picdir
9521bac3 571do_maintainer_clean: do_distclean
66761e59 572 rm -f $(srcdir)/bfd-in2.h $(srcdir)/libbfd.h $(srcdir)/libcoff.h
ef2810d0
PB
573
574mostlyclean: do_mostlyclean
575 $(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
fbee3571 576clean: do_clean
ef2810d0 577 $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
0e238aa7 578distclean:
ef2810d0 579 $(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
180acef5 580 $(MAKE) do_distclean
9521bac3 581clobber maintainer-clean realclean:
66761e59
ILT
582 @echo "This command is intended for maintainers to use;"
583 @echo "it deletes files that may require special tools to rebuild."
9521bac3
ILT
584 $(MAKE) subdir_do DO=maintainer-clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS)
585 $(MAKE) do_maintainer_clean
99a42820 586
d684720f 587BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/obstack.h
b7577823
ILT
588LOCAL_H_DEPS= libbfd.h sysdep.h config.h
589$(BFD_LIBS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
590$(BFD_MACHINES): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
591$(BFD_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
592$(OPTIONAL_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
99a42820 593
cbdc7909
JG
594# Get around a Sun Make bug in SunOS 4.1.1 with VPATH
595cpu-i386.o:cpu-i386.c
fbee3571 596cpu-z8k.o: cpu-z8k.c
204ae00c 597cpu-h8500.o: cpu-h8500.c
fbee3571 598cpu-we32k.o: cpu-we32k.c
cbdc7909 599
99a42820
RP
600saber:
601 #suppress 65 on bfd_map_over_sections
602 #suppress 66 on bfd_map_over_sections
603 #suppress 67 on bfd_map_over_sections
604 #suppress 68 on bfd_map_over_sections
605 #suppress 69 on bfd_map_over_sections
606 #suppress 70 on bfd_map_over_sections
607 #suppress 110 in bfd_map_over_sections
608 #suppress 112 in bfd_map_over_sections
609 #suppress 530
610 #suppress 590 in swap_exec_header
611 #suppress 590 in _bfd_dummy_core_file_matches_executable_p
612 #suppress 590 in bfd_dont_truncate_arname
613 #suppress 590 on ignore
614 #suppress 590 on abfd
615 #setopt load_flags $(CFLAGS)
616 #load $(CFILES)
a5c6b4b3 617
99a42820
RP
618
619#-----------------------------------------------------------------------------
620# 'STANDARD' GNU/960 TARGETS BELOW THIS POINT
621#
622# 'VERSION' file must be present and contain a string of the form "x.y"
623#-----------------------------------------------------------------------------
624
625ver960.c: FORCE
626 rm -f ver960.c
627 echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c
628
629
630# This target should be invoked before building a new release.
631# 'VERSION' file must be present and contain a string of the form "x.y"
632#
633roll:
634 @V=`cat VERSION` ; \
635 MAJ=`sed 's/\..*//' VERSION` ; \
636 MIN=`sed 's/.*\.//' VERSION` ; \
637 V=$$MAJ.`expr $$MIN + 1` ; \
638 rm -f VERSION ; \
639 echo $$V >VERSION ; \
640 echo Version $$V
641
642# Dummy target to force execution of dependent targets.
643#
5176a6bc 644force:
99a42820 645
44f795f7
ILT
646install: $(ALLLIBS)
647 for f in $(ALLLIBS); do \
52c6bc4d
ILT
648 if [ "$$f" = "stamp-tshlink" ]; then \
649 continue; \
650 fi; \
48fd00b6
ILT
651 tf=lib`echo $$f | sed -e 's/^lib//' | sed '$(program_transform_name)'`; \
652 rm -f $(libdir)/$$tf; \
44f795f7 653 if [ "$$f" = "$(SHLINK)" ]; then \
48fd00b6
ILT
654 ts=lib`echo $(SHLIB) | sed -e 's/^lib//' | sed '$(program_transform_name)'`; \
655 ln -sf $$ts $(libdir)/$$tf; \
44f795f7 656 elif [ "$$f" = "$(SHLIB)" ]; then \
48fd00b6 657 $(INSTALL_PROGRAM) $$f $(libdir)/$$tf; \
44f795f7 658 else \
48fd00b6
ILT
659 $(INSTALL_DATA) $$f $(libdir)/$$tf; \
660 $(RANLIB) $(libdir)/$$tf; \
661 chmod a-x $(libdir)/$$tf; \
44f795f7
ILT
662 fi; \
663 done
75ff7895
DZ
664# Install BFD include file, and others that it needs. Install them
665# both in GCC's include directory, and in the system include dir
666# if configured as $(oldincludedir) -- which it usually isnt.
a5220fb9 667 $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
6cabab78 668 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
89665c85 669 $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(includedir)/bfdlink.h
6cabab78 670 $(INSTALL_DATA) $(INCDIR)/obstack.h $(includedir)/obstack.h
5d4c714e
DM
671 -if test -z "$(oldincludedir)"; then true; else \
672 test -d $(oldincludedir) || mkdir $(oldincludedir); \
673 $(INSTALL_DATA) $(BFD_H) $(oldincludedir)/bfd.h; \
674 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h; \
89665c85 675 $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(oldincludedir)/bfdlink.h; \
5d4c714e 676 $(INSTALL_DATA) $(INCDIR)/obstack.h $(oldincludedir)/obstack.h; \
2c96ba79 677 $(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS); \
5d4c714e 678 fi
99a42820 679
65d3ae6b 680Makefile: Makefile.in config.status
870015b1
ILT
681 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
682
683config.h: stamp-h ; @true
936b870c
ILT
684stamp-h: config.in config.status
685 CONFIG_FILES= CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.status
a5c6b4b3 686
b7577823 687config.status: configure configure.host config.bfd
b10e9afb
ILT
688 $(SHELL) config.status --recheck
689
c6b399ce
KR
690# Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
691.dep: dep.sed $(CFILES) $(HFILES) bfd.h
692 rm -f .dep1
693 $(MAKE) DEP=$(DEP) .dep1
694 sed -f dep.sed <.dep1 >.dep
695
d684720f 696# This rule really wants a mkdep that runs "gcc -MM".
767f22d5
FF
697# The NetBSD mkdep overwrites any existing file contents, and doesn't insert
698# the "DO NOT DELETE" line.
699# Other mkdep versions require a file that already exists, and do insert it.
700# Hence the weirdness....
d684720f 701.dep1: $(CFILES)
8d0d6655 702 rm -f .dep2 .dep2a
d684720f 703 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2
767f22d5 704 echo > .dep2a
8d0d6655 705 $(DEP) -f .dep2a $(ALL_CFLAGS) $?
767f22d5 706 sed -e '/DO NOT DELETE/d' -e '/^$$/d' < .dep2a >> .dep2
8d0d6655 707 rm -f .dep2a
653dd82a 708 $(srcdir)/../move-if-change .dep2 .dep1
d684720f 709
c6b399ce 710dep.sed: dep-in.sed config.status
d684720f
KR
711 sed <$(srcdir)/dep-in.sed >dep.sed \
712 -e 's!@BFD_H@!$(BFD_H)!' \
713 -e 's!@INCDIR@!$(INCDIR)!' \
8c693660 714 -e 's!@SRCDIR@!$(srcdir)!'
d684720f 715
d684720f
KR
716dep: .dep
717 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile
718 cat .dep >> tmp-Makefile
653dd82a
SG
719 $(srcdir)/../move-if-change tmp-Makefile Makefile
720
721dep-in: .dep
722 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in
723 cat .dep >> tmp-Makefile.in
724 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in
6f715d66 725
5868184b 726host-aout.o: Makefile
6f715d66 727
5868184b
FF
728# The following program can be used to generate a simple config file
729# which can be folded into an h-XXX file for a new host, with some editing.
d01cd8fc 730aout-params.h: gen-aout
4e810849 731 ./gen-aout host > aout-params.h
5868184b
FF
732gen-aout: $(srcdir)/gen-aout.c Makefile
733 $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
6f715d66 734
34075964
PB
735BFDIN_H= $(srcdir)/bfd-in2.h
736
a5220fb9 737$(BFD_H): stmp-bfd.h ; @true
75ff7895 738
15db2044 739stmp-bfd.h : $(srcdir)/bfd-in2.h Makefile
b7577823 740 rm -f bfd.h-new
5a66538b
KR
741 sed -e 's/@WORDSIZE@/$(WORDSIZE)/' \
742 -e "s/@VERSION@/`cat $(srcdir)/VERSION`/" \
b7577823 743 -e 's/@BFD_HOST_64BIT_LONG@/@HOST_64BIT_LONG@/' \
5a66538b
KR
744 < $(srcdir)/bfd-in2.h \
745 > bfd.h-new
15db2044 746 $(srcdir)/../move-if-change bfd.h-new $(BFD_H)
75ff7895 747 touch stmp-bfd.h
34075964 748
a5220fb9 749# Could really use a "copy-if-change"...
12e7087f 750headers:
98c0c56d 751 (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS))
15db2044
KR
752 cp $(docdir)/bfd.h bfd-in2.h-new
753 $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
6bb4c923
KR
754 cp $(docdir)/libbfd.h libbfd.h-new
755 $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
756 cp $(docdir)/libcoff.h libcoff.h-new
757 $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
12e7087f 758
66761e59
ILT
759# The rules for the generated header files are here so that people can
760# type `make bfd-in2.h' if they remove it. They are not run by default.
52c6bc4d 761$(srcdir)/bfd-in2.h:
44f795f7 762 (cd $(docdir); $(MAKE) bfd.h $(FLAGS_TO_PASS))
66761e59
ILT
763 cp $(docdir)/bfd.h bfd-in2.h-new
764 $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
52c6bc4d 765$(srcdir)/libbfd.h:
44f795f7 766 (cd $(docdir); $(MAKE) libbfd.h $(FLAGS_TO_PASS))
66761e59
ILT
767 cp $(docdir)/libbfd.h libbfd.h-new
768 $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
52c6bc4d 769$(srcdir)/libcoff.h:
44f795f7 770 (cd $(docdir); $(MAKE) libcoff.h $(FLAGS_TO_PASS))
66761e59
ILT
771 cp $(docdir)/libcoff.h libcoff.h-new
772 $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
773
12e7087f 774bfd.info:
fbee3571 775 (cd $(docdir); $(MAKE) bfd.info $(FLAGS_TO_PASS))
12e7087f
JG
776
777bfd.dvi:
98c0c56d 778 (cd $(docdir); $(MAKE) bfd.dvi $(FLAGS_TO_PASS))
12e7087f
JG
779
780bfd.ps:
98c0c56d 781 (cd $(docdir); $(MAKE) bfd.ps $(FLAGS_TO_PASS))
12e7087f 782
8809320b 783start-sanitize-arc:
6ab826bd 784elf32-arc.o: elf32-arc.c elf-bfd.h $(INCDIR)/elf/common.h \
8809320b
ILT
785 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
786 $(INCDIR)/elf/arc.h elf32-target.h
787end-sanitize-arc:
788
44f795f7
ILT
789$(OFILES): stamp-picdir
790
791stamp-picdir:
792 if [ -n "$(PICFLAG)" ] && [ ! -d pic ]; then \
793 mkdir pic; \
794 else true; fi
795 touch stamp-picdir
796
12e7087f
JG
797# What appears below is generated by a hacked mkdep using gcc -MM.
798
799# DO NOT DELETE THIS LINE -- mkdep uses it.
cf587de8 800# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
8d0d6655
KR
801archive.o: archive.c $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h
802archures.o: archures.c
7ce8b9d1 803bfd.o: bfd.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
130308bf 804 $(INCDIR)/coff/sym.h libcoff.h libecoff.h $(INCDIR)/coff/ecoff.h \
6ab826bd 805 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
130308bf 806 $(INCDIR)/elf/external.h
7ce8b9d1 807cache.o: cache.c
8d0d6655
KR
808coffgen.o: coffgen.c $(INCDIR)/coff/internal.h libcoff.h \
809 $(INCDIR)/bfdlink.h
810corefile.o: corefile.c
811format.o: format.c
812init.o: init.c
813libbfd.o: libbfd.c
814opncls.o: opncls.c
815reloc.o: reloc.c $(INCDIR)/bfdlink.h
816section.o: section.c
86aac8ea
ILT
817syms.o: syms.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/stab_gnu.h \
818 $(INCDIR)/aout/stab.def
8d0d6655
KR
819targets.o: targets.c
820hash.o: hash.c
821linker.o: linker.c $(INCDIR)/bfdlink.h genlink.h
822elf.o: elf.c $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
823 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
661df78b 824srec.o: srec.c $(INCDIR)/libiberty.h
29407610 825binary.o: binary.c
661df78b 826tekhex.o: tekhex.c $(INCDIR)/libiberty.h
767f22d5 827ihex.o: ihex.c $(INCDIR)/libiberty.h
c877bdf1
ILT
828stab-syms.o: stab-syms.c libaout.h $(INCDIR)/bfdlink.h \
829 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab.def
8d0d6655
KR
830cpu-a29k.o: cpu-a29k.c
831cpu-alpha.o: cpu-alpha.c
832cpu-arm.o: cpu-arm.c
833cpu-h8300.o: cpu-h8300.c
834cpu-h8500.o: cpu-h8500.c
835cpu-hppa.o: cpu-hppa.c
836cpu-i386.o: cpu-i386.c
cf587de8 837cpu-i860.o: cpu-i860.c
8d0d6655
KR
838cpu-i960.o: cpu-i960.c
839cpu-m68k.o: cpu-m68k.c
840cpu-m88k.o: cpu-m88k.c
841cpu-mips.o: cpu-mips.c
c877bdf1 842cpu-ns32k.o: cpu-ns32k.c ns32k.h
8d0d6655
KR
843cpu-powerpc.o: cpu-powerpc.c
844cpu-rs6000.o: cpu-rs6000.c
845cpu-sh.o: cpu-sh.c
846cpu-sparc.o: cpu-sparc.c
847cpu-vax.o: cpu-vax.c
848cpu-we32k.o: cpu-we32k.c
849cpu-w65.o: cpu-w65.c
850cpu-z8k.o: cpu-z8k.c
851aout-adobe.o: aout-adobe.c $(INCDIR)/aout/adobe.h $(INCDIR)/aout/stab_gnu.h \
852 $(INCDIR)/aout/stab.def libaout.h $(INCDIR)/bfdlink.h
853aout-ns32k.o: aout-ns32k.c $(INCDIR)/aout/aout64.h \
c877bdf1 854 ns32k.h libaout.h $(INCDIR)/bfdlink.h
7ce8b9d1 855aout0.o: aout0.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
0b72c410
KR
856 $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
857 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
8d0d6655
KR
858aout32.o: aout32.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
859 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
860 $(INCDIR)/aout/ar.h
861bout.o: bout.c $(INCDIR)/bfdlink.h genlink.h $(INCDIR)/bout.h \
862 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h
863cf-i386lynx.o: cf-i386lynx.c coff-i386.c $(INCDIR)/coff/i386.h \
3cd942de
ILT
864 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
865 coffcode.h coffswap.h
8d0d6655
KR
866cf-m68klynx.o: cf-m68klynx.c coff-m68k.c $(INCDIR)/coff/m68k.h \
867 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
868 coffcode.h coffswap.h
869cf-sparclynx.o: cf-sparclynx.c coff-sparc.c $(INCDIR)/coff/sparc.h \
3cd942de
ILT
870 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
871 coffcode.h coffswap.h
7ce8b9d1 872coff-a29k.o: coff-a29k.c $(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h \
3cd942de 873 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
8d0d6655
KR
874coff-apollo.o: coff-apollo.c $(INCDIR)/coff/apollo.h \
875 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
356cd465 876 coffcode.h coffswap.h
8d0d6655
KR
877coff-arm.o: coff-arm.c $(INCDIR)/coff/arm.h $(INCDIR)/coff/internal.h \
878 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
f2e33e27 879coff-aux.o: coff-aux.c $(INCDIR)/coff/aux-coff.h $(INCDIR)/coff/internal.h \
d19df9b5
ILT
880 $(INCDIR)/coff/m68k.h coff-m68k.c libcoff.h $(INCDIR)/bfdlink.h \
881 coffcode.h coffswap.h
c877bdf1
ILT
882coff-h8300.o: coff-h8300.c $(INCDIR)/bfdlink.h genlink.h \
883 $(INCDIR)/coff/h8300.h $(INCDIR)/coff/internal.h libcoff.h \
884 coffcode.h coffswap.h
8d0d6655
KR
885coff-h8500.o: coff-h8500.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/h8500.h \
886 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
887coff-i386.o: coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \
888 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
cf587de8
ILT
889coff-i860.o: coff-i860.c $(INCDIR)/coff/i860.h $(INCDIR)/coff/internal.h \
890 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
8d0d6655
KR
891coff-go32.o: coff-go32.c coff-i386.c $(INCDIR)/coff/i386.h \
892 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
3cd942de 893 coffcode.h coffswap.h
8d0d6655
KR
894coff-i960.o: coff-i960.c $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h \
895 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
896coff-m68k.o: coff-m68k.c $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \
3cd942de 897 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
7ce8b9d1 898coff-m88k.o: coff-m88k.c $(INCDIR)/coff/m88k.h $(INCDIR)/coff/internal.h \
3cd942de 899 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
7ce8b9d1 900coff-mips.o: coff-mips.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
d5d53b0a
JW
901 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
902 $(INCDIR)/coff/mips.h libcoff.h libecoff.h coffswap.h \
903 ecoffswap.h
8d0d6655
KR
904coff-pmac.o: coff-pmac.c coff-rs6000.c $(INCDIR)/coff/internal.h \
905 $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \
906 coffcode.h coffswap.h
907coff-rs6000.o: coff-rs6000.c $(INCDIR)/coff/internal.h \
908 $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \
909 coffcode.h coffswap.h
7ce8b9d1 910coff-sh.o: coff-sh.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \
130308bf 911 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
8d0d6655
KR
912coff-sparc.o: coff-sparc.c $(INCDIR)/coff/sparc.h $(INCDIR)/coff/internal.h \
913 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
914coff-u68k.o: coff-u68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \
915 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
916 coffcode.h coffswap.h
7ce8b9d1 917coff-we32k.o: coff-we32k.c $(INCDIR)/coff/we32k.h $(INCDIR)/coff/internal.h \
3cd942de 918 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
ac400c0e
ILT
919coff-w65.o: coff-w65.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/w65.h \
920 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
8d0d6655 921coff-z8k.o: coff-z8k.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/z8k.h \
130308bf 922 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
8d0d6655
KR
923cofflink.o: cofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
924 libcoff.h
925ecoff.o: ecoff.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/ar.h \
926 $(INCDIR)/aout/ranlib.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
927 libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/coff/internal.h \
928 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
929 libcoff.h libecoff.h
930ecofflink.o: ecofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/stab_gnu.h \
931 $(INCDIR)/aout/stab.def $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \
932 $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h
933elf32-gen.o: elf32-gen.c elf-bfd.h $(INCDIR)/elf/common.h \
934 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
935 elf32-target.h
936elf32-hppa.o: elf32-hppa.c $(INCDIR)/bfdlink.h elf-bfd.h \
130308bf 937 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
8d0d6655 938 elf32-hppa.h libhppa.h $(INCDIR)/elf/hppa.h hppa_stubs.h \
130308bf 939 elf32-target.h
6ab826bd 940elf32-i386.o: elf32-i386.c $(INCDIR)/bfdlink.h elf-bfd.h \
7ce8b9d1
ILT
941 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
942 elf32-target.h
6ab826bd 943elf32-i860.o: elf32-i860.c elf-bfd.h $(INCDIR)/elf/common.h \
7ce8b9d1
ILT
944 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
945 elf32-target.h
6ab826bd 946elf32-m68k.o: elf32-m68k.c $(INCDIR)/bfdlink.h elf-bfd.h \
8809320b 947 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
7ce8b9d1 948 elf32-target.h
6ab826bd 949elf32-m88k.o: elf32-m88k.c elf-bfd.h $(INCDIR)/elf/common.h \
7ce8b9d1
ILT
950 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
951 elf32-target.h
952elf32-mips.o: elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \
6ab826bd 953 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
130308bf
ILT
954 $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
955 $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
8d12f138 956 $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \
d5d53b0a 957 elf32-target.h
6ab826bd 958elf32-ppc.o: elf32-ppc.c $(INCDIR)/bfdlink.h elf-bfd.h \
8809320b
ILT
959 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
960 $(INCDIR)/elf/ppc.h elf32-target.h
8d0d6655
KR
961elf32-sparc.o: elf32-sparc.c $(INCDIR)/bfdlink.h elf-bfd.h \
962 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
86aac8ea 963 $(INCDIR)/elf/sparc.h elf32-target.h
8d0d6655 964elf32.o: elf32.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \
b10e9afb
ILT
965 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
966 elfcore.h elflink.h
8d0d6655
KR
967elflink.o: elflink.c $(INCDIR)/bfdlink.h elf-bfd.h \
968 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
7ce8b9d1 969hp300hpux.o: hp300hpux.c $(INCDIR)/aout/hp300hpux.h \
130308bf
ILT
970 aoutx.h $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
971 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
972 aout-target.h
8d0d6655
KR
973som.o: som.c
974i386aout.o: i386aout.c libaout.h $(INCDIR)/bfdlink.h \
975 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
976 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
977i386bsd.o: i386bsd.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
767f22d5
FF
980i386freebsd.o: i386freebsd.c freebsd.h 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
8d0d6655
KR
983i386linux.o: i386linux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
984 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
985 $(INCDIR)/bfdlink.h aout-target.h
0b72c410
KR
986i386lynx.o: i386lynx.c libaout.h $(INCDIR)/bfdlink.h \
987 $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
988 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
8d0d6655
KR
989i386msdos.o: i386msdos.c libaout.h $(INCDIR)/bfdlink.h
990i386netbsd.o: i386netbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
991 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
992 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
993i386mach3.o: i386mach3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
994 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
995 $(INCDIR)/bfdlink.h aout-target.h
996i386os9k.o: i386os9k.c $(INCDIR)/bfdlink.h libaout.h \
997 $(INCDIR)/os9k.h
998ieee.o: ieee.c $(INCDIR)/ieee.h libieee.h
c877bdf1
ILT
999m68klinux.o: m68klinux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1000 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
1001 $(INCDIR)/bfdlink.h aout-target.h
0b72c410
KR
1002m68klynx.o: m68klynx.c libaout.h $(INCDIR)/bfdlink.h \
1003 $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
1004 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
661df78b
KR
1005m68knetbsd.o: m68knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
1006 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1007 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
8d0d6655 1008m88kmach3.o: m88kmach3.c libaout.h $(INCDIR)/bfdlink.h \
c768bd3f
ILT
1009 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1010 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
8d0d6655 1011mipsbsd.o: mipsbsd.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
KR
1014newsos3.o: newsos3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1015 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \
1016 $(INCDIR)/bfdlink.h aout-target.h
1017nlm.o: nlm.c libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1018 $(INCDIR)/nlm/external.h
1019nlm32-i386.o: nlm32-i386.c $(INCDIR)/nlm/i386-ext.h \
1020 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1021 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
1022nlm32-sparc.o: nlm32-sparc.c $(INCDIR)/nlm/sparc32-ext.h \
1023 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1024 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
1025nlm32-ppc.o: nlm32-ppc.c $(INCDIR)/nlm/ppc-ext.h libnlm.h \
1026 $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h \
1027 nlmswap.h nlm-target.h
1028nlm32.o: nlm32.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
1029 $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
1030ns32knetbsd.o: ns32knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
1031 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1032 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1033oasys.o: oasys.c $(INCDIR)/oasys.h liboasys.h
1034pc532-mach.o: pc532-mach.c libaout.h $(INCDIR)/bfdlink.h \
1035 $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \
1036 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
1037pe-arm.o: pe-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
8809320b 1038 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
356cd465 1039 $(INCDIR)/bfdlink.h coffcode.h peicode.h
8d0d6655 1040pei-arm.o: pei-arm.c coff-arm.c $(INCDIR)/coff/arm.h \
8809320b 1041 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
a52a3ce8 1042 $(INCDIR)/bfdlink.h coffcode.h peicode.h
8d0d6655 1043pe-i386.o: pe-i386.c coff-i386.c $(INCDIR)/coff/i386.h \
4e98461f 1044 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
356cd465 1045 $(INCDIR)/bfdlink.h coffcode.h peicode.h
8d0d6655 1046pei-i386.o: pei-i386.c coff-i386.c $(INCDIR)/coff/i386.h \
4e98461f 1047 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
a52a3ce8 1048 $(INCDIR)/bfdlink.h coffcode.h peicode.h
356cd465
ILT
1049pe-ppc.o: pe-ppc.c coff-ppc.c $(INCDIR)/coff/powerpc.h \
1050 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
1051 $(INCDIR)/bfdlink.h coffcode.h peicode.h
1052pei-ppc.o: pei-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
8d0d6655
KR
1055reloc16.o: reloc16.c $(INCDIR)/bfdlink.h genlink.h \
1056 $(INCDIR)/coff/internal.h libcoff.h
1057sparclynx.o: sparclynx.c $(INCDIR)/aout/sun4.h libaout.h \
1058 $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1059 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
1060sparcnetbsd.o: sparcnetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \
1061 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1062 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
8d0d6655
KR
1063sunos.o: sunos.c $(INCDIR)/bfdlink.h libaout.h aoutf1.h \
1064 $(INCDIR)/aout/sun4.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1065 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
1066versados.o: versados.c $(INCDIR)/libiberty.h
356cd465
ILT
1067xcofflink.o: xcofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
1068 libcoff.h
8d0d6655
KR
1069aout64.o: aout64.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \
1070 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
1071 $(INCDIR)/aout/ar.h
1072coff-alpha.o: coff-alpha.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
1073 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
86aac8ea
ILT
1074 $(INCDIR)/coff/alpha.h $(INCDIR)/aout/ar.h libcoff.h \
1075 libecoff.h coffswap.h ecoffswap.h
8d0d6655
KR
1076demo64.o: demo64.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \
1077 $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1078 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
1079elf64-gen.o: elf64-gen.c elf-bfd.h $(INCDIR)/elf/common.h \
1080 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
1081 elf64-target.h
1082elf64-sparc.o: elf64-sparc.c elf-bfd.h $(INCDIR)/elf/common.h \
1083 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
f2e33e27 1084 $(INCDIR)/elf/sparc.h elf64-target.h
8d0d6655
KR
1085elf64.o: elf64.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \
1086 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
1087 elfcore.h elflink.h
1088nlm32-alpha.o: nlm32-alpha.c $(INCDIR)/nlm/alpha-ext.h \
1089 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
1090 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
1091nlm64.o: nlm64.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
1092 $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
8d0d6655
KR
1093aix386-core.o: aix386-core.c $(INCDIR)/coff/i386.h \
1094 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h
1095hpux-core.o: hpux-core.c
1096irix-core.o: irix-core.c
1097lynx-core.o: lynx-core.c
1098osf-core.o: osf-core.c
86aac8ea 1099trad-core.o: trad-core.c libaout.h $(INCDIR)/bfdlink.h
767f22d5 1100cisco-core.o: cisco-core.c
8d0d6655
KR
1101i386dynix.o: i386dynix.c $(INCDIR)/aout/dynix3.h aoutx.h \
1102 $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
1103 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \
1104 aout-target.h
1105hp300bsd.o: hp300bsd.c libaout.h $(INCDIR)/bfdlink.h \
1106 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
1107 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
cf587de8 1108# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This page took 0.225098 seconds and 4 git commands to generate.