head	1.20;
access;
symbols
	RELENG_4_11_0_RELEASE:1.18.2.1
	RELENG_4_11:1.18.2.1.0.16
	RELENG_4_11_BP:1.18.2.1
	RELENG_4_10_0_RELEASE:1.18.2.1
	RELENG_4_10:1.18.2.1.0.14
	RELENG_4_10_BP:1.18.2.1
	RELENG_4_9_0_RELEASE:1.18.2.1
	RELENG_4_9:1.18.2.1.0.12
	RELENG_4_9_BP:1.18.2.1
	RELENG_4_8_0_RELEASE:1.18.2.1
	RELENG_4_8:1.18.2.1.0.10
	RELENG_4_8_BP:1.18.2.1
	RELENG_4_7_0_RELEASE:1.18.2.1
	RELENG_4_7:1.18.2.1.0.8
	RELENG_4_7_BP:1.18.2.1
	RELENG_4_6_2_RELEASE:1.18.2.1
	RELENG_4_6_1_RELEASE:1.18.2.1
	RELENG_4_6_0_RELEASE:1.18.2.1
	RELENG_4_6:1.18.2.1.0.6
	RELENG_4_6_BP:1.18.2.1
	RELENG_4_5_0_RELEASE:1.18.2.1
	RELENG_4_5:1.18.2.1.0.4
	RELENG_4_5_BP:1.18.2.1
	RELENG_4_4_0_RELEASE:1.18.2.1
	RELENG_4_4:1.18.2.1.0.2
	RELENG_4_4_BP:1.18.2.1
	RELENG_4_3_0_RELEASE:1.18
	RELENG_4_3:1.18.0.4
	RELENG_4_3_BP:1.18
	RELENG_4_2_0_RELEASE:1.18
	RELENG_4_1_1_RELEASE:1.18
	PRE_SMPNG:1.18
	RELENG_4_1_0_RELEASE:1.18
	RELENG_3_5_0_RELEASE:1.17.2.1
	RELENG_4_0_0_RELEASE:1.18
	RELENG_4:1.18.0.2
	RELENG_4_BP:1.18
	RELENG_3_4_0_RELEASE:1.17.2.1
	RELENG_3_3_0_RELEASE:1.17.2.1
	RELENG_3_2_PAO:1.17.0.4
	RELENG_3_2_PAO_BP:1.17
	RELENG_3_2_0_RELEASE:1.17
	RELENG_3_1_0_RELEASE:1.17
	RELENG_3:1.17.0.2
	RELENG_3_BP:1.17
	RELENG_2_2_8_RELEASE:1.10
	RELENG_3_0_0_RELEASE:1.17
	RELENG_2_2_7_RELEASE:1.10
	RELENG_2_2_6_RELEASE:1.10
	RELENG_2_2_5_RELEASE:1.10
	RELENG_2_2_2_RELEASE:1.10
	RELENG_2_2_1_RELEASE:1.10
	RELENG_2_2_0_RELEASE:1.10
	RELENG_2_1_7_RELEASE:1.8.4.2
	RELENG_2_1_6_1_RELEASE:1.8.4.2
	RELENG_2_1_6_RELEASE:1.8.4.2
	RELENG_2_2:1.10.0.2
	RELENG_2_2_BP:1.10
	RELENG_2_1_5_RELEASE:1.8.4.2
	RELENG_2_1_0_RELEASE:1.8
	RELENG_2_1_0:1.8.0.4
	RELENG_2_1_0_BP:1.8
	RELENG_2_0_5_RELEASE:1.8
	RELENG_2_0_5:1.8.0.2
	RELENG_2_0_5_BP:1.8
	RELENG_2_0_5_ALPHA:1.7
	RELEASE_2_0:1.5
	BETA_2_0:1.5
	ALPHA_2_0:1.5.0.2
	MOVED_NEWCVS:1.3
	FINAL_1_1_5:1.3
	ALPHA_1_1_5:1.3
	FINAL_1_1:1.3
	GAMMA_1_1:1.3
	BETA_1_1:1.3.0.2
	BP_BETA_1_1:1.3
	FINAL_1_0:1.1
	EPSILON_1_0:1.1
	GAMMA_1_0:1.1
	BETA_1_0:1.1
	ALPHA_1_0:1.1;
locks; strict;
comment	@# @;


1.20
date	2002.09.17.01.54.46;	author obrien;	state dead;
branches;
next	1.19;

1.19
date	2001.03.27.14.58.36;	author ru;	state Exp;
branches;
next	1.18;

1.18
date	99.08.27.23.34.10;	author peter;	state Exp;
branches
	1.18.2.1;
next	1.17;

1.17
date	98.10.03.03.59.42;	author jdp;	state Exp;
branches
	1.17.2.1;
next	1.16;

1.16
date	98.09.07.05.45.23;	author jb;	state Exp;
branches;
next	1.15;

1.15
date	98.08.31.20.48.13;	author jb;	state Exp;
branches;
next	1.14;

1.14
date	98.05.25.17.34.36;	author sos;	state Exp;
branches;
next	1.13;

1.13
date	98.03.06.13.13.15;	author bde;	state Exp;
branches;
next	1.12;

1.12
date	97.02.22.15.43.22;	author peter;	state Exp;
branches;
next	1.11;

1.11
date	97.01.14.05.54.48;	author jkh;	state Exp;
branches;
next	1.10;

1.10
date	96.06.24.04.22.43;	author jkh;	state Exp;
branches
	1.10.2.1;
next	1.9;

1.9
date	95.09.22.14.14.12;	author phk;	state Exp;
branches;
next	1.8;

1.8
date	95.05.30.04.45.55;	author rgrimes;	state Exp;
branches
	1.8.4.1;
next	1.7;

1.7
date	95.01.16.17.40.57;	author ache;	state Exp;
branches;
next	1.6;

1.6
date	94.12.23.22.35.56;	author nate;	state Exp;
branches;
next	1.5;

1.5
date	94.08.29.17.38.17;	author davidg;	state Exp;
branches;
next	1.4;

1.4
date	94.08.28.17.43.37;	author bde;	state Exp;
branches;
next	1.3;

1.3
date	94.02.20.16.06.08;	author rgrimes;	state Exp;
branches;
next	1.2;

1.2
date	93.11.03.00.50.49;	author paul;	state Exp;
branches;
next	1.1;

1.1
date	93.06.29.09.50.33;	author nate;	state Exp;
branches;
next	;

1.18.2.1
date	2001.04.25.12.03.26;	author ru;	state Exp;
branches;
next	1.18.2.2;

1.18.2.2
date	2012.11.17.07.22.58;	author svnexp;	state Exp;
branches;
next	;

1.17.2.1
date	99.08.29.14.31.01;	author peter;	state Exp;
branches;
next	;

1.10.2.1
date	99.09.05.11.05.59;	author peter;	state Exp;
branches;
next	;

1.8.4.1
date	96.05.29.22.32.17;	author jkh;	state Exp;
branches;
next	1.8.4.2;

1.8.4.2
date	96.06.05.02.39.14;	author jkh;	state Exp;
branches;
next	1.8.4.3;

1.8.4.3
date	99.09.05.11.10.42;	author peter;	state Exp;
branches;
next	;


desc
@@


1.20
log
@BANG! BANG! BANG!  Put these bits out of their misery.
Murdered by members of:	a.out.die.die.die

ELF is the 1 true path now.  So make good on the src/Makefile threat that
building a.out will not be supported post 4.x.  These bits should either
resurface as a port, or a new port using the latest Binutils bits.  The
later will not support our SunOS-style shared a.out libs; but we shouldn't
need such support by this point in time.
@
text
@#	from: @@(#)Makefile	6.1 (Berkeley) 3/3/91
# $FreeBSD: src/gnu/usr.bin/as/Makefile,v 1.19 2001/03/27 14:58:36 ru Exp $

.include "config/Makefile.$(MACHINE_ARCH)"

.if !defined (gas_hosttype)
gas_hosttype=$(MACHINE_ARCH)
.endif
.if !defined (gas_target)
gas_target=$(MACHINE_ARCH)
.endif
.if !defined (gas_objformat)
gas_objformat=aout
.endif

ADDINCLUDE=-I${.OBJDIR}

PROG=		as
BINDIR= /usr/libexec/aout
MAN=		as.1aout
SRCS+=		app.c as.c atof-generic.c bignum-copy.c \
		cond.c expr.c flo-const.c flo-copy.c flonum-mult.c \
		frags.c hash.c hex-value.c input-file.c input-scrub.c \
		listing.c messages.c obstack.c output-file.c read.c subsegs.c \
		symbols.c version.c write.c xmalloc.c xrealloc.c \
		obj-$(gas_objformat).c ${CONF_HEADERS}
CFLAGS+=	-I$(.CURDIR) ${ADDINCLUDE} -I$(.CURDIR)/config \
		-DOLD_GAS -DSIGTY=void -Derror=as_fatal \
		-DSUB_SEGMENT_ALIGN=4 -DFREEBSD_AOUT

CONF_HEADERS=	targ-cpu.h obj-format.h host.h targ-env.h

.PATH: $(.CURDIR)/config

targ-cpu.h: Makefile config/Makefile.$(MACHINE_ARCH) $(.CURDIR)/config/tc-$(gas_target).h
	@@cmp -s $(.CURDIR)/config/tc-$(gas_target).h targ-cpu.h || \
	    ( ${ECHO} "updating ${.TARGET}..." ; /bin/rm -f targ-cpu.h ; \
	    cp $(.CURDIR)/config/tc-$(gas_target).h targ-cpu.h )

obj-format.h: Makefile config/Makefile.$(MACHINE_ARCH) $(.CURDIR)/config/obj-$(gas_objformat).h
	@@cmp -s $(.CURDIR)/config/obj-$(gas_objformat).h obj-format.h || \
	    ( ${ECHO} "updating ${.TARGET}..." ; /bin/rm -f obj-format.h ; \
	    cp $(.CURDIR)/config/obj-$(gas_objformat).h obj-format.h )

.if exists ($(.CURDIR)/config/ho-$(gas_hosttype).h)
config_hostfile=	$(.CURDIR)/config/ho-$(gas_hosttype).h
.else
config_hostfile=	$(.CURDIR)/config/ho-generic.h
.endif

host.h: Makefile config/Makefile.$(MACHINE_ARCH) $(config_hostfile)
	@@cmp -s $(config_hostfile) host.h || \
	    ( ${ECHO} "updating ${.TARGET}..." ; /bin/rm -f host.h ; \
	    cp $(config_hostfile) host.h )

.if exists ($(.CURDIR)/config/te-$(MACHINE_ARCH).h)
config_targenvfile=	$(.CURDIR)/config/te-$(MACHINE_ARCH).h
.else
config_targenvfile=	$(.CURDIR)/config/te-generic.h
.endif

targ-env.h: Makefile config/Makefile.$(MACHINE_ARCH) $(config_targenvfile)
	@@cmp -s $(config_targenvfile) targ-env.h || \
	    ( ${ECHO} "updating ${.TARGET}..." ; /bin/rm -f targ-env.h ; \
	    cp $(config_targenvfile) targ-env.h )

CLEANFILES+= ${CONF_HEADERS}

.include <bsd.prog.mk>
@


1.19
log
@MAN[1-9] -> MAN.
@
text
@d2 1
a2 1
# $FreeBSD: src/gnu/usr.bin/as/Makefile,v 1.18 1999/08/27 23:34:10 peter Exp $
@


1.18
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
d20 1
a20 1
MAN1aout=as.1aout
@


1.18.2.1
log
@MFC: MAN[1-9] -> MAN.
@
text
@d2 1
a2 1
# $FreeBSD: src/gnu/usr.bin/as/Makefile,v 1.18 1999/08/27 23:34:10 peter Exp $
d20 1
a20 1
MAN=		as.1aout
@


1.18.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/4/gnu/usr.bin/as/Makefile 75959 2001-04-25 12:03:56Z ru $
@


1.17
log
@Don't build the info pages for the old assembler.  Instead, build
and install the info pages for the new assembler and linker.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.16 1998/09/07 05:45:23 jb Exp $
@


1.17.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.16
log
@Install the legacy man file in section 1aout.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.15 1998/08/31 20:48:13 jb Exp $
a33 2

SUBDIR+= doc
@


1.15
log
@MACHINE -> MACHINE_ARCH to allow PC98 to define MACHINE=pc98.

Submitted by: Takahashi Yoshihiro <nyan@@wyvern.cc.kogakuin.ac.jp>
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.14 1998/05/25 17:34:36 sos Exp $
d20 1
@


1.14
log
@ELF preparation step 1:

Move our old a.out utils to /usr/libexec/aout.
Enable binutils and put the utils in /usr/libexec/elf
Enable objformat, a little helper program that calls the right
utils based on /etc/objformat and $OBJFORMAT.

This will enable the ELF generating tools.
Remember that this is only step one, the system is still compiled
and run in a.out format ONLY.

Problem left to solve: The BSD manpages wins over the GNU equivalents
as the are installed last. We need to distinguish between the manpages
somehow...
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.13 1998/03/06 13:13:15 bde Exp $
d4 1
a4 1
.include "config/Makefile.$(MACHINE)"
d7 1
a7 1
gas_hosttype=$(MACHINE)
d10 1
a10 1
gas_target=$(MACHINE)
d36 1
a36 1
targ-cpu.h: Makefile config/Makefile.$(MACHINE) $(.CURDIR)/config/tc-$(gas_target).h
d41 1
a41 1
obj-format.h: Makefile config/Makefile.$(MACHINE) $(.CURDIR)/config/obj-$(gas_objformat).h
d52 1
a52 1
host.h: Makefile config/Makefile.$(MACHINE) $(config_hostfile)
d57 2
a58 2
.if exists ($(.CURDIR)/config/te-$(MACHINE).h)
config_targenvfile=	$(.CURDIR)/config/te-$(MACHINE).h
d63 1
a63 1
targ-env.h: Makefile config/Makefile.$(MACHINE) $(config_targenvfile)
@


1.13
log
@Fixed `make -jN' for large N.  Just put the generated headers in
${SRCS} instead of giving inadequate explicit dependencies.  There
is still a problem after `make depend; make clean'.  Then `make'
barely works, and `make -jN' is confused by absolute paths in
.depend.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.12 1997/02/22 15:43:22 peter Exp $
d19 1
@


1.12
log
@Revert $FreeBSD$ to $Id$
@
text
@d2 1
a2 1
#	$Id$
d24 1
a24 1
		obj-$(gas_objformat).c
a33 2

beforedepend ${PROG}: ${CONF_HEADERS}
@


1.11
log
@Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
@
text
@d2 1
a2 1
#	$FreeBSD$
@


1.10
log
@Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src.  This is the final version of the
patches, incorporating the feedback I've received from -current.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.9 1995/09/22 14:14:12 phk Exp $
@


1.10.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.9
log
@Stop using gnumalloc.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.8 1995/05/30 04:45:55 rgrimes Exp $
d16 1
a16 3
.if exists(${.CURDIR}/obj)
ADDINCLUDE=-I${.CURDIR}/obj
.endif
@


1.8
log
@Remove trailing whitespace.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.7 1995/01/16 17:40:57 ache Exp $
a29 2
DPADD+=		${LIBGNUMALLOC}
LDADD+=		-lgnumalloc
@


1.8.4.1
log
@Merge from HEAD, except:

	Clients that used gnumalloc still do, despite the merge.  We're not
	bringing phkmalloc over.

	Thread stuff left out.

	PCCARD support left out.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.8 1995/05/30 04:45:55 rgrimes Exp $
d30 2
@


1.8.4.2
log
@This 3rd mega-commit should hopefully bring us back to where we were.
I can get it to `make world' succesfully, anyway!
@
text
@a29 2
DPADD+=		${LIBGNUMALLOC}
LDADD+=		-lgnumalloc
@


1.8.4.3
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.7
log
@Add doc to SUBDIR list
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.6 1994/12/23 22:35:56 nate Exp $
d41 1
a41 1
targ-cpu.h: Makefile config/Makefile.$(MACHINE) $(.CURDIR)/config/tc-$(gas_target).h 
@


1.6
log
@Updated version of gas which allows for link-time error reporting if
used in conjustion with the new shlib 'ld' source.  Note, if you use
the new features both gas and ld must be updated.

Obtained from: NetBSD
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.5 1994/08/29 17:38:17 davidg Exp $
d36 2
@


1.5
log
@Use gnumalloc to help reduce memory consumption.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.4 1994/08/28 17:43:37 bde Exp $
d28 2
a29 2
		-DPIC -DOLD_GAS -DSIGTY=void -Derror=as_fatal \
		-DSUB_SEGMENT_ALIGN=4
d39 1
a39 1
targ-cpu.h: Makefile config/Makefile.$(MACHINE)
d44 1
a44 1
obj-format.h: Makefile config/Makefile.$(MACHINE)
d55 1
a55 1
host.h: Makefile config/Makefile.$(MACHINE)
d66 1
a66 1
targ-env.h: Makefile config/Makefile.$(MACHINE)
@


1.4
log
@Use ${ECHO} instead of `echo' so that `make -s' is fairly quiet.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.3 1994/02/20 16:06:08 rgrimes Exp $
d30 2
a31 2
#LDADD+=		-lgnumalloc
#DPADD+=		/usr/lib/libgnumalloc.a
@


1.3
log
@Alignment fix from John Dyson/David Greenman
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.2 1993/11/03 00:50:49 paul Exp $
d41 1
a41 1
	    ( echo "updating ${.TARGET}..." ; /bin/rm -f targ-cpu.h ; \
d46 1
a46 1
	    ( echo "updating ${.TARGET}..." ; /bin/rm -f obj-format.h ; \
d57 1
a57 1
	    ( echo "updating ${.TARGET}..." ; /bin/rm -f host.h ; \
d68 1
a68 1
	    ( echo "updating ${.TARGET}..." ; /bin/rm -f targ-env.h ; \
@


1.2
log
@Brought over NetBSD's gas ready for pk's shared libs.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.10 1993/10/16 22:04:48 pk Exp $
d28 2
a29 1
		-DPIC -DOLD_GAS -DSIGTY=void -Derror=as_fatal
d31 1
a31 1
DPADD+=		/usr/lib/libgnumalloc.a
@


1.1
log
@Added the new gas directory
@
text
@d1 2
a2 1
#	@@(#)Makefile	6.1 (Berkeley) 3/3/91
d4 16
d21 2
a22 2
SRCS=		app.c append.c as.c atof-generic.c bignum-copy.c \
		expr.c flonum-const.c flonum-copy.c flonum-mult.c \
d24 10
a33 4
		messages.c obstack.c output-file.c read.c subsegs.c \
		symbols.c version.c write.c xmalloc.c xrealloc.c
CFLAGS+=	-I$(.CURDIR) -I$(.CURDIR)/config \
		-DSIGTY=void -Derror=as_fatal
d36 35
a70 1
.include "config/Makefile.$(MACHINE)"
@
