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