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