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