]>
Commit | Line | Data |
---|---|---|
204ae00c ILT |
1 | # Makefile template for Configure for the BFD library. |
2 | # Copyright (C) 1990, 1991, 1992, 1993 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 JG |
18 | # along with this program; if not, write to the Free Software |
19 | # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
99a42820 | 20 | |
99a42820 | 21 | srcdir = . |
fde8212e RP |
22 | |
23 | prefix = /usr/local | |
24 | ||
5868184b FF |
25 | exec_prefix = $(prefix) |
26 | bindir = $(exec_prefix)/bin | |
27 | libdir = $(exec_prefix)/lib | |
28 | ||
fde8212e | 29 | datadir = $(prefix)/lib |
5868184b | 30 | mandir = $(prefix)/man |
fde8212e RP |
31 | man1dir = $(mandir)/man1 |
32 | man2dir = $(mandir)/man2 | |
33 | man3dir = $(mandir)/man3 | |
34 | man4dir = $(mandir)/man4 | |
35 | man5dir = $(mandir)/man5 | |
36 | man6dir = $(mandir)/man6 | |
37 | man7dir = $(mandir)/man7 | |
38 | man8dir = $(mandir)/man8 | |
39 | man9dir = $(mandir)/man9 | |
5868184b | 40 | infodir = $(prefix)/info |
fde8212e | 41 | includedir = $(prefix)/include |
5868184b | 42 | oldincludedir = |
fbee3571 | 43 | docdir = doc |
fde8212e RP |
44 | |
45 | SHELL = /bin/sh | |
46 | ||
47 | INSTALL = install -c | |
48 | INSTALL_PROGRAM = $(INSTALL) | |
49 | INSTALL_DATA = $(INSTALL) | |
50 | ||
1b494bfa | 51 | AR = ar |
287c221d | 52 | AR_FLAGS = rc |
6e491a87 | 53 | CFLAGS = -g |
fde8212e RP |
54 | BISON = bison |
55 | MAKEINFO = makeinfo | |
56 | RANLIB = ranlib | |
57 | ||
51300bdb KR |
58 | CC_FOR_BUILD = $(CC) |
59 | ||
d6a554ae | 60 | INCDIR = $(srcdir)/../include |
bb552c64 | 61 | CSEARCH = -I. -I$(srcdir) -I$(INCDIR) |
a5c6b4b3 | 62 | DEP = mkdep |
12e7087f | 63 | |
f259290f | 64 | SUBDIRS = doc |
12e7087f | 65 | |
99a42820 | 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. | |
8d12f138 | 75 | # gdb: ecoff.o ecofflink.o 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 DM |
85 | BFD_LIBS = \ |
86 | archive.o archures.o bfd.o cache.o coffgen.o core.o ctor.o \ | |
87 | format.o init.o libbfd.o opncls.o reloc.o \ | |
130308bf | 88 | section.o syms.o targets.o hash.o linker.o \ |
8d12f138 | 89 | ecoff.o ecofflink.o elf.o srec.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 \ | |
96 | cpu-h8300.o \ | |
97 | cpu-h8500.o \ | |
98 | cpu-hppa.o \ | |
99 | cpu-i386.o \ | |
100 | cpu-i960.o \ | |
101 | cpu-m68k.o \ | |
102 | cpu-m88k.o \ | |
103 | cpu-mips.o \ | |
99ec1f66 | 104 | cpu-powerpc.o \ |
01087713 DM |
105 | cpu-rs6000.o \ |
106 | cpu-sh.o \ | |
107 | cpu-sparc.o \ | |
108 | cpu-vax.o \ | |
109 | cpu-we32k.o \ | |
110 | cpu-z8k.o | |
111 | ||
112 | # The .o files needed by all of the 32 bit vectors that are configured into | |
113 | # target_vector in targets.c if configured with --with-targets=all. | |
bb552c64 | 114 | BFD32_BACKENDS = \ |
01087713 DM |
115 | aout-adobe.o \ |
116 | aout32.o \ | |
117 | bout.o \ | |
d5d53b0a JW |
118 | cf-i386lynx.o \ |
119 | cf-m68klynx.o \ | |
120 | cf-sparclynx.o \ | |
01087713 | 121 | coff-a29k.o \ |
653dd82a | 122 | coff-apollo.o \ |
01087713 DM |
123 | coff-h8300.o \ |
124 | coff-h8500.o \ | |
125 | coff-i386.o \ | |
126 | coff-i960.o \ | |
127 | coff-m68k.o \ | |
128 | coff-m88k.o \ | |
129 | coff-mips.o \ | |
130 | coff-rs6000.o \ | |
131 | coff-sh.o \ | |
6cac89c5 | 132 | coff-sparc.o \ |
01087713 DM |
133 | coff-u68k.o \ |
134 | coff-we32k.o \ | |
135 | coff-z8k.o \ | |
136 | elf32-gen.o \ | |
137 | elf32-hppa.o \ | |
138 | elf32-i386.o \ | |
139 | elf32-i860.o \ | |
140 | elf32-m68k.o \ | |
141 | elf32-m88k.o \ | |
142 | elf32-mips.o \ | |
5a66538b | 143 | elf32-ppc.o \ |
01087713 DM |
144 | elf32-sparc.o \ |
145 | elf32.o \ | |
146 | hp300hpux.o \ | |
d5a30a08 | 147 | som.o \ |
01087713 DM |
148 | i386aout.o \ |
149 | i386bsd.o \ | |
150 | i386linux.o \ | |
151 | i386lynx.o \ | |
d5a30a08 | 152 | netbsd386.o \ |
01087713 | 153 | i386mach3.o \ |
2f88343d | 154 | i386os9k.o \ |
01087713 | 155 | ieee.o \ |
d5a30a08 | 156 | m68klynx.o \ |
01087713 DM |
157 | mipsbsd.o \ |
158 | newsos3.o \ | |
c3e964b9 | 159 | nlm.o \ |
01087713 | 160 | nlm32-i386.o \ |
cecbf7ed | 161 | nlm32-sparc.o \ |
99ec1f66 | 162 | $(start-sanitize-powerpc-netware) \ |
5a66538b | 163 | nlm32-ppc.o \ |
99ec1f66 | 164 | $(end-sanitize-powerpc-netware) \ |
01087713 DM |
165 | nlm32.o \ |
166 | oasys.o \ | |
167 | reloc16.o \ | |
d5d53b0a | 168 | sparclynx.o \ |
01087713 DM |
169 | stab-syms.o \ |
170 | sunos.o | |
171 | ||
172 | # The .o files needed by all of the 64 bit vectors that are configured into | |
173 | # target_vector in targets.c if configured with --with-targets=all | |
174 | # and --with-64-bit-bfd. | |
34075964 | 175 | BFD64_BACKENDS = \ |
01087713 DM |
176 | aout64.o \ |
177 | coff-alpha.o \ | |
178 | demo64.o \ | |
179 | elf64-gen.o \ | |
180 | elf64.o \ | |
130308bf | 181 | nlm32-alpha.o \ |
01087713 DM |
182 | nlm64.o |
183 | ||
184 | OPTIONAL_BACKENDS = \ | |
185 | aix386-core.o \ | |
186 | hpux-core.o \ | |
dabfe2f6 | 187 | irix-core.o \ |
d5a30a08 ILT |
188 | lynx-core.o \ |
189 | osf-core.o \ | |
6cac89c5 ILT |
190 | trad-core.o \ |
191 | cisco-core.o | |
99a42820 | 192 | |
34075964 PB |
193 | # These are defined by configure.in: |
194 | # WORDSIZE=32 | |
195 | # BFD_BACKENDS = $(BFD32_BACKENDS) | |
34075964 | 196 | |
bb552c64 JK |
197 | all: |
198 | ||
22e98743 SC |
199 | #### host and target dependent Makefile fragments come in here. |
200 | ### | |
201 | ||
98c0c56d | 202 | FLAGS_TO_PASS = \ |
287c221d PB |
203 | "prefix=$(prefix)" \ |
204 | "exec_prefix=$(exec_prefix)" \ | |
98c0c56d BK |
205 | "against=$(against)" \ |
206 | "AR=$(AR)" \ | |
207 | "AR_FLAGS=$(AR_FLAGS)" \ | |
208 | "CC=$(CC)" \ | |
51300bdb | 209 | "CC_FOR_BUILD=$(CC_FOR_BUILD)" \ |
98c0c56d BK |
210 | "CFLAGS=$(CFLAGS)" \ |
211 | "RANLIB=$(RANLIB)" \ | |
212 | "MAKEINFO=$(MAKEINFO)" \ | |
213 | "INSTALL=$(INSTALL)" \ | |
214 | "INSTALL_DATA=$(INSTALL_DATA)" \ | |
215 | "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ | |
216 | "BISON=$(BISON)" | |
217 | ||
d684720f | 218 | ALL_CFLAGS=$(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) |
6e491a87 | 219 | .c.o: |
d684720f | 220 | $(CC) -c $(ALL_CFLAGS) $< |
6e491a87 | 221 | |
99a42820 | 222 | # C source files that correspond to .o's. |
a3b3dbdd ILT |
223 | CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c \ |
224 | archures.c coff-i386.c aout64.c aout32.c sunos.c demo64.c \ | |
4d09e8ac | 225 | coff-i960.c srec.c tekhex.c oasys.c ieee.c \ |
8d12f138 | 226 | ecoff.c ecofflink.c coff-m68k.c coff-u68k.c coff-apollo.c \ |
4d4023b8 | 227 | coff-a29k.c coff-rs6000.c coff-sparc.c coffgen.c format.c \ |
a3b3dbdd | 228 | section.c core.c syms.c stab-syms.c reloc.c init.c ctor.c \ |
6cac89c5 | 229 | coff-m88k.c coff-mips.c coff-sh.c trad-core.c cisco-core.c newsos3.c \ |
3622687b | 230 | i386aout.c i386linux.c netbsd386.c i386mach3.c i386os9k.c \ |
2f88343d | 231 | bout.c aout-adobe.c coff-we32k.c \ |
bdf1b511 | 232 | i386bsd.c i386dynix.c cpu-h8300.c cpu-i960.c cpu-sparc.c cpu-m68k.c \ |
99ec1f66 | 233 | cpu-m88k.c cpu-vax.c cpu-mips.c cpu-a29k.c cpu-i386.c cpu-powerpc.c \ |
d5a30a08 | 234 | cpu-rs6000.c coff-h8300.c som.c cpu-hppa.c cpu-we32k.c reloc16.c \ |
51300bdb | 235 | mipsbsd.c cpu-sh.c \ |
653dd82a | 236 | elf.c elf32.c elf32-sparc.c elf32-i386.c elf32-i860.c elf32-m68k.c \ |
5a66538b | 237 | elf32-hppa.c elf32-m88k.c elf32-mips.c elf32-gen.c elf32-ppc.c \ |
c55665ea | 238 | elf64.c elf64-gen.c \ |
130308bf ILT |
239 | nlm.c nlm32.c nlm32-i386.c nlm32-sparc.c nlm32-alpha.c \ |
240 | nlm64.c coff-alpha.c cpu-alpha.c \ | |
d5a30a08 | 241 | hp300bsd.c hp300hpux.c \ |
d5d53b0a | 242 | i386lynx.c cf-i386lynx.c m68klynx.c cf-m68klynx.c \ |
dabfe2f6 | 243 | sparclynx.c cf-sparclynx.c aix386-core.c hpux-core.c \ |
130308bf | 244 | irix-core.c lynx-core.c osf-core.c hash.c linker.c |
63ffe5ef | 245 | |
c6b399ce KR |
246 | HFILES = aout-target.h aoutf1.h aoutx.h coffcode.h \ |
247 | coffswap.h ecoffswap.h elf32-hppa.h elf32-target.h elf64-target.h \ | |
248 | elfcode.h hppa_stubs.h libaout.h libbfd.h \ | |
249 | libcoff.h libecoff.h libelf.h libhppa.h libieee.h libnlm.h \ | |
130308bf | 250 | liboasys.h nlm-target.h nlmcode.h som.h genlink.h |
c6b399ce | 251 | |
5176a6bc RP |
252 | STAGESTUFF = $(TARGETLIB) $(OFILES) |
253 | ||
fbee3571 | 254 | all: Makefile $(TARGETLIB) |
98c0c56d | 255 | @$(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) |
5176a6bc | 256 | |
30662ca6 | 257 | .NOEXPORT: |
204ae00c | 258 | MAKEOVERRIDES= |
30662ca6 | 259 | |
d5d53b0a | 260 | .PHONY: check installcheck |
5868184b | 261 | check: |
26b572e4 | 262 | @echo No testsuites exist for the BFD library. Nothing to check. |
d5d53b0a | 263 | |
76019c92 | 264 | installcheck: |
26b572e4 | 265 | @echo No testsuites exist for the BFD library. Nothing to check. |
5868184b | 266 | |
74991624 | 267 | info dvi : force |
9faacb92 | 268 | @$(MAKE) subdir_do DO=$@ "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) |
2090ba83 | 269 | |
5868184b | 270 | clean-info: |
98c0c56d | 271 | @$(MAKE) subdir_do DO=clean-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) |
5868184b | 272 | |
2090ba83 | 273 | install-info: force |
98c0c56d | 274 | @$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) |
2090ba83 | 275 | |
cecbf7ed SEF |
276 | diststuff: info |
277 | ||
dcdfa32c DM |
278 | # Various kinds of .o files to put in libbfd.a: |
279 | # BFD_LIBS Generic routines, always needed. | |
5f9a2245 DM |
280 | # BFD_BACKENDS Routines the configured targets need. |
281 | # BFD_MACHINES Architecture-specific routines the configured targets need. | |
dcdfa32c DM |
282 | # HDEPFILES Routines the host needs, regardless of target. |
283 | # TDEPFILES Routines the target needs, regardless of host. | |
6a469027 | 284 | OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) $(HDEPFILES) $(TDEPFILES) |
5176a6bc | 285 | |
c812942f | 286 | ofiles : Makefile |
15db2044 | 287 | rm -f ofiles |
2fdca021 | 288 | f=""; \ |
c812942f | 289 | for i in $(OFILES) ; do \ |
2fdca021 | 290 | case " $$f " in \ |
dae31cf5 | 291 | *" $$i "*) ;; \ |
2fdca021 KR |
292 | *) f="$$f $$i" ;; \ |
293 | esac ; \ | |
294 | done ; \ | |
295 | echo $$f > ofiles | |
c812942f KR |
296 | |
297 | $(TARGETLIB): $(OFILES) ofiles | |
298 | rm -f $(TARGETLIB) | |
299 | @echo ofiles = `cat ofiles` | |
300 | $(AR) $(AR_FLAGS) $(TARGETLIB) `cat ofiles` | |
301 | $(RANLIB) $(TARGETLIB) | |
5176a6bc | 302 | |
98c0c56d BK |
303 | # When compiling archures.c and targets.c, supply the default target |
304 | # info from configure. | |
305 | ||
306 | ||
51300bdb | 307 | targets.o: targets.c Makefile |
2f88343d | 308 | $(CC) -c $(ALL_CFLAGS) $(TDEFAULTS) $< |
4a29cb1e | 309 | |
51300bdb | 310 | archures.o: archures.c Makefile |
2f88343d | 311 | $(CC) -c $(ALL_CFLAGS) $(TDEFAULTS) $< |
98c0c56d | 312 | |
f259290f | 313 | subdir_do: force |
6e491a87 | 314 | @for i in $(DODIRS); do \ |
5868184b FF |
315 | if [ -d ./$$i ] ; then \ |
316 | if (cd ./$$i; \ | |
98c0c56d | 317 | $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \ |
f259290f RP |
318 | else exit 1 ; fi ; \ |
319 | else true ; fi ; \ | |
320 | done | |
321 | ||
99a42820 RP |
322 | tags etags: TAGS |
323 | ||
5176a6bc | 324 | TAGS: force |
453063fe | 325 | etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c |
99a42820 | 326 | |
ef2810d0 PB |
327 | do_mostlyclean: |
328 | rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout | |
fbee3571 | 329 | do_clean: do_mostlyclean |
15db2044 | 330 | rm -f libbfd.a TAGS bfd.h stmp-bfd.h ofiles |
ef2810d0 | 331 | do_distclean: do_clean |
0e238aa7 | 332 | rm -f Makefile config.status sysdep.h |
cecbf7ed SEF |
333 | |
334 | # Should we remove $(srcdir)/libcoff.h $(srcdir)/libbfd.h $(srcdir)/bfd-in2.h? | |
335 | # make-stds.texi says it depends on whether they can be regenerated using | |
336 | # this makefile. Well, they can, but only via an explicit "make headers"; | |
337 | # the makefile does not regenerate them as needed. So I guess we should not | |
338 | # remove them in realclean. | |
ef2810d0 PB |
339 | do_realclean: do_distclean |
340 | ||
341 | mostlyclean: do_mostlyclean | |
342 | $(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) | |
fbee3571 | 343 | clean: do_clean |
ef2810d0 | 344 | $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) |
0e238aa7 | 345 | distclean: |
ef2810d0 | 346 | $(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) |
180acef5 | 347 | $(MAKE) do_distclean |
0e238aa7 | 348 | clobber realclean: |
ef2810d0 | 349 | $(MAKE) subdir_do DO=realclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) |
180acef5 | 350 | $(MAKE) do_realclean |
99a42820 | 351 | |
23d44ec9 JG |
352 | # Mark everything as depending on config.status, since the timestamp on |
353 | # sysdep.h might actually move backwards if we reconfig and relink it | |
354 | # to a different hosts/h-xxx.h file. This will force a recompile anyway. | |
d684720f | 355 | BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/obstack.h |
23d44ec9 | 356 | RECONFIG = config.status |
d684720f KR |
357 | $(BFD_LIBS): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS) |
358 | $(BFD_MACHINES): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS) | |
359 | $(BFD_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS) | |
360 | $(OPTIONAL_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG) $(BFD_H_DEPS) | |
99a42820 | 361 | |
cbdc7909 JG |
362 | # Get around a Sun Make bug in SunOS 4.1.1 with VPATH |
363 | cpu-i386.o:cpu-i386.c | |
fbee3571 | 364 | cpu-z8k.o: cpu-z8k.c |
204ae00c | 365 | cpu-h8500.o: cpu-h8500.c |
fbee3571 | 366 | cpu-we32k.o: cpu-we32k.c |
cbdc7909 | 367 | |
99a42820 RP |
368 | saber: |
369 | #suppress 65 on bfd_map_over_sections | |
370 | #suppress 66 on bfd_map_over_sections | |
371 | #suppress 67 on bfd_map_over_sections | |
372 | #suppress 68 on bfd_map_over_sections | |
373 | #suppress 69 on bfd_map_over_sections | |
374 | #suppress 70 on bfd_map_over_sections | |
375 | #suppress 110 in bfd_map_over_sections | |
376 | #suppress 112 in bfd_map_over_sections | |
377 | #suppress 530 | |
378 | #suppress 590 in swap_exec_header | |
379 | #suppress 590 in _bfd_dummy_core_file_matches_executable_p | |
380 | #suppress 590 in bfd_dont_truncate_arname | |
381 | #suppress 590 on ignore | |
382 | #suppress 590 on abfd | |
383 | #setopt load_flags $(CFLAGS) | |
384 | #load $(CFILES) | |
a5c6b4b3 | 385 | |
99a42820 RP |
386 | |
387 | #----------------------------------------------------------------------------- | |
388 | # 'STANDARD' GNU/960 TARGETS BELOW THIS POINT | |
389 | # | |
390 | # 'VERSION' file must be present and contain a string of the form "x.y" | |
391 | #----------------------------------------------------------------------------- | |
392 | ||
393 | ver960.c: FORCE | |
394 | rm -f ver960.c | |
395 | echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c | |
396 | ||
397 | ||
398 | # This target should be invoked before building a new release. | |
399 | # 'VERSION' file must be present and contain a string of the form "x.y" | |
400 | # | |
401 | roll: | |
402 | @V=`cat VERSION` ; \ | |
403 | MAJ=`sed 's/\..*//' VERSION` ; \ | |
404 | MIN=`sed 's/.*\.//' VERSION` ; \ | |
405 | V=$$MAJ.`expr $$MIN + 1` ; \ | |
406 | rm -f VERSION ; \ | |
407 | echo $$V >VERSION ; \ | |
408 | echo Version $$V | |
409 | ||
410 | # Dummy target to force execution of dependent targets. | |
411 | # | |
5176a6bc | 412 | force: |
99a42820 | 413 | |
99a42820 | 414 | install: |
fde8212e RP |
415 | $(INSTALL_DATA) libbfd.a $(libdir)/libbfd.a |
416 | $(RANLIB) $(libdir)/libbfd.a | |
75ff7895 DZ |
417 | # Install BFD include file, and others that it needs. Install them |
418 | # both in GCC's include directory, and in the system include dir | |
419 | # if configured as $(oldincludedir) -- which it usually isnt. | |
a5220fb9 | 420 | $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h |
6cabab78 DZ |
421 | $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h |
422 | $(INSTALL_DATA) $(INCDIR)/obstack.h $(includedir)/obstack.h | |
5d4c714e DM |
423 | -if test -z "$(oldincludedir)"; then true; else \ |
424 | test -d $(oldincludedir) || mkdir $(oldincludedir); \ | |
425 | $(INSTALL_DATA) $(BFD_H) $(oldincludedir)/bfd.h; \ | |
426 | $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h; \ | |
427 | $(INSTALL_DATA) $(INCDIR)/obstack.h $(oldincludedir)/obstack.h; \ | |
2c96ba79 | 428 | $(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS); \ |
5d4c714e | 429 | fi |
99a42820 | 430 | |
dae31cf5 ILT |
431 | Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag) |
432 | $(SHELL) config.status | |
a5c6b4b3 | 433 | |
c6b399ce KR |
434 | # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES). |
435 | .dep: dep.sed $(CFILES) $(HFILES) bfd.h | |
436 | rm -f .dep1 | |
437 | $(MAKE) DEP=$(DEP) .dep1 | |
438 | sed -f dep.sed <.dep1 >.dep | |
439 | ||
d684720f KR |
440 | # This rule really wants a mkdep that runs "gcc -MM". |
441 | .dep1: $(CFILES) | |
c6b399ce | 442 | rm -f .dep2 |
d684720f KR |
443 | echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2 |
444 | $(DEP) -f .dep2 $(ALL_CFLAGS) $? | |
653dd82a | 445 | $(srcdir)/../move-if-change .dep2 .dep1 |
d684720f | 446 | |
c6b399ce | 447 | dep.sed: dep-in.sed config.status |
d684720f KR |
448 | sed <$(srcdir)/dep-in.sed >dep.sed \ |
449 | -e 's!@BFD_H@!$(BFD_H)!' \ | |
450 | -e 's!@INCDIR@!$(INCDIR)!' \ | |
451 | -e 's!@srcdir@!$(srcdir)!' | |
452 | ||
d684720f KR |
453 | dep: .dep |
454 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile | |
455 | cat .dep >> tmp-Makefile | |
653dd82a SG |
456 | $(srcdir)/../move-if-change tmp-Makefile Makefile |
457 | ||
458 | dep-in: .dep | |
459 | sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in | |
460 | cat .dep >> tmp-Makefile.in | |
461 | $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in | |
6f715d66 | 462 | |
5868184b | 463 | host-aout.o: Makefile |
6f715d66 | 464 | |
5868184b FF |
465 | # The following program can be used to generate a simple config file |
466 | # which can be folded into an h-XXX file for a new host, with some editing. | |
d01cd8fc | 467 | aout-params.h: gen-aout |
4e810849 | 468 | ./gen-aout host > aout-params.h |
5868184b FF |
469 | gen-aout: $(srcdir)/gen-aout.c Makefile |
470 | $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c | |
6f715d66 | 471 | |
34075964 PB |
472 | BFDIN_H= $(srcdir)/bfd-in2.h |
473 | ||
a5220fb9 | 474 | $(BFD_H): stmp-bfd.h ; @true |
75ff7895 | 475 | |
12f367a1 KR |
476 | # The file ../include/bfd.h is from earlier attempts to get this right. |
477 | # If the file is still there, kill it. | |
15db2044 KR |
478 | stmp-bfd.h : $(srcdir)/bfd-in2.h Makefile |
479 | rm -f bfd.h-new 64 ../include/bfd.h | |
99ec1f66 | 480 | -grep BFD_HOST_64_BIT sysdep.h > 64 |
5a66538b KR |
481 | sed -e 's/@WORDSIZE@/$(WORDSIZE)/' \ |
482 | -e "s/@VERSION@/`cat $(srcdir)/VERSION`/" \ | |
483 | -e '/64-bit.*sysdep.h/ r 64' \ | |
484 | < $(srcdir)/bfd-in2.h \ | |
485 | > bfd.h-new | |
15db2044 | 486 | $(srcdir)/../move-if-change bfd.h-new $(BFD_H) |
12f367a1 | 487 | rm -f 64 |
75ff7895 | 488 | touch stmp-bfd.h |
34075964 | 489 | |
a5220fb9 | 490 | # Could really use a "copy-if-change"... |
12e7087f | 491 | headers: |
98c0c56d | 492 | (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS)) |
15db2044 KR |
493 | cp $(docdir)/bfd.h bfd-in2.h-new |
494 | $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h | |
6bb4c923 KR |
495 | cp $(docdir)/libbfd.h libbfd.h-new |
496 | $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h | |
497 | cp $(docdir)/libcoff.h libcoff.h-new | |
498 | $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h | |
12e7087f JG |
499 | |
500 | bfd.info: | |
fbee3571 | 501 | (cd $(docdir); $(MAKE) bfd.info $(FLAGS_TO_PASS)) |
12e7087f JG |
502 | |
503 | bfd.dvi: | |
98c0c56d | 504 | (cd $(docdir); $(MAKE) bfd.dvi $(FLAGS_TO_PASS)) |
12e7087f JG |
505 | |
506 | bfd.ps: | |
98c0c56d | 507 | (cd $(docdir); $(MAKE) bfd.ps $(FLAGS_TO_PASS)) |
12e7087f JG |
508 | |
509 | # What appears below is generated by a hacked mkdep using gcc -MM. | |
510 | ||
511 | # DO NOT DELETE THIS LINE -- mkdep uses it. | |
512 | # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. | |
513 | ||
d684720f KR |
514 | libbfd.o : libbfd.c |
515 | opncls.o : opncls.c | |
130308bf ILT |
516 | bfd.o : bfd.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \ |
517 | $(INCDIR)/coff/sym.h libcoff.h libecoff.h $(INCDIR)/coff/ecoff.h \ | |
518 | libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \ | |
519 | $(INCDIR)/elf/external.h | |
d5d53b0a | 520 | archive.o : archive.c $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h |
d684720f KR |
521 | targets.o : targets.c |
522 | cache.o : cache.c | |
523 | archures.o : archures.c | |
d5d53b0a | 524 | coff-i386.o : coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \ |
130308bf ILT |
525 | libcoff.h coffcode.h coffswap.h |
526 | aout64.o : aout64.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \ | |
527 | $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \ | |
528 | $(INCDIR)/aout/ar.h | |
529 | aout32.o : aout32.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \ | |
530 | $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \ | |
531 | $(INCDIR)/aout/ar.h | |
d5d53b0a JW |
532 | sunos.o : sunos.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \ |
533 | $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \ | |
534 | $(INCDIR)/aout/ar.h aout-target.h | |
535 | demo64.o : demo64.c aoutf1.h $(INCDIR)/aout/sun4.h \ | |
536 | libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ | |
537 | $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h | |
538 | coff-i960.o : coff-i960.c $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h \ | |
130308bf | 539 | libcoff.h coffcode.h coffswap.h |
d684720f KR |
540 | srec.o : srec.c |
541 | tekhex.o : tekhex.c | |
d5d53b0a JW |
542 | oasys.o : oasys.c $(INCDIR)/oasys.h liboasys.h |
543 | ieee.o : ieee.c $(INCDIR)/ieee.h libieee.h | |
130308bf ILT |
544 | ecoff.o : ecoff.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/ar.h \ |
545 | $(INCDIR)/aout/ranlib.h libaout.h $(INCDIR)/aout/aout64.h \ | |
546 | $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \ | |
547 | $(INCDIR)/coff/ecoff.h libcoff.h libecoff.h | |
4e810849 | 548 | ecofflink.o : ecofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \ |
8d12f138 | 549 | $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h |
d5d53b0a | 550 | coff-m68k.o : coff-m68k.c $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \ |
130308bf | 551 | libcoff.h coffcode.h coffswap.h |
d5d53b0a | 552 | coff-u68k.o : coff-u68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \ |
130308bf | 553 | $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h |
d5d53b0a | 554 | coff-apollo.o : coff-apollo.c $(INCDIR)/coff/apollo.h \ |
130308bf | 555 | $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h |
d5d53b0a | 556 | coff-a29k.o : coff-a29k.c $(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h \ |
130308bf | 557 | libcoff.h coffcode.h coffswap.h |
d5d53b0a | 558 | coff-rs6000.o : coff-rs6000.c $(INCDIR)/coff/internal.h \ |
130308bf | 559 | $(INCDIR)/coff/rs6000.h libcoff.h coffcode.h coffswap.h |
4d4023b8 | 560 | coff-sparc.o : coff-sparc.c $(INCDIR)/coff/sparc.h \ |
130308bf ILT |
561 | $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h |
562 | coffgen.o : coffgen.c $(INCDIR)/coff/internal.h libcoff.h | |
d684720f KR |
563 | format.o : format.c |
564 | section.o : section.c | |
565 | core.o : core.c | |
d5d53b0a JW |
566 | syms.o : syms.c $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def |
567 | stab-syms.o : stab-syms.c libaout.h $(INCDIR)/aout/aout64.h \ | |
568 | $(INCDIR)/aout/stab.def | |
130308bf | 569 | reloc.o : reloc.c $(INCDIR)/bfdlink.h |
d684720f KR |
570 | init.o : init.c |
571 | ctor.o : ctor.c | |
d5d53b0a | 572 | coff-m88k.o : coff-m88k.c $(INCDIR)/coff/m88k.h $(INCDIR)/coff/internal.h \ |
130308bf ILT |
573 | libcoff.h coffcode.h coffswap.h |
574 | coff-mips.o : coff-mips.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \ | |
d5d53b0a JW |
575 | $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \ |
576 | $(INCDIR)/coff/mips.h libcoff.h libecoff.h coffswap.h \ | |
577 | ecoffswap.h | |
130308bf ILT |
578 | coff-sh.o : coff-sh.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \ |
579 | $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h | |
d5d53b0a | 580 | trad-core.o : trad-core.c libaout.h |
6cac89c5 | 581 | cisco-core.o : cisco-core.c |
d5d53b0a JW |
582 | newsos3.o : newsos3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ |
583 | $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \ | |
584 | aout-target.h | |
585 | i386aout.o : i386aout.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \ | |
586 | $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h | |
587 | i386linux.o : i386linux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ | |
588 | $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \ | |
589 | aout-target.h | |
590 | netbsd386.o : netbsd386.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \ | |
591 | $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h | |
592 | i386mach3.o : i386mach3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ | |
593 | $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \ | |
594 | aout-target.h | |
6cac89c5 ILT |
595 | i386os9k.o : i386os9k.c $(INCDIR)/bfdlink.h libaout.h \ |
596 | $(INCDIR)/os9k.h | |
597 | bout.o : bout.c $(INCDIR)/bfdlink.h genlink.h $(INCDIR)/bout.h \ | |
130308bf | 598 | $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h |
d5d53b0a JW |
599 | aout-adobe.o : aout-adobe.c $(INCDIR)/aout/adobe.h \ |
600 | $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h | |
601 | coff-we32k.o : coff-we32k.c $(INCDIR)/coff/we32k.h \ | |
130308bf | 602 | $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h |
d5d53b0a JW |
603 | i386bsd.o : i386bsd.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \ |
604 | $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h | |
bdf1b511 PS |
605 | i386dynix.o : i386dynix.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \ |
606 | $(INCDIR)/aout/dynix3.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \ | |
607 | $(INCDIR)/aout/ar.h | |
d684720f KR |
608 | cpu-h8300.o : cpu-h8300.c |
609 | cpu-i960.o : cpu-i960.c | |
610 | cpu-sparc.o : cpu-sparc.c | |
611 | cpu-m68k.o : cpu-m68k.c | |
612 | cpu-m88k.o : cpu-m88k.c | |
613 | cpu-vax.o : cpu-vax.c | |
614 | cpu-mips.o : cpu-mips.c | |
615 | cpu-a29k.o : cpu-a29k.c | |
616 | cpu-i386.o : cpu-i386.c | |
99ec1f66 | 617 | cpu-powerpc.o : cpu-powerpc.c |
d684720f | 618 | cpu-rs6000.o : cpu-rs6000.c |
130308bf ILT |
619 | coff-h8300.o : coff-h8300.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/h8300.h \ |
620 | $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h | |
d684720f KR |
621 | som.o : som.c |
622 | cpu-hppa.o : cpu-hppa.c | |
623 | cpu-we32k.o : cpu-we32k.c | |
6cac89c5 ILT |
624 | reloc16.o : reloc16.c $(INCDIR)/bfdlink.h genlink.h \ |
625 | $(INCDIR)/coff/internal.h libcoff.h | |
d5d53b0a JW |
626 | mipsbsd.o : mipsbsd.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \ |
627 | $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h | |
d684720f | 628 | cpu-sh.o : cpu-sh.c |
d5d53b0a JW |
629 | elf.o : elf.c libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \ |
630 | $(INCDIR)/elf/external.h | |
631 | elf32.o : elf32.c elfcode.h libelf.h $(INCDIR)/elf/common.h \ | |
632 | $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h | |
633 | elf32-sparc.o : elf32-sparc.c libelf.h $(INCDIR)/elf/common.h \ | |
634 | $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h | |
635 | elf32-i386.o : elf32-i386.c libelf.h $(INCDIR)/elf/common.h \ | |
636 | $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h | |
637 | elf32-i860.o : elf32-i860.c libelf.h $(INCDIR)/elf/common.h \ | |
638 | $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h | |
639 | elf32-m68k.o : elf32-m68k.c libelf.h $(INCDIR)/elf/common.h \ | |
640 | $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h | |
130308bf ILT |
641 | elf32-hppa.o : elf32-hppa.c $(INCDIR)/bfdlink.h libelf.h \ |
642 | $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ | |
643 | elf32-hppa.h libhppa.h $(INCDIR)/aout/aout64.h hppa_stubs.h \ | |
644 | elf32-target.h | |
d5d53b0a JW |
645 | elf32-m88k.o : elf32-m88k.c libelf.h $(INCDIR)/elf/common.h \ |
646 | $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h | |
130308bf ILT |
647 | elf32-mips.o : elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \ |
648 | libelf.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \ | |
649 | $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \ | |
650 | $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \ | |
8d12f138 | 651 | $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \ |
d5d53b0a JW |
652 | elf32-target.h |
653 | elf32-gen.o : elf32-gen.c libelf.h $(INCDIR)/elf/common.h \ | |
654 | $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h | |
5a66538b | 655 | elf32-ppc.o : elf32-ppc.c libelf.h $(INCDIR)/elf/common.h \ |
99ec1f66 | 656 | $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-target.h |
d5d53b0a JW |
657 | elf64.o : elf64.c elfcode.h libelf.h $(INCDIR)/elf/common.h \ |
658 | $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h | |
659 | elf64-gen.o : elf64-gen.c libelf.h $(INCDIR)/elf/common.h \ | |
660 | $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf64-target.h | |
661 | nlm.o : nlm.c libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \ | |
662 | $(INCDIR)/nlm/external.h | |
663 | nlm32.o : nlm32.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \ | |
664 | $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h | |
8d12f138 ILT |
665 | nlm32-i386.o : nlm32-i386.c $(INCDIR)/nlm/i386-ext.h \ |
666 | libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \ | |
667 | $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h | |
668 | nlm32-sparc.o : nlm32-sparc.c $(INCDIR)/nlm/sparc32-ext.h \ | |
669 | libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \ | |
4d4023b8 KR |
670 | $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h |
671 | nlm32-alpha.o : nlm32-alpha.c $(INCDIR)/nlm/alpha-ext.h \ | |
672 | libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \ | |
8d12f138 | 673 | $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h |
d5d53b0a JW |
674 | nlm64.o : nlm64.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \ |
675 | $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h | |
130308bf | 676 | coff-alpha.o : coff-alpha.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \ |
d5d53b0a JW |
677 | $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \ |
678 | $(INCDIR)/coff/alpha.h libcoff.h libecoff.h coffswap.h \ | |
679 | ecoffswap.h | |
d684720f | 680 | cpu-alpha.o : cpu-alpha.c |
d5d53b0a JW |
681 | hp300bsd.o : hp300bsd.c libaout.h aout-target.h $(INCDIR)/aout/aout64.h \ |
682 | $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h | |
d684720f | 683 | hp300hpux.o : hp300hpux.c $(INCDIR)/aout/hp300hpux.h \ |
130308bf ILT |
684 | aoutx.h $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \ |
685 | $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \ | |
686 | aout-target.h | |
d5d53b0a JW |
687 | i386lynx.o : i386lynx.c libaout.h $(INCDIR)/aout/aout64.h \ |
688 | aout-target.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \ | |
689 | $(INCDIR)/aout/ar.h | |
8d12f138 | 690 | cf-i386lynx.o : cf-i386lynx.c coff-i386.c $(INCDIR)/coff/i386.h \ |
130308bf | 691 | $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h |
d5d53b0a JW |
692 | m68klynx.o : m68klynx.c libaout.h $(INCDIR)/aout/aout64.h \ |
693 | aout-target.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \ | |
694 | $(INCDIR)/aout/ar.h | |
695 | cf-m68klynx.o : cf-m68klynx.c coff-m68k.c $(INCDIR)/coff/m68k.h \ | |
130308bf | 696 | $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h |
8d12f138 ILT |
697 | sparclynx.o : sparclynx.c $(INCDIR)/aout/sun4.h libaout.h \ |
698 | $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \ | |
699 | $(INCDIR)/aout/ar.h aout-target.h | |
d5d53b0a | 700 | cf-sparclynx.o : cf-sparclynx.c coff-sparc.c $(INCDIR)/coff/sparc.h \ |
130308bf | 701 | $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h |
dabfe2f6 ILT |
702 | aix386-core.o : aix386-core.c $(INCDIR)/coff/i386.h \ |
703 | $(INCDIR)/coff/internal.h libcoff.h | |
704 | hpux-core.o : hpux-core.c | |
705 | irix-core.o : irix-core.c | |
706 | lynx-core.o : lynx-core.c | |
707 | osf-core.o : osf-core.c | |
130308bf ILT |
708 | hash.o : hash.c |
709 | linker.o : linker.c $(INCDIR)/bfdlink.h genlink.h | |
6bb4c923 | 710 | |
12e7087f | 711 | # IF YOU PUT ANYTHING HERE IT WILL GO AWAY |