Bump to autoconf 2.69 and automake 1.15.1
[deliverable/binutils-gdb.git] / bfd / Makefile.am
CommitLineData
252b5132 1## Process this file with automake to generate Makefile.in
5bf135a7 2#
219d1afa 3# Copyright (C) 2012-2018 Free Software Foundation, Inc.
5bf135a7
NC
4#
5# This file is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 3 of the License, or
8# (at your option) any later version.
1b786873 9#
5bf135a7
NC
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
1b786873 14#
5bf135a7
NC
15# You should have received a copy of the GNU General Public License
16# along with this program; see the file COPYING3. If not see
17# <http://www.gnu.org/licenses/>.
18#
252b5132 19
d0ac1c44 20AUTOMAKE_OPTIONS = no-dist foreign
79887925 21ACLOCAL_AMFLAGS = -I . -I .. -I ../config
252b5132
RH
22
23INCDIR = $(srcdir)/../include
24CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
252b5132
RH
25
26SUBDIRS = doc po
27
108a6f8e 28bfddocdir = doc
252b5132 29
14ec8efd
RW
30libbfd_la_LDFLAGS =
31if INSTALL_LIBBFD
573e8a1c
RW
32bfdlibdir = @bfdlibdir@
33bfdincludedir = @bfdincludedir@
a703a6ea 34bfdlib_LTLIBRARIES = libbfd.la
14ec8efd
RW
35bfdinclude_HEADERS = $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/bfdlink.h
36else !INSTALL_LIBBFD
573e8a1c
RW
37# Empty these so that the respective installation directories will not be created.
38bfdlibdir =
39bfdincludedir =
200c83b8 40bfdinclude_HEADERS =
573e8a1c 41rpath_bfdlibdir = @bfdlibdir@
14ec8efd 42noinst_LTLIBRARIES = libbfd.la
573e8a1c 43libbfd_la_LDFLAGS += -rpath $(rpath_bfdlibdir)
14ec8efd 44endif
252b5132 45
243340ad
L
46# This is where we get zlib from. zlibdir is -L../zlib and zlibinc is
47# -I../zlib, unless we were configured with --with-system-zlib, in which
48# case both are empty.
49ZLIB = @zlibdir@ -lz
50ZLIBINC = @zlibinc@
51
a2d91340 52WARN_CFLAGS = @WARN_CFLAGS@
9e9b66a9 53NO_WERROR = @NO_WERROR@
243340ad 54AM_CFLAGS = $(WARN_CFLAGS) $(ZLIBINC)
ce3c775b
NC
55AM_CPPFLAGS = -DBINDIR='"$(bindir)"'
56if PLUGINS
200c83b8 57bfdinclude_HEADERS += $(INCDIR)/plugin-api.h
3cf9e6c4 58LIBDL = @lt_cv_dlopen_libs@
ce3c775b 59endif
a2d91340 60
252b5132
RH
61# bfd.h goes here, for now
62BFD_H = bfd.h
63
64# Jim Kingdon notes:
65# Writing S-records should be included in all (or at least most)
66# *-*-coff, *-*-aout, etc., configurations, because people will want to
67# be able to use objcopy to create S-records. (S-records are not useful
68# for the debugger, so if you are downloading things as S-records you
69# need two copies of the executable, one to download and one for the
70# debugger).
36b45482 71BFD32_LIBS = \
93509525 72 archive.lo archures.lo bfd.lo bfdio.lo bfdwin.lo \
f4943d82
AM
73 cache.lo coff-bfd.lo compress.lo corefile.lo format.lo hash.lo \
74 init.lo libbfd.lo linker.lo merge.lo opncls.lo reloc.lo \
75 section.lo simple.lo stab-syms.lo stabs.lo syms.lo targets.lo \
76 binary.lo ihex.lo srec.lo tekhex.lo verilog.lo
252b5132 77
36b45482
TS
78BFD64_LIBS = archive64.lo
79
80BFD32_LIBS_CFILES = \
93509525 81 archive.c archures.c bfd.c bfdio.c bfdwin.c \
f4943d82
AM
82 cache.c coff-bfd.c compress.c corefile.c format.c hash.c \
83 init.c libbfd.c linker.c merge.c opncls.c reloc.c \
84 section.c simple.c stab-syms.c stabs.c syms.c targets.c \
85 binary.c ihex.c srec.c tekhex.c verilog.c
252b5132 86
36b45482
TS
87BFD64_LIBS_CFILES = archive64.c
88
252b5132
RH
89# This list is alphabetized to make it easier to keep in sync
90# with the decls and initializer in archures.c.
91ALL_MACHINES = \
a06ea964 92 cpu-aarch64.lo \
252b5132
RH
93 cpu-alpha.lo \
94 cpu-arc.lo \
95 cpu-arm.lo \
adde6300 96 cpu-avr.lo \
0f64bb02 97 cpu-bfin.lo \
3d3d428f 98 cpu-cr16.lo \
0949843d 99 cpu-cr16c.lo \
06c15ad7 100 cpu-cris.lo \
1fe1f39c 101 cpu-crx.lo \
252b5132
RH
102 cpu-d10v.lo \
103 cpu-d30v.lo \
d172d4ba 104 cpu-dlx.lo \
cfb8c092 105 cpu-epiphany.lo \
252b5132 106 cpu-fr30.lo \
4e5ba5b7 107 cpu-frv.lo \
3f8107ab 108 cpu-ft32.lo \
252b5132 109 cpu-h8300.lo \
252b5132
RH
110 cpu-hppa.lo \
111 cpu-i386.lo \
bf64a951 112 cpu-iamcu.lo \
8a9036a4 113 cpu-l1om.lo \
7a9068fe 114 cpu-k1om.lo \
ce3c775b 115 cpu-ia64.lo \
cf88bb9f 116 cpu-ip2k.lo \
a75473eb 117 cpu-iq2000.lo \
84e94c90 118 cpu-lm32.lo \
ce3c775b
NC
119 cpu-m10200.lo \
120 cpu-m10300.lo \
49f58d10 121 cpu-m32c.lo \
252b5132 122 cpu-m32r.lo \
60bcf0fa
NC
123 cpu-m68hc11.lo \
124 cpu-m68hc12.lo \
6927f982 125 cpu-m9s12x.lo \
7b4ae824 126 cpu-s12z.lo \
6927f982 127 cpu-m9s12xg.lo \
252b5132 128 cpu-m68k.lo \
252b5132 129 cpu-mcore.lo \
d9352518 130 cpu-mep.lo \
a3c62988 131 cpu-metag.lo \
7ba29e2a 132 cpu-microblaze.lo \
252b5132 133 cpu-mips.lo \
3c3bdf30 134 cpu-mmix.lo \
ce3c775b 135 cpu-moxie.lo \
32d95f29 136 cpu-msp430.lo \
ce3c775b 137 cpu-mt.lo \
35c08157 138 cpu-nds32.lo \
fe944acf 139 cpu-nfp.lo \
36591ba1 140 cpu-nios2.lo \
252b5132 141 cpu-ns32k.lo \
73589c9d 142 cpu-or1k.lo \
e135f41b 143 cpu-pdp11.lo \
0bcb993b 144 cpu-pj.lo \
ce3c775b 145 cpu-plugin.lo \
252b5132 146 cpu-powerpc.lo \
889294f6 147 cpu-pru.lo \
252b5132 148 cpu-rs6000.lo \
e23eba97 149 cpu-riscv.lo \
99c513f6 150 cpu-rl78.lo \
c7927a3c 151 cpu-rx.lo \
a85d7ed0 152 cpu-s390.lo \
1c0d3aa6 153 cpu-score.lo \
252b5132
RH
154 cpu-sh.lo \
155 cpu-sparc.lo \
e9f53129 156 cpu-spu.lo \
252b5132 157 cpu-tic30.lo \
026df7c5 158 cpu-tic4x.lo \
81635ce4 159 cpu-tic54x.lo \
40b36596 160 cpu-tic6x.lo \
252b5132 161 cpu-tic80.lo \
aa137e4d
NC
162 cpu-tilegx.lo \
163 cpu-tilepro.lo \
252b5132 164 cpu-v850.lo \
de863c74 165 cpu-v850_rh850.lo \
252b5132 166 cpu-vax.lo \
d924db55 167 cpu-visium.lo \
8fb740dd 168 cpu-wasm32.lo \
ce3c775b 169 cpu-xc16x.lo \
a8acc5fb 170 cpu-xgate.lo \
93fbbb04 171 cpu-xstormy16.lo \
e0001a05 172 cpu-xtensa.lo \
3c9b82ba 173 cpu-z80.lo \
252b5132
RH
174 cpu-z8k.lo
175
176ALL_MACHINES_CFILES = \
a06ea964 177 cpu-aarch64.c \
252b5132
RH
178 cpu-alpha.c \
179 cpu-arc.c \
180 cpu-arm.c \
adde6300 181 cpu-avr.c \
0f64bb02 182 cpu-bfin.c \
3d3d428f 183 cpu-cr16.c \
0949843d 184 cpu-cr16c.c \
ce3c775b 185 cpu-cris.c \
1fe1f39c 186 cpu-crx.c \
252b5132
RH
187 cpu-d10v.c \
188 cpu-d30v.c \
d172d4ba 189 cpu-dlx.c \
cfb8c092 190 cpu-epiphany.c \
252b5132 191 cpu-fr30.c \
4e5ba5b7 192 cpu-frv.c \
3f8107ab 193 cpu-ft32.c \
252b5132 194 cpu-h8300.c \
252b5132
RH
195 cpu-hppa.c \
196 cpu-i386.c \
bf64a951 197 cpu-iamcu.c \
8a9036a4 198 cpu-l1om.c \
7a9068fe 199 cpu-k1om.c \
ce3c775b 200 cpu-ia64.c \
cf88bb9f 201 cpu-ip2k.c \
a75473eb 202 cpu-iq2000.c \
84e94c90 203 cpu-lm32.c \
ce3c775b
NC
204 cpu-m10200.c \
205 cpu-m10300.c \
49f58d10 206 cpu-m32c.c \
252b5132 207 cpu-m32r.c \
60bcf0fa
NC
208 cpu-m68hc11.c \
209 cpu-m68hc12.c \
6927f982 210 cpu-m9s12x.c \
7b4ae824 211 cpu-s12z.c \
6927f982 212 cpu-m9s12xg.c \
252b5132 213 cpu-m68k.c \
252b5132 214 cpu-mcore.c \
d9352518 215 cpu-mep.c \
a3c62988 216 cpu-metag.c \
7ba29e2a 217 cpu-microblaze.c \
252b5132 218 cpu-mips.c \
3c3bdf30 219 cpu-mmix.c \
ce3c775b 220 cpu-moxie.c \
2469cfa2 221 cpu-msp430.c \
ce3c775b 222 cpu-mt.c \
35c08157 223 cpu-nds32.c \
fe944acf 224 cpu-nfp.c \
252b5132 225 cpu-ns32k.c \
36591ba1 226 cpu-nios2.c \
73589c9d 227 cpu-or1k.c \
e135f41b 228 cpu-pdp11.c \
0bcb993b 229 cpu-pj.c \
ce3c775b 230 cpu-plugin.c \
252b5132 231 cpu-powerpc.c \
889294f6 232 cpu-pru.c \
252b5132 233 cpu-rs6000.c \
e23eba97 234 cpu-riscv.c \
99c513f6 235 cpu-rl78.c \
c7927a3c 236 cpu-rx.c \
a85d7ed0 237 cpu-s390.c \
1c0d3aa6 238 cpu-score.c \
252b5132
RH
239 cpu-sh.c \
240 cpu-sparc.c \
e9f53129 241 cpu-spu.c \
252b5132 242 cpu-tic30.c \
026df7c5 243 cpu-tic4x.c \
81635ce4 244 cpu-tic54x.c \
40b36596 245 cpu-tic6x.c \
252b5132 246 cpu-tic80.c \
aa137e4d
NC
247 cpu-tilegx.c \
248 cpu-tilepro.c \
252b5132 249 cpu-v850.c \
de863c74 250 cpu-v850_rh850.c \
252b5132 251 cpu-vax.c \
d924db55 252 cpu-visium.c \
8fb740dd 253 cpu-wasm32.c \
ce3c775b 254 cpu-xc16x.c \
a8acc5fb 255 cpu-xgate.c \
93fbbb04 256 cpu-xstormy16.c \
e0001a05 257 cpu-xtensa.c \
3c9b82ba 258 cpu-z80.c \
252b5132
RH
259 cpu-z8k.c
260
261# The .o files needed by all of the 32 bit vectors that are configured into
262# target_vector in targets.c if configured with --enable-targets=all.
263BFD32_BACKENDS = \
06c15ad7 264 aout-cris.lo \
252b5132 265 aout-ns32k.lo \
252b5132 266 aout-tic30.lo \
252b5132 267 aout32.lo \
252b5132 268 cf-i386lynx.lo \
ce3c775b 269 coff-go32.lo \
252b5132 270 coff-i386.lo \
8e415ce8 271 coff-mips.lo \
252b5132
RH
272 coff-rs6000.lo \
273 coff-sh.lo \
252b5132 274 coff-stgo32.lo \
252b5132 275 coff-tic30.lo \
026df7c5 276 coff-tic4x.lo \
81635ce4 277 coff-tic54x.lo \
252b5132 278 coff-tic80.lo \
3c9b82ba 279 coff-z80.lo \
252b5132 280 coff-z8k.lo \
f4943d82 281 coffgen.lo \
252b5132 282 cofflink.lo \
4a54b465 283 dwarf1.lo \
f4943d82 284 dwarf2.lo \
252b5132
RH
285 ecoff.lo \
286 ecofflink.lo \
ce3c775b
NC
287 elf-attrs.lo \
288 elf-eh-frame.lo \
6de2ae4a 289 elf-ifunc.lo \
ce3c775b
NC
290 elf-m10200.lo \
291 elf-m10300.lo \
5a68afcf 292 elf-nacl.lo \
46bed679 293 elf-properties.lo \
ce3c775b
NC
294 elf-strtab.lo \
295 elf-vxworks.lo \
252b5132 296 elf.lo \
942e0f42 297 elf32-am33lin.lo \
252b5132 298 elf32-arc.lo \
7f266840 299 elf32-arm.lo \
adde6300 300 elf32-avr.lo \
0f64bb02 301 elf32-bfin.lo \
3d3d428f 302 elf32-cr16.lo \
0949843d 303 elf32-cr16c.lo \
06c15ad7 304 elf32-cris.lo \
1fe1f39c 305 elf32-crx.lo \
252b5132
RH
306 elf32-d10v.lo \
307 elf32-d30v.lo \
d172d4ba 308 elf32-dlx.lo \
cfb8c092 309 elf32-epiphany.lo \
252b5132 310 elf32-fr30.lo \
4e5ba5b7 311 elf32-frv.lo \
3f8107ab 312 elf32-ft32.lo \
252b5132 313 elf32-gen.lo \
ee8a3a3b 314 elf32-h8300.lo \
e0afaebd 315 elf32-hppa.lo \
252b5132 316 elf32-i386.lo \
0afcef53 317 elfxx-x86.lo \
58378160 318 elf32-ip2k.lo \
a75473eb 319 elf32-iq2000.lo \
84e94c90 320 elf32-lm32.lo \
49f58d10 321 elf32-m32c.lo \
252b5132 322 elf32-m32r.lo \
60bcf0fa
NC
323 elf32-m68hc11.lo \
324 elf32-m68hc12.lo \
f5a6f915 325 elf32-m68hc1x.lo \
252b5132 326 elf32-m68k.lo \
7b4ae824 327 elf32-s12z.lo \
252b5132 328 elf32-mcore.lo \
d9352518 329 elf32-mep.lo \
a3c62988 330 elf32-metag.lo \
7ba29e2a 331 elf32-microblaze.lo \
ce3c775b 332 elf32-moxie.lo \
32d95f29 333 elf32-msp430.lo \
ce3c775b 334 elf32-mt.lo \
35c08157 335 elf32-nds32.lo \
36591ba1 336 elf32-nios2.lo \
73589c9d 337 elf32-or1k.lo \
0bcb993b 338 elf32-pj.lo \
252b5132 339 elf32-ppc.lo \
889294f6 340 elf32-pru.lo \
99c513f6 341 elf32-rl78.lo \
c7927a3c 342 elf32-rx.lo \
a85d7ed0 343 elf32-s390.lo \
ce3c775b 344 elf32-sh.lo \
252b5132 345 elf32-sparc.lo \
e9f53129 346 elf32-spu.lo \
40b36596 347 elf32-tic6x.lo \
aa137e4d
NC
348 elf32-tilegx.lo \
349 elf32-tilepro.lo \
252b5132 350 elf32-v850.lo \
90ace9e9 351 elf32-vax.lo \
d924db55 352 elf32-visium.lo \
8fb740dd 353 elf32-wasm32.lo \
ce3c775b 354 elf32-xc16x.lo \
a8acc5fb 355 elf32-xgate.lo \
93fbbb04 356 elf32-xstormy16.lo \
e0001a05 357 elf32-xtensa.lo \
252b5132
RH
358 elf32.lo \
359 elflink.lo \
ce3c775b 360 elfxx-sparc.lo \
aa137e4d 361 elfxx-tilegx.lo \
252b5132
RH
362 i386aout.lo \
363 i386bsd.lo \
252b5132
RH
364 i386lynx.lo \
365 i386msdos.lo \
3af9a47b 366 mach-o.lo \
9e93c730 367 mach-o-i386.lo \
f075eb5e 368 mach-o-arm.lo \
252b5132 369 ns32knetbsd.lo \
252b5132 370 pc532-mach.lo \
e135f41b 371 pdp11.lo \
7148cc28 372 pe-arm-wince.lo \
ce3c775b 373 pe-arm.lo \
252b5132 374 pe-i386.lo \
252b5132 375 pe-mcore.lo \
252b5132 376 pe-ppc.lo \
17505c5c 377 pe-sh.lo \
ce3c775b
NC
378 pef.lo \
379 pei-arm-wince.lo \
380 pei-arm.lo \
381 pei-i386.lo \
382 pei-mcore.lo \
ce3c775b
NC
383 pei-ppc.lo \
384 pei-sh.lo \
277d1b5e 385 peigen.lo \
ce3c775b 386 plugin.lo \
252b5132
RH
387 ppcboot.lo \
388 reloc16.lo \
ce3c775b 389 som.lo \
3c2bfad6 390 vax1knetbsd.lo \
ce3c775b 391 vaxnetbsd.lo \
4b544b64 392 vms-lib.lo \
252b5132 393 vms-misc.lo \
a6be0538 394 wasm-module.lo \
3af9a47b 395 xcofflink.lo \
e0001a05
NC
396 xsym.lo \
397 xtensa-isa.lo \
398 xtensa-modules.lo
252b5132
RH
399
400BFD32_BACKENDS_CFILES = \
06c15ad7 401 aout-cris.c \
252b5132 402 aout-ns32k.c \
252b5132 403 aout-tic30.c \
252b5132 404 aout32.c \
252b5132 405 cf-i386lynx.c \
ce3c775b 406 coff-go32.c \
252b5132 407 coff-i386.c \
8e415ce8 408 coff-mips.c \
252b5132
RH
409 coff-rs6000.c \
410 coff-sh.c \
252b5132 411 coff-stgo32.c \
252b5132 412 coff-tic30.c \
026df7c5 413 coff-tic4x.c \
81635ce4 414 coff-tic54x.c \
252b5132 415 coff-tic80.c \
3c9b82ba 416 coff-z80.c \
252b5132 417 coff-z8k.c \
f4943d82 418 coffgen.c \
252b5132 419 cofflink.c \
4a54b465 420 dwarf1.c \
f4943d82 421 dwarf2.c \
252b5132
RH
422 ecoff.c \
423 ecofflink.c \
ce3c775b
NC
424 elf-attrs.c \
425 elf-eh-frame.c \
6de2ae4a 426 elf-ifunc.c \
ce3c775b
NC
427 elf-m10200.c \
428 elf-m10300.c \
5a68afcf 429 elf-nacl.c \
46bed679 430 elf-properties.c \
ce3c775b
NC
431 elf-strtab.c \
432 elf-vxworks.c \
252b5132 433 elf.c \
942e0f42 434 elf32-am33lin.c \
252b5132 435 elf32-arc.c \
7f266840 436 elf32-arm.c \
adde6300 437 elf32-avr.c \
0f64bb02 438 elf32-bfin.c \
3d3d428f 439 elf32-cr16.c \
0949843d 440 elf32-cr16c.c \
06c15ad7 441 elf32-cris.c \
1fe1f39c 442 elf32-crx.c \
252b5132
RH
443 elf32-d10v.c \
444 elf32-d30v.c \
d172d4ba 445 elf32-dlx.c \
cfb8c092 446 elf32-epiphany.c \
252b5132 447 elf32-fr30.c \
4e5ba5b7 448 elf32-frv.c \
3f8107ab 449 elf32-ft32.c \
252b5132 450 elf32-gen.c \
ee8a3a3b 451 elf32-h8300.c \
3f9b03b5 452 elf32-hppa.c \
252b5132 453 elf32-i386.c \
0afcef53 454 elfxx-x86.c \
cf88bb9f 455 elf32-ip2k.c \
a75473eb 456 elf32-iq2000.c \
84e94c90 457 elf32-lm32.c \
49f58d10 458 elf32-m32c.c \
252b5132 459 elf32-m32r.c \
60bcf0fa
NC
460 elf32-m68hc11.c \
461 elf32-m68hc12.c \
f5a6f915 462 elf32-m68hc1x.c \
ce3c775b 463 elf32-m68k.c \
7b4ae824 464 elf32-s12z.c \
252b5132 465 elf32-mcore.c \
d9352518 466 elf32-mep.c \
a3c62988 467 elf32-metag.c \
7ba29e2a 468 elf32-microblaze.c \
ce3c775b 469 elf32-moxie.c \
2469cfa2 470 elf32-msp430.c \
ce3c775b 471 elf32-mt.c \
35c08157 472 elf32-nds32.c \
36591ba1 473 elf32-nios2.c \
73589c9d 474 elf32-or1k.c \
0bcb993b 475 elf32-pj.c \
252b5132 476 elf32-ppc.c \
889294f6 477 elf32-pru.c \
99c513f6 478 elf32-rl78.c \
c7927a3c 479 elf32-rx.c \
a85d7ed0 480 elf32-s390.c \
ce3c775b 481 elf32-sh.c \
252b5132 482 elf32-sparc.c \
e9f53129 483 elf32-spu.c \
40b36596 484 elf32-tic6x.c \
aa137e4d
NC
485 elf32-tilegx.c \
486 elf32-tilepro.c \
252b5132 487 elf32-v850.c \
90ace9e9 488 elf32-vax.c \
d924db55 489 elf32-visium.c \
8fb740dd 490 elf32-wasm32.c \
ce3c775b 491 elf32-xc16x.c \
a8acc5fb 492 elf32-xgate.c \
93fbbb04 493 elf32-xstormy16.c \
e0001a05 494 elf32-xtensa.c \
252b5132
RH
495 elf32.c \
496 elflink.c \
ce3c775b 497 elfxx-sparc.c \
aa137e4d 498 elfxx-tilegx.c \
252b5132
RH
499 i386aout.c \
500 i386bsd.c \
252b5132
RH
501 i386lynx.c \
502 i386msdos.c \
3af9a47b 503 mach-o.c \
9e93c730 504 mach-o-i386.c \
f075eb5e 505 mach-o-arm.c \
252b5132 506 ns32knetbsd.c \
252b5132 507 pc532-mach.c \
e135f41b 508 pdp11.c \
7148cc28 509 pe-arm-wince.c \
ce3c775b 510 pe-arm.c \
252b5132 511 pe-i386.c \
252b5132 512 pe-mcore.c \
252b5132 513 pe-ppc.c \
17505c5c 514 pe-sh.c \
ce3c775b
NC
515 pef.c \
516 pei-arm-wince.c \
517 pei-arm.c \
518 pei-i386.c \
519 pei-mcore.c \
ce3c775b
NC
520 pei-ppc.c \
521 pei-sh.c \
522 plugin.c \
252b5132
RH
523 ppcboot.c \
524 reloc16.c \
ce3c775b 525 som.c \
3c2bfad6 526 vax1knetbsd.c \
ce3c775b 527 vaxnetbsd.c \
4b544b64 528 vms-lib.c \
252b5132 529 vms-misc.c \
a6be0538 530 wasm-module.c \
3af9a47b 531 xcofflink.c \
e0001a05
NC
532 xsym.c \
533 xtensa-isa.c \
534 xtensa-modules.c
252b5132
RH
535
536# The .o files needed by all of the 64 bit vectors that are configured into
537# target_vector in targets.c if configured with --enable-targets=all
538# and --enable-64-bit-bfd.
074d327a
NC
539# elf32-ia64.c requires a 64-bit bfd_vma, and hence can not be put in
540# BFD32_BACKENDS.
252b5132 541BFD64_BACKENDS = \
cec5225b 542 elf32-aarch64.lo \
a06ea964 543 elf64-aarch64.lo \
caed7120 544 elfxx-aarch64.lo \
eb1e0e80 545 aix5ppc-core.lo \
252b5132
RH
546 aout64.lo \
547 coff-alpha.lo \
ce3c775b 548 coff-x86_64.lo \
14958a43 549 coff64-rs6000.lo \
ce3c775b 550 elf32-ia64.lo \
42429eac 551 elf32-mips.lo \
ce3c775b
NC
552 elf32-score.lo \
553 elf32-score7.lo \
252b5132 554 elf64-alpha.lo \
ce3c775b 555 elf64-gen.lo \
d403336c 556 elf64-hppa.lo \
800eeca4 557 elf64-ia64.lo \
202e2356 558 elf64-ia64-vms.lo \
e23eba97
NC
559 elfxx-ia64.lo \
560 elfn32-mips.lo \
252b5132 561 elf64-mips.lo \
e23eba97 562 elfxx-mips.lo \
3c3bdf30 563 elf64-mmix.lo \
fe944acf 564 elf64-nfp.lo \
5bd4f169 565 elf64-ppc.lo \
e23eba97
NC
566 elf32-riscv.lo \
567 elf64-riscv.lo \
568 elfxx-riscv.lo \
a85d7ed0 569 elf64-s390.lo \
252b5132 570 elf64-sparc.lo \
1e24d83c 571 elf64-tilegx.lo \
ce3c775b 572 elf64-x86-64.lo \
0afcef53 573 elfxx-x86.lo \
252b5132 574 elf64.lo \
f075eb5e 575 mach-o-aarch64.lo \
618b7301 576 mach-o-x86-64.lo \
3c3bdf30 577 mmo.lo \
99ad8390 578 pe-x86_64.lo \
ce3c775b 579 pei-ia64.lo \
99ad8390
NC
580 pei-x86_64.lo \
581 pepigen.lo \
24df9a51
TG
582 pex64igen.lo \
583 vms-alpha.lo
252b5132
RH
584
585BFD64_BACKENDS_CFILES = \
eb1e0e80 586 aix5ppc-core.c \
252b5132
RH
587 aout64.c \
588 coff-alpha.c \
ce3c775b 589 coff-x86_64.c \
14958a43 590 coff64-rs6000.c \
42429eac 591 elf32-mips.c \
ce3c775b
NC
592 elf32-score.c \
593 elf32-score7.c \
252b5132
RH
594 elf64-alpha.c \
595 elf64-gen.c \
ce3c775b 596 elf64-hppa.c \
202e2356 597 elf64-ia64-vms.c \
252b5132 598 elf64-mips.c \
3c3bdf30 599 elf64-mmix.c \
fe944acf 600 elf64-nfp.c \
5bd4f169 601 elf64-ppc.c \
a85d7ed0 602 elf64-s390.c \
252b5132 603 elf64-sparc.c \
aa137e4d 604 elf64-tilegx.c \
ce3c775b 605 elf64-x86-64.c \
0afcef53 606 elfxx-x86.c \
252b5132 607 elf64.c \
ce3c775b 608 elfn32-mips.c \
caed7120 609 elfxx-aarch64.c \
cbe79dfe 610 elfxx-ia64.c \
42429eac 611 elfxx-mips.c \
e23eba97 612 elfxx-riscv.c \
f075eb5e 613 mach-o-aarch64.c \
618b7301 614 mach-o-x86-64.c \
3c3bdf30 615 mmo.c \
99ad8390 616 pe-x86_64.c \
ce3c775b 617 pei-ia64.c \
24df9a51
TG
618 pei-x86_64.c \
619 vms-alpha.c
252b5132
RH
620
621OPTIONAL_BACKENDS = \
622 aix386-core.lo \
ce3c775b 623 cisco-core.lo \
252b5132
RH
624 hpux-core.lo \
625 irix-core.lo \
626 lynx-core.lo \
b6471e6e 627 netbsd-core.lo \
252b5132 628 osf-core.lo \
c09a7c7e 629 rs6000-core.lo \
252b5132 630 sco5-core.lo \
ce3c775b 631 trad-core.lo
252b5132
RH
632
633OPTIONAL_BACKENDS_CFILES = \
634 aix386-core.c \
ce3c775b 635 cisco-core.c \
252b5132
RH
636 hpux-core.c \
637 irix-core.c \
638 lynx-core.c \
b6471e6e 639 netbsd-core.c \
252b5132 640 osf-core.c \
c09a7c7e 641 rs6000-core.c \
252b5132 642 sco5-core.c \
ce3c775b 643 trad-core.c
252b5132 644
82b57a90
AM
645# Reconfigure if config.bfd or configure.host changes.
646# development.sh is used to determine -Werror default.
3f85e526 647CONFIG_STATUS_DEPENDENCIES = \
3f85e526 648 $(srcdir)/config.bfd \
270c9937
JB
649 $(srcdir)/configure.host \
650 $(srcdir)/development.sh
3f85e526 651
1110793a 652# These are defined by configure:
252b5132
RH
653WORDSIZE = @wordsize@
654ALL_BACKENDS = @all_backends@
655BFD_BACKENDS = @bfd_backends@
656BFD_MACHINES = @bfd_machines@
657TDEFAULTS = @tdefaults@
7256a114 658HAVEVECS = @havevecs@
252b5132 659
d0ac1c44 660AM_CPPFLAGS += @HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) \
7256a114 661 $(HAVEVECS) @INCINTL@
252b5132
RH
662
663# C source files that correspond to .o's.
27b7e12d 664SOURCE_CFILES = \
36b45482
TS
665 $(BFD32_LIBS_CFILES) \
666 $(BFD64_LIBS_CFILES) \
252b5132
RH
667 $(ALL_MACHINES_CFILES) \
668 $(BFD32_BACKENDS_CFILES) \
669 $(BFD64_BACKENDS_CFILES) \
670 $(OPTIONAL_BACKENDS_CFILES)
671
55c80943 672BUILD_CFILES = \
cec5225b 673 elf32-aarch64.c elf64-aarch64.c \
e23eba97
NC
674 elf32-ia64.c elf64-ia64.c \
675 elf32-riscv.c elf64-riscv.c \
676 peigen.c pepigen.c pex64igen.c
27b7e12d 677
55c80943
NC
678CFILES = $(SOURCE_CFILES) $(BUILD_CFILES)
679
252b5132
RH
680## This is a list of all .h files which are in the source tree.
681SOURCE_HFILES = \
c9098af4 682 aout-target.h aoutx.h coffcode.h coffswap.h ecoffswap.h \
de64ce13 683 elf-bfd.h elf-hppa.h elf-linux-core.h elf32-hppa.h \
c152c796 684 elf64-hppa.h elfcode.h elfcore.h \
c65c21e1 685 genlink.h go32stub.h \
fdef3943 686 libaout.h libbfd.h libcoff.h libecoff.h libhppa.h \
dc12032b 687 libpei.h libxcoff.h mach-o.h \
b4b594e3 688 netbsd.h ns32k.h \
3af9a47b 689 pef.h pef-traceback.h peicode.h som.h version.h \
33b54431 690 vms.h xsym.h
252b5132 691
55c80943
NC
692## ... and all .h files which are in the build tree.
693BUILD_HFILES = \
5eda1c47 694 bfdver.h elf32-target.h elf64-target.h targmatch.h bfd_stdint.h
55c80943 695
95b40122
RW
696# Ensure they are built early:
697BUILT_SOURCES = $(BUILD_HFILES)
698
55c80943
NC
699HFILES = $(SOURCE_HFILES) $(BUILD_HFILES)
700
701SRC_POTFILES = $(SOURCE_CFILES) $(SOURCE_HFILES)
702BLD_POTFILES = $(BUILD_CFILES) $(BUILD_HFILES)
252b5132 703
55c80943 704po/SRC-POTFILES.in: @MAINT@ Makefile $(SRC_POTFILES)
fdc09da8 705 for file in $(SRC_POTFILES); do echo $$file; done \
323ee3f4 706 | LC_ALL=C sort > tmp.src \
01467f2a 707 && mv tmp.src $(srcdir)/po/SRC-POTFILES.in
55c80943
NC
708
709po/BLD-POTFILES.in: @MAINT@ Makefile $(BLD_POTFILES)
fdc09da8 710 for file in $(BLD_POTFILES); do echo $$file; done \
323ee3f4 711 | LC_ALL=C sort > tmp.bld \
01467f2a 712 && mv tmp.bld $(srcdir)/po/BLD-POTFILES.in
55c80943 713
e3e71e27 714all diststuff: info
252b5132
RH
715
716# Various kinds of .o files to put in libbfd.a:
717# BFD_BACKENDS Routines the configured targets need.
718# BFD_MACHINES Architecture-specific routines the configured targets need.
719# COREFILE Core file routines for a native configuration
21e40a48
L
720# bfd64_libs Routines for 64bit support
721OFILES = $(BFD_BACKENDS) $(BFD_MACHINES) @COREFILE@ @bfd64_libs@
252b5132
RH
722
723stamp-ofiles: Makefile
724 rm -f tofiles
725 f=""; \
726 for i in $(OFILES) ; do \
727 case " $$f " in \
728 *" $$i "*) ;; \
729 *) f="$$f $$i" ;; \
730 esac ; \
731 done ; \
732 echo $$f > tofiles
733 $(SHELL) $(srcdir)/../move-if-change tofiles ofiles
734 touch stamp-ofiles
735
736ofiles: stamp-ofiles ; @true
737
21e40a48
L
738# Since BFD64_LIBS is optional and we can't have substitution in
739# libbfd_la_SOURCES, we put BFD64_LIBS in OFILES instead.
95b40122
RW
740# However, list all sources in EXTRA_libbfd_la_SOURCES so the
741# dependency tracking fragments are picked up in the Makefile.
21e40a48 742libbfd_la_SOURCES = $(BFD32_LIBS_CFILES)
95b40122 743EXTRA_libbfd_la_SOURCES = $(CFILES)
252b5132 744libbfd_la_DEPENDENCIES = $(OFILES) ofiles
243340ad 745libbfd_la_LIBADD = `cat ofiles` @SHARED_LIBADD@ $(LIBDL) $(ZLIB)
14ec8efd 746libbfd_la_LDFLAGS += -release `cat libtool-soversion` @SHARED_LDFLAGS@
252b5132
RH
747
748# libtool will build .libs/libbfd.a. We create libbfd.a in the build
749# directory so that we don't have to convert all the programs that use
750# libbfd.a simultaneously. This is a hack which should be removed if
751# everything else starts using libtool. FIXME.
752
753noinst_LIBRARIES = libbfd.a
754libbfd_a_SOURCES =
755
756stamp-lib: libbfd.la
fe875424 757 libtooldir=`$(LIBTOOL) --config | $(SED) -n -e 's/^objdir=//p'`; \
e56f75e9
ILT
758 if [ -f $$libtooldir/libbfd.a ]; then \
759 cp $$libtooldir/libbfd.a libbfd.tmp; \
9f93bca5 760 $(RANLIB) libbfd.tmp; \
252b5132
RH
761 $(SHELL) $(srcdir)/../move-if-change libbfd.tmp libbfd.a; \
762 else true; fi
763 touch stamp-lib
764
765libbfd.a: stamp-lib ; @true
766
767# This file holds an array associating configuration triplets and
768# vector names. It is built from config.bfd. It is not compiled by
769# itself, but is included by targets.c.
770targmatch.h: config.bfd targmatch.sed
771 rm -f targmatch.h
fe875424 772 $(SED) -f $(srcdir)/targmatch.sed < $(srcdir)/config.bfd > targmatch.new
252b5132
RH
773 mv -f targmatch.new targmatch.h
774
775# When compiling archures.c and targets.c, supply the default target
776# info from configure.
777
840f0243 778targets.lo: targets.c Makefile
95b40122
RW
779if am__fastdepCC
780 $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(TDEFAULTS) $(srcdir)/targets.c
781 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
782else
783if AMDEP
784 source='targets.c' object='$@' libtool=yes @AMDEPBACKSLASH@
785 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
786endif
787 $(LTCOMPILE) -c -o $@ $(TDEFAULTS) $(srcdir)/targets.c
788endif
252b5132 789
840f0243 790archures.lo: archures.c Makefile
95b40122
RW
791if am__fastdepCC
792 $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(TDEFAULTS) $(srcdir)/archures.c
793 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
794else
795if AMDEP
796 source='archures.c' object='$@' libtool=yes @AMDEPBACKSLASH@
797 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
798endif
799 $(LTCOMPILE) -c -o $@ $(TDEFAULTS) $(srcdir)/archures.c
800endif
252b5132 801
0d4a1476 802dwarf2.lo: dwarf2.c Makefile
95b40122
RW
803if am__fastdepCC
804 $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ -DDEBUGDIR=\"$(DEBUGDIR)\" $(srcdir)/dwarf2.c
805 mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
806else
807if AMDEP
808 source='dwarf2.c' object='$@' libtool=yes @AMDEPBACKSLASH@
809 DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
810endif
811 $(LTCOMPILE) -c -o $@ -DDEBUGDIR=\"$(DEBUGDIR)\" $(srcdir)/dwarf2.c
812endif
0d4a1476 813
252b5132
RH
814elf32-target.h : elfxx-target.h
815 rm -f elf32-target.h
fe875424 816 $(SED) -e s/NN/32/g < $(srcdir)/elfxx-target.h > elf32-target.new
252b5132
RH
817 mv -f elf32-target.new elf32-target.h
818
819elf64-target.h : elfxx-target.h
820 rm -f elf64-target.h
fe875424 821 $(SED) -e s/NN/64/g < $(srcdir)/elfxx-target.h > elf64-target.new
252b5132
RH
822 mv -f elf64-target.new elf64-target.h
823
cec5225b
YZ
824elf32-aarch64.c : elfnn-aarch64.c
825 rm -f elf32-aarch64.c
2d426575 826 echo "#line 1 \"$(srcdir)/elfnn-aarch64.c\"" > elf32-aarch64.new
fe875424 827 $(SED) -e s/NN/32/g < $(srcdir)/elfnn-aarch64.c >> elf32-aarch64.new
cec5225b
YZ
828 mv -f elf32-aarch64.new elf32-aarch64.c
829
81197114
YZ
830elf64-aarch64.c : elfnn-aarch64.c
831 rm -f elf64-aarch64.c
2d426575 832 echo "#line 1 \"$(srcdir)/elfnn-aarch64.c\"" > elf64-aarch64.new
fe875424 833 $(SED) -e s/NN/64/g < $(srcdir)/elfnn-aarch64.c >> elf64-aarch64.new
81197114
YZ
834 mv -f elf64-aarch64.new elf64-aarch64.c
835
cbe79dfe 836elf32-ia64.c : elfnn-ia64.c
bbe66d08 837 rm -f elf32-ia64.c
fe875424 838 $(SED) -e s/NN/32/g < $(srcdir)/elfnn-ia64.c > elf32-ia64.new
bbe66d08
JW
839 mv -f elf32-ia64.new elf32-ia64.c
840
cbe79dfe 841elf64-ia64.c : elfnn-ia64.c
bbe66d08 842 rm -f elf64-ia64.c
fe875424 843 $(SED) -e s/NN/64/g < $(srcdir)/elfnn-ia64.c > elf64-ia64.new
bbe66d08
JW
844 mv -f elf64-ia64.new elf64-ia64.c
845
e23eba97
NC
846elf32-riscv.c : elfnn-riscv.c
847 rm -f elf32-riscv.c
848 echo "#line 1 \"$(srcdir)/elfnn-riscv.c\"" > elf32-riscv.new
849 sed -e s/NN/32/g < $(srcdir)/elfnn-riscv.c >> elf32-riscv.new
850 mv -f elf32-riscv.new elf32-riscv.c
851
852elf64-riscv.c : elfnn-riscv.c
853 rm -f elf64-riscv.c
854 echo "#line 1 \"$(srcdir)/elfnn-riscv.c\"" > elf64-riscv.new
855 sed -e s/NN/64/g < $(srcdir)/elfnn-riscv.c >> elf64-riscv.new
856 mv -f elf64-riscv.new elf64-riscv.c
857
825b47db
NC
858peigen.c : peXXigen.c
859 rm -f peigen.c
fe875424 860 $(SED) -e s/XX/pe/g < $(srcdir)/peXXigen.c > peigen.new
825b47db
NC
861 mv -f peigen.new peigen.c
862
863pepigen.c : peXXigen.c
864 rm -f pepigen.c
fe875424 865 $(SED) -e s/XX/pep/g < $(srcdir)/peXXigen.c > pepigen.new
825b47db
NC
866 mv -f pepigen.new pepigen.c
867
99ad8390
NC
868pex64igen.c: peXXigen.c
869 rm -f pex64igen.c
fe875424 870 $(SED) -e s/XX/pex64/g < $(srcdir)/peXXigen.c > pex64igen.new
99ad8390
NC
871 mv -f pex64igen.new pex64igen.c
872
b13c7b49 873BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h
252b5132 874LOCAL_H_DEPS= libbfd.h sysdep.h config.h
36b45482
TS
875$(BFD32_LIBS) \
876 $(BFD64_LIBS) \
b13c7b49
AM
877 $(ALL_MACHINES) \
878 $(BFD32_BACKENDS) \
879 $(BFD64_BACKENDS) \
880 $(OPTIONAL_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
252b5132 881
252b5132
RH
882host-aout.lo: Makefile
883
884# The following program can be used to generate a simple config file
885# which can be folded into an h-XXX file for a new host, with some editing.
886aout-params.h: gen-aout
887 ./gen-aout host > aout-params.h
888gen-aout: $(srcdir)/gen-aout.c Makefile
889 $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c
890
891$(BFD_H): stmp-bfd-h ; @true
892
893stmp-bfd-h: bfd-in3.h
894 rm -f bfd-tmp.h
895 cp bfd-in3.h bfd-tmp.h
896 $(SHELL) $(srcdir)/../move-if-change bfd-tmp.h $(BFD_H)
897 rm -f bfd-tmp.h
898 touch stmp-bfd-h
899
92c6e4fe
AM
900BFD_H_FILES = bfd-in.h init.c opncls.c libbfd.c \
901 bfdio.c bfdwin.c section.c archures.c reloc.c \
902 syms.c bfd.c archive.c corefile.c targets.c format.c \
903 linker.c simple.c compress.c
36b45482 904BFD64_H_FILES = archive64.c
1047201f
AM
905LIBBFD_H_FILES = libbfd-in.h libbfd.c bfdio.c bfdwin.c \
906 cache.c reloc.c archures.c linker.c
252b5132
RH
907LIBCOFF_H_FILES = libcoff-in.h coffcode.h
908
909# Could really use a "copy-if-change"...
910headers:
108a6f8e
CD
911 (cd $(bfddocdir); $(MAKE) protos $(FLAGS_TO_PASS))
912 cp $(bfddocdir)/bfd.h bfd-in2.h-new
252b5132 913 $(SHELL) $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
108a6f8e 914 cp $(bfddocdir)/libbfd.h libbfd.h-new
252b5132 915 $(SHELL) $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
108a6f8e 916 cp $(bfddocdir)/libcoff.h libcoff.h-new
252b5132
RH
917 $(SHELL) $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
918
919# We only rebuild the header files automatically if we have been
920# configured with --enable-maintainer-mode.
921
922$(srcdir)/bfd-in2.h: @MAINT@ stmp-bin2-h ; @true
36b45482 923stmp-bin2-h: $(BFD_H_FILES) $(BFD64_H_FILES)
108a6f8e
CD
924 (cd $(bfddocdir); $(MAKE) $(FLAGS_TO_PASS) bfd.h)
925 cp $(bfddocdir)/bfd.h bfd-in2.h-new
252b5132
RH
926 $(SHELL) $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h
927 touch stmp-bin2-h
928
929$(srcdir)/libbfd.h: @MAINT@ stmp-lbfd-h ; @true
930stmp-lbfd-h: $(LIBBFD_H_FILES)
108a6f8e
CD
931 (cd $(bfddocdir); $(MAKE) $(FLAGS_TO_PASS) libbfd.h)
932 cp $(bfddocdir)/libbfd.h libbfd.h-new
252b5132
RH
933 $(SHELL) $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h
934 touch stmp-lbfd-h
935
936$(srcdir)/libcoff.h: @MAINT@ stmp-lcoff-h ; @true
937stmp-lcoff-h: $(LIBCOFF_H_FILES)
108a6f8e
CD
938 (cd $(bfddocdir); $(MAKE) $(FLAGS_TO_PASS) libcoff.h)
939 cp $(bfddocdir)/libcoff.h libcoff.h-new
252b5132
RH
940 $(SHELL) $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
941 touch stmp-lcoff-h
942
55c80943 943MOSTLYCLEANFILES = ofiles stamp-ofiles
252b5132 944
0bdaf48b 945CLEANFILES = bfd.h dep.sed stmp-bfd-h DEP DEPA DEP1 DEP2 libbfd.a stamp-lib \
252b5132
RH
946 stmp-bin2-h stmp-lbfd-h stmp-lcoff-h
947
ee5c21a0 948DISTCLEANFILES = $(BUILD_CFILES) $(BUILD_HFILES) libtool-soversion
55c80943 949
2e98a7bd 950bfdver.h: $(srcdir)/version.h $(srcdir)/development.sh $(srcdir)/Makefile.in
91506736 951 @echo "creating $@"
fe875424 952 @bfd_version=`echo "$(VERSION)" | $(SED) -e 's/\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\).*/\1.00\2.00\3.00\4.00\5/' -e 's/\([^\.]*\)\..*\(..\)\..*\(..\)\..*\(..\)\..*\(..\)$$/\1\2\3\4\5/'` ;\
bc286f95 953 bfd_version_string="\"$(VERSION)\"" ;\
ee5c21a0 954 bfd_soversion="$(VERSION)" ;\
92f01d61 955 bfd_version_package="\"$(PKGVERSION)\"" ;\
c428fa83 956 report_bugs_to="\"$(REPORT_BUGS_TO)\"" ;\
2e98a7bd
AM
957 . $(srcdir)/development.sh ;\
958 if test "$$development" = true ; then \
fe875424 959 bfd_version_date=`$(SED) -n -e 's/.*DATE //p' < $(srcdir)/version.h` ;\
066c2a57 960 bfd_version_string="\"$(VERSION).$${bfd_version_date}\"" ;\
ee5c21a0 961 bfd_soversion="$(VERSION).$${bfd_version_date}" ;\
bc286f95 962 fi ;\
fe875424 963 $(SED) -e "s,@bfd_version@,$$bfd_version," \
c428fa83
L
964 -e "s,@bfd_version_string@,$$bfd_version_string," \
965 -e "s,@bfd_version_package@,$$bfd_version_package," \
966 -e "s,@report_bugs_to@,$$report_bugs_to," \
ee5c21a0
DJ
967 < $(srcdir)/version.h > $@; \
968 echo "$${bfd_soversion}" > libtool-soversion
a7e31171
L
969
970# Disable -Werror, if it has been enabled, since coffswap.h won't
971# compile with gcc 4.5 and above.
972coff-tic4x.lo: coff-tic4x.c
973@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< $(NO_WERROR)
974@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
975@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
976@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
977@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< $(NO_WERROR)
978
979coff-tic54x.lo: coff-tic54x.c
980@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< $(NO_WERROR)
981@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
982@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
983@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
984@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< $(NO_WERROR)
This page took 1.147307 seconds and 4 git commands to generate.