]>
Commit | Line | Data |
---|---|---|
252b5132 | 1 | ## Process this file with automake to generate Makefile.in |
5bf135a7 | 2 | # |
d87bef3a | 3 | # Copyright (C) 2012-2023 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. | |
f2c7d7ee | 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. | |
f2c7d7ee | 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 | 20 | AUTOMAKE_OPTIONS = dejagnu no-texinfo.tex no-dist foreign info-in-builddir |
79887925 | 21 | ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd |
959a202e | 22 | TEXINFO_TEX = ../texinfo/texinfo.tex |
252b5132 RH |
23 | |
24 | SUBDIRS = po | |
25 | ||
26 | tooldir = $(exec_prefix)/$(target_alias) | |
27 | ||
a7e78dae | 28 | YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi` |
252b5132 | 29 | YFLAGS = -d |
a7e78dae | 30 | LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi` |
252b5132 | 31 | |
a15af8e2 RW |
32 | # Automake 1.10+ disables lex and yacc output file regeneration if |
33 | # maintainer mode is disabled. Avoid this. | |
34 | am__skiplex = | |
35 | am__skipyacc = | |
36 | ||
1ff6de03 NA |
37 | # This is where we get zlib from. zlibdir is -L../zlib and zlibinc is |
38 | # -I../zlib, unless we were configured with --with-system-zlib, in which | |
39 | # case both are empty. | |
40 | ZLIB = @zlibdir@ -lz | |
41 | ZLIBINC = @zlibinc@ | |
42 | ||
c58212ea L |
43 | ELF_CLFAGS=-DELF_LIST_OPTIONS=@elf_list_options@ \ |
44 | -DELF_SHLIB_LIST_OPTIONS=@elf_shlib_list_options@ \ | |
45 | -DELF_PLT_UNWIND_LIST_OPTIONS=@elf_plt_unwind_list_options@ | |
a2d91340 | 46 | WARN_CFLAGS = @WARN_CFLAGS@ |
9e9b66a9 | 47 | NO_WERROR = @NO_WERROR@ |
2cac01e3 | 48 | AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) $(JANSSON_CFLAGS) $(ZSTD_CFLAGS) |
a2d91340 | 49 | |
252b5132 RH |
50 | # We put the scripts in the directory $(scriptdir)/ldscripts. |
51 | # We can't put the scripts in $(datadir) because the SEARCH_DIR | |
52 | # directives need to be different for native and cross linkers. | |
53 | scriptdir = $(tooldir)/lib | |
54 | ||
55 | EMUL = @EMUL@ | |
56 | EMULATION_OFILES = @EMULATION_OFILES@ | |
57 | EMUL_EXTRA_OFILES = @EMUL_EXTRA_OFILES@ | |
5063daf7 | 58 | |
252b5132 RH |
59 | |
60 | # Search path to override the default search path for -lfoo libraries. | |
61 | # If LIB_PATH is empty, the ones in the script (if any) are left alone. | |
62 | # (The default is usually /lib:/usr/lib:/usr/local/lib, unless building | |
63 | # a cross-linker, in which case the default is empty. See genscripts.sh.) | |
64 | # Otherwise, they are replaced with the ones given in LIB_PATH, | |
8e523c23 NC |
65 | # which may have the form: LIB_PATH=/lib:/usr/local/lib. This can be set |
66 | # when the linker is configured via the --with-lib-path configure switch. | |
67 | LIB_PATH = @LIB_PATH@ | |
252b5132 RH |
68 | |
69 | BASEDIR = $(srcdir)/.. | |
70 | BFDDIR = $(BASEDIR)/bfd | |
71 | INCDIR = $(BASEDIR)/include | |
252b5132 RH |
72 | |
73 | # What version of the manual to build | |
74 | DOCVER = gen | |
75 | ||
d0ac1c44 | 76 | # Options to extract the man page from ld.texi |
0285c67d NC |
77 | MANCONF = -Dman |
78 | ||
38fc1cb1 | 79 | TEXI2POD = perl $(BASEDIR)/etc/texi2pod.pl $(AM_MAKEINFOFLAGS) |
0285c67d | 80 | |
ff5dcc92 SC |
81 | POD2MAN = pod2man --center="GNU Development Tools" \ |
82 | --release="binutils-$(VERSION)" --section=1 | |
0285c67d | 83 | |
252b5132 | 84 | # Setup the testing framework, if you have one |
c3298874 BE |
85 | EXPECT = expect |
86 | RUNTEST = runtest | |
252b5132 RH |
87 | RUNTESTFLAGS = |
88 | ||
89 | CC_FOR_TARGET = ` \ | |
90 | if [ -f $$r/../gcc/xgcc ] ; then \ | |
91 | if [ -f $$r/../newlib/Makefile ] ; then \ | |
92 | echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \ | |
93 | else \ | |
94 | echo $$r/../gcc/xgcc -B$$r/../gcc/; \ | |
95 | fi; \ | |
96 | else \ | |
97 | if [ "@host@" = "@target@" ] ; then \ | |
98 | echo $(CC); \ | |
99 | else \ | |
100 | echo gcc | sed '$(transform)'; \ | |
101 | fi; \ | |
102 | fi` | |
103 | ||
252b5132 | 104 | CXX_FOR_TARGET = ` \ |
55255dae | 105 | if [ -f $$r/../gcc/g++ ] ; then \ |
252b5132 | 106 | if [ -f $$r/../newlib/Makefile ] ; then \ |
55255dae | 107 | echo $$r/../gcc/g++ -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \ |
252b5132 | 108 | else \ |
55255dae | 109 | echo $$r/../gcc/g++ -B$$r/../gcc/; \ |
252b5132 | 110 | fi; \ |
06ea285d NC |
111 | elif [ -f $$r/../gcc/xg++ ] ; then \ |
112 | if [ -f $$r/../newlib/Makefile ] ; then \ | |
113 | echo $$r/../gcc/xg++ -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \ | |
114 | else \ | |
115 | echo $$r/../gcc/xg++ -B$$r/../gcc/; \ | |
116 | fi; \ | |
252b5132 RH |
117 | else \ |
118 | if [ "@host@" = "@target@" ] ; then \ | |
119 | echo $(CXX); \ | |
120 | else \ | |
55255dae | 121 | echo g++ | sed '$(transform)'; \ |
252b5132 RH |
122 | fi; \ |
123 | fi` | |
124 | ||
22d6c51b | 125 | # Strip out sanitization options as we want to test building binaries without any extra paraphernalia |
669d5115 AM |
126 | CFLAGS_FOR_TARGET = `echo $(CFLAGS) | sed -e 's/-fsanitize=[^ ]*//g'` |
127 | CXXFLAGS_FOR_TARGET = `echo $(CXXFLAGS) | sed -e 's/-fsanitize=[^ ]*//g'` | |
22d6c51b | 128 | |
4fda8867 | 129 | transform = s/^ld-new$$/$(installed_linker)/;@program_transform_name@ |
14ec8efd | 130 | bin_PROGRAMS = ld-new |
3a80a483 | 131 | info_TEXINFOS = ld.texi ldint.texi |
c428fa83 | 132 | ld_TEXINFOS = configdoc.texi |
d0ac1c44 | 133 | noinst_TEXINFOS = ldint.texi |
252b5132 RH |
134 | man_MANS = ld.1 |
135 | ||
c428fa83 | 136 | AM_MAKEINFOFLAGS = -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \ |
2faf902d | 137 | -I $(top_srcdir)/../libiberty --no-split |
c428fa83 L |
138 | TEXI2DVI = texi2dvi -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \ |
139 | -I $(top_srcdir)/../libiberty | |
92f01d61 | 140 | |
1ff6de03 | 141 | AM_CPPFLAGS = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) @zlibinc@ \ |
c8693053 | 142 | @INCINTL@ $(HDEFINES) $(CFLAGS) @LARGEFILE_CPPFLAGS@ \ |
92f01d61 | 143 | -DLOCALEDIR="\"$(datadir)/locale\"" |
252b5132 RH |
144 | |
145 | BFDLIB = ../bfd/libbfd.la | |
146 | LIBIBERTY = ../libiberty/libiberty.a | |
094e34f2 | 147 | if ENABLE_LIBCTF |
87279e3c | 148 | LIBCTF = ../libctf/libctf.la |
094e34f2 NA |
149 | else |
150 | LIBCTF = | |
151 | endif | |
252b5132 | 152 | |
cc9519e7 | 153 | # These all start with e so 'make clean' can find them. |
9034a328 | 154 | ALL_EMULATION_SOURCES = \ |
3ed41d59 AM |
155 | eaix5ppc.c \ |
156 | eaix5rs6.c \ | |
9034a328 RW |
157 | eaixppc.c \ |
158 | eaixrs6.c \ | |
159 | ealpha.c \ | |
160 | ealphavms.c \ | |
161 | earcelf.c \ | |
886a2506 | 162 | earclinux.c \ |
07ccf83c | 163 | earclinux_nps.c \ |
8ac43968 AM |
164 | earcv2elf.c \ |
165 | earcv2elfx.c \ | |
9034a328 | 166 | earm_wince_pe.c \ |
9034a328 | 167 | earmelf.c \ |
9034a328 | 168 | earmelf_fbsd.c \ |
d5451cd4 | 169 | earmelf_fuchsia.c \ |
d85e70a3 | 170 | earmelf_haiku.c \ |
9034a328 RW |
171 | earmelf_linux.c \ |
172 | earmelf_linux_eabi.c \ | |
617a5ada | 173 | earmelf_linux_fdpiceabi.c \ |
b38cadfb | 174 | earmelf_nacl.c \ |
3ed41d59 | 175 | earmelf_nbsd.c \ |
a2bea324 | 176 | earmelf_phoenix.c \ |
3ed41d59 AM |
177 | earmelf_vxworks.c \ |
178 | earmelfb.c \ | |
1804dbce | 179 | earmelfb_fbsd.c \ |
d5451cd4 | 180 | earmelfb_fuchsia.c \ |
9034a328 RW |
181 | earmelfb_linux.c \ |
182 | earmelfb_linux_eabi.c \ | |
617a5ada | 183 | earmelfb_linux_fdpiceabi.c \ |
b38cadfb | 184 | earmelfb_nacl.c \ |
9034a328 | 185 | earmelfb_nbsd.c \ |
3ed41d59 | 186 | earmnto.c \ |
9034a328 | 187 | earmpe.c \ |
9034a328 | 188 | eavr1.c \ |
3ed41d59 | 189 | eavr2.c \ |
9034a328 RW |
190 | eavr25.c \ |
191 | eavr3.c \ | |
192 | eavr31.c \ | |
193 | eavr35.c \ | |
194 | eavr4.c \ | |
195 | eavr5.c \ | |
196 | eavr51.c \ | |
197 | eavr6.c \ | |
8ac43968 | 198 | eavrtiny.c \ |
cc382d46 AM |
199 | eavrxmega1.c \ |
200 | eavrxmega2.c \ | |
201 | eavrxmega3.c \ | |
202 | eavrxmega4.c \ | |
203 | eavrxmega5.c \ | |
204 | eavrxmega6.c \ | |
205 | eavrxmega7.c \ | |
9034a328 RW |
206 | ecrisaout.c \ |
207 | ecriself.c \ | |
208 | ecrislinux.c \ | |
b8891f8d AJ |
209 | ecskyelf.c \ |
210 | ecskyelf_linux.c \ | |
9034a328 RW |
211 | ed10velf.c \ |
212 | ed30v_e.c \ | |
213 | ed30v_o.c \ | |
214 | ed30velf.c \ | |
9034a328 | 215 | eelf32_dlx.c \ |
9034a328 RW |
216 | eelf32_sparc.c \ |
217 | eelf32_sparc_sol2.c \ | |
218 | eelf32_sparc_vxworks.c \ | |
3ed41d59 | 219 | eelf32_spu.c \ |
9034a328 | 220 | eelf32_tic6x_be.c \ |
8ac43968 AM |
221 | eelf32_tic6x_elf_be.c \ |
222 | eelf32_tic6x_elf_le.c \ | |
9034a328 | 223 | eelf32_tic6x_le.c \ |
2a616379 BS |
224 | eelf32_tic6x_linux_be.c \ |
225 | eelf32_tic6x_linux_le.c \ | |
bc77a04a | 226 | eelf32am33lin.c \ |
9034a328 RW |
227 | eelf32bfin.c \ |
228 | eelf32bfinfd.c \ | |
3ed41d59 | 229 | eelf32cr16.c \ |
3ed41d59 | 230 | eelf32crx.c \ |
cfb8c092 | 231 | eelf32epiphany.c \ |
f204ddb8 | 232 | eelf32epiphany_4x4.c \ |
9034a328 RW |
233 | eelf32fr30.c \ |
234 | eelf32frv.c \ | |
3ed41d59 | 235 | eelf32frvfd.c \ |
3f8107ab | 236 | eelf32ft32.c \ |
9034a328 | 237 | eelf32ip2k.c \ |
9034a328 | 238 | eelf32iq10.c \ |
3ed41d59 | 239 | eelf32iq2000.c \ |
6e712424 | 240 | eelf32kvx.c \ |
9034a328 RW |
241 | eelf32lm32.c \ |
242 | eelf32lm32fd.c \ | |
9034a328 | 243 | eelf32lppc.c \ |
49926cd0 | 244 | eelf32lppclinux.c \ |
9034a328 RW |
245 | eelf32lppcnto.c \ |
246 | eelf32lppcsim.c \ | |
247 | eelf32m32c.c \ | |
3ed41d59 | 248 | eelf32mb_linux.c \ |
865d0aef | 249 | eelf32mbel_linux.c \ |
9034a328 RW |
250 | eelf32mcore.c \ |
251 | eelf32mep.c \ | |
a3c62988 | 252 | eelf32metag.c \ |
9034a328 | 253 | eelf32microblaze.c \ |
8ac43968 | 254 | eelf32microblazeel.c \ |
3ed41d59 | 255 | eelf32moxie.c \ |
9034a328 | 256 | eelf32mt.c \ |
73589c9d CS |
257 | eelf32or1k.c \ |
258 | eelf32or1k_linux.c \ | |
9034a328 RW |
259 | eelf32ppc.c \ |
260 | eelf32ppc_fbsd.c \ | |
d85e70a3 | 261 | eelf32ppchaiku.c \ |
06520412 | 262 | eelf32ppclinux.c \ |
9034a328 RW |
263 | eelf32ppcnto.c \ |
264 | eelf32ppcsim.c \ | |
9034a328 | 265 | eelf32ppcvxworks.c \ |
3ed41d59 | 266 | eelf32ppcwindiss.c \ |
99c513f6 | 267 | eelf32rl78.c \ |
9034a328 | 268 | eelf32rx.c \ |
c578f16e | 269 | eelf32rx_linux.c \ |
aa137e4d | 270 | eelf32tilegx.c \ |
fb6cedde | 271 | eelf32tilegx_be.c \ |
aa137e4d | 272 | eelf32tilepro.c \ |
9034a328 | 273 | eelf32vax.c \ |
c18392d8 | 274 | eelf32visium.c \ |
9034a328 RW |
275 | eelf32xstormy16.c \ |
276 | eelf32xtensa.c \ | |
6655dba2 | 277 | eelf32z80.c \ |
9034a328 RW |
278 | eelf_i386.c \ |
279 | eelf_i386_be.c \ | |
9034a328 | 280 | eelf_i386_fbsd.c \ |
d85e70a3 | 281 | eelf_i386_haiku.c \ |
9034a328 RW |
282 | eelf_i386_ldso.c \ |
283 | eelf_i386_sol2.c \ | |
284 | eelf_i386_vxworks.c \ | |
7e0a8112 | 285 | eelf_iamcu.c \ |
9034a328 | 286 | eelf_s390.c \ |
9034a328 | 287 | eh8300elf.c \ |
330b17b3 | 288 | eh8300elf_linux.c \ |
9034a328 | 289 | eh8300helf.c \ |
330b17b3 | 290 | eh8300helf_linux.c \ |
9034a328 | 291 | eh8300hnelf.c \ |
3ed41d59 | 292 | eh8300self.c \ |
5518c738 | 293 | eh8300self_linux.c \ |
9034a328 RW |
294 | eh8300snelf.c \ |
295 | eh8300sxelf.c \ | |
330b17b3 | 296 | eh8300sxelf_linux.c \ |
9034a328 | 297 | eh8300sxnelf.c \ |
9034a328 RW |
298 | ehppaelf.c \ |
299 | ehppalinux.c \ | |
300 | ehppanbsd.c \ | |
301 | ehppaobsd.c \ | |
5e737279 | 302 | ei386aout.c \ |
9034a328 RW |
303 | ei386beos.c \ |
304 | ei386bsd.c \ | |
9034a328 | 305 | ei386go32.c \ |
9034a328 | 306 | ei386lynx.c \ |
9034a328 RW |
307 | ei386moss.c \ |
308 | ei386msdos.c \ | |
9034a328 | 309 | ei386nto.c \ |
9034a328 RW |
310 | ei386pe.c \ |
311 | ei386pe_posix.c \ | |
9034a328 | 312 | em32relf.c \ |
9034a328 | 313 | em32relf_linux.c \ |
3ed41d59 | 314 | em32rlelf.c \ |
9034a328 RW |
315 | em32rlelf_linux.c \ |
316 | em68hc11elf.c \ | |
317 | em68hc11elfb.c \ | |
318 | em68hc12elf.c \ | |
319 | em68hc12elfb.c \ | |
9034a328 RW |
320 | em68kelf.c \ |
321 | em68kelfnbsd.c \ | |
7b4ae824 | 322 | em9s12zelf.c \ |
9034a328 | 323 | emcorepe.c \ |
3ed41d59 AM |
324 | emn10200.c \ |
325 | emn10300.c \ | |
8ac43968 | 326 | emoxiebox.c \ |
13761a11 | 327 | emsp430X.c \ |
8ac43968 | 328 | emsp430elf.c \ |
35c08157 KLC |
329 | ends32belf.c \ |
330 | ends32belf16m.c \ | |
331 | ends32belf_linux.c \ | |
8ac43968 AM |
332 | ends32elf.c \ |
333 | ends32elf16m.c \ | |
334 | ends32elf_linux.c \ | |
07cccc39 AM |
335 | enios2elf.c \ |
336 | enios2linux.c \ | |
8ac43968 | 337 | ens32knbsd.c \ |
9034a328 RW |
338 | epc532macha.c \ |
339 | epdp11.c \ | |
340 | epjelf.c \ | |
341 | epjlelf.c \ | |
342 | eppcmacos.c \ | |
27c3ce29 | 343 | epruelf.c \ |
9034a328 RW |
344 | escore3_elf.c \ |
345 | escore7_elf.c \ | |
346 | esh.c \ | |
3ed41d59 | 347 | eshelf.c \ |
9034a328 | 348 | eshelf_fd.c \ |
9034a328 | 349 | eshelf_linux.c \ |
9034a328 | 350 | eshelf_nbsd.c \ |
9034a328 | 351 | eshelf_nto.c \ |
9034a328 RW |
352 | eshelf_uclinux.c \ |
353 | eshelf_vxworks.c \ | |
9034a328 RW |
354 | eshl.c \ |
355 | eshlelf.c \ | |
3ed41d59 AM |
356 | eshlelf_fd.c \ |
357 | eshlelf_linux.c \ | |
358 | eshlelf_nbsd.c \ | |
359 | eshlelf_nto.c \ | |
360 | eshlelf_vxworks.c \ | |
9034a328 | 361 | eshpe.c \ |
9034a328 RW |
362 | etic30coff.c \ |
363 | etic3xcoff.c \ | |
364 | etic3xcoff_onchip.c \ | |
365 | etic4xcoff.c \ | |
366 | etic54xcoff.c \ | |
3ed41d59 | 367 | ev850.c \ |
de863c74 | 368 | ev850_rh850.c \ |
9034a328 | 369 | evanilla.c \ |
9034a328 | 370 | evaxnbsd.c \ |
f6c1a2d5 | 371 | exgateelf.c \ |
9034a328 | 372 | ez80.c \ |
3ed41d59 | 373 | ez8001.c \ |
9034a328 | 374 | ez8002.c |
252b5132 | 375 | |
9034a328 RW |
376 | ALL_EMULATIONS = $(ALL_EMULATION_SOURCES:.c=.@OBJEXT@) |
377 | ||
378 | ALL_64_EMULATION_SOURCES = \ | |
8ac43968 AM |
379 | eaarch64cloudabi.c \ |
380 | eaarch64cloudabib.c \ | |
a06ea964 | 381 | eaarch64elf.c \ |
cec5225b | 382 | eaarch64elf32.c \ |
70f0bc67 | 383 | eaarch64elf32b.c \ |
8ac43968 | 384 | eaarch64elfb.c \ |
15c7659f AT |
385 | eaarch64fbsd.c \ |
386 | eaarch64fbsdb.c \ | |
d85e70a3 | 387 | eaarch64haiku.c \ |
a06ea964 | 388 | eaarch64linux.c \ |
56244278 AP |
389 | eaarch64linux32.c \ |
390 | eaarch64linux32b.c \ | |
8ac43968 | 391 | eaarch64linuxb.c \ |
567e0dfb | 392 | eaarch64nto.c \ |
53707efa | 393 | eaarch64pe.c \ |
beb6b61d | 394 | earm64pe.c \ |
3ed41d59 | 395 | eelf32_x86_64.c \ |
42429eac RS |
396 | eelf32b4300.c \ |
397 | eelf32bmip.c \ | |
398 | eelf32bmipn32.c \ | |
8ac43968 AM |
399 | eelf32briscv.c \ |
400 | eelf32briscv_ilp32.c \ | |
401 | eelf32briscv_ilp32f.c \ | |
42429eac RS |
402 | eelf32bsmip.c \ |
403 | eelf32btsmip.c \ | |
404 | eelf32btsmip_fbsd.c \ | |
405 | eelf32btsmipn32.c \ | |
406 | eelf32btsmipn32_fbsd.c \ | |
407 | eelf32ebmip.c \ | |
408 | eelf32ebmipvxworks.c \ | |
409 | eelf32elmip.c \ | |
410 | eelf32elmipvxworks.c \ | |
411 | eelf32l4300.c \ | |
412 | eelf32lmip.c \ | |
64f5c816 | 413 | eelf32loongarch.c \ |
42429eac RS |
414 | eelf32lr5900.c \ |
415 | eelf32lr5900n32.c \ | |
8ac43968 AM |
416 | eelf32lriscv.c \ |
417 | eelf32lriscv_ilp32.c \ | |
418 | eelf32lriscv_ilp32f.c \ | |
42429eac RS |
419 | eelf32lsmip.c \ |
420 | eelf32ltsmip.c \ | |
421 | eelf32ltsmip_fbsd.c \ | |
422 | eelf32ltsmipn32.c \ | |
423 | eelf32ltsmipn32_fbsd.c \ | |
424 | eelf32mipswindiss.c \ | |
9034a328 RW |
425 | eelf64_aix.c \ |
426 | eelf64_ia64.c \ | |
427 | eelf64_ia64_fbsd.c \ | |
202e2356 | 428 | eelf64_ia64_vms.c \ |
9034a328 RW |
429 | eelf64_s390.c \ |
430 | eelf64_sparc.c \ | |
431 | eelf64_sparc_fbsd.c \ | |
432 | eelf64_sparc_sol2.c \ | |
433 | eelf64alpha.c \ | |
434 | eelf64alpha_fbsd.c \ | |
435 | eelf64alpha_nbsd.c \ | |
436 | eelf64bmip.c \ | |
8ac43968 AM |
437 | eelf64bpf.c \ |
438 | eelf64briscv.c \ | |
439 | eelf64briscv_lp64.c \ | |
440 | eelf64briscv_lp64f.c \ | |
9034a328 | 441 | eelf64btsmip.c \ |
aeffff67 | 442 | eelf64btsmip_fbsd.c \ |
3ed41d59 | 443 | eelf64hppa.c \ |
05fbbeac AM |
444 | eelf64kvx.c \ |
445 | eelf64kvx_linux.c \ | |
64f5c816 | 446 | eelf64loongarch.c \ |
3ed41d59 | 447 | eelf64lppc.c \ |
6afcdeb3 | 448 | eelf64lppc_fbsd.c \ |
e23eba97 | 449 | eelf64lriscv.c \ |
10d98088 | 450 | eelf64lriscv_lp64.c \ |
8ac43968 | 451 | eelf64lriscv_lp64f.c \ |
9034a328 | 452 | eelf64ltsmip.c \ |
aeffff67 | 453 | eelf64ltsmip_fbsd.c \ |
9034a328 | 454 | eelf64mmix.c \ |
9034a328 | 455 | eelf64ppc.c \ |
bd59d916 | 456 | eelf64ppc_fbsd.c \ |
a6dea726 | 457 | eelf64rdos.c \ |
aa137e4d | 458 | eelf64tilegx.c \ |
5a68afcf | 459 | eelf64tilegx_be.c \ |
8ac43968 | 460 | eelf_mipsel_haiku.c \ |
3ed41d59 | 461 | eelf_x86_64.c \ |
6036f486 | 462 | eelf_x86_64_cloudabi.c \ |
3ed41d59 | 463 | eelf_x86_64_fbsd.c \ |
06520412 | 464 | eelf_x86_64_haiku.c \ |
3ed41d59 AM |
465 | eelf_x86_64_sol2.c \ |
466 | ehppa64linux.c \ | |
9d069ac3 | 467 | ei386pep.c \ |
211dc24b | 468 | emmo.c |
9034a328 | 469 | |
4560bc04 | 470 | ALL_64_EMULATIONS = $(ALL_64_EMULATION_SOURCES:.c=.@OBJEXT@) |
252b5132 RH |
471 | |
472 | ALL_EMUL_EXTRA_OFILES = \ | |
52a6ecd2 | 473 | deffilep.@OBJEXT@ \ |
f27d07a1 | 474 | pdb.@OBJEXT@ \ |
d871d478 AM |
475 | pe-dll.@OBJEXT@ \ |
476 | ldelf.@OBJEXT@ \ | |
477 | ldelfgen.@OBJEXT@ | |
9d069ac3 NC |
478 | |
479 | ALL_64_EMUL_EXTRA_OFILES = \ | |
52a6ecd2 | 480 | pep-dll.@OBJEXT@ |
252b5132 RH |
481 | |
482 | CFILES = ldctor.c ldemul.c ldexp.c ldfile.c ldlang.c \ | |
483 | ldmain.c ldmisc.c ldver.c ldwrite.c lexsup.c \ | |
5d3236ee | 484 | mri.c ldcref.c pe-dll.c pep-dll.c ldlex-wrapper.c \ |
b41a6533 MH |
485 | plugin.c ldbuildid.c ldelf.c ldelfgen.c \ |
486 | pdb.c | |
252b5132 RH |
487 | |
488 | HFILES = ld.h ldctor.h ldemul.h ldexp.h ldfile.h \ | |
489 | ldlang.h ldlex.h ldmain.h ldmisc.h ldver.h \ | |
5d3236ee | 490 | ldwrite.h mri.h deffile.h pe-dll.h pep-dll.h \ |
b41a6533 MH |
491 | elf-hints-local.h plugin.h ldbuildid.h ldelf.h ldelfgen.h \ |
492 | pdb.h | |
252b5132 RH |
493 | |
494 | GENERATED_CFILES = ldgram.c ldlex.c deffilep.c | |
495 | GENERATED_HFILES = ldgram.h ldemul-list.h deffilep.h | |
496 | ||
64ac50ac RW |
497 | # Require an early dependency on the generated headers, as the dependency |
498 | # tracking will not cause them to be built beforehand. | |
02d44d76 JB |
499 | BUILT_SOURCES = $(GENERATED_HFILES) @MAINT@ $(GENERATED_CFILES) \ |
500 | $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES) | |
64ac50ac | 501 | |
5d3236ee | 502 | OFILES = ldgram.@OBJEXT@ ldlex-wrapper.@OBJEXT@ lexsup.@OBJEXT@ ldlang.@OBJEXT@ \ |
0381901e | 503 | mri.@OBJEXT@ ldctor.@OBJEXT@ ldmain.@OBJEXT@ plugin.@OBJEXT@ \ |
52a6ecd2 | 504 | ldwrite.@OBJEXT@ ldexp.@OBJEXT@ ldemul.@OBJEXT@ ldver.@OBJEXT@ ldmisc.@OBJEXT@ \ |
61e2488c | 505 | ldfile.@OBJEXT@ ldcref.@OBJEXT@ ${EMULATION_OFILES} ${EMUL_EXTRA_OFILES} \ |
f27d07a1 | 506 | ldbuildid.@OBJEXT@ |
252b5132 | 507 | |
52a6ecd2 | 508 | STAGESTUFF = *.@OBJEXT@ ldscripts/* e*.c |
252b5132 | 509 | |
ceae3e33 | 510 | # Disable -Werror, if it has been enabled, since old versions of bison/ |
5586bca1 | 511 | # yacc will produce working code which contain compile time warnings. |
52a6ecd2 | 512 | ldgram.@OBJEXT@: ldgram.c |
64ac50ac | 513 | if am__fastdepCC |
48b5f33a MF |
514 | $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR) |
515 | $(AM_V_at)mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
64ac50ac RW |
516 | else |
517 | if AMDEP | |
518 | source='ldgram.c' object='$@' libtool=no @AMDEPBACKSLASH@ | |
519 | DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
520 | endif | |
48b5f33a | 521 | $(AM_V_CC)$(COMPILE) -c `test -f ldgram.c || echo $(srcdir)/`ldgram.c $(NO_WERROR) |
64ac50ac RW |
522 | endif |
523 | ||
52a6ecd2 | 524 | ldlex-wrapper.@OBJEXT@: ldlex-wrapper.c ldlex.c |
64ac50ac | 525 | if am__fastdepCC |
48b5f33a MF |
526 | $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $(srcdir)/ldlex-wrapper.c $(NO_WERROR) |
527 | $(AM_V_at)mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
64ac50ac RW |
528 | else |
529 | if AMDEP | |
45e481d1 | 530 | source='ldlex-wrapper.c' object='$@' libtool=no @AMDEPBACKSLASH@ |
64ac50ac RW |
531 | DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
532 | endif | |
48b5f33a | 533 | $(AM_V_CC)$(COMPILE) -c $(srcdir)/ldlex-wrapper.c $(NO_WERROR) |
64ac50ac RW |
534 | endif |
535 | ||
52a6ecd2 | 536 | deffilep.@OBJEXT@: deffilep.c |
64ac50ac | 537 | if am__fastdepCC |
48b5f33a MF |
538 | $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR) |
539 | $(AM_V_at)mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po | |
64ac50ac RW |
540 | else |
541 | if AMDEP | |
542 | source='deffilep.c' object='$@' libtool=no @AMDEPBACKSLASH@ | |
543 | DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
544 | endif | |
48b5f33a | 545 | $(AM_V_CC)$(COMPILE) -c `test -f deffilep.c || echo $(srcdir)/`deffilep.c $(NO_WERROR) |
64ac50ac | 546 | endif |
ceae3e33 | 547 | |
33589acb AM |
548 | SRC_POTFILES = $(CFILES) $(HFILES) |
549 | BLD_POTFILES = $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES) | |
252b5132 | 550 | |
33589acb AM |
551 | po/SRC-POTFILES.in: @MAINT@ Makefile |
552 | for f in $(SRC_POTFILES); do echo $$f; done | LC_ALL=C sort > $@-tmp \ | |
553 | && mv $@-tmp $(srcdir)/po/SRC-POTFILES.in | |
252b5132 | 554 | |
02d44d76 | 555 | po/BLD-POTFILES.in: @MAINT@ Makefile |
33589acb AM |
556 | for f in $(BLD_POTFILES); do echo $$f; done | LC_ALL=C sort > $@-tmp \ |
557 | && mv $@-tmp $(srcdir)/po/BLD-POTFILES.in | |
252b5132 | 558 | |
52a6ecd2 | 559 | ldmain.@OBJEXT@: ldmain.c config.status |
64ac50ac | 560 | if am__fastdepCC |
48b5f33a | 561 | $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \ |
64ac50ac RW |
562 | -DDEFAULT_EMULATION='"$(EMUL)"' \ |
563 | -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \ | |
564 | -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \ | |
565 | $(srcdir)/ldmain.c | |
48b5f33a | 566 | $(AM_V_at)mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
64ac50ac RW |
567 | else |
568 | if AMDEP | |
8a0e2760 | 569 | source='ldmain.c' object='$@' libtool=no @AMDEPBACKSLASH@ |
64ac50ac RW |
570 | DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
571 | endif | |
48b5f33a | 572 | $(AM_V_CC)$(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \ |
a8caa245 | 573 | -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \ |
9c8ebd6a DJ |
574 | -DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \ |
575 | $(srcdir)/ldmain.c | |
64ac50ac | 576 | endif |
252b5132 | 577 | |
52a6ecd2 | 578 | ldfile.@OBJEXT@: ldfile.c config.status |
64ac50ac | 579 | if am__fastdepCC |
48b5f33a | 580 | $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \ |
64ac50ac RW |
581 | -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \ |
582 | $(srcdir)/ldfile.c | |
48b5f33a | 583 | $(AM_V_at)mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
64ac50ac RW |
584 | else |
585 | if AMDEP | |
8a0e2760 | 586 | source='ldfile.c' object='$@' libtool=no @AMDEPBACKSLASH@ |
64ac50ac RW |
587 | DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
588 | endif | |
48b5f33a | 589 | $(AM_V_CC)$(COMPILE) -c -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \ |
64ac50ac | 590 | -DTOOLBINDIR='"$(tooldir)/bin"' \ |
a8caa245 | 591 | $(srcdir)/ldfile.c |
64ac50ac | 592 | endif |
a8caa245 | 593 | |
52a6ecd2 | 594 | eelf32_spu.@OBJEXT@: eelf32_spu.c |
8a0e2760 | 595 | if am__fastdepCC |
48b5f33a | 596 | $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ \ |
8a0e2760 | 597 | -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" eelf32_spu.c |
48b5f33a | 598 | $(AM_V_at)mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
8a0e2760 RW |
599 | else |
600 | if AMDEP | |
601 | source='eelf32_spu.c' object='$@' libtool=no @AMDEPBACKSLASH@ | |
602 | DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ | |
603 | endif | |
48b5f33a | 604 | $(AM_V_CC)$(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \ |
42ba7415 | 605 | eelf32_spu.c |
8a0e2760 | 606 | endif |
42ba7415 | 607 | |
252b5132 RH |
608 | ldemul-list.h: Makefile |
609 | (echo "/* This file is automatically generated. DO NOT EDIT! */";\ | |
610 | for f in `echo " " ${EMULATION_OFILES} "" \ | |
611 | | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \ | |
612 | echo "extern ld_emulation_xfer_type ld_$${f}_emulation;"; \ | |
613 | done;\ | |
614 | echo "";\ | |
615 | echo "#define EMULATION_LIST \\";\ | |
616 | for f in `echo " " ${EMULATION_OFILES} "" \ | |
617 | | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \ | |
618 | echo " &ld_$${f}_emulation, \\"; \ | |
619 | done;\ | |
620 | echo " 0") >ldemul-tmp.h | |
621 | mv ldemul-tmp.h ldemul-list.h | |
622 | ||
597e2591 | 623 | stringify.sed: ${srcdir}/emultempl/$(STRINGIFY) |
48b5f33a | 624 | $(AM_V_GEN)cp ${srcdir}/emultempl/$(STRINGIFY) stringify.sed |
597e2591 | 625 | |
cc9519e7 AM |
626 | if AMDEP |
627 | GENDEPDIR=$(DEPDIR) | |
628 | else | |
629 | GENDEPDIR= | |
630 | endif | |
631 | GENSCRIPTS = $(SHELL) $(srcdir)/genscripts.sh "${srcdir}" "${libdir}" "${prefix}" "${exec_prefix}" @host@ @target@ @target_alias@ "$(GENDEPDIR)" "${LIB_PATH}" "@EMULATION_LIBPATH@" "@NATIVE_LIB_DIRS@" @use_sysroot@ @enable_initfini_array@ | |
597e2591 | 632 | GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed |
aafdb207 | 633 | |
252b5132 RH |
634 | @TDIRS@ |
635 | ||
77ac17b8 HPN |
636 | # We can't use pattern rules as we don't want to depend on GNU |
637 | # make, or else these rules could have been expressed in one | |
638 | # two-liner: 'e%.c:' and ' ${GENSCRIPTS} $* "$(tdir_$*)"'. | |
639 | # (The recursive variable expansion is portable.) | |
640 | ||
641 | run-genscripts: | |
48b5f33a | 642 | $(AM_V_at)${GENSCRIPTS} $(script_target) "$($(script_tdirname))" |
77ac17b8 HPN |
643 | |
644 | .PHONY: run-genscripts | |
645 | ||
c40e31a1 | 646 | $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES): $(GEN_DEPENDS) |
48b5f33a | 647 | $(AM_V_GEN)base=`echo $@ | sed -e 's,e\(.*\).c,\1,'`; \ |
77ac17b8 HPN |
648 | $(MAKE) run-genscripts "script_target=$$base" "script_tdirname=tdir_$$base" |
649 | ||
c40e31a1 AM |
650 | # It's a pity we can't generate these include "./deps/e*.Pc" lines |
651 | # from ALL_EMULATION_SOURCES and ALL_64_EMULATION_SOURCES, but that isn't | |
652 | # so easy to do. What we'd like to do is have automake generate these | |
653 | # lines in Makefile.in, but I can't see a way of doing that. Generating | |
654 | # the includes at configure time is possible but then we'd need to | |
655 | # duplicate autoconf/automake handling of dependency files. | |
656 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaix5ppc.Pc@am__quote@ | |
657 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaix5rs6.Pc@am__quote@ | |
658 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaixppc.Pc@am__quote@ | |
659 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaixrs6.Pc@am__quote@ | |
660 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ealpha.Pc@am__quote@ | |
661 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ealphavms.Pc@am__quote@ | |
c40e31a1 | 662 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earcelf.Pc@am__quote@ |
c40e31a1 AM |
663 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earclinux.Pc@am__quote@ |
664 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earclinux_nps.Pc@am__quote@ | |
8ac43968 AM |
665 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earcv2elf.Pc@am__quote@ |
666 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earcv2elfx.Pc@am__quote@ | |
c40e31a1 AM |
667 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earm_wince_pe.Pc@am__quote@ |
668 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf.Pc@am__quote@ | |
669 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_fbsd.Pc@am__quote@ | |
670 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_fuchsia.Pc@am__quote@ | |
8ac43968 | 671 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_haiku.Pc@am__quote@ |
c40e31a1 AM |
672 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_linux.Pc@am__quote@ |
673 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_linux_eabi.Pc@am__quote@ | |
674 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_linux_fdpiceabi.Pc@am__quote@ | |
675 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_nacl.Pc@am__quote@ | |
676 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_nbsd.Pc@am__quote@ | |
677 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_phoenix.Pc@am__quote@ | |
678 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelf_vxworks.Pc@am__quote@ | |
679 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelfb.Pc@am__quote@ | |
680 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelfb_fbsd.Pc@am__quote@ | |
681 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelfb_fuchsia.Pc@am__quote@ | |
682 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelfb_linux.Pc@am__quote@ | |
683 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelfb_linux_eabi.Pc@am__quote@ | |
684 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelfb_linux_fdpiceabi.Pc@am__quote@ | |
685 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelfb_nacl.Pc@am__quote@ | |
686 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmelfb_nbsd.Pc@am__quote@ | |
687 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmnto.Pc@am__quote@ | |
688 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earmpe.Pc@am__quote@ | |
c40e31a1 AM |
689 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavr1.Pc@am__quote@ |
690 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavr2.Pc@am__quote@ | |
691 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavr25.Pc@am__quote@ | |
692 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavr3.Pc@am__quote@ | |
693 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavr31.Pc@am__quote@ | |
694 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavr35.Pc@am__quote@ | |
695 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavr4.Pc@am__quote@ | |
696 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavr5.Pc@am__quote@ | |
697 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavr51.Pc@am__quote@ | |
698 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavr6.Pc@am__quote@ | |
8ac43968 | 699 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavrtiny.Pc@am__quote@ |
c40e31a1 AM |
700 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavrxmega1.Pc@am__quote@ |
701 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavrxmega2.Pc@am__quote@ | |
702 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavrxmega3.Pc@am__quote@ | |
703 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavrxmega4.Pc@am__quote@ | |
704 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavrxmega5.Pc@am__quote@ | |
705 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavrxmega6.Pc@am__quote@ | |
706 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavrxmega7.Pc@am__quote@ | |
c40e31a1 AM |
707 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ecrisaout.Pc@am__quote@ |
708 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ecriself.Pc@am__quote@ | |
709 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ecrislinux.Pc@am__quote@ | |
710 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ecskyelf.Pc@am__quote@ | |
711 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ecskyelf_linux.Pc@am__quote@ | |
712 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ed10velf.Pc@am__quote@ | |
713 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ed30v_e.Pc@am__quote@ | |
714 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ed30v_o.Pc@am__quote@ | |
715 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ed30velf.Pc@am__quote@ | |
716 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_dlx.Pc@am__quote@ | |
717 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_sparc.Pc@am__quote@ | |
718 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_sparc_sol2.Pc@am__quote@ | |
719 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_sparc_vxworks.Pc@am__quote@ | |
720 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_spu.Pc@am__quote@ | |
721 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_tic6x_be.Pc@am__quote@ | |
8ac43968 AM |
722 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_tic6x_elf_be.Pc@am__quote@ |
723 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_tic6x_elf_le.Pc@am__quote@ | |
c40e31a1 AM |
724 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_tic6x_le.Pc@am__quote@ |
725 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_tic6x_linux_be.Pc@am__quote@ | |
726 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_tic6x_linux_le.Pc@am__quote@ | |
c40e31a1 AM |
727 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32am33lin.Pc@am__quote@ |
728 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32bfin.Pc@am__quote@ | |
729 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32bfinfd.Pc@am__quote@ | |
730 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32cr16.Pc@am__quote@ | |
c40e31a1 AM |
731 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32crx.Pc@am__quote@ |
732 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32epiphany.Pc@am__quote@ | |
733 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32epiphany_4x4.Pc@am__quote@ | |
734 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32fr30.Pc@am__quote@ | |
735 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32frv.Pc@am__quote@ | |
736 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32frvfd.Pc@am__quote@ | |
737 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ft32.Pc@am__quote@ | |
738 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ip2k.Pc@am__quote@ | |
739 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32iq10.Pc@am__quote@ | |
740 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32iq2000.Pc@am__quote@ | |
6e712424 | 741 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32kvx.Po@am__quote@ |
c40e31a1 AM |
742 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32lm32.Pc@am__quote@ |
743 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32lm32fd.Pc@am__quote@ | |
744 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32lppc.Pc@am__quote@ | |
745 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32lppclinux.Pc@am__quote@ | |
746 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32lppcnto.Pc@am__quote@ | |
747 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32lppcsim.Pc@am__quote@ | |
748 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32m32c.Pc@am__quote@ | |
749 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32mb_linux.Pc@am__quote@ | |
750 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32mbel_linux.Pc@am__quote@ | |
751 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32mcore.Pc@am__quote@ | |
752 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32mep.Pc@am__quote@ | |
753 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32metag.Pc@am__quote@ | |
c40e31a1 | 754 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32microblaze.Pc@am__quote@ |
8ac43968 | 755 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32microblazeel.Pc@am__quote@ |
c40e31a1 | 756 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32moxie.Pc@am__quote@ |
c40e31a1 AM |
757 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32mt.Pc@am__quote@ |
758 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32or1k.Pc@am__quote@ | |
759 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32or1k_linux.Pc@am__quote@ | |
760 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ppc.Pc@am__quote@ | |
761 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ppc_fbsd.Pc@am__quote@ | |
8ac43968 | 762 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ppchaiku.Pc@am__quote@ |
c40e31a1 AM |
763 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ppclinux.Pc@am__quote@ |
764 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ppcnto.Pc@am__quote@ | |
765 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ppcsim.Pc@am__quote@ | |
766 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ppcvxworks.Pc@am__quote@ | |
767 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ppcwindiss.Pc@am__quote@ | |
c40e31a1 AM |
768 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32rl78.Pc@am__quote@ |
769 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32rx.Pc@am__quote@ | |
c578f16e | 770 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32rx_linux.Pc@am__quote@ |
c40e31a1 AM |
771 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32tilegx.Pc@am__quote@ |
772 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32tilegx_be.Pc@am__quote@ | |
773 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32tilepro.Pc@am__quote@ | |
774 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32vax.Pc@am__quote@ | |
775 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32visium.Pc@am__quote@ | |
c40e31a1 AM |
776 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32xstormy16.Pc@am__quote@ |
777 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32xtensa.Pc@am__quote@ | |
ef8f08ca | 778 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32z80.Pc@am__quote@ |
c40e31a1 AM |
779 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386.Pc@am__quote@ |
780 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_be.Pc@am__quote@ | |
781 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_fbsd.Pc@am__quote@ | |
8ac43968 | 782 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_haiku.Pc@am__quote@ |
c40e31a1 | 783 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_ldso.Pc@am__quote@ |
c40e31a1 AM |
784 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_sol2.Pc@am__quote@ |
785 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_vxworks.Pc@am__quote@ | |
786 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_iamcu.Pc@am__quote@ | |
787 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_s390.Pc@am__quote@ | |
788 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8300elf.Pc@am__quote@ | |
789 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8300elf_linux.Pc@am__quote@ | |
790 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8300helf.Pc@am__quote@ | |
791 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8300helf_linux.Pc@am__quote@ | |
792 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8300hnelf.Pc@am__quote@ | |
793 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8300self.Pc@am__quote@ | |
794 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8300self_linux.Pc@am__quote@ | |
795 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8300snelf.Pc@am__quote@ | |
796 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8300sxelf.Pc@am__quote@ | |
797 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8300sxelf_linux.Pc@am__quote@ | |
798 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eh8300sxnelf.Pc@am__quote@ | |
799 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehppaelf.Pc@am__quote@ | |
800 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehppalinux.Pc@am__quote@ | |
801 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehppanbsd.Pc@am__quote@ | |
802 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehppaobsd.Pc@am__quote@ | |
5e737279 | 803 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ei386aout.Pc@am__quote@ |
c40e31a1 AM |
804 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ei386beos.Pc@am__quote@ |
805 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ei386bsd.Pc@am__quote@ | |
806 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ei386go32.Pc@am__quote@ | |
807 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ei386lynx.Pc@am__quote@ | |
808 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ei386moss.Pc@am__quote@ | |
809 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ei386msdos.Pc@am__quote@ | |
810 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ei386nto.Pc@am__quote@ | |
811 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ei386pe.Pc@am__quote@ | |
812 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ei386pe_posix.Pc@am__quote@ | |
813 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em32relf.Pc@am__quote@ | |
814 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em32relf_linux.Pc@am__quote@ | |
815 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em32rlelf.Pc@am__quote@ | |
816 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em32rlelf_linux.Pc@am__quote@ | |
817 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em68hc11elf.Pc@am__quote@ | |
818 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em68hc11elfb.Pc@am__quote@ | |
819 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em68hc12elf.Pc@am__quote@ | |
820 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em68hc12elfb.Pc@am__quote@ | |
821 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em68kelf.Pc@am__quote@ | |
822 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em68kelfnbsd.Pc@am__quote@ | |
823 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/em9s12zelf.Pc@am__quote@ | |
824 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emcorepe.Pc@am__quote@ | |
825 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emn10200.Pc@am__quote@ | |
826 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emn10300.Pc@am__quote@ | |
8ac43968 | 827 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emoxiebox.Pc@am__quote@ |
c40e31a1 | 828 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emsp430X.Pc@am__quote@ |
8ac43968 | 829 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emsp430elf.Pc@am__quote@ |
c40e31a1 AM |
830 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ends32belf.Pc@am__quote@ |
831 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ends32belf16m.Pc@am__quote@ | |
832 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ends32belf_linux.Pc@am__quote@ | |
8ac43968 AM |
833 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ends32elf.Pc@am__quote@ |
834 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ends32elf16m.Pc@am__quote@ | |
835 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ends32elf_linux.Pc@am__quote@ | |
c40e31a1 AM |
836 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/enios2elf.Pc@am__quote@ |
837 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/enios2linux.Pc@am__quote@ | |
8ac43968 | 838 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ens32knbsd.Pc@am__quote@ |
c40e31a1 AM |
839 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/epc532macha.Pc@am__quote@ |
840 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/epdp11.Pc@am__quote@ | |
841 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/epjelf.Pc@am__quote@ | |
842 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/epjlelf.Pc@am__quote@ | |
c40e31a1 | 843 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eppcmacos.Pc@am__quote@ |
c40e31a1 AM |
844 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/epruelf.Pc@am__quote@ |
845 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/escore3_elf.Pc@am__quote@ | |
846 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/escore7_elf.Pc@am__quote@ | |
847 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/esh.Pc@am__quote@ | |
848 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshelf.Pc@am__quote@ | |
849 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshelf_fd.Pc@am__quote@ | |
850 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshelf_linux.Pc@am__quote@ | |
851 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshelf_nbsd.Pc@am__quote@ | |
852 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshelf_nto.Pc@am__quote@ | |
853 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshelf_uclinux.Pc@am__quote@ | |
854 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshelf_vxworks.Pc@am__quote@ | |
855 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshl.Pc@am__quote@ | |
856 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshlelf.Pc@am__quote@ | |
857 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshlelf_fd.Pc@am__quote@ | |
858 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshlelf_linux.Pc@am__quote@ | |
859 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshlelf_nbsd.Pc@am__quote@ | |
860 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshlelf_nto.Pc@am__quote@ | |
861 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshlelf_vxworks.Pc@am__quote@ | |
862 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eshpe.Pc@am__quote@ | |
c40e31a1 AM |
863 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic30coff.Pc@am__quote@ |
864 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic3xcoff.Pc@am__quote@ | |
865 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic3xcoff_onchip.Pc@am__quote@ | |
866 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic4xcoff.Pc@am__quote@ | |
867 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/etic54xcoff.Pc@am__quote@ | |
c40e31a1 AM |
868 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ev850.Pc@am__quote@ |
869 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ev850_rh850.Pc@am__quote@ | |
870 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evanilla.Pc@am__quote@ | |
871 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evaxnbsd.Pc@am__quote@ | |
872 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/exgateelf.Pc@am__quote@ | |
873 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ez80.Pc@am__quote@ | |
874 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ez8001.Pc@am__quote@ | |
875 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ez8002.Pc@am__quote@ | |
8ac43968 AM |
876 | |
877 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64cloudabi.Pc@am__quote@ | |
878 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64cloudabib.Pc@am__quote@ | |
c40e31a1 AM |
879 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64elf.Pc@am__quote@ |
880 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64elf32.Pc@am__quote@ | |
c40e31a1 | 881 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64elf32b.Pc@am__quote@ |
8ac43968 | 882 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64elfb.Pc@am__quote@ |
c40e31a1 AM |
883 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64fbsd.Pc@am__quote@ |
884 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64fbsdb.Pc@am__quote@ | |
8ac43968 | 885 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64haiku.Pc@am__quote@ |
c40e31a1 | 886 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64linux.Pc@am__quote@ |
c40e31a1 AM |
887 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64linux32.Pc@am__quote@ |
888 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64linux32b.Pc@am__quote@ | |
8ac43968 | 889 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64linuxb.Pc@am__quote@ |
567e0dfb | 890 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64nto.Pc@am__quote@ |
53707efa | 891 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eaarch64pe.Pc@am__quote@ |
beb6b61d | 892 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/earm64pe.Pc@am__quote@ |
c40e31a1 | 893 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32_x86_64.Pc@am__quote@ |
c40e31a1 AM |
894 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32b4300.Pc@am__quote@ |
895 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32bmip.Pc@am__quote@ | |
896 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32bmipn32.Pc@am__quote@ | |
8ac43968 AM |
897 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32briscv.Pc@am__quote@ |
898 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32briscv_ilp32.Pc@am__quote@ | |
899 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32briscv_ilp32f.Pc@am__quote@ | |
c40e31a1 AM |
900 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32bsmip.Pc@am__quote@ |
901 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32btsmip.Pc@am__quote@ | |
902 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32btsmip_fbsd.Pc@am__quote@ | |
903 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32btsmipn32.Pc@am__quote@ | |
904 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32btsmipn32_fbsd.Pc@am__quote@ | |
905 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ebmip.Pc@am__quote@ | |
906 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ebmipvxworks.Pc@am__quote@ | |
907 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32elmip.Pc@am__quote@ | |
908 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32elmipvxworks.Pc@am__quote@ | |
909 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32l4300.Pc@am__quote@ | |
560b3fe2 | 910 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32loongarch.Pc@am__quote@ |
c40e31a1 AM |
911 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32lmip.Pc@am__quote@ |
912 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32lr5900.Pc@am__quote@ | |
913 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32lr5900n32.Pc@am__quote@ | |
8ac43968 AM |
914 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32lriscv.Pc@am__quote@ |
915 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32lriscv_ilp32.Pc@am__quote@ | |
916 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32lriscv_ilp32f.Pc@am__quote@ | |
c40e31a1 AM |
917 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32lsmip.Pc@am__quote@ |
918 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ltsmip.Pc@am__quote@ | |
919 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ltsmip_fbsd.Pc@am__quote@ | |
920 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ltsmipn32.Pc@am__quote@ | |
921 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32ltsmipn32_fbsd.Pc@am__quote@ | |
922 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32mipswindiss.Pc@am__quote@ | |
923 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64_aix.Pc@am__quote@ | |
924 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64_ia64.Pc@am__quote@ | |
925 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64_ia64_fbsd.Pc@am__quote@ | |
926 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64_ia64_vms.Pc@am__quote@ | |
927 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64_s390.Pc@am__quote@ | |
928 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64_sparc.Pc@am__quote@ | |
929 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64_sparc_fbsd.Pc@am__quote@ | |
930 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64_sparc_sol2.Pc@am__quote@ | |
931 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64alpha.Pc@am__quote@ | |
932 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64alpha_fbsd.Pc@am__quote@ | |
933 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64alpha_nbsd.Pc@am__quote@ | |
934 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64bmip.Pc@am__quote@ | |
8ac43968 AM |
935 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64bpf.Pc@am__quote@ |
936 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64briscv.Pc@am__quote@ | |
937 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64briscv_lp64.Pc@am__quote@ | |
938 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64briscv_lp64f.Pc@am__quote@ | |
c40e31a1 AM |
939 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64btsmip.Pc@am__quote@ |
940 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64btsmip_fbsd.Pc@am__quote@ | |
941 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64hppa.Pc@am__quote@ | |
942 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64lppc.Pc@am__quote@ | |
6afcdeb3 | 943 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64lppc_fbsd.Pc@am__quote@ |
6e712424 PI |
944 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64kvx.Po@am__quote@ |
945 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64kvx_linux.Po@am__quote@ | |
560b3fe2 | 946 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64loongarch.Pc@am__quote@ |
c40e31a1 | 947 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64lriscv.Pc@am__quote@ |
c40e31a1 | 948 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64lriscv_lp64.Pc@am__quote@ |
8ac43968 | 949 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64lriscv_lp64f.Pc@am__quote@ |
c40e31a1 AM |
950 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64ltsmip.Pc@am__quote@ |
951 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64ltsmip_fbsd.Pc@am__quote@ | |
952 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64mmix.Pc@am__quote@ | |
953 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64ppc.Pc@am__quote@ | |
954 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64ppc_fbsd.Pc@am__quote@ | |
955 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64rdos.Pc@am__quote@ | |
956 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64tilegx.Pc@am__quote@ | |
957 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64tilegx_be.Pc@am__quote@ | |
8ac43968 | 958 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_mipsel_haiku.Pc@am__quote@ |
c40e31a1 AM |
959 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64.Pc@am__quote@ |
960 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_cloudabi.Pc@am__quote@ | |
961 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_fbsd.Pc@am__quote@ | |
8ac43968 | 962 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_haiku.Pc@am__quote@ |
c40e31a1 AM |
963 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_sol2.Pc@am__quote@ |
964 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ehppa64linux.Pc@am__quote@ | |
965 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ei386pep.Pc@am__quote@ | |
966 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/emmo.Pc@am__quote@ | |
3ed41d59 | 967 | |
67798033 | 968 | # We need this for automake to use YLWRAP. |
45e481d1 | 969 | EXTRA_ld_new_SOURCES = deffilep.y ldlex.l |
64ac50ac | 970 | # Allow dependency tracking to work for these files, too. |
feddea4b AM |
971 | EXTRA_ld_new_SOURCES += ldelf.c ldelfgen.c pdb.c pep-dll.c pe-dll.c \ |
972 | pep-dll-aarch64.c pep-dll-x86_64.c | |
67798033 | 973 | |
45e481d1 | 974 | ld_new_SOURCES = ldgram.y ldlex-wrapper.c lexsup.c ldlang.c mri.c ldctor.c ldmain.c \ |
0381901e | 975 | ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c plugin.c \ |
f27d07a1 | 976 | ldbuildid.c |
edf84efc | 977 | ld_new_DEPENDENCIES = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) \ |
9e2bb0cb | 978 | $(BFDLIB) $(LIBCTF) $(LIBIBERTY) $(LIBINTL_DEP) $(JANSSON_LIBS) |
2cac01e3 FS |
979 | ld_new_LDADD = $(EMULATION_OFILES) $(EMUL_EXTRA_OFILES) $(BFDLIB) $(LIBCTF) \ |
980 | $(LIBIBERTY) $(LIBINTL) $(ZLIB) $(ZSTD_LIBS) $(JANSSON_LIBS) | |
252b5132 | 981 | |
64ac50ac | 982 | # Dependency tracking for the generated emulation files. |
9034a328 | 983 | EXTRA_ld_new_SOURCES += $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES) |
252b5132 | 984 | |
87279e3c | 985 | # This is the real libbfd.a and libctf.a created by libtool. |
252b5132 | 986 | TESTBFDLIB = @TESTBFDLIB@ |
87279e3c | 987 | TESTCTFLIB = @TESTCTFLIB@ |
cf0e0a0b | 988 | TESTSFRAMELIB = @TESTSFRAMELIB@ |
252b5132 RH |
989 | |
990 | check-DEJAGNU: site.exp | |
554c30ab | 991 | (cd .libs; test -e ldscripts || test ! -e ld-new || $(LN_S) ../ldscripts .) |
252b5132 RH |
992 | srcroot=`cd $(srcdir) && pwd`; export srcroot; \ |
993 | r=`pwd`; export r; \ | |
e5b62927 | 994 | LC_ALL=C; export LC_ALL; \ |
252b5132 | 995 | EXPECT=$(EXPECT); export EXPECT; \ |
252b5132 RH |
996 | runtest=$(RUNTEST); \ |
997 | if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \ | |
998 | $$runtest --tool $(DEJATOOL) --srcdir $${srcroot}/testsuite \ | |
ad77db1c AM |
999 | CC="$(CC)" CFLAGS="$(CFLAGS)" \ |
1000 | CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" \ | |
1001 | CC_FOR_TARGET="$(CC_FOR_TARGET)" \ | |
fa2b501c | 1002 | CFLAGS_FOR_TARGET="$(filter-out -ffile-prefix-map=%,$(CFLAGS_FOR_TARGET))" \ |
ad77db1c | 1003 | CXX_FOR_TARGET="$(CXX_FOR_TARGET)" \ |
fa2b501c | 1004 | CXXFLAGS_FOR_TARGET="$(filter-out -ffile-prefix-map=%,$(CXXFLAGS_FOR_TARGET))" \ |
87279e3c | 1005 | OFILES="$(OFILES)" BFDLIB="$(TESTBFDLIB)" CTFLIB="$(TESTCTFLIB) $(ZLIB)" \ |
cf0e0a0b | 1006 | SFRAMELIB="$(TESTSFRAMELIB)" \ |
023b960d | 1007 | JANSSON_LIBS="$(JANSSON_LIBS)" ZSTD_LIBS="$(ZSTD_LIBS)" \ |
20e95c23 | 1008 | LIBIBERTY="$(LIBIBERTY) $(LIBINTL)" LIBS="$(LIBS)" \ |
eccbf555 | 1009 | DO_COMPARE="`echo '$(do_compare)' | sed -e 's,\\$$,,g'`" \ |
252b5132 RH |
1010 | $(RUNTESTFLAGS); \ |
1011 | else echo "WARNING: could not find \`runtest'" 1>&2; :;\ | |
1012 | fi | |
1013 | ||
7dd36a6f | 1014 | development.exp: $(BFDDIR)/development.sh |
48b5f33a | 1015 | $(AM_V_GEN)$(EGREP) "(development|experimental)=" $(BFDDIR)/development.sh \ |
7dd36a6f | 1016 | | $(AWK) -F= '{ print "set " $$1 " " $$2 }' > $@ |
7cdfc346 NA |
1017 | |
1018 | enablings.exp: | |
48b5f33a | 1019 | $(AM_V_GEN)echo "set enable_libctf ${enable_libctf}" >> $@ |
7dd36a6f | 1020 | # |
5a68afcf | 1021 | # |
5d3236ee DK |
1022 | # Build a dummy plugin using libtool. |
1023 | # | |
3355cb3b L |
1024 | noinst_LTLIBRARIES = libldtestplug.la libldtestplug2.la \ |
1025 | libldtestplug3.la libldtestplug4.la | |
5d3236ee DK |
1026 | libldtestplug_la_SOURCES = testplug.c |
1027 | libldtestplug_la_CFLAGS= -g -O2 | |
1028 | libldtestplug_la_LDFLAGS = -no-undefined -rpath /nowhere | |
439b7f41 L |
1029 | libldtestplug2_la_SOURCES = testplug2.c |
1030 | libldtestplug2_la_CFLAGS= -g -O2 | |
1031 | libldtestplug2_la_LDFLAGS = -no-undefined -rpath /nowhere | |
1032 | libldtestplug3_la_SOURCES = testplug3.c | |
1033 | libldtestplug3_la_CFLAGS= -g -O2 | |
1034 | libldtestplug3_la_LDFLAGS = -no-undefined -rpath /nowhere | |
3355cb3b L |
1035 | libldtestplug4_la_SOURCES = testplug4.c |
1036 | libldtestplug4_la_CFLAGS= -g -O2 | |
1037 | libldtestplug4_la_LDFLAGS = -no-undefined -rpath /nowhere | |
5d3236ee | 1038 | |
bf6d8037 HC |
1039 | bfdplugindir = $(libdir)/bfd-plugins |
1040 | bfdplugin_LTLIBRARIES = libdep.la | |
1041 | libdep_la_SOURCES = libdep_plugin.c | |
eba7b68c L |
1042 | libdep_la_LDFLAGS = -no-undefined -rpath /nowhere -module -avoid-version |
1043 | libdep_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ | |
1044 | --tag=disable-static \ | |
1045 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ | |
1046 | $(libdep_la_LDFLAGS) $(LDFLAGS) -o $@ | |
bf6d8037 | 1047 | |
252b5132 RH |
1048 | # DOCUMENTATION TARGETS |
1049 | # Manual configuration file; not usually attached to normal configuration, | |
1050 | # because almost all configs use "gen" version of manual. | |
1051 | # Set DOCVER above to change. | |
1052 | configdoc.texi: ${DOCVER}-doc.texi | |
48b5f33a MF |
1053 | $(AM_V_GEN)cp ${srcdir}/${DOCVER}-doc.texi ./configdoc.texi |
1054 | $(AM_V_at)chmod u+w ./configdoc.texi | |
252b5132 | 1055 | |
0285c67d NC |
1056 | # Build the man page from the texinfo file |
1057 | # The sed command removes the no-adjust Nroff command so that | |
1058 | # the man output looks standard. | |
d0ac1c44 | 1059 | ld.1: $(srcdir)/ld.texi configdoc.texi |
48b5f33a MF |
1060 | $(AM_V_GEN)touch $@ |
1061 | $(AM_V_at)-$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texi > ld.pod | |
1062 | $(AM_V_at)-($(POD2MAN) ld.pod | \ | |
5a68afcf RM |
1063 | sed -e '/^.if n .na/d' > $@.T$$$$ && \ |
1064 | mv -f $@.T$$$$ $@) || \ | |
1065 | (rm -f $@.T$$$$ && exit 1) | |
48b5f33a | 1066 | $(AM_V_at)rm -f ld.pod |
0285c67d | 1067 | |
3a80a483 US |
1068 | # Build the man page from the texinfo file |
1069 | # The sed command removes the no-adjust Nroff command so that | |
1070 | # the man output looks standard. | |
1071 | ldint.1: $(srcdir)/ldint.texi configdoc.texi | |
1072 | $(AM_V_GEN)touch $@ | |
1073 | $(AM_V_at)-$(TEXI2POD) $(MANCONF) < $(srcdir)/ldint.texi > ldint.pod | |
1074 | $(AM_V_at)-($(POD2MAN) ldint.pod | \ | |
1075 | sed -e '/^.if n .na/d' > $@.T$$$$ && \ | |
1076 | mv -f $@.T$$$$ $@) || \ | |
1077 | (rm -f $@.T$$$$ && exit 1) | |
1078 | $(AM_V_at)rm -f ldint.pod | |
1079 | ||
1080 | MAINTAINERCLEANFILES = configdoc.texi ld.1 ldint.1 | |
252b5132 | 1081 | |
2e98a7bd AM |
1082 | # We want to reconfigure if configure.host or configure.tgt changes. |
1083 | # development.sh is used to determine -Werror default. | |
42ecbf5e | 1084 | CONFIG_STATUS_DEPENDENCIES = $(srcdir)/configure.host $(srcdir)/configure.tgt \ |
2e98a7bd | 1085 | $(BFDDIR)/development.sh |
252b5132 | 1086 | |
7cdfc346 | 1087 | EXTRA_DEJAGNU_SITE_CONFIG = development.exp enablings.exp |
7dd36a6f | 1088 | |
252b5132 | 1089 | MOSTLYCLEANFILES = $(STAGESTUFF) ld1$(EXEEXT) ld2$(EXEEXT) ld3$(EXEEXT) \ |
52a6ecd2 | 1090 | ldemul-list.h crtbegin.@OBJEXT@ crtend.@OBJEXT@ ld.log ld.sum |
252b5132 RH |
1091 | mostlyclean-local: |
1092 | -rm -rf tmpdir | |
52a6ecd2 | 1093 | CLEANFILES = dep.sed DEP DEPA DEP1 DEP2 spu_ovl.s spu_ovl.@OBJEXT@ spu_icache.s spu_icache.@OBJEXT@ |
252b5132 RH |
1094 | |
1095 | .PHONY: install-exec-local install-data-local | |
1096 | ||
4fda8867 | 1097 | install-exec-local: ld-new$(EXEEXT) install-binPROGRAMS |
14ec8efd | 1098 | $(mkinstalldirs) $(DESTDIR)$(tooldir)/bin |
4fda8867 NC |
1099 | n=`echo $(installed_linker) | sed '$(transform)'`; \ |
1100 | if test "$(bindir)" != "$(tooldir)/bin"; then \ | |
1101 | rm -f $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \ | |
1102 | ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT) >/dev/null 2>/dev/null \ | |
f2c7d7ee | 1103 | || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \ |
4fda8867 NC |
1104 | fi; \ |
1105 | if test "x$(install_as_default)" = "xyes"; then \ | |
7ad2014a L |
1106 | ld=`echo ld | sed '$(transform)'`; \ |
1107 | rm -f $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \ | |
1108 | ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT) >/dev/null 2>/dev/null \ | |
f2c7d7ee | 1109 | || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \ |
4fda8867 NC |
1110 | if test "$(bindir)" != "$(tooldir)/bin"; then \ |
1111 | rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \ | |
1112 | ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \ | |
f2c7d7ee | 1113 | || $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \ |
4fda8867 | 1114 | fi; \ |
252b5132 RH |
1115 | fi |
1116 | ||
eba7b68c | 1117 | install-data-local: install-bfdpluginLTLIBRARIES |
d3d8a9ee | 1118 | $(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts |
edf84efc | 1119 | for f in ldscripts/* ; do \ |
d3d8a9ee | 1120 | $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \ |
252b5132 | 1121 | done |
eba7b68c | 1122 | rm -f $(DESTDIR)$(bfdplugindir)/libdep.la |
22604fe6 | 1123 | rm -f $(DESTDIR)$(bfdplugindir)/libdep.dll.a |
252b5132 RH |
1124 | |
1125 | # Stuff that should be included in a distribution. The diststuff | |
1126 | # target is run by the taz target in ../Makefile.in. | |
52a6ecd2 NC |
1127 | EXTRA_DIST = ldgram.c ldgram.h ldlex.c emultempl/spu_ovl.@OBJEXT@_c \ |
1128 | emultempl/spu_icache.@OBJEXT@_c deffilep.c deffilep.h $(man_MANS) | |
c45021f2 | 1129 | diststuff: info $(EXTRA_DIST) |
252b5132 | 1130 | |
c428fa83 | 1131 | # Both info (ld.info) and ld.1 depend on configdoc.texi. |
8b803601 L |
1132 | # But info isn't a direct target. Make info-recursive to depend on |
1133 | # ld.1 to support parallel build. | |
1134 | info-recursive: ld.1 | |
1135 | ||
cf758b39 MF |
1136 | html-local: doc/ld/index.html |
1137 | doc/ld/index.html: ld.texi $(ld_TEXINFOS) | |
48b5f33a MF |
1138 | $(AM_V_at)$(MKDIR_P) doc |
1139 | $(AM_V_GEN)$(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \ | |
cf758b39 MF |
1140 | --split=node -I$(srcdir) $(srcdir)/ld.texi -o doc/ld |
1141 | ||
7cdfc346 | 1142 | DISTCLEANFILES = site.exp development.exp enablings.exp site.bak stringify.sed |
252b5132 RH |
1143 | distclean-local: |
1144 | rm -rf ldscripts | |
1145 | ||
d5fbea21 | 1146 | MAINTAINERCLEANFILES += ld.info |