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