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