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