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