]>
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 | |
726cc6ef | 72 | BFD_LIBS = libbfd.o opncls.o bfd.o archive.o targets.o cache.o \ |
a3b3dbdd | 73 | archures.o core.o section.o format.o syms.o reloc.o init.o \ |
dae31cf5 | 74 | ctor.o seclet.o coffgen.o ecoff.o reloc16.o |
63ffe5ef | 75 | |
c812942f | 76 | ALL_MACHINES = cpu-h8300.o cpu-i960.o cpu-sparc.o cpu-m68k.o cpu-m88k.o \ |
6bb4c923 | 77 | cpu-vax.o cpu-mips.o cpu-a29k.o cpu-i386.o cpu-rs6000.o cpu-hppa.o \ |
9faacb92 | 78 | cpu-z8k.o cpu-we32k.o cpu-h8500.o cpu-alpha.o cpu-sh.o |
99a42820 | 79 | |
bb552c64 | 80 | BFD32_BACKENDS = \ |
75ff7895 | 81 | elf.o \ |
204ae00c | 82 | elf32.o elf32-sparc.o elf32-i386.o elf32-i860.o elf32-m68k.o \ |
c55665ea | 83 | elf32-hppa.o elf32-mips.o elf32-m88k.o elf32-gen.o \ |
c3e964b9 | 84 | nlm.o \ |
dae31cf5 | 85 | nlm32.o nlm32-gen.o nlm32-i386.o \ |
bb552c64 JK |
86 | aout32.o sunos.o newsos3.o mipsbsd.o aout-adobe.o \ |
87 | i386aout.o i386bsd.o i386linux.o i386lynx.o \ | |
88 | hp300hpux.o bout.o \ | |
df61743d | 89 | coff-i960.o coff-a29k.o coff-m68k.o coff-u68k.o \ |
4d09e8ac | 90 | coff-i386.o coff-m88k.o \ |
bb552c64 | 91 | coff-rs6000.o coff-h8300.o coff-h8500.o coff-z8k.o coff-we32k.o \ |
dae31cf5 | 92 | coff-mips.o coff-sh.o \ |
bb552c64 JK |
93 | hppa.o oasys.o ieee.o srec.o \ |
94 | stab-syms.o | |
63ffe5ef | 95 | |
34075964 | 96 | BFD64_BACKENDS = \ |
c55665ea | 97 | elf64.o elf64-gen.o \ |
c3e964b9 | 98 | nlm64.o nlm64-gen.o \ |
dae31cf5 | 99 | aout64.o demo64.o coff-alpha.o |
34075964 | 100 | |
a643e626 | 101 | OPTIONAL_BACKENDS = trad-core.o sco-core.o aix386-core.o hpux-core.o |
99a42820 | 102 | |
34075964 PB |
103 | # These are defined by configure.in: |
104 | # WORDSIZE=32 | |
105 | # BFD_BACKENDS = $(BFD32_BACKENDS) | |
106 | # Change this (to MINIMIZE=1) to save space in executables. | |
107 | # Currently, all this does is control the target_vector in targets.c. | |
108 | # MINIMIZE=0 | |
109 | ||
bb552c64 JK |
110 | all: |
111 | ||
22e98743 SC |
112 | #### host and target dependent Makefile fragments come in here. |
113 | ### | |
114 | ||
98c0c56d | 115 | FLAGS_TO_PASS = \ |
287c221d PB |
116 | "prefix=$(prefix)" \ |
117 | "exec_prefix=$(exec_prefix)" \ | |
98c0c56d BK |
118 | "against=$(against)" \ |
119 | "AR=$(AR)" \ | |
120 | "AR_FLAGS=$(AR_FLAGS)" \ | |
121 | "CC=$(CC)" \ | |
51300bdb | 122 | "CC_FOR_BUILD=$(CC_FOR_BUILD)" \ |
98c0c56d BK |
123 | "CFLAGS=$(CFLAGS)" \ |
124 | "RANLIB=$(RANLIB)" \ | |
125 | "MAKEINFO=$(MAKEINFO)" \ | |
126 | "INSTALL=$(INSTALL)" \ | |
127 | "INSTALL_DATA=$(INSTALL_DATA)" \ | |
128 | "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ | |
129 | "BISON=$(BISON)" | |
130 | ||
6e491a87 | 131 | .c.o: |
892205bc | 132 | $(CC) -c $(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) $< |
6e491a87 | 133 | |
99a42820 | 134 | # C source files that correspond to .o's. |
a3b3dbdd ILT |
135 | CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c \ |
136 | archures.c coff-i386.c aout64.c aout32.c sunos.c demo64.c \ | |
4d09e8ac | 137 | coff-i960.c srec.c tekhex.c oasys.c ieee.c \ |
dae31cf5 ILT |
138 | ecoff.c coff-m68k.c coff-u68k.c \ |
139 | coff-a29k.c coff-rs6000.c coffgen.c format.c \ | |
a3b3dbdd | 140 | section.c core.c syms.c stab-syms.c reloc.c init.c ctor.c \ |
51300bdb | 141 | seclet.c coff-m88k.c coff-mips.c coff-sh.c trad-core.c newsos3.c \ |
204ae00c | 142 | i386aout.c i386linux.c bout.c aout-adobe.c coff-we32k.c \ |
a3b3dbdd ILT |
143 | i386bsd.c cpu-h8300.c cpu-i960.c cpu-sparc.c cpu-m68k.c \ |
144 | cpu-m88k.c cpu-vax.c cpu-mips.c cpu-a29k.c cpu-i386.c \ | |
204ae00c | 145 | cpu-rs6000.c coff-h8300.c hppa.c cpu-hppa.c cpu-we32k.c reloc16.c \ |
51300bdb | 146 | mipsbsd.c cpu-sh.c \ |
9faacb92 | 147 | elf32.c elf32-sparc.c elf32-i386.c elf32-i860.c elf32-m68k.c \ |
c55665ea JK |
148 | elf32-hppa.c elf32-m88k.c elf32-mips.c elf32-gen.c \ |
149 | elf64.c elf64-gen.c \ | |
dae31cf5 | 150 | nlm32.c nlm32-gen.c nlm32-i386.c nlm64.c nlm64-gen.c \ |
51300bdb KR |
151 | coff-alpha.c cpu-alpha.c \ |
152 | hp300hpux.c i386lynx.c | |
63ffe5ef | 153 | |
5176a6bc RP |
154 | STAGESTUFF = $(TARGETLIB) $(OFILES) |
155 | ||
fbee3571 | 156 | all: Makefile $(TARGETLIB) |
98c0c56d | 157 | @$(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) |
5176a6bc | 158 | |
30662ca6 | 159 | .NOEXPORT: |
204ae00c | 160 | MAKEOVERRIDES= |
30662ca6 | 161 | |
5868184b | 162 | check: |
76019c92 | 163 | installcheck: |
5868184b | 164 | |
74991624 | 165 | info dvi : force |
9faacb92 | 166 | @$(MAKE) subdir_do DO=$@ "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) |
2090ba83 | 167 | |
5868184b | 168 | clean-info: |
98c0c56d | 169 | @$(MAKE) subdir_do DO=clean-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) |
5868184b | 170 | |
2090ba83 | 171 | install-info: force |
98c0c56d | 172 | @$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) |
2090ba83 | 173 | |
6a469027 JG |
174 | # HDEPFILES comes from the host config; TDEPFILES from the target config. |
175 | OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) $(HDEPFILES) $(TDEPFILES) | |
5176a6bc | 176 | |
c812942f KR |
177 | ofiles : Makefile |
178 | rm -f ofiles2 ofiles ofiles3 | |
179 | cp /dev/null ofiles2 | |
2fdca021 | 180 | f=""; \ |
c812942f | 181 | for i in $(OFILES) ; do \ |
2fdca021 | 182 | case " $$f " in \ |
dae31cf5 | 183 | *" $$i "*) ;; \ |
2fdca021 KR |
184 | *) f="$$f $$i" ;; \ |
185 | esac ; \ | |
186 | done ; \ | |
187 | echo $$f > ofiles | |
c812942f KR |
188 | |
189 | $(TARGETLIB): $(OFILES) ofiles | |
190 | rm -f $(TARGETLIB) | |
191 | @echo ofiles = `cat ofiles` | |
192 | $(AR) $(AR_FLAGS) $(TARGETLIB) `cat ofiles` | |
193 | $(RANLIB) $(TARGETLIB) | |
5176a6bc | 194 | |
98c0c56d BK |
195 | # When compiling archures.c and targets.c, supply the default target |
196 | # info from configure. | |
197 | ||
198 | ||
51300bdb | 199 | targets.o: targets.c Makefile |
6cabab78 | 200 | $(CC) -c $(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) -DMINIMIZE=$(MINIMIZE) $(TDEFAULTS) $< |
4a29cb1e | 201 | |
51300bdb | 202 | archures.o: archures.c Makefile |
6cabab78 | 203 | $(CC) -c $(CFLAGS) $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) -DMINIMIZE=$(MINIMIZE) $(TDEFAULTS) $< |
98c0c56d | 204 | |
f259290f | 205 | subdir_do: force |
6e491a87 | 206 | @for i in $(DODIRS); do \ |
5868184b FF |
207 | if [ -d ./$$i ] ; then \ |
208 | if (cd ./$$i; \ | |
98c0c56d | 209 | $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \ |
f259290f RP |
210 | else exit 1 ; fi ; \ |
211 | else true ; fi ; \ | |
212 | done | |
213 | ||
99a42820 RP |
214 | tags etags: TAGS |
215 | ||
5176a6bc | 216 | TAGS: force |
453063fe | 217 | etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c |
99a42820 | 218 | |
ef2810d0 PB |
219 | do_mostlyclean: |
220 | rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout | |
fbee3571 | 221 | do_clean: do_mostlyclean |
bb552c64 | 222 | rm -f libbfd.a TAGS bfd.h stmp-bfd.h |
ef2810d0 | 223 | do_distclean: do_clean |
0e238aa7 | 224 | rm -f Makefile config.status sysdep.h |
ef2810d0 | 225 | do_realclean: do_distclean |
bb552c64 | 226 | rm -f $(srcdir)/libcoff.h $(srcdir)/libbfd.h $(BFDIN_H) |
ef2810d0 PB |
227 | |
228 | mostlyclean: do_mostlyclean | |
229 | $(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) | |
fbee3571 | 230 | clean: do_clean |
ef2810d0 | 231 | $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) |
0e238aa7 | 232 | distclean: |
ef2810d0 | 233 | $(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) |
0e238aa7 PB |
234 | make do_distclean |
235 | clobber realclean: | |
ef2810d0 | 236 | $(MAKE) subdir_do DO=realclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) |
0e238aa7 | 237 | make do_realclean |
99a42820 | 238 | |
23d44ec9 JG |
239 | # Mark everything as depending on config.status, since the timestamp on |
240 | # sysdep.h might actually move backwards if we reconfig and relink it | |
241 | # to a different hosts/h-xxx.h file. This will force a recompile anyway. | |
242 | RECONFIG = config.status | |
a5220fb9 KR |
243 | $(BFD_LIBS): libbfd.h $(BFD_H) $(RECONFIG) |
244 | $(BFD_MACHINES): libbfd.h $(BFD_H) $(RECONFIG) | |
245 | $(BFD_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG) | |
246 | $(OPTIONAL_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG) | |
99a42820 | 247 | |
cbdc7909 JG |
248 | # Get around a Sun Make bug in SunOS 4.1.1 with VPATH |
249 | cpu-i386.o:cpu-i386.c | |
fbee3571 | 250 | cpu-z8k.o: cpu-z8k.c |
204ae00c | 251 | cpu-h8500.o: cpu-h8500.c |
fbee3571 | 252 | cpu-we32k.o: cpu-we32k.c |
cbdc7909 | 253 | |
99a42820 RP |
254 | saber: |
255 | #suppress 65 on bfd_map_over_sections | |
256 | #suppress 66 on bfd_map_over_sections | |
257 | #suppress 67 on bfd_map_over_sections | |
258 | #suppress 68 on bfd_map_over_sections | |
259 | #suppress 69 on bfd_map_over_sections | |
260 | #suppress 70 on bfd_map_over_sections | |
261 | #suppress 110 in bfd_map_over_sections | |
262 | #suppress 112 in bfd_map_over_sections | |
263 | #suppress 530 | |
264 | #suppress 590 in swap_exec_header | |
265 | #suppress 590 in _bfd_dummy_core_file_matches_executable_p | |
266 | #suppress 590 in bfd_dont_truncate_arname | |
267 | #suppress 590 on ignore | |
268 | #suppress 590 on abfd | |
269 | #setopt load_flags $(CFLAGS) | |
270 | #load $(CFILES) | |
a5c6b4b3 | 271 | |
99a42820 RP |
272 | |
273 | #----------------------------------------------------------------------------- | |
274 | # 'STANDARD' GNU/960 TARGETS BELOW THIS POINT | |
275 | # | |
276 | # 'VERSION' file must be present and contain a string of the form "x.y" | |
277 | #----------------------------------------------------------------------------- | |
278 | ||
279 | ver960.c: FORCE | |
280 | rm -f ver960.c | |
281 | echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c | |
282 | ||
283 | ||
284 | # This target should be invoked before building a new release. | |
285 | # 'VERSION' file must be present and contain a string of the form "x.y" | |
286 | # | |
287 | roll: | |
288 | @V=`cat VERSION` ; \ | |
289 | MAJ=`sed 's/\..*//' VERSION` ; \ | |
290 | MIN=`sed 's/.*\.//' VERSION` ; \ | |
291 | V=$$MAJ.`expr $$MIN + 1` ; \ | |
292 | rm -f VERSION ; \ | |
293 | echo $$V >VERSION ; \ | |
294 | echo Version $$V | |
295 | ||
296 | # Dummy target to force execution of dependent targets. | |
297 | # | |
5176a6bc | 298 | force: |
99a42820 | 299 | |
99a42820 | 300 | install: |
fde8212e RP |
301 | $(INSTALL_DATA) libbfd.a $(libdir)/libbfd.a |
302 | $(RANLIB) $(libdir)/libbfd.a | |
75ff7895 DZ |
303 | # Install BFD include file, and others that it needs. Install them |
304 | # both in GCC's include directory, and in the system include dir | |
305 | # if configured as $(oldincludedir) -- which it usually isnt. | |
a5220fb9 | 306 | $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h |
6cabab78 DZ |
307 | $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h |
308 | $(INSTALL_DATA) $(INCDIR)/obstack.h $(includedir)/obstack.h | |
5d4c714e DM |
309 | -if test -z "$(oldincludedir)"; then true; else \ |
310 | test -d $(oldincludedir) || mkdir $(oldincludedir); \ | |
311 | $(INSTALL_DATA) $(BFD_H) $(oldincludedir)/bfd.h; \ | |
312 | $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h; \ | |
313 | $(INSTALL_DATA) $(INCDIR)/obstack.h $(oldincludedir)/obstack.h; \ | |
314 | @$(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS); \ | |
315 | fi | |
99a42820 | 316 | |
dae31cf5 ILT |
317 | Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag) |
318 | $(SHELL) config.status | |
a5c6b4b3 SC |
319 | |
320 | dep: $(CFILES) | |
321 | mkdep $(CFLAGS) $? | |
6f715d66 | 322 | |
5868184b | 323 | host-aout.o: Makefile |
6f715d66 | 324 | |
5868184b FF |
325 | # The following program can be used to generate a simple config file |
326 | # which can be folded into an h-XXX file for a new host, with some editing. | |
d01cd8fc FF |
327 | aout-params.h: gen-aout |
328 | ./gen-aout > aout-params.h | |
5868184b FF |
329 | gen-aout: $(srcdir)/gen-aout.c Makefile |
330 | $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c | |
6f715d66 | 331 | |
34075964 PB |
332 | BFDIN_H= $(srcdir)/bfd-in2.h |
333 | ||
a5220fb9 | 334 | $(BFD_H): stmp-bfd.h ; @true |
75ff7895 | 335 | |
12f367a1 KR |
336 | # The file ../include/bfd.h is from earlier attempts to get this right. |
337 | # If the file is still there, kill it. | |
75ff7895 | 338 | stmp-bfd.h : $(BFDIN_H) Makefile |
12f367a1 KR |
339 | rm -f bfd.h2 64 ../include/bfd.h |
340 | -grep HOST_64_BIT sysdep.h > 64 | |
341 | sed -e 's/@WORDSIZE@/$(WORDSIZE)/' -e '/64-bit.*sysdep.h/ r 64' < $(BFDIN_H) > bfd.h2 | |
a5220fb9 | 342 | $(srcdir)/../move-if-change bfd.h2 $(BFD_H) |
12f367a1 | 343 | rm -f 64 |
75ff7895 | 344 | touch stmp-bfd.h |
34075964 | 345 | |
a5220fb9 | 346 | # Could really use a "copy-if-change"... |
12e7087f | 347 | headers: |
98c0c56d | 348 | (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS)) |
6bb4c923 | 349 | cp $(docdir)/bfd.h bfd.h-new |
34075964 | 350 | $(srcdir)/../move-if-change bfd.h-new $(BFDIN_H) |
6bb4c923 KR |
351 | cp $(docdir)/libbfd.h libbfd.h-new |
352 | $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h | |
353 | cp $(docdir)/libcoff.h libcoff.h-new | |
354 | $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h | |
12e7087f JG |
355 | |
356 | bfd.info: | |
fbee3571 | 357 | (cd $(docdir); $(MAKE) bfd.info $(FLAGS_TO_PASS)) |
12e7087f JG |
358 | |
359 | bfd.dvi: | |
98c0c56d | 360 | (cd $(docdir); $(MAKE) bfd.dvi $(FLAGS_TO_PASS)) |
12e7087f JG |
361 | |
362 | bfd.ps: | |
98c0c56d | 363 | (cd $(docdir); $(MAKE) bfd.ps $(FLAGS_TO_PASS)) |
12e7087f JG |
364 | |
365 | # What appears below is generated by a hacked mkdep using gcc -MM. | |
366 | ||
367 | # DO NOT DELETE THIS LINE -- mkdep uses it. | |
368 | # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. | |
369 | ||
a5220fb9 KR |
370 | libbfd.o : libbfd.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h |
371 | opncls.o : opncls.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h | |
372 | bfd.o : bfd.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \ | |
dae31cf5 | 373 | $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h libecoff.h |
a5220fb9 | 374 | archive.o : archive.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \ |
fde8212e | 375 | $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h |
a5220fb9 KR |
376 | targets.o : targets.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h |
377 | cache.o : cache.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h | |
378 | archures.o : archures.c $(BFD_H) $(INCDIR)/obstack.h | |
12e7087f | 379 | aout64.o : aout64.c |
a5220fb9 | 380 | aout32.o : aout32.c aoutx.h $(BFD_H) $(INCDIR)/ansidecl.h \ |
fde8212e RP |
381 | $(INCDIR)/obstack.h libaout.h libbfd.h $(INCDIR)/aout/aout64.h \ |
382 | $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h | |
a5220fb9 | 383 | sunos.o : sunos.c aoutf1.h $(BFD_H) $(INCDIR)/obstack.h \ |
fde8212e RP |
384 | libaout.h libbfd.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ |
385 | $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h | |
ebd24135 ILT |
386 | hp300hpux.o : hp300hpux.c aoutx.h $(BFD_H) $(INCDIR)/ansidecl.h \ |
387 | $(INCDIR)/obstack.h libaout.h libbfd.h $(INCDIR)/aout/aout64.h \ | |
388 | $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \ | |
389 | $(INCDIR)/aout/hp300hpux.h aout-target.h | |
12e7087f | 390 | demo64.o : demo64.c |
3b4f1a5d | 391 | |
a5220fb9 KR |
392 | srec.o : srec.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h |
393 | oasys.o : oasys.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \ | |
a26878d1 | 394 | $(INCDIR)/oasys.h liboasys.h |
a5220fb9 | 395 | ieee.o : ieee.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \ |
a26878d1 | 396 | $(INCDIR)/ieee.h libieee.h |
a5220fb9 | 397 | coff-h8300.o: coff-h8300.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \ |
a3b3dbdd ILT |
398 | $(INCDIR)/coff/h8300.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \ |
399 | coffswap.h seclet.h | |
a5220fb9 | 400 | coff-h8500.o: coff-h8500.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \ |
204ae00c ILT |
401 | $(INCDIR)/coff/h8300.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \ |
402 | coffswap.h seclet.h | |
a5220fb9 | 403 | coff-a29k.o: coff-a29k.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \ |
a3b3dbdd ILT |
404 | $(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \ |
405 | coffswap.h seclet.h | |
a5220fb9 | 406 | coff-i386.o: coff-i386.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \ |
a3b3dbdd ILT |
407 | $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \ |
408 | coffswap.h seclet.h | |
a5220fb9 | 409 | coff-i960.o: coff-i960.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \ |
a3b3dbdd ILT |
410 | $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \ |
411 | coffswap.h seclet.h | |
a5220fb9 | 412 | coff-m68k.o: coff-m68k.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \ |
a3b3dbdd ILT |
413 | $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \ |
414 | coffswap.h seclet.h | |
a5220fb9 | 415 | coff-m88k.o: coff-m88k.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \ |
a3b3dbdd ILT |
416 | $(INCDIR)/coff/m88k.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \ |
417 | coffswap.h seclet.h | |
dae31cf5 ILT |
418 | ecoff.o: ecoff.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \ |
419 | $(INCDIR)/coff/internal.h libecoff.h libcoff.h seclet.h \ | |
420 | $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h libaout.h \ | |
421 | $(INCDIR)/aout/aout64.h $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/sym.h \ | |
422 | $(INCDIR)/coff/symconst.h | |
a5220fb9 | 423 | coff-mips.o: coff-mips.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \ |
a3b3dbdd | 424 | $(INCDIR)/coff/mips.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \ |
dae31cf5 ILT |
425 | coffswap.h seclet.h libecoff.h ecoffswap.h $(INCDIR)/coff/ecoff.h |
426 | coff-alpha.o: coff-alpha.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \ | |
427 | $(INCDIR)/coff/alpha.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \ | |
428 | coffswap.h seclet.h libecoff.h ecoffswap.h $(INCDIR)/coff/ecoff.h | |
a5220fb9 | 429 | coff-rs6000.o: coff-rs6000.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \ |
a3b3dbdd ILT |
430 | $(INCDIR)/coff/rs6000.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \ |
431 | coffswap.h seclet.h | |
a5220fb9 | 432 | coff-z8k.o: coff-z8k.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \ |
a3b3dbdd ILT |
433 | $(INCDIR)/coff/z8k.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \ |
434 | coffswap.h seclet.h | |
a5220fb9 | 435 | coff-we32k.o: coff-we32k.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \ |
a3b3dbdd ILT |
436 | $(INCDIR)/coff/we32k.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \ |
437 | coffswap.h seclet.h | |
a5220fb9 | 438 | coffgen.o: coffgen.c $(BFD_H) libbfd.h $(INCDIR)/coff/internal.h \ |
a3b3dbdd | 439 | libcoff.h |
a5220fb9 | 440 | reloc16.o: reloc16.c $(BFD_H) libbfd.h $(INCDIR)/coff/internal.h \ |
a3b3dbdd | 441 | libcoff.h seclet.h |
a5220fb9 | 442 | format.o : format.c $(BFD_H) \ |
a26878d1 | 443 | $(INCDIR)/obstack.h libbfd.h |
a5220fb9 | 444 | section.o : section.c $(BFD_H) \ |
a26878d1 | 445 | $(INCDIR)/obstack.h libbfd.h |
a5220fb9 | 446 | core.o : core.c $(BFD_H) \ |
a26878d1 | 447 | $(INCDIR)/obstack.h libbfd.h |
a5220fb9 | 448 | syms.o : syms.c $(BFD_H) \ |
a26878d1 | 449 | $(INCDIR)/obstack.h libbfd.h |
7de245d3 | 450 | syms.o : stab-syms.c |
a5220fb9 | 451 | reloc.o : reloc.c $(BFD_H) \ |
a26878d1 | 452 | $(INCDIR)/obstack.h libbfd.h |
3b4f1a5d | 453 | |
a5220fb9 | 454 | trad-core.o : trad-core.c $(BFD_H) $(INCDIR)/obstack.h \ |
12e7087f | 455 | libbfd.h libaout.h |
a643e626 ILT |
456 | sco-core.o : sco-core.c $(BFD_H) libbfd.h libcoff.h \ |
457 | $(INCDIR)/obstack.h $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h | |
458 | aix386-core.o : aix386-core.c $(BFD_H) libbfd.h libcoff.h \ | |
459 | $(INCDIR)/obstack.h $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h | |
460 | hpux-core.o : hpux-core.c $(BFD_H) libbfd.h libhppa.h | |
5868184b | 461 | |
a5220fb9 | 462 | newsos3.o : newsos3.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \ |
fde8212e RP |
463 | $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \ |
464 | $(INCDIR)/aout/ar.h libaout.h | |
a5220fb9 | 465 | i386lynx.o : i386lynx.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \ |
51300bdb KR |
466 | $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \ |
467 | $(INCDIR)/aout/ar.h libaout.h | |
a5220fb9 | 468 | i386aout.o : i386aout.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \ |
fde8212e RP |
469 | $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \ |
470 | $(INCDIR)/aout/ar.h libaout.h | |
a5220fb9 | 471 | i386linux.o : i386linux.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \ |
6bb4c923 KR |
472 | $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \ |
473 | $(INCDIR)/aout/ar.h libaout.h | |
a5220fb9 | 474 | i386bsd.o : i386bsd.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \ |
fbee3571 ME |
475 | $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \ |
476 | $(INCDIR)/aout/ar.h libaout.h | |
a5220fb9 | 477 | bout.o : bout.c $(BFD_H) $(INCDIR)/obstack.h libbfd.h \ |
6bb4c923 | 478 | $(INCDIR)/bout.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h |
a5220fb9 | 479 | mipsbsd.o : mipsbsd.c $(BFD_H) $(INCDIR)/obstack.h \ |
204ae00c | 480 | libbfd.h libaout.h |
bb552c64 | 481 | elf.o : elf.c libelf.h libbfd.h $(BFD_H) $(INCDIR)/obstack.h |
a5220fb9 | 482 | elf32.o : elf32.c elfcode.h libelf.h libbfd.h $(BFD_H) \ |
51300bdb | 483 | $(INCDIR)/obstack.h |
a5220fb9 | 484 | elf32-sparc.o : elf32-sparc.c libelf.h libbfd.h $(BFD_H) \ |
204ae00c | 485 | $(INCDIR)/obstack.h |
a5220fb9 | 486 | elf32-m68k.o : elf32-m68k.c libelf.h libbfd.h $(BFD_H) \ |
204ae00c | 487 | $(INCDIR)/obstack.h |
a5220fb9 | 488 | elf32-i860.o : elf32-i860.c libelf.h libbfd.h $(BFD_H) \ |
204ae00c | 489 | $(INCDIR)/obstack.h |
a5220fb9 | 490 | elf32-i386.o : elf32-i386.c libelf.h libbfd.h $(BFD_H) \ |
204ae00c | 491 | $(INCDIR)/obstack.h |
51300bdb | 492 | elf32-hppa.o : elf32-hppa.c $(srcdir)/elf32-hppa.h libelf.h libbfd.h \ |
a5220fb9 | 493 | $(BFD_H) $(INCDIR)/obstack.h |
244ffee7 | 494 | elf32-m88k.o : elf32-m88k.c libelf.h libbfd.h \ |
2c4f2c72 | 495 | $(BFD_H) $(INCDIR)/obstack.h |
244ffee7 JK |
496 | elf32-mips.o : elf32-mips.c libelf.h libbfd.h \ |
497 | $(BFD_H) $(INCDIR)/obstack.h | |
c55665ea | 498 | elf32-gen.o : elf32-gen.c libelf.h libbfd.h \ |
2c4f2c72 | 499 | $(BFD_H) $(INCDIR)/obstack.h |
a5220fb9 | 500 | elf64.o : elf64.c elfcode.h libelf.h libbfd.h $(BFD_H) \ |
51300bdb | 501 | $(INCDIR)/obstack.h |
c55665ea | 502 | elf64-gen.o : elf64-gen.c libelf.h libbfd.h \ |
bb552c64 | 503 | $(BFD_H) $(INCDIR)/obstack.h |
c3e964b9 FF |
504 | nlm.o : nlm.c libnlm.h libbfd.h $(BFD_H) $(INCDIR)/obstack.h |
505 | nlm32.o : nlm32.c nlmcode.h libnlm.h libbfd.h $(BFD_H) \ | |
506 | $(INCDIR)/obstack.h | |
507 | nlm32-gen.o : nlm32-gen.c libnlm.h libbfd.h \ | |
dae31cf5 ILT |
508 | $(BFD_H) $(INCDIR)/obstack.h nlm-target.h |
509 | nlm32-i386.o : nlm32-i386.c libnlm.h libbfd.h \ | |
510 | $(BFD_H) $(INCDIR)/obstack.h nlm-target.h | |
c3e964b9 FF |
511 | nlm64.o : nlm64.c nlmcode.h libnlm.h libbfd.h $(BFD_H) \ |
512 | $(INCDIR)/obstack.h | |
513 | nlm64-gen.o : nlm64-gen.c libnlm.h libbfd.h \ | |
dae31cf5 | 514 | $(BFD_H) $(INCDIR)/obstack.h nlm-target.h |
6bb4c923 | 515 | |
12e7087f | 516 | # IF YOU PUT ANYTHING HERE IT WILL GO AWAY |
a26878d1 | 517 |