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