head	1.4;
access;
symbols
	perseant-exfatfs-base-20250801:1.4
	perseant-exfatfs-base-20240630:1.4
	cjep_sun2x:1.4.0.24
	cjep_sun2x-base:1.4
	cjep_staticlib_x-base1:1.4
	cjep_staticlib_x:1.4.0.22
	cjep_staticlib_x-base:1.4
	phil-wifi-20200421:1.4
	phil-wifi-20200411:1.4
	phil-wifi-20200406:1.4
	pgoyette-compat-merge-20190127:1.4
	pgoyette-compat-20190127:1.4
	pgoyette-compat-20190118:1.4
	pgoyette-compat-1226:1.4
	pgoyette-compat-1126:1.4
	pgoyette-compat-1020:1.4
	pgoyette-compat-0930:1.4
	pgoyette-compat-0906:1.4
	pgoyette-compat-0728:1.4
	pgoyette-compat-0625:1.4
	pgoyette-compat-0521:1.4
	pgoyette-compat-0502:1.4
	pgoyette-compat-0422:1.4
	pgoyette-compat-0415:1.4
	pgoyette-compat-0407:1.4
	pgoyette-compat-0330:1.4
	pgoyette-compat-0322:1.4
	pgoyette-compat-0315:1.4
	pgoyette-compat:1.4.0.20
	pgoyette-compat-base:1.4
	perseant-stdc-iso10646:1.4.0.18
	perseant-stdc-iso10646-base:1.4
	prg-localcount2-base3:1.4
	prg-localcount2-base2:1.4
	prg-localcount2-base1:1.4
	prg-localcount2:1.4.0.16
	prg-localcount2-base:1.4
	pgoyette-localcount-20170426:1.4
	bouyer-socketcan-base1:1.4
	pgoyette-localcount-20170320:1.4
	bouyer-socketcan:1.4.0.14
	bouyer-socketcan-base:1.4
	pgoyette-localcount-20170107:1.4
	pgoyette-localcount-20161104:1.4
	localcount-20160914:1.4
	pgoyette-localcount-20160806:1.4
	pgoyette-localcount-20160726:1.4
	pgoyette-localcount:1.4.0.12
	pgoyette-localcount-base:1.4
	netbsd-5-2-3-RELEASE:1.3
	netbsd-5-1-5-RELEASE:1.3
	yamt-pagecache-base9:1.4
	yamt-pagecache-tag8:1.4
	tls-earlyentropy:1.4.0.8
	tls-earlyentropy-base:1.4
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.4
	riastradh-drm2-base3:1.4
	netbsd-5-2-2-RELEASE:1.3
	netbsd-5-1-4-RELEASE:1.3
	netbsd-5-2-1-RELEASE:1.3
	netbsd-5-1-3-RELEASE:1.3
	agc-symver:1.4.0.10
	agc-symver-base:1.4
	tls-maxphys-base:1.4
	yamt-pagecache-base8:1.4
	netbsd-5-2:1.3.0.50
	yamt-pagecache-base7:1.4
	netbsd-5-2-RELEASE:1.3
	matt-nb6-plus-base:1.3
	matt-nb6-plus:1.4.0.6
	matt-nb6-plus-nbase:1.3
	netbsd-5-2-RC1:1.3
	yamt-pagecache-base6:1.4
	yamt-pagecache-base5:1.4
	yamt-pagecache-base4:1.4
	netbsd-5-1-2-RELEASE:1.3
	netbsd-5-1-1-RELEASE:1.3
	yamt-pagecache-base3:1.4
	yamt-pagecache-base2:1.4
	yamt-pagecache:1.4.0.4
	yamt-pagecache-base:1.4
	bouyer-quota2-nbase:1.4
	bouyer-quota2:1.4.0.2
	bouyer-quota2-base:1.4
	matt-nb5-mips64-premerge-20101231:1.3
	matt-nb5-pq3:1.3.0.48
	matt-nb5-pq3-base:1.3
	netbsd-5-1:1.3.0.46
	netbsd-5-1-RELEASE:1.3
	netbsd-5-1-RC4:1.3
	matt-nb5-mips64-k15:1.3
	netbsd-5-1-RC3:1.3
	netbsd-5-1-RC2:1.3
	netbsd-5-1-RC1:1.3
	netbsd-5-0-2-RELEASE:1.3
	matt-nb5-mips64-premerge-20091211:1.3
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.3
	matt-nb4-mips64-k7-u2a-k9b:1.3
	matt-nb5-mips64-u1-k1-k5:1.3
	matt-nb5-mips64:1.3.0.44
	netbsd-5-0-1-RELEASE:1.3
	jym-xensuspend-nbase:1.3
	netbsd-5-0:1.3.0.42
	netbsd-5-0-RELEASE:1.3
	netbsd-5-0-RC4:1.3
	netbsd-5-0-RC3:1.3
	netbsd-5-0-RC2:1.3
	jym-xensuspend:1.3.0.40
	jym-xensuspend-base:1.3
	netbsd-5-0-RC1:1.3
	netbsd-5:1.3.0.38
	netbsd-5-base:1.3
	matt-mips64-base2:1.3
	matt-mips64:1.3.0.36
	mjf-devfs2:1.3.0.34
	mjf-devfs2-base:1.3
	netbsd-4-0-1-RELEASE:1.3
	wrstuden-revivesa-base-3:1.3
	wrstuden-revivesa-base-2:1.3
	wrstuden-fixsa-newbase:1.3
	wrstuden-revivesa-base-1:1.3
	yamt-pf42-base4:1.3
	yamt-pf42-base3:1.3
	hpcarm-cleanup-nbase:1.3
	yamt-pf42-baseX:1.3
	yamt-pf42-base2:1.3
	wrstuden-revivesa:1.3.0.32
	wrstuden-revivesa-base:1.3
	yamt-pf42:1.3.0.30
	yamt-pf42-base:1.3
	keiichi-mipv6:1.3.0.28
	keiichi-mipv6-base:1.3
	matt-armv6-nbase:1.3
	matt-armv6-prevmlocking:1.3
	wrstuden-fixsa-base-1:1.3
	netbsd-4-0:1.3.0.26
	netbsd-4-0-RELEASE:1.3
	cube-autoconf:1.3.0.24
	cube-autoconf-base:1.3
	netbsd-4-0-RC5:1.3
	netbsd-4-0-RC4:1.3
	netbsd-4-0-RC3:1.3
	netbsd-4-0-RC2:1.3
	netbsd-4-0-RC1:1.3
	matt-armv6:1.3.0.22
	matt-armv6-base:1.3
	matt-mips64-base:1.3
	hpcarm-cleanup:1.3.0.20
	hpcarm-cleanup-base:1.3
	netbsd-3-1-1-RELEASE:1.3
	netbsd-3-0-3-RELEASE:1.3
	wrstuden-fixsa:1.3.0.18
	wrstuden-fixsa-base:1.3
	abandoned-netbsd-4-base:1.3
	abandoned-netbsd-4:1.3.0.12
	netbsd-3-1:1.3.0.14
	netbsd-3-1-RELEASE:1.3
	netbsd-3-0-2-RELEASE:1.3
	netbsd-3-1-RC4:1.3
	netbsd-3-1-RC3:1.3
	netbsd-3-1-RC2:1.3
	netbsd-3-1-RC1:1.3
	netbsd-4:1.3.0.16
	netbsd-4-base:1.3
	netbsd-3-0-1-RELEASE:1.3
	binutils-2-16-1:1.1.1.2
	netbsd-3-0:1.3.0.10
	netbsd-3-0-RELEASE:1.3
	netbsd-3-0-RC6:1.3
	netbsd-3-0-RC5:1.3
	netbsd-3-0-RC4:1.3
	netbsd-3-0-RC3:1.3
	netbsd-3-0-RC2:1.3
	netbsd-3-0-RC1:1.3
	netbsd-2-0-3-RELEASE:1.3
	netbsd-2-1:1.3.0.8
	netbsd-2-1-RELEASE:1.3
	netbsd-2-1-RC6:1.3
	netbsd-2-1-RC5:1.3
	netbsd-2-1-RC4:1.3
	netbsd-2-1-RC3:1.3
	netbsd-2-1-RC2:1.3
	netbsd-2-1-RC1:1.3
	netbsd-2-0-2-RELEASE:1.3
	netbsd-3:1.3.0.6
	netbsd-3-base:1.3
	netbsd-2-0-1-RELEASE:1.3
	netbsd-2:1.3.0.4
	netbsd-2-base:1.3
	binutils-2-15-20041204:1.1.1.2
	netbsd-2-0-RELEASE:1.3
	netbsd-2-0-RC5:1.3
	netbsd-2-0-RC4:1.3
	netbsd-2-0-RC3:1.3
	netbsd-2-0-RC2:1.3
	netbsd-2-0-RC1:1.3
	netbsd-2-0:1.3.0.2
	netbsd-2-0-base:1.3
	binutils-2-14:1.1.1.2
	binutils-2-9-1:1.1.1.1
	netbsd-1-3-PATCH003:1.1.1.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.1.1.1
	netbsd-1-3-PATCH003-CANDIDATE1:1.1.1.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.1.1.1
	netbsd-1-3-PATCH002:1.1.1.1
	netbsd-1-3-PATCH001:1.1.1.1
	netbsd-1-3-RELEASE:1.1.1.1
	netbsd-1-3-BETA:1.1.1.1
	netbsd-1-3:1.1.1.1.0.2
	netbsd-1-3-base:1.1.1.1
	binutils-2-8-1:1.1.1.1
	binutils-2-8:1.1.1.1
	FSF:1.1.1;
locks; strict;
comment	@# @;


1.4
date	2009.11.07.17.58.15;	author skrll;	state dead;
branches
	1.4.6.1;
next	1.3;

1.3
date	2003.11.26.12.29.43;	author mrg;	state Exp;
branches;
next	1.2;

1.2
date	99.02.03.18.50.14;	author tv;	state dead;
branches;
next	1.1;

1.1
date	97.09.24.15.39.25;	author gwr;	state Exp;
branches
	1.1.1.1;
next	;

1.4.6.1
date	2009.11.07.17.58.15;	author matt;	state dead;
branches;
next	1.4.6.2;

1.4.6.2
date	2012.11.20.18.39.21;	author matt;	state Exp;
branches;
next	;

1.1.1.1
date	97.09.24.15.39.25;	author gwr;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2003.11.26.11.31.15;	author mrg;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Remove old binutils.
@
text
@#
# makefile for bfd, binutils and gas
#
# Created by Klaus K"ampf (kkaempf@@rmi.de)
#
# You must use Version 3.76 of GNU Make
#
#

ifeq ($(ARCH),ALPHA)
CC = gcc
GASCC = $(CC)
else
CC = cc
GASCC = gcc
endif

ifeq ($(CC),cc)
  CHECK-COMPILER = check_compiler
else
  CHECK-COMPILER =
endif

all:	check_cc $(CHECK-COMPILER) [.binutils]makefile.vms
	$(CD) [.bfd]
	@@gmake "CC=$(CC)"
	$(CD) [-.opcodes]
	@@gmake "CC=$(CC)"
	$(CD) [-.libiberty]
	@@gmake "CC=$(CC)"
	$(CD) [-.binutils]
	@@gmake "CC=$(CC)"
	$(CD) [-.gas]
	@@gmake "CC=$(GASCC)"
	$(CD) [-]

check_cc:
ifeq ($CC,)
	@@$(ECHO) "Please edit MAKEFILE.VMS and select a C Compiler."
	stop
endif

check_compiler:
	@@$(ECHO) "Perform a '$$ @@setup' before starting make"

[.binutils]makefile.vms:
	$(CD) [.binutils]
	$$ @@configure
	$(CD) [-]

install: all
	$(CD) [.binutils]
	@@gmake "CC=$(CC)" install
	$(CD) [-]
	$(CD) [.gas]
	@@gmake "CC=$(GASCC)" install
	$(CD) [-]

clean:
	$(CD) [.bfd]
	@@gmake clean
	$(CD) [-.opcodes]
	@@gmake clean
	$(CD) [-.libiberty]
	@@gmake clean
	$(CD) [-.binutils]
	@@gmake clean
	$(CD) [-.gas]
	@@gmake clean
	$(CD) [-]

@


1.4.6.1
log
@file makefile.vms was added on branch matt-nb6-plus on 2012-11-20 18:39:21 +0000
@
text
@d1 71
@


1.4.6.2
log
@Bring back GPL2 version of binutils.
@
text
@a0 71
#
# makefile for bfd, binutils and gas
#
# Created by Klaus K"ampf (kkaempf@@rmi.de)
#
# You must use Version 3.76 of GNU Make
#
#

ifeq ($(ARCH),ALPHA)
CC = gcc
GASCC = $(CC)
else
CC = cc
GASCC = gcc
endif

ifeq ($(CC),cc)
  CHECK-COMPILER = check_compiler
else
  CHECK-COMPILER =
endif

all:	check_cc $(CHECK-COMPILER) [.binutils]makefile.vms
	$(CD) [.bfd]
	@@gmake "CC=$(CC)"
	$(CD) [-.opcodes]
	@@gmake "CC=$(CC)"
	$(CD) [-.libiberty]
	@@gmake "CC=$(CC)"
	$(CD) [-.binutils]
	@@gmake "CC=$(CC)"
	$(CD) [-.gas]
	@@gmake "CC=$(GASCC)"
	$(CD) [-]

check_cc:
ifeq ($CC,)
	@@$(ECHO) "Please edit MAKEFILE.VMS and select a C Compiler."
	stop
endif

check_compiler:
	@@$(ECHO) "Perform a '$$ @@setup' before starting make"

[.binutils]makefile.vms:
	$(CD) [.binutils]
	$$ @@configure
	$(CD) [-]

install: all
	$(CD) [.binutils]
	@@gmake "CC=$(CC)" install
	$(CD) [-]
	$(CD) [.gas]
	@@gmake "CC=$(GASCC)" install
	$(CD) [-]

clean:
	$(CD) [.bfd]
	@@gmake clean
	$(CD) [-.opcodes]
	@@gmake clean
	$(CD) [-.libiberty]
	@@gmake clean
	$(CD) [-.binutils]
	@@gmake clean
	$(CD) [-.gas]
	@@gmake clean
	$(CD) [-]

@


1.3
log
@re-add binutils 2.14 files.
@
text
@@


1.2
log
@First round of gnu/dist cleanup - remove:
- files removed in binutils 2.8.1 or 2.9.1
- some testsuite stuff
- VMS, MS-DOS, and MPW Macintosh build environmanet (most of which are
  quite old and out of maintenance)
- generated GNU info files
- non-NetBSD-target makefile fragments
@
text
@d2 1
a2 1
# Makefile for binutils under openVMS/Alpha
d4 1
a4 1
# For use with gnu-make for vms
d6 1
a6 1
# Created by Klaus K"ampf, kkaempf@@progis.de
d10 7
a16 2
# Distribution version, filled in by configure.com
VERSION=
d18 2
a19 6
TARGET=""evax-alpha""

ifeq ($(CC),gcc)
CFLAGS=/include=([],[-.include],[-.bfd])$(DEFS)
DEFS=/define=("TARGET=$(TARGET)")
LIBS=,GNU:[000000]libgcc/lib,sys$$library:vaxcrtl.olb/lib,GNU:[000000]crt0.obj
d21 1
a21 6
CFLAGS=/noopt/debug/include=([],[-.include],[-.bfd])$(DEFS)/warnings=disable=(missingreturn,implicitfunc)
DEFS=/define=("TARGET=$(TARGET)",\
"const=","unlink=remove",\
"_bfd_generic_get_section_contents_in_window"="_bfd_generic_get_win_section_cont",\
"_bfd_elf_section_from_bfd_section"="_bfd_elf_sec_from_bfd_sec")
LIBS=,sys$$library:vaxcrtl.olb/lib
d24 18
a41 21
BFDLIB = [-.bfd]libbfd.olb/lib
BFDLIB_DEP = [-.bfd]libbfd.olb
LIBIBERTY_DEP = [-.libiberty]libiberty.olb
LIBIBERTY = [-.libiberty]libiberty.olb/lib
OPCODES_DEP = [-.opcodes]libopcodes.olb
OPCODES = [-.opcodes]libopcodes.olb/lib

DEBUG_OBJS = rddbg.obj,debug.obj,stabs.obj,ieee.obj,rdcoff.obj

WRITE_DEBUG_OBJS = $(DEBUG_OBJS),wrstabs.obj

BULIBS = []bucomm.obj,version.obj,filemode.obj

ADDL_DEPS = $(BULIBS),$(BFDLIB_DEP),$(LIBIBERTY_DEP)
ADDL_LIBS = $(BULIBS),$(BFDLIB),$(LIBIBERTY)

SIZEOBJS = $(ADDL_DEPS),size.obj

STRINGSOBJS = $(ADDL_DEPS),strings.obj

NMOBJS = $(ADDL_DEPS),nm.obj
d43 2
a44 1
OBJDUMPOBJS = $(ADDL_DEPS),objdump.obj,prdbg.obj,$(DEBUG_OBJS),$(OPCODES_DEP)
d46 2
a47 19
all: config.h size.exe strings.exe objdump.exe nm.exe

size.exe: $(SIZEOBJS)
	link/exe=$@@ size.obj,$(ADDL_LIBS)$(LIBS)

strings.exe: $(STRINGSOBJS)
	link/exe=$@@ strings.obj,$(ADDL_LIBS)$(LIBS)

nm.exe: $(NMOBJS)
	link/exe=$@@ nm.obj,$(ADDL_LIBS)$(LIBS)

objdump.exe: $(OBJDUMPOBJS)
	link/exe=$@@ objdump.obj,prdbg.obj,$(DEBUG_OBJS),$(BFDLIB),$(OPCODES),$(ADDL_LIBS)$(LIBS)


version.obj: version.c
	$(CC) $(CFLAGS)/define=(VERSION="""$(VERSION)""") $<

config.h:
d49 1
a49 1
	$(MAKE) -f makefile.vms
d51 7
a57 4
[-.bfd]libbfd.olb:
	$(CD) [-.bfd]
	$(MAKE) -f makefile.vms
	$(CD) [-.binutils]
d59 5
a63 1
[-.libiberty]libiberty.olb:
d65 1
a65 1
	$(MAKE) -f makefile.vms
d67 4
a71 10
[-.opcodes]libopcodes.olb:
	$(CD) [-.opcodes]
	$(MAKE) -f makefile.vms
	$(CD) [-.binutils]

clean:
	$$ purge
	$(RM) *.obj;
	$(RM) *.exe;
	$(RM) config.h;
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@stock binutils-2.8
@
text
@@


1.1.1.2
log
@initial import of binutils 2.14 into gnu/dist/binutils.
@
text
@d2 1
a2 1
# makefile for bfd, binutils and gas
d4 1
a4 1
# Created by Klaus K"ampf (kkaempf@@rmi.de)
d6 1
a6 1
# You must use Version 3.76 of GNU Make
d10 9
a18 3
ifeq ($(ARCH),ALPHA)
CC = gcc
GASCC = $(CC)
d20 6
a25 2
CC = cc
GASCC = gcc
d28 37
a64 5
ifeq ($(CC),cc)
  CHECK-COMPILER = check_compiler
else
  CHECK-COMPILER =
endif
a65 18
all:	check_cc $(CHECK-COMPILER) [.binutils]makefile.vms
	$(CD) [.bfd]
	@@gmake "CC=$(CC)"
	$(CD) [-.opcodes]
	@@gmake "CC=$(CC)"
	$(CD) [-.libiberty]
	@@gmake "CC=$(CC)"
	$(CD) [-.binutils]
	@@gmake "CC=$(CC)"
	$(CD) [-.gas]
	@@gmake "CC=$(GASCC)"
	$(CD) [-]

check_cc:
ifeq ($CC,)
	@@$(ECHO) "Please edit MAKEFILE.VMS and select a C Compiler."
	stop
endif
d67 2
a68 2
check_compiler:
	@@$(ECHO) "Perform a '$$ @@setup' before starting make"
d70 1
a70 2
[.binutils]makefile.vms:
	$(CD) [.binutils]
d72 1
a72 1
	$(CD) [-]
d74 9
a82 7
install: all
	$(CD) [.binutils]
	@@gmake "CC=$(CC)" install
	$(CD) [-]
	$(CD) [.gas]
	@@gmake "CC=$(GASCC)" install
	$(CD) [-]
d84 1
a84 3
clean:
	$(CD) [.bfd]
	@@gmake clean
d86 1
a86 3
	@@gmake clean
	$(CD) [-.libiberty]
	@@gmake clean
a87 4
	@@gmake clean
	$(CD) [-.gas]
	@@gmake clean
	$(CD) [-]
d89 5
@

