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