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