1# Makefile template for Configure for the BFD library. 2# Copyright (C) 1990, 91, 92, 93, 94, 95, 1996 3# Free Software Foundation, Inc. 4# Written by Cygnus Support. 5# 6# This file is part of BFD, the Binary File Descriptor library. 7# 8# This program is free software; you can redistribute it and/or modify 9# it under the terms of the GNU General Public License as published by 10# the Free Software Foundation; either version 2 of the License, or 11# (at your option) any later version. 12# 13# This program is distributed in the hope that it will be useful, 14# but WITHOUT ANY WARRANTY; without even the implied warranty of 15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16# GNU General Public License for more details. 17# 18# You should have received a copy of the GNU General Public License 19# along with this program; if not, write to the Free Software 20# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 21 22VPATH = @srcdir@ 23srcdir = @srcdir@ 24 25prefix = @prefix@ 26 27program_transform_name = @program_transform_name@ 28exec_prefix = @exec_prefix@ 29bindir = @bindir@ 30libdir = @libdir@ 31 32datadir = @datadir@ 33mandir = @mandir@ 34man1dir = $(mandir)/man1 35man2dir = $(mandir)/man2 36man3dir = $(mandir)/man3 37man4dir = $(mandir)/man4 38man5dir = $(mandir)/man5 39man6dir = $(mandir)/man6 40man7dir = $(mandir)/man7 41man8dir = $(mandir)/man8 42man9dir = $(mandir)/man9 43infodir = @infodir@ 44includedir = @includedir@ 45oldincludedir = 46docdir = doc 47 48SHELL = /bin/sh 49 50INSTALL = @INSTALL@ 51INSTALL_PROGRAM = @INSTALL_PROGRAM@ 52INSTALL_DATA = @INSTALL_DATA@ 53 54AR = @AR@ 55AR_FLAGS = rc 56CC = @CC@ 57CFLAGS = @CFLAGS@ 58MAKEINFO = makeinfo 59RANLIB = @RANLIB@ 60 61ALLLIBS = @ALLLIBS@ 62 63PICFLAG = @PICFLAG@ 64SHLIB = @SHLIB@ 65SHLIB_CC = @SHLIB_CC@ 66SHLIB_CFLAGS = @SHLIB_CFLAGS@ 67COMMON_SHLIB = @COMMON_SHLIB@ 68SHLINK = @SHLINK@ 69 70SONAME = lib`echo $(SHLIB) | sed -e 's/^lib//' | sed '$(program_transform_name)'` 71 72CC_FOR_BUILD = @CC_FOR_BUILD@ 73 74INCDIR = $(srcdir)/../include 75CSEARCH = -I. -I$(srcdir) -I$(INCDIR) 76DEP = mkdep 77 78SUBDIRS = doc 79 80TARGETLIB = libbfd.a 81 82# bfd.h goes here, for now 83BFD_H = bfd.h 84 85# Some of these files should be in BFD*_BACKENDS below, but some programs 86# won't link without them. So, in order for some of the minimal-bfd 87# hacks to work, they're also included here for now. 88# gdb: elf.o 89# objdump: elf.o 90# 91# Also, Jim Kingdon notes: 92# Writing S-records should be included in all (or at least most) 93# *-*-coff, *-*-aout, etc., configurations, because people will want to 94# be able to use objcopy to create S-records. (S-records are not useful 95# for the debugger, so if you are downloading things as S-records you 96# need two copies of the executable, one to download and one for the 97# debugger). 98BFD_LIBS = \ 99 archive.o archures.o bfd.o cache.o coffgen.o corefile.o \ 100 format.o init.o libbfd.o opncls.o reloc.o \ 101 section.o syms.o targets.o hash.o linker.o \ 102 elf.o srec.o binary.o tekhex.o ihex.o stabs.o stab-syms.o 103 104BFD_LIBS_CFILES = \ 105 archive.c archures.c bfd.c cache.c coffgen.c corefile.c \ 106 format.c init.c libbfd.c opncls.c reloc.c \ 107 section.c syms.c targets.c hash.c linker.c \ 108 elf.c srec.c binary.c tekhex.c ihex.c stabs.c stab-syms.c 109 110# This list is alphabetized to make it easier to keep in sync 111# with the decls and initializer in archures.c. 112ALL_MACHINES = \ 113 cpu-a29k.o \ 114 cpu-alpha.o \ 115 cpu-arm.o \ 116 cpu-h8300.o \ 117 cpu-h8500.o \ 118 cpu-hppa.o \ 119 cpu-i386.o \ 120 cpu-i860.o \ 121 cpu-i960.o \ 122 cpu-m68k.o \ 123 cpu-m88k.o \ 124 cpu-mips.o \ 125 cpu-mn10200.o \ 126 cpu-mn10300.o \ 127 cpu-ns32k.o \ 128 cpu-powerpc.o \ 129 cpu-rs6000.o \ 130 cpu-sh.o \ 131 cpu-sparc.o \ 132 cpu-vax.o \ 133 cpu-we32k.o \ 134 cpu-w65.o \ 135 cpu-z8k.o 136 137ALL_MACHINES_CFILES = \ 138 cpu-a29k.c \ 139 cpu-alpha.c \ 140 cpu-arm.c \ 141 cpu-h8300.c \ 142 cpu-h8500.c \ 143 cpu-hppa.c \ 144 cpu-i386.c \ 145 cpu-i860.c \ 146 cpu-i960.c \ 147 cpu-m68k.c \ 148 cpu-m88k.c \ 149 cpu-mips.c \ 150 cpu-mn10200.c \ 151 cpu-mn10300.c \ 152 cpu-ns32k.c \ 153 cpu-powerpc.c \ 154 cpu-rs6000.c \ 155 cpu-sh.c \ 156 cpu-sparc.c \ 157 cpu-vax.c \ 158 cpu-we32k.c \ 159 cpu-w65.c \ 160 cpu-z8k.c 161 162# The .o files needed by all of the 32 bit vectors that are configured into 163# target_vector in targets.c if configured with --enable-targets=all. 164BFD32_BACKENDS = \ 165 aout-adobe.o \ 166 aout-arm.o \ 167 aout-ns32k.o \ 168 aout-sparcle.o \ 169 aout0.o \ 170 aout32.o \ 171 bout.o \ 172 cf-i386lynx.o \ 173 cf-m68klynx.o \ 174 cf-sparclynx.o \ 175 coff-a29k.o \ 176 coff-apollo.o \ 177 coff-arm.o \ 178 coff-aux.o \ 179 coff-h8300.o \ 180 coff-h8500.o \ 181 coff-i386.o \ 182 coff-go32.o \ 183 coff-i860.o \ 184 coff-i960.o \ 185 coff-m68k.o \ 186 coff-m88k.o \ 187 coff-mips.o \ 188 coff-pmac.o \ 189 coff-rs6000.o \ 190 coff-sh.o \ 191 coff-sparc.o \ 192 coff-u68k.o \ 193 coff-we32k.o \ 194 coff-w65.o \ 195 coff-z8k.o \ 196 cofflink.o \ 197 ecoff.o \ 198 ecofflink.o \ 199 elf32-gen.o \ 200 elf32-hppa.o \ 201 elf32-i386.o \ 202 elf32-i860.o \ 203 elf32-m68k.o \ 204 elf32-m88k.o \ 205 elf32-mips.o \ 206 elf32-mn10200.o \ 207 elf32-mn10300.o \ 208 elf32-ppc.o \ 209 elf32-sh.o \ 210 elf32-sparc.o \ 211 elf32.o \ 212 elflink.o \ 213 hp300bsd.o \ 214 hp300hpux.o \ 215 som.o \ 216 i386aout.o \ 217 i386bsd.o \ 218 i386dynix.o \ 219 i386freebsd.o \ 220 i386linux.o \ 221 i386lynx.o \ 222 i386msdos.o \ 223 i386netbsd.o \ 224 i386mach3.o \ 225 i386os9k.o \ 226 ieee.o \ 227 m68k4knetbsd.o \ 228 m68klinux.o \ 229 m68klynx.o \ 230 m68knetbsd.o \ 231 m88kmach3.o \ 232 mipsbsd.o \ 233 newsos3.o \ 234 nlm.o \ 235 nlm32-i386.o \ 236 nlm32-sparc.o \ 237 nlm32-ppc.o \ 238 nlm32.o \ 239 ns32knetbsd.o \ 240 oasys.o \ 241 pc532-mach.o \ 242 pe-arm.o \ 243 pei-arm.o \ 244 pe-i386.o \ 245 pei-i386.o \ 246 pe-ppc.o \ 247 pei-ppc.o \ 248 ppcboot.o \ 249 reloc16.o \ 250 riscix.o \ 251 sparclynx.o \ 252 sparcnetbsd.o \ 253 sunos.o \ 254 tekhex.o \ 255 versados.o \ 256 xcofflink.o 257 258BFD32_BACKENDS_CFILES = \ 259 aout-adobe.c \ 260 aout-arm.c \ 261 aout-ns32k.c \ 262 aout-sparcle.c \ 263 aout0.c \ 264 aout32.c \ 265 bout.c \ 266 cf-i386lynx.c \ 267 cf-m68klynx.c \ 268 cf-sparclynx.c \ 269 coff-a29k.c \ 270 coff-apollo.c \ 271 coff-arm.c \ 272 coff-aux.c \ 273 coff-h8300.c \ 274 coff-h8500.c \ 275 coff-i386.c \ 276 coff-i860.c \ 277 coff-go32.c \ 278 coff-i960.c \ 279 coff-m68k.c \ 280 coff-m88k.c \ 281 coff-mips.c \ 282 coff-pmac.c \ 283 coff-rs6000.c \ 284 coff-sh.c \ 285 coff-sparc.c \ 286 coff-u68k.c \ 287 coff-we32k.c \ 288 coff-w65.c \ 289 coff-z8k.c \ 290 cofflink.c \ 291 ecoff.c \ 292 ecofflink.c \ 293 elf32-gen.c \ 294 elf32-hppa.c \ 295 elf32-i386.c \ 296 elf32-i860.c \ 297 elf32-m68k.c \ 298 elf32-m88k.c \ 299 elf32-mips.c \ 300 elf32-mn10200.c \ 301 elf32-mn10300.c \ 302 elf32-ppc.c \ 303 elf32-sh.c \ 304 elf32-sparc.c \ 305 elf32.c \ 306 elflink.c \ 307 hp300bsd.c \ 308 hp300hpux.c \ 309 som.c \ 310 i386aout.c \ 311 i386bsd.c \ 312 i386dynix.c \ 313 i386freebsd.c \ 314 i386linux.c \ 315 i386lynx.c \ 316 i386msdos.c \ 317 i386netbsd.c \ 318 i386mach3.c \ 319 i386os9k.c \ 320 ieee.c \ 321 m68k4knetbsd.c \ 322 m68klinux.c \ 323 m68klynx.c \ 324 m68knetbsd.c \ 325 m88kmach3.c \ 326 mipsbsd.c \ 327 newsos3.c \ 328 nlm.c \ 329 nlm32-i386.c \ 330 nlm32-sparc.c \ 331 nlm32-ppc.c \ 332 nlm32.c \ 333 ns32knetbsd.c \ 334 oasys.c \ 335 pc532-mach.c \ 336 pe-arm.c \ 337 pei-arm.c \ 338 pe-i386.c \ 339 pei-i386.c \ 340 pe-ppc.c \ 341 pei-ppc.c \ 342 ppcboot.c \ 343 reloc16.c \ 344 riscix.c \ 345 sparclynx.c \ 346 sparcnetbsd.c \ 347 sunos.c \ 348 tekhex.c \ 349 versados.c \ 350 xcofflink.c 351 352# The .o files needed by all of the 64 bit vectors that are configured into 353# target_vector in targets.c if configured with --enable-targets=all 354# and --enable-64-bit-bfd. 355BFD64_BACKENDS = \ 356 aout64.o \ 357 coff-alpha.o \ 358 demo64.o \ 359 elf64-alpha.o \ 360 elf64-gen.o \ 361 elf64-mips.o \ 362 elf64-sparc.o \ 363 elf64.o \ 364 evax-alpha.o \ 365 evax-egsd.o \ 366 evax-etir.o \ 367 evax-emh.o \ 368 evax-misc.o \ 369 nlm32-alpha.o \ 370 nlm64.o 371 372BFD64_BACKENDS_CFILES = \ 373 aout64.c \ 374 coff-alpha.c \ 375 demo64.c \ 376 elf64-alpha.c \ 377 elf64-gen.c \ 378 elf64-mips.c \ 379 elf64-sparc.c \ 380 elf64.c \ 381 evax-alpha.c \ 382 evax-egsd.c \ 383 evax-etir.c \ 384 evax-emh.c \ 385 evax-misc.c \ 386 nlm32-alpha.c \ 387 nlm64.c 388 389OPTIONAL_BACKENDS = \ 390 aix386-core.o \ 391 hpux-core.o \ 392 irix-core.o \ 393 lynx-core.o \ 394 osf-core.o \ 395 trad-core.o \ 396 cisco-core.o 397 398OPTIONAL_BACKENDS_CFILES = \ 399 aix386-core.c \ 400 hpux-core.c \ 401 irix-core.c \ 402 lynx-core.c \ 403 osf-core.c \ 404 trad-core.c \ 405 cisco-core.c 406 407# These are defined by configure.in: 408WORDSIZE = @wordsize@ 409ALL_BACKENDS = @all_backends@ 410BFD_BACKENDS = @bfd_backends@ 411BFD_MACHINES = @bfd_machines@ 412TDEFAULTS = @tdefaults@ 413 414all: 415 416FLAGS_TO_PASS = \ 417 "prefix=$(prefix)" \ 418 "exec_prefix=$(exec_prefix)" \ 419 "against=$(against)" \ 420 "AR=$(AR)" \ 421 "AR_FLAGS=$(AR_FLAGS)" \ 422 "CC=$(CC)" \ 423 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \ 424 "CFLAGS=$(CFLAGS)" \ 425 "RANLIB=$(RANLIB)" \ 426 "MAKEINFO=$(MAKEINFO)" \ 427 "INSTALL=$(INSTALL)" \ 428 "INSTALL_DATA=$(INSTALL_DATA)" \ 429 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" 430 431ALL_CFLAGS=@HDEFINES@ @COREFLAG@ @TDEFINES@ $(CSEARCH) $(CSWITCHES) $(CFLAGS) 432.c.o: 433 if [ -n "$(PICFLAG)" ]; then \ 434 $(CC) -c $(PICFLAG) $(ALL_CFLAGS) $< -o pic/$@; \ 435 else true; fi 436 $(CC) -c $(ALL_CFLAGS) $< 437 438bfd_libs_here = 439all_machines_here = 440bfd32_backends_here = 441core_files_here = 442configs_not_included_in_all_targets_option_here = 443 444# C source files that correspond to .o's. 445CFILES = \ 446 $(BFD_LIBS_CFILES) \ 447 $(ALL_MACHINES_CFILES) \ 448 $(BFD32_BACKENDS_CFILES) \ 449 $(BFD64_BACKENDS_CFILES) \ 450 $(OPTIONAL_BACKENDS_CFILES) 451 452HFILES = \ 453 aout-target.h aoutf1.h aoutx.h coffcode.h coffswap.h \ 454 ecoffswap.h elf32-hppa.h elf32-target.h elf64-target.h \ 455 elfcode.h evax.h genlink.h hppa_stubs.h libaout.h libbfd.h \ 456 libcoff.h libecoff.h elf-bfd.h libhppa.h libieee.h libnlm.h \ 457 liboasys.h netbsd.h nlm-target.h nlmcode.h ns32k.h som.h \ 458 targmatch.h 459 460all: Makefile $(ALLLIBS) @PICLIST@ 461 @$(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) 462 463.NOEXPORT: 464MAKEOVERRIDES= 465 466.PHONY: check installcheck 467check: 468 @echo No testsuites exist for the BFD library. Nothing to check. 469 470installcheck: 471 @echo No testsuites exist for the BFD library. Nothing to check. 472 473info dvi : force 474 @$(MAKE) subdir_do DO=$@ "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) 475 476clean-info: 477 @$(MAKE) subdir_do DO=clean-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) 478 479install-info: force 480 @$(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) 481 482diststuff: info 483 484# Various kinds of .o files to put in libbfd.a: 485# BFD_LIBS Generic routines, always needed. 486# BFD_BACKENDS Routines the configured targets need. 487# BFD_MACHINES Architecture-specific routines the configured targets need. 488# COREFILE Core file routines for a native configuration 489OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) @COREFILE@ 490 491stamp-ofiles: Makefile 492 rm -f tofiles 493 f=""; \ 494 for i in $(OFILES) ; do \ 495 case " $$f " in \ 496 *" $$i "*) ;; \ 497 *) f="$$f $$i" ;; \ 498 esac ; \ 499 done ; \ 500 echo $$f > tofiles 501 $(srcdir)/../move-if-change tofiles ofiles 502 touch stamp-ofiles 503 504ofiles: stamp-ofiles ; @true 505 506$(TARGETLIB): $(OFILES) ofiles 507 rm -f $(TARGETLIB) 508 @echo ofiles = `cat ofiles` 509 $(AR) $(AR_FLAGS) $(TARGETLIB) `cat ofiles` 510 $(RANLIB) $(TARGETLIB) 511 512stamp-piclist: ofiles 513 rm -f tpiclist 514 if [ -n "$(PICFLAG)" ]; then \ 515 sed -e 's,\([^ ][^ ]*\),pic/\1,g' ofiles > tpiclist; \ 516 else \ 517 cp ofiles tpiclist; \ 518 fi 519 $(srcdir)/../move-if-change tpiclist piclist 520 touch stamp-piclist 521 522piclist: stamp-piclist ; @true 523 524$(SHLIB): stamp-picdir $(OFILES) piclist 525 rm -f $(SHLIB) 526 $(SHLIB_CC) $(SHLIB_CFLAGS) -o $(SHLIB) `cat piclist` 527 528# We make a link from libbfd.so to libbfd.so.VERSION for linking, and 529# also a link from libTARGET-bfd.so.VERSION for running. 530$(SHLINK): $(SHLIB) 531 ts=lib`echo $(SHLIB) | sed -e 's/^lib//' | sed -e '$(program_transform_name)'`; \ 532 if [ "$$ts" != "$(SHLIB)" ]; then \ 533 rm -f $$ts; \ 534 ln -sf $(SHLIB) $$ts; \ 535 else true; fi 536 rm -f $(SHLINK) 537 ln -sf $(SHLIB) $(SHLINK) 538 539# This target creates libTARGET-bfd.so.VERSION as a symlink to 540# libbfd.so.VERSION. It is used on SunOS, which does not have SONAME. 541stamp-tshlink: $(SHLIB) 542 tf=lib`echo $(SHLIB) | sed -e 's/^lib//' | sed '$(program_transform_name)'`; \ 543 if [ "$$tf" != "$(SHLIB)" ]; then \ 544 rm -f $$tf; \ 545 ln -sf $(SHLIB) $$tf; \ 546 else true; fi 547 touch stamp-tshlink 548 549# This file holds an array associating configuration triplets and 550# vector names. It is built from config.bfd. It is not compiled by 551# itself, but is included by targets.c. 552targmatch.h: config.bfd targmatch.sed 553 rm -f targmatch.h 554 sed -f $(srcdir)/targmatch.sed < $(srcdir)/config.bfd > targmatch.new 555 mv -f targmatch.new targmatch.h 556 557# When compiling archures.c and targets.c, supply the default target 558# info from configure. 559 560targets.o: targets.c Makefile 561 if [ -n "$(PICFLAG)" ]; then \ 562 $(CC) -c $(PICFLAG) $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/targets.c -o pic/targets.o; \ 563 else true; fi 564 $(CC) -c $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/targets.c 565 566archures.o: archures.c Makefile 567 if [ -n "$(PICFLAG)" ]; then \ 568 $(CC) -c $(PICFLAG) $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/archures.c -o pic/archures.o; \ 569 else true; fi 570 $(CC) -c $(TDEFAULTS) $(ALL_CFLAGS) $(srcdir)/archures.c 571 572elf32-target.h : elfxx-target.h 573 rm -f elf32-target.h 574 sed -e s/NN/32/g < $(srcdir)/elfxx-target.h > elf32-target.new 575 mv -f elf32-target.new elf32-target.h 576 577elf64-target.h : elfxx-target.h 578 rm -f elf64-target.h 579 sed -e s/NN/64/g < $(srcdir)/elfxx-target.h > elf64-target.new 580 mv -f elf64-target.new elf64-target.h 581 582subdir_do: force 583 @for i in $(DODIRS); do \ 584 if [ -d ./$$i ] ; then \ 585 if (cd ./$$i; \ 586 $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \ 587 else exit 1 ; fi ; \ 588 else true ; fi ; \ 589 done 590 591tags etags: TAGS 592 593TAGS: force 594 etags $(INCDIR)/*.h $(srcdir)/*.h $(srcdir)/*.c 595 596do_mostlyclean: 597 rm -f *.o *~ core *.E *.p *.ip aout-params.h gen-aout pic/*.o 598do_clean: do_mostlyclean 599 rm -f libbfd.a TAGS bfd.h stmp-bfd.h bfd-tmp.h ofiles stamp-ofiles \ 600 elf32-target.h elf64-target.h $(SHLIB) $(SHLINK) \ 601 piclist stamp-piclist targmatch.h 602do_distclean: do_clean 603 rm -f Makefile config.status config.cache config.h config.log \ 604 stamp-h bfd-in3.h 605 rm -rf pic stamp-picdir 606do_maintainer_clean: do_distclean 607 rm -f $(srcdir)/bfd-in2.h $(srcdir)/libbfd.h $(srcdir)/libcoff.h 608 609mostlyclean: do_mostlyclean 610 $(MAKE) subdir_do DO=mostlyclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) 611clean: do_clean 612 $(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) 613distclean: 614 $(MAKE) subdir_do DO=distclean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) 615 $(MAKE) do_distclean 616clobber maintainer-clean realclean: 617 @echo "This command is intended for maintainers to use;" 618 @echo "it deletes files that may require special tools to rebuild." 619 $(MAKE) subdir_do DO=maintainer-clean "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) 620 $(MAKE) do_maintainer_clean 621 622BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/obstack.h 623LOCAL_H_DEPS= libbfd.h sysdep.h config.h 624$(BFD_LIBS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS) 625$(BFD_MACHINES): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS) 626$(BFD_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS) 627$(OPTIONAL_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS) 628 629# Get around a Sun Make bug in SunOS 4.1.1 with VPATH 630cpu-i386.o:cpu-i386.c 631cpu-z8k.o: cpu-z8k.c 632cpu-h8500.o: cpu-h8500.c 633cpu-we32k.o: cpu-we32k.c 634 635saber: 636 #suppress 65 on bfd_map_over_sections 637 #suppress 66 on bfd_map_over_sections 638 #suppress 67 on bfd_map_over_sections 639 #suppress 68 on bfd_map_over_sections 640 #suppress 69 on bfd_map_over_sections 641 #suppress 70 on bfd_map_over_sections 642 #suppress 110 in bfd_map_over_sections 643 #suppress 112 in bfd_map_over_sections 644 #suppress 530 645 #suppress 590 in swap_exec_header 646 #suppress 590 in _bfd_dummy_core_file_matches_executable_p 647 #suppress 590 in bfd_dont_truncate_arname 648 #suppress 590 on ignore 649 #suppress 590 on abfd 650 #setopt load_flags $(CFLAGS) 651 #load $(CFILES) 652 653 654#----------------------------------------------------------------------------- 655# 'STANDARD' GNU/960 TARGETS BELOW THIS POINT 656# 657# 'VERSION' file must be present and contain a string of the form "x.y" 658#----------------------------------------------------------------------------- 659 660ver960.c: FORCE 661 rm -f ver960.c 662 echo "char ${TARG}_ver[]= \"${TARG} `cat VERSION`, `date`\";" > ver960.c 663 664 665# This target should be invoked before building a new release. 666# 'VERSION' file must be present and contain a string of the form "x.y" 667# 668roll: 669 @V=`cat VERSION` ; \ 670 MAJ=`sed 's/\..*//' VERSION` ; \ 671 MIN=`sed 's/.*\.//' VERSION` ; \ 672 V=$$MAJ.`expr $$MIN + 1` ; \ 673 rm -f VERSION ; \ 674 echo $$V >VERSION ; \ 675 echo Version $$V 676 677# Dummy target to force execution of dependent targets. 678# 679force: 680 681install: $(ALLLIBS) 682 for f in $(ALLLIBS); do \ 683 if [ "$$f" = "stamp-tshlink" ]; then \ 684 continue; \ 685 fi; \ 686 tf=lib`echo $$f | sed -e 's/^lib//' | sed '$(program_transform_name)'`; \ 687 rm -f $(libdir)/$$tf; \ 688 if [ "$$f" = "$(SHLINK)" ]; then \ 689 ts=lib`echo $(SHLIB) | sed -e 's/^lib//' | sed '$(program_transform_name)'`; \ 690 ln -sf $$ts $(libdir)/$$tf; \ 691 elif [ "$$f" = "$(SHLIB)" ]; then \ 692 @INSTALL_SHLIB@ \ 693 else \ 694 $(INSTALL_DATA) $$f $(libdir)/$$tf; \ 695 $(RANLIB) $(libdir)/$$tf; \ 696 chmod a-x $(libdir)/$$tf; \ 697 fi; \ 698 done 699# Install BFD include file, and others that it needs. Install them 700# both in GCC's include directory, and in the system include dir 701# if configured as $(oldincludedir) -- which it usually isnt. 702 $(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h 703 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h 704 $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(includedir)/bfdlink.h 705 $(INSTALL_DATA) $(INCDIR)/obstack.h $(includedir)/obstack.h 706 -if test -z "$(oldincludedir)"; then true; else \ 707 test -d $(oldincludedir) || mkdir $(oldincludedir); \ 708 $(INSTALL_DATA) $(BFD_H) $(oldincludedir)/bfd.h; \ 709 $(INSTALL_DATA) $(INCDIR)/ansidecl.h $(oldincludedir)/ansidecl.h; \ 710 $(INSTALL_DATA) $(INCDIR)/bfdlink.h $(oldincludedir)/bfdlink.h; \ 711 $(INSTALL_DATA) $(INCDIR)/obstack.h $(oldincludedir)/obstack.h; \ 712 $(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS); \ 713 fi 714 715Makefile: Makefile.in config.status 716 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status 717 718config.h: stamp-h ; @true 719stamp-h: config.in config.status 720 CONFIG_FILES= CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.status 721 722config.status: configure configure.host config.bfd VERSION 723 $(SHELL) config.status --recheck 724 725# Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES). 726.dep: dep.sed $(CFILES) $(HFILES) bfd.h 727 rm -f .dep1 728 $(MAKE) DEP=$(DEP) .dep1 729 sed -f dep.sed <.dep1 >.dep 730 731# This rule really wants a mkdep that runs "gcc -MM". 732# The NetBSD mkdep overwrites any existing file contents, and doesn't insert 733# the "DO NOT DELETE" line. 734# Other mkdep versions require a file that already exists, and do insert it. 735# Hence the weirdness.... 736.dep1: $(CFILES) 737 rm -f .dep2 .dep2a 738 echo '# DO NOT DELETE THIS LINE -- mkdep uses it.' > .dep2 739 echo > .dep2a 740 $(DEP) -f .dep2a $(ALL_CFLAGS) $? 741 sed -e '/DO NOT DELETE/d' -e '/^$$/d' < .dep2a >> .dep2 742 rm -f .dep2a 743 $(srcdir)/../move-if-change .dep2 .dep1 744 745dep.sed: dep-in.sed config.status 746 sed <$(srcdir)/dep-in.sed >dep.sed \ 747 -e 's!@BFD_H@!$(BFD_H)!' \ 748 -e 's!@INCDIR@!$(INCDIR)!' \ 749 -e 's!@SRCDIR@!$(srcdir)!' 750 751dep: .dep 752 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < Makefile > tmp-Makefile 753 cat .dep >> tmp-Makefile 754 $(srcdir)/../move-if-change tmp-Makefile Makefile 755 756dep-in: .dep 757 sed -e '/^..DO NOT DELETE THIS LINE/,$$d' < $(srcdir)/Makefile.in > tmp-Makefile.in 758 cat .dep >> tmp-Makefile.in 759 $(srcdir)/../move-if-change tmp-Makefile.in $(srcdir)/Makefile.in 760 761host-aout.o: Makefile 762 763# The following program can be used to generate a simple config file 764# which can be folded into an h-XXX file for a new host, with some editing. 765aout-params.h: gen-aout 766 ./gen-aout host > aout-params.h 767gen-aout: $(srcdir)/gen-aout.c Makefile 768 $(CC) -o gen-aout $(CFLAGS) $(LFLAGS) $(srcdir)/gen-aout.c 769 770BFDIN_H= $(srcdir)/bfd-in2.h 771 772$(BFD_H): stmp-bfd.h ; @true 773 774stmp-bfd.h: bfd-in3.h 775 rm -f bfd-tmp.h 776 cp bfd-in3.h bfd-tmp.h 777 $(srcdir)/../move-if-change bfd-tmp.h $(BFD_H) 778 rm -f bfd-tmp.h 779 touch stmp-bfd.h 780 781bfd-in3.h: bfd-in2.h config.status 782 CONFIG_FILES=bfd-in3.h:bfd-in2.h CONFIG_HEADERS= $(SHELL) ./config.status 783 784# Could really use a "copy-if-change"... 785headers: 786 (cd $(docdir); $(MAKE) protos $(FLAGS_TO_PASS)) 787 cp $(docdir)/bfd.h bfd-in2.h-new 788 $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h 789 cp $(docdir)/libbfd.h libbfd.h-new 790 $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h 791 cp $(docdir)/libcoff.h libcoff.h-new 792 $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h 793 794# The rules for the generated header files are here so that people can 795# type `make bfd-in2.h' if they remove it. They are not run by default. 796$(srcdir)/bfd-in2.h: 797 (cd $(docdir); $(MAKE) bfd.h $(FLAGS_TO_PASS)) 798 cp $(docdir)/bfd.h bfd-in2.h-new 799 $(srcdir)/../move-if-change bfd-in2.h-new $(srcdir)/bfd-in2.h 800$(srcdir)/libbfd.h: 801 (cd $(docdir); $(MAKE) libbfd.h $(FLAGS_TO_PASS)) 802 cp $(docdir)/libbfd.h libbfd.h-new 803 $(srcdir)/../move-if-change libbfd.h-new $(srcdir)/libbfd.h 804$(srcdir)/libcoff.h: 805 (cd $(docdir); $(MAKE) libcoff.h $(FLAGS_TO_PASS)) 806 cp $(docdir)/libcoff.h libcoff.h-new 807 $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h 808 809bfd.info: 810 (cd $(docdir); $(MAKE) bfd.info $(FLAGS_TO_PASS)) 811 812bfd.dvi: 813 (cd $(docdir); $(MAKE) bfd.dvi $(FLAGS_TO_PASS)) 814 815bfd.ps: 816 (cd $(docdir); $(MAKE) bfd.ps $(FLAGS_TO_PASS)) 817 818 819 820 821 822$(OFILES): stamp-picdir 823 824stamp-picdir: 825 if [ -n "$(PICFLAG)" ] && [ ! -d pic ]; then \ 826 mkdir pic; \ 827 else true; fi 828 touch stamp-picdir 829 830# What appears below is generated by a hacked mkdep using gcc -MM. 831 832# DO NOT DELETE THIS LINE -- mkdep uses it. 833# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. 834archive.o: archive.c $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h 835archures.o: archures.c 836bfd.o: bfd.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \ 837 $(INCDIR)/coff/sym.h libcoff.h libecoff.h $(INCDIR)/coff/ecoff.h \ 838 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \ 839 $(INCDIR)/elf/external.h 840cache.o: cache.c 841coffgen.o: coffgen.c $(INCDIR)/coff/internal.h libcoff.h \ 842 $(INCDIR)/bfdlink.h 843corefile.o: corefile.c 844format.o: format.c 845init.o: init.c 846libbfd.o: libbfd.c 847opncls.o: opncls.c 848reloc.o: reloc.c $(INCDIR)/bfdlink.h 849section.o: section.c 850syms.o: syms.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/stab_gnu.h \ 851 $(INCDIR)/aout/stab.def 852targets.o: targets.c $(INCDIR)/fnmatch.h targmatch.h 853hash.o: hash.c 854linker.o: linker.c $(INCDIR)/bfdlink.h genlink.h 855elf.o: elf.c $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \ 856 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h 857srec.o: srec.c $(INCDIR)/libiberty.h 858binary.o: binary.c 859tekhex.o: tekhex.c $(INCDIR)/libiberty.h 860ihex.o: ihex.c $(INCDIR)/libiberty.h 861stabs.o: stabs.c $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def 862stab-syms.o: stab-syms.c libaout.h $(INCDIR)/bfdlink.h \ 863 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab.def 864cpu-a29k.o: cpu-a29k.c 865cpu-alpha.o: cpu-alpha.c 866cpu-arm.o: cpu-arm.c 867cpu-h8300.o: cpu-h8300.c 868cpu-h8500.o: cpu-h8500.c 869cpu-hppa.o: cpu-hppa.c 870cpu-i386.o: cpu-i386.c 871cpu-i860.o: cpu-i860.c 872cpu-i960.o: cpu-i960.c 873cpu-m68k.o: cpu-m68k.c 874cpu-m88k.o: cpu-m88k.c 875cpu-mips.o: cpu-mips.c 876cpu-mn10200.o: cpu-mn10200.c 877cpu-mn10300.o: cpu-mn10300.c 878cpu-ns32k.o: cpu-ns32k.c ns32k.h 879cpu-powerpc.o: cpu-powerpc.c 880cpu-rs6000.o: cpu-rs6000.c 881cpu-sh.o: cpu-sh.c 882cpu-sparc.o: cpu-sparc.c 883cpu-vax.o: cpu-vax.c 884cpu-we32k.o: cpu-we32k.c 885cpu-w65.o: cpu-w65.c 886cpu-z8k.o: cpu-z8k.c 887aout-adobe.o: aout-adobe.c $(INCDIR)/aout/adobe.h $(INCDIR)/aout/stab_gnu.h \ 888 $(INCDIR)/aout/stab.def libaout.h $(INCDIR)/bfdlink.h 889aout-arm.o: aout-arm.c libaout.h $(INCDIR)/bfdlink.h \ 890 $(INCDIR)/aout/aout64.h aoutx.h $(INCDIR)/aout/stab_gnu.h \ 891 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h 892aout-ns32k.o: aout-ns32k.c $(INCDIR)/aout/aout64.h \ 893 ns32k.h libaout.h $(INCDIR)/bfdlink.h 894aout-sparcle.o: aout-sparcle.c $(INCDIR)/bfdlink.h \ 895 libaout.h aoutf1.h $(INCDIR)/aout/sun4.h $(INCDIR)/aout/aout64.h \ 896 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \ 897 aout-target.h 898aout0.o: aout0.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \ 899 $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ 900 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h 901aout32.o: aout32.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \ 902 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \ 903 $(INCDIR)/aout/ar.h 904bout.o: bout.c $(INCDIR)/bfdlink.h genlink.h $(INCDIR)/bout.h \ 905 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def libaout.h 906cf-i386lynx.o: cf-i386lynx.c coff-i386.c $(INCDIR)/coff/i386.h \ 907 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \ 908 coffcode.h coffswap.h 909cf-m68klynx.o: cf-m68klynx.c coff-m68k.c $(INCDIR)/coff/m68k.h \ 910 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \ 911 coffcode.h coffswap.h 912cf-sparclynx.o: cf-sparclynx.c coff-sparc.c $(INCDIR)/coff/sparc.h \ 913 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \ 914 coffcode.h coffswap.h 915coff-a29k.o: coff-a29k.c $(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h \ 916 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h 917coff-apollo.o: coff-apollo.c $(INCDIR)/coff/apollo.h \ 918 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \ 919 coffcode.h coffswap.h 920coff-arm.o: coff-arm.c $(INCDIR)/coff/arm.h $(INCDIR)/coff/internal.h \ 921 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h 922coff-aux.o: coff-aux.c $(INCDIR)/coff/aux-coff.h $(INCDIR)/coff/internal.h \ 923 $(INCDIR)/coff/m68k.h coff-m68k.c libcoff.h $(INCDIR)/bfdlink.h \ 924 coffcode.h coffswap.h 925coff-h8300.o: coff-h8300.c $(INCDIR)/bfdlink.h genlink.h \ 926 $(INCDIR)/coff/h8300.h $(INCDIR)/coff/internal.h libcoff.h \ 927 coffcode.h coffswap.h 928coff-h8500.o: coff-h8500.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/h8500.h \ 929 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h 930coff-i386.o: coff-i386.c $(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h \ 931 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h 932coff-i860.o: coff-i860.c $(INCDIR)/coff/i860.h $(INCDIR)/coff/internal.h \ 933 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h 934coff-go32.o: coff-go32.c coff-i386.c $(INCDIR)/coff/i386.h \ 935 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \ 936 coffcode.h coffswap.h 937coff-i960.o: coff-i960.c $(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h \ 938 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h 939coff-m68k.o: coff-m68k.c $(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h \ 940 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h 941coff-m88k.o: coff-m88k.c $(INCDIR)/coff/m88k.h $(INCDIR)/coff/internal.h \ 942 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h 943coff-mips.o: coff-mips.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \ 944 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \ 945 $(INCDIR)/coff/mips.h libcoff.h libecoff.h coffswap.h \ 946 ecoffswap.h 947coff-pmac.o: coff-pmac.c coff-rs6000.c $(INCDIR)/coff/internal.h \ 948 $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \ 949 coffcode.h coffswap.h 950coff-rs6000.o: coff-rs6000.c $(INCDIR)/coff/internal.h \ 951 $(INCDIR)/coff/rs6000.h libcoff.h $(INCDIR)/bfdlink.h \ 952 coffcode.h coffswap.h 953coff-sh.o: coff-sh.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/sh.h \ 954 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h 955coff-sparc.o: coff-sparc.c $(INCDIR)/coff/sparc.h $(INCDIR)/coff/internal.h \ 956 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h 957coff-u68k.o: coff-u68k.c coff-m68k.c $(INCDIR)/coff/m68k.h \ 958 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \ 959 coffcode.h coffswap.h 960coff-we32k.o: coff-we32k.c $(INCDIR)/coff/we32k.h $(INCDIR)/coff/internal.h \ 961 libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h 962coff-w65.o: coff-w65.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/w65.h \ 963 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h 964coff-z8k.o: coff-z8k.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/z8k.h \ 965 $(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h 966cofflink.o: cofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \ 967 libcoff.h 968ecoff.o: ecoff.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/ar.h \ 969 $(INCDIR)/aout/ranlib.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \ 970 libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/coff/internal.h \ 971 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \ 972 libcoff.h libecoff.h 973ecofflink.o: ecofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/stab_gnu.h \ 974 $(INCDIR)/aout/stab.def $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \ 975 $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h 976elf32-gen.o: elf32-gen.c elf-bfd.h $(INCDIR)/elf/common.h \ 977 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \ 978 elf32-target.h 979elf32-hppa.o: elf32-hppa.c $(INCDIR)/bfdlink.h elf-bfd.h \ 980 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ 981 elf32-hppa.h libhppa.h $(INCDIR)/elf/hppa.h hppa_stubs.h \ 982 elf32-target.h 983elf32-i386.o: elf32-i386.c $(INCDIR)/bfdlink.h elf-bfd.h \ 984 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ 985 elf32-target.h 986elf32-i860.o: elf32-i860.c elf-bfd.h $(INCDIR)/elf/common.h \ 987 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \ 988 elf32-target.h 989elf32-m68k.o: elf32-m68k.c $(INCDIR)/bfdlink.h elf-bfd.h \ 990 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ 991 elf32-target.h 992elf32-m88k.o: elf32-m88k.c elf-bfd.h $(INCDIR)/elf/common.h \ 993 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \ 994 elf32-target.h 995elf32-mips.o: elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \ 996 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \ 997 $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \ 998 $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \ 999 $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \ 1000 elf32-target.h 1001elf32-mn10200.o: elf32-mn10200.c elf-bfd.h $(INCDIR)/elf/common.h \ 1002 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \ 1003 elf32-target.h 1004elf32-mn10300.o: elf32-mn10300.c elf-bfd.h $(INCDIR)/elf/common.h \ 1005 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \ 1006 elf32-target.h 1007elf32-ppc.o: elf32-ppc.c $(INCDIR)/bfdlink.h elf-bfd.h \ 1008 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ 1009 $(INCDIR)/elf/ppc.h elf32-target.h 1010elf32-sh.o: elf32-sh.c $(INCDIR)/bfdlink.h elf-bfd.h \ 1011 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ 1012 elf32-target.h 1013elf32-sparc.o: elf32-sparc.c $(INCDIR)/bfdlink.h elf-bfd.h \ 1014 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ 1015 $(INCDIR)/elf/sparc.h elf32-target.h 1016elf32.o: elf32.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \ 1017 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ 1018 elfcore.h elflink.h 1019elflink.o: elflink.c $(INCDIR)/bfdlink.h elf-bfd.h \ 1020 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h 1021hp300bsd.o: hp300bsd.c libaout.h $(INCDIR)/bfdlink.h \ 1022 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ 1023 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h 1024hp300hpux.o: hp300hpux.c $(INCDIR)/aout/hp300hpux.h \ 1025 aoutx.h $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \ 1026 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \ 1027 aout-target.h 1028som.o: som.c 1029i386aout.o: i386aout.c $(INCDIR)/aout/aout64.h libaout.h \ 1030 $(INCDIR)/bfdlink.h aout-target.h $(INCDIR)/aout/stab_gnu.h \ 1031 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h 1032i386bsd.o: i386bsd.c libaout.h $(INCDIR)/bfdlink.h \ 1033 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ 1034 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h 1035i386dynix.o: i386dynix.c $(INCDIR)/aout/dynix3.h aoutx.h \ 1036 $(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \ 1037 $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \ 1038 aout-target.h 1039i386freebsd.o: i386freebsd.c freebsd.h libaout.h $(INCDIR)/bfdlink.h \ 1040 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ 1041 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h 1042i386linux.o: i386linux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ 1043 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \ 1044 $(INCDIR)/bfdlink.h aout-target.h 1045i386lynx.o: i386lynx.c libaout.h $(INCDIR)/bfdlink.h \ 1046 $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \ 1047 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h 1048i386msdos.o: i386msdos.c libaout.h $(INCDIR)/bfdlink.h 1049i386netbsd.o: i386netbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \ 1050 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ 1051 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h 1052i386mach3.o: i386mach3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ 1053 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \ 1054 $(INCDIR)/bfdlink.h aout-target.h 1055i386os9k.o: i386os9k.c $(INCDIR)/bfdlink.h libaout.h \ 1056 $(INCDIR)/os9k.h 1057ieee.o: ieee.c $(INCDIR)/ieee.h libieee.h 1058m68k4knetbsd.o: m68k4knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \ 1059 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ 1060 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h 1061m68klinux.o: m68klinux.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ 1062 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \ 1063 $(INCDIR)/bfdlink.h aout-target.h 1064m68klynx.o: m68klynx.c libaout.h $(INCDIR)/bfdlink.h \ 1065 $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \ 1066 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h 1067m68knetbsd.o: m68knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \ 1068 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ 1069 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h 1070m88kmach3.o: m88kmach3.c libaout.h $(INCDIR)/bfdlink.h \ 1071 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ 1072 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h 1073mipsbsd.o: mipsbsd.c libaout.h $(INCDIR)/bfdlink.h \ 1074 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ 1075 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h 1076newsos3.o: newsos3.c $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ 1077 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h libaout.h \ 1078 $(INCDIR)/bfdlink.h aout-target.h 1079nlm.o: nlm.c libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \ 1080 $(INCDIR)/nlm/external.h 1081nlm32-i386.o: nlm32-i386.c $(INCDIR)/nlm/i386-ext.h \ 1082 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \ 1083 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h 1084nlm32-sparc.o: nlm32-sparc.c $(INCDIR)/nlm/sparc32-ext.h \ 1085 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \ 1086 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h 1087nlm32-ppc.o: nlm32-ppc.c $(INCDIR)/nlm/ppc-ext.h libnlm.h \ 1088 $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h \ 1089 nlmswap.h nlm-target.h 1090nlm32.o: nlm32.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \ 1091 $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h 1092ns32knetbsd.o: ns32knetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \ 1093 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ 1094 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h 1095oasys.o: oasys.c $(INCDIR)/oasys.h liboasys.h 1096pc532-mach.o: pc532-mach.c libaout.h $(INCDIR)/bfdlink.h \ 1097 $(INCDIR)/aout/aout64.h aout-target.h $(INCDIR)/aout/stab_gnu.h \ 1098 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h 1099pe-arm.o: pe-arm.c coff-arm.c $(INCDIR)/coff/arm.h \ 1100 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \ 1101 $(INCDIR)/bfdlink.h coffcode.h peicode.h 1102pei-arm.o: pei-arm.c coff-arm.c $(INCDIR)/coff/arm.h \ 1103 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \ 1104 $(INCDIR)/bfdlink.h coffcode.h peicode.h 1105pe-i386.o: pe-i386.c coff-i386.c $(INCDIR)/coff/i386.h \ 1106 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \ 1107 $(INCDIR)/bfdlink.h coffcode.h peicode.h 1108pei-i386.o: pei-i386.c coff-i386.c $(INCDIR)/coff/i386.h \ 1109 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \ 1110 $(INCDIR)/bfdlink.h coffcode.h peicode.h 1111pe-ppc.o: pe-ppc.c coff-ppc.c $(INCDIR)/coff/powerpc.h \ 1112 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \ 1113 $(INCDIR)/bfdlink.h coffcode.h peicode.h 1114pei-ppc.o: pei-ppc.c coff-ppc.c $(INCDIR)/coff/powerpc.h \ 1115 $(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \ 1116 $(INCDIR)/bfdlink.h coffcode.h peicode.h 1117ppcboot.o: ppcboot.c 1118reloc16.o: reloc16.c $(INCDIR)/bfdlink.h genlink.h \ 1119 $(INCDIR)/coff/internal.h libcoff.h 1120riscix.o: riscix.c libaout.h $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h \ 1121 aout-target.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \ 1122 $(INCDIR)/aout/ar.h 1123sparclynx.o: sparclynx.c $(INCDIR)/aout/sun4.h libaout.h \ 1124 $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ 1125 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h 1126sparcnetbsd.o: sparcnetbsd.c netbsd.h libaout.h $(INCDIR)/bfdlink.h \ 1127 aout-target.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ 1128 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h 1129sunos.o: sunos.c $(INCDIR)/bfdlink.h libaout.h aoutf1.h \ 1130 $(INCDIR)/aout/sun4.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ 1131 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h 1132versados.o: versados.c $(INCDIR)/libiberty.h 1133xcofflink.o: xcofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \ 1134 libcoff.h 1135aout64.o: aout64.c aoutx.h $(INCDIR)/bfdlink.h libaout.h \ 1136 $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \ 1137 $(INCDIR)/aout/ar.h 1138coff-alpha.o: coff-alpha.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \ 1139 $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \ 1140 $(INCDIR)/coff/alpha.h $(INCDIR)/aout/ar.h libcoff.h \ 1141 libecoff.h coffswap.h ecoffswap.h 1142demo64.o: demo64.c aoutf1.h $(INCDIR)/aout/sun4.h libaout.h \ 1143 $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ 1144 $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h 1145elf64-alpha.o: elf64-alpha.c elf-bfd.h $(INCDIR)/elf/common.h \ 1146 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \ 1147 $(INCDIR)/elf/alpha.h $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \ 1148 $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/alpha.h \ 1149 $(INCDIR)/aout/ar.h libcoff.h libecoff.h ecoffswap.h \ 1150 elf64-target.h 1151elf64-gen.o: elf64-gen.c elf-bfd.h $(INCDIR)/elf/common.h \ 1152 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \ 1153 elf64-target.h 1154elf64-mips.o: elf64-mips.c $(INCDIR)/aout/ar.h $(INCDIR)/bfdlink.h \ 1155 genlink.h elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \ 1156 $(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \ 1157 $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \ 1158 $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/alpha.h ecoffswap.h \ 1159 elf64-target.h 1160elf64-sparc.o: elf64-sparc.c elf-bfd.h $(INCDIR)/elf/common.h \ 1161 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \ 1162 $(INCDIR)/elf/sparc.h elf64-target.h 1163elf64.o: elf64.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \ 1164 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ 1165 elfcore.h elflink.h 1166evax-alpha.o: evax-alpha.c $(INCDIR)/bfdlink.h evax.h 1167evax-egsd.o: evax-egsd.c $(INCDIR)/bfdlink.h evax.h 1168evax-etir.o: evax-etir.c $(INCDIR)/bfdlink.h evax.h 1169evax-emh.o: evax-emh.c $(INCDIR)/bfdlink.h evax.h 1170evax-misc.o: evax-misc.c $(INCDIR)/bfdlink.h evax.h 1171nlm32-alpha.o: nlm32-alpha.c $(INCDIR)/nlm/alpha-ext.h \ 1172 libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \ 1173 $(INCDIR)/nlm/external.h nlmswap.h nlm-target.h 1174nlm64.o: nlm64.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \ 1175 $(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h 1176aix386-core.o: aix386-core.c $(INCDIR)/coff/i386.h \ 1177 $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h 1178hpux-core.o: hpux-core.c 1179irix-core.o: irix-core.c 1180lynx-core.o: lynx-core.c 1181osf-core.o: osf-core.c 1182trad-core.o: trad-core.c libaout.h $(INCDIR)/bfdlink.h 1183cisco-core.o: cisco-core.c 1184# IF YOU PUT ANYTHING HERE IT WILL GO AWAY 1185