head	1.38;
access;
symbols
	RELENG_8_4:1.38.0.2
	RELENG_9_1_0_RELEASE:1.35.16.2.2.2
	RELENG_9_1:1.35.16.2.0.2
	RELENG_9_1_BP:1.35.16.2
	RELENG_8_3_0_RELEASE:1.35.10.1.8.1
	RELENG_8_3:1.35.10.1.0.8
	RELENG_8_3_BP:1.35.10.1
	RELENG_9_0_0_RELEASE:1.35.16.1.2.1
	RELENG_9_0:1.35.16.1.0.2
	RELENG_9_0_BP:1.35.16.1
	RELENG_9:1.35.0.16
	RELENG_9_BP:1.35
	RELENG_7_4_0_RELEASE:1.35.14.1
	RELENG_8_2_0_RELEASE:1.35.10.1.6.1
	RELENG_7_4:1.35.0.14
	RELENG_7_4_BP:1.35
	RELENG_8_2:1.35.10.1.0.6
	RELENG_8_2_BP:1.35.10.1
	RELENG_8_1_0_RELEASE:1.35.10.1.4.1
	RELENG_8_1:1.35.10.1.0.4
	RELENG_8_1_BP:1.35.10.1
	RELENG_7_3_0_RELEASE:1.35.12.1
	RELENG_7_3:1.35.0.12
	RELENG_7_3_BP:1.35
	RELENG_8_0_0_RELEASE:1.35.10.1.2.1
	RELENG_8_0:1.35.10.1.0.2
	RELENG_8_0_BP:1.35.10.1
	RELENG_8:1.35.0.10
	RELENG_8_BP:1.35
	RELENG_7_2_0_RELEASE:1.35.8.1
	RELENG_7_2:1.35.0.8
	RELENG_7_2_BP:1.35
	RELENG_7_1_0_RELEASE:1.35.6.1
	RELENG_6_4_0_RELEASE:1.34.12.1
	RELENG_7_1:1.35.0.6
	RELENG_7_1_BP:1.35
	RELENG_6_4:1.34.0.12
	RELENG_6_4_BP:1.34
	RELENG_7_0_0_RELEASE:1.35
	RELENG_6_3_0_RELEASE:1.34
	RELENG_7_0:1.35.0.4
	RELENG_7_0_BP:1.35
	RELENG_6_3:1.34.0.10
	RELENG_6_3_BP:1.34
	RELENG_7:1.35.0.2
	RELENG_7_BP:1.35
	RELENG_6_2_0_RELEASE:1.34
	RELENG_6_2:1.34.0.8
	RELENG_6_2_BP:1.34
	RELENG_5_5_0_RELEASE:1.31.2.1
	RELENG_5_5:1.31.2.1.0.4
	RELENG_5_5_BP:1.31.2.1
	RELENG_6_1_0_RELEASE:1.34
	RELENG_6_1:1.34.0.6
	RELENG_6_1_BP:1.34
	RELENG_6_0_0_RELEASE:1.34
	RELENG_6_0:1.34.0.4
	RELENG_6_0_BP:1.34
	RELENG_6:1.34.0.2
	RELENG_6_BP:1.34
	RELENG_5_4_0_RELEASE:1.31.2.1
	RELENG_5_4:1.31.2.1.0.2
	RELENG_5_4_BP:1.31.2.1
	RELENG_4_11_0_RELEASE:1.18.2.2
	RELENG_4_11:1.18.2.2.0.10
	RELENG_4_11_BP:1.18.2.2
	RELENG_5_3_0_RELEASE:1.31
	RELENG_5_3:1.31.0.4
	RELENG_5_3_BP:1.31
	RELENG_5:1.31.0.2
	RELENG_5_BP:1.31
	RELENG_4_10_0_RELEASE:1.18.2.2
	RELENG_4_10:1.18.2.2.0.8
	RELENG_4_10_BP:1.18.2.2
	RELENG_5_2_1_RELEASE:1.29
	RELENG_5_2_0_RELEASE:1.29
	RELENG_5_2:1.29.0.2
	RELENG_5_2_BP:1.29
	RELENG_4_9_0_RELEASE:1.18.2.2
	RELENG_4_9:1.18.2.2.0.6
	RELENG_4_9_BP:1.18.2.2
	RELENG_5_1_0_RELEASE:1.28
	RELENG_5_1:1.28.0.4
	RELENG_5_1_BP:1.28
	RELENG_4_8_0_RELEASE:1.18.2.2
	RELENG_4_8:1.18.2.2.0.4
	RELENG_4_8_BP:1.18.2.2
	RELENG_5_0_0_RELEASE:1.28
	RELENG_5_0:1.28.0.2
	RELENG_5_0_BP:1.28
	RELENG_4_7_0_RELEASE:1.18.2.2
	RELENG_4_7:1.18.2.2.0.2
	RELENG_4_7_BP:1.18.2.2
	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.8
	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.6
	RELENG_4_5_BP:1.18.2.1
	WIP_GCC31:1.19.0.2
	WIP_GCC31_BP:1.19
	RELENG_4_4_0_RELEASE:1.18.2.1
	RELENG_4_4:1.18.2.1.0.4
	RELENG_4_4_BP:1.18.2.1
	RELENG_4_3_0_RELEASE:1.18.2.1
	RELENG_4_3:1.18.2.1.0.2
	RELENG_4_3_BP:1.18.2.1
	BEFORE_GCC_2_95_3:1.18.2.1
	BEFORE_GCC_2_95_3_TEST3:1.19
	RELENG_4_2_0_RELEASE:1.18.2.1
	RELENG_4_1_1_RELEASE:1.18.2.1
	PRE_SMPNG:1.19
	RELENG_4_1_0_RELEASE:1.18.2.1
	RELENG_3_5_0_RELEASE:1.12.2.1
	BEFORE_GCC_2_96_SNAPSHOT:1.19
	RELENG_4_0_0_RELEASE:1.18
	RELENG_4:1.18.0.2
	RELENG_4_BP:1.18
	EGCS_11x:1.16.0.2
	RELENG_3_4_0_RELEASE:1.12.2.1
	BEFORE_GCC_2_95_1:1.16
	RELENG_3_3_0_RELEASE:1.12.2.1
	RELENG_3_2_PAO:1.12.0.4
	RELENG_3_2_PAO_BP:1.12
	RELENG_3_2_0_RELEASE:1.12
	RELENG_3_1_0_RELEASE:1.12
	RELENG_3:1.12.0.2
	RELENG_3_BP:1.12
	RELENG_2_2_8_RELEASE:1.9.2.1
	RELENG_3_0_0_RELEASE:1.12
	RELENG_2_2_7_RELEASE:1.9.2.1
	RELENG_2_2_6_RELEASE:1.9.2.1
	RELENG_2_2_5_RELEASE:1.9.2.1
	RELENG_2_2_2_RELEASE:1.9
	RELENG_2_2_1_RELEASE:1.9
	RELENG_2_2_0_RELEASE:1.9
	RELENG_2_1_7_RELEASE:1.5
	RELENG_2_1_6_1_RELEASE:1.5
	RELENG_2_1_6_RELEASE:1.5
	RELENG_2_2:1.9.0.2
	RELENG_2_2_BP:1.9
	gcc_2_6_3_final:1.7
	RELENG_2_1_5_RELEASE:1.5
	RELENG_2_1_0_RELEASE:1.5
	RELENG_2_1_0:1.5.0.4
	RELENG_2_1_0_BP:1.5
	RELENG_2_0_5_RELEASE:1.5
	RELENG_2_0_5:1.5.0.2
	RELENG_2_0_5_BP:1.5
	RELENG_2_0_5_ALPHA:1.5
	RELEASE_2_0:1.5
	BETA_2_0:1.5
	ALPHA_2_0:1.4.0.2
	gcc_2_6_0_bmake1:1.1.1.1
	gcc_2_6_0_bmake:1.1.1.1
	gnu:1.1.1;
locks; strict;
comment	@# @;


1.38
date	2013.01.18.00.34.55;	author svnexp;	state Exp;
branches
	1.38.2.1;
next	1.37;

1.37
date	2012.11.17.01.49.09;	author svnexp;	state Exp;
branches;
next	1.36;

1.36
date	2012.04.29.09.32.44;	author kib;	state Exp;
branches;
next	1.35;

1.35
date	2007.05.19.04.25.57;	author kan;	state Exp;
branches
	1.35.2.1
	1.35.6.1
	1.35.8.1
	1.35.10.1
	1.35.12.1
	1.35.14.1
	1.35.16.1;
next	1.34;

1.34
date	2004.12.21.09.59.41;	author ru;	state Exp;
branches
	1.34.2.1
	1.34.12.1;
next	1.33;

1.33
date	2004.12.21.08.46.58;	author ru;	state Exp;
branches;
next	1.32;

1.32
date	2004.10.24.15.32.27;	author ru;	state Exp;
branches;
next	1.31;

1.31
date	2004.07.28.05.27.19;	author kan;	state Exp;
branches
	1.31.2.1;
next	1.30;

1.30
date	2004.02.05.22.44.21;	author ru;	state Exp;
branches;
next	1.29;

1.29
date	2003.07.11.05.37.23;	author kan;	state Exp;
branches;
next	1.28;

1.28
date	2002.05.13.03.27.02;	author obrien;	state Exp;
branches;
next	1.27;

1.27
date	2002.05.12.12.06.18;	author obrien;	state Exp;
branches;
next	1.26;

1.26
date	2002.05.10.08.54.45;	author obrien;	state Exp;
branches;
next	1.25;

1.25
date	2002.04.10.01.48.46;	author obrien;	state Exp;
branches;
next	1.24;

1.24
date	2002.04.08.18.48.37;	author obrien;	state Exp;
branches;
next	1.23;

1.23
date	2002.04.04.19.26.12;	author obrien;	state Exp;
branches;
next	1.22;

1.22
date	2002.04.04.01.25.26;	author obrien;	state Exp;
branches;
next	1.21;

1.21
date	2002.04.04.00.50.13;	author obrien;	state Exp;
branches;
next	1.20;

1.20
date	2002.04.04.00.26.20;	author obrien;	state Exp;
branches;
next	1.19;

1.19
date	2000.05.24.20.02.20;	author obrien;	state Exp;
branches
	1.19.2.1;
next	1.18;

1.18
date	2000.01.24.20.12.00;	author obrien;	state Exp;
branches
	1.18.2.1;
next	1.17;

1.17
date	2000.01.24.09.17.08;	author obrien;	state Exp;
branches;
next	1.16;

1.16
date	99.11.04.04.46.00;	author obrien;	state Exp;
branches
	1.16.2.1;
next	1.15;

1.15
date	99.08.27.23.35.12;	author peter;	state Exp;
branches;
next	1.14;

1.14
date	99.08.16.04.10.39;	author obrien;	state Exp;
branches;
next	1.13;

1.13
date	99.04.04.16.36.32;	author obrien;	state Exp;
branches;
next	1.12;

1.12
date	97.06.29.06.03.14;	author pst;	state Exp;
branches
	1.12.2.1;
next	1.11;

1.11
date	97.02.22.15.44.53;	author peter;	state Exp;
branches;
next	1.10;

1.10
date	97.01.14.05.56.49;	author jkh;	state Exp;
branches;
next	1.9;

1.9
date	96.09.21.14.27.26;	author peter;	state Exp;
branches
	1.9.2.1;
next	1.8;

1.8
date	96.09.19.15.38.33;	author peter;	state Exp;
branches;
next	1.7;

1.7
date	95.10.01.20.16.27;	author davidg;	state Exp;
branches;
next	1.6;

1.6
date	95.09.22.14.14.21;	author phk;	state Exp;
branches;
next	1.5;

1.5
date	94.11.15.04.51.32;	author phk;	state Exp;
branches
	1.5.4.1;
next	1.4;

1.4
date	94.09.18.22.35.48;	author wollman;	state Exp;
branches;
next	1.3;

1.3
date	94.08.29.17.38.26;	author davidg;	state Exp;
branches;
next	1.2;

1.2
date	94.08.28.18.47.52;	author bde;	state Exp;
branches;
next	1.1;

1.1
date	94.08.02.20.15.51;	author phk;	state Exp;
branches
	1.1.1.1;
next	;

1.38.2.1
date	2013.01.18.00.34.55;	author svnexp;	state dead;
branches;
next	1.38.2.2;

1.38.2.2
date	2013.03.28.13.02.48;	author svnexp;	state Exp;
branches;
next	;

1.35.2.1
date	2012.11.17.08.01.30;	author svnexp;	state Exp;
branches;
next	;

1.35.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.35.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.35.10.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.35.10.1.2.1
	1.35.10.1.4.1
	1.35.10.1.6.1
	1.35.10.1.8.1;
next	1.35.10.2;

1.35.10.2
date	2012.11.17.10.35.58;	author svnexp;	state Exp;
branches;
next	;

1.35.10.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.35.10.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.35.10.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.35.10.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.35.10.1.8.2;

1.35.10.1.8.2
date	2012.11.17.08.24.39;	author svnexp;	state Exp;
branches;
next	;

1.35.12.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.35.14.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.35.14.2;

1.35.14.2
date	2012.11.17.08.16.39;	author svnexp;	state Exp;
branches;
next	;

1.35.16.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.35.16.1.2.1;
next	1.35.16.2;

1.35.16.2
date	2012.05.13.13.57.53;	author kib;	state Exp;
branches
	1.35.16.2.2.1;
next	1.35.16.3;

1.35.16.3
date	2012.11.17.11.36.13;	author svnexp;	state Exp;
branches;
next	;

1.35.16.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.35.16.1.2.2;

1.35.16.1.2.2
date	2012.11.17.08.36.13;	author svnexp;	state Exp;
branches;
next	;

1.35.16.2.2.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.35.16.2.2.2;

1.35.16.2.2.2
date	2012.11.17.08.47.03;	author svnexp;	state Exp;
branches;
next	;

1.34.2.1
date	2012.11.17.07.39.17;	author svnexp;	state Exp;
branches;
next	;

1.34.12.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.31.2.1
date	2005.02.13.07.23.07;	author obrien;	state Exp;
branches;
next	;

1.19.2.1
date	2001.12.18.03.10.56;	author obrien;	state Exp;
branches;
next	1.19.2.2;

1.19.2.2
date	2002.04.04.19.44.34;	author obrien;	state Exp;
branches;
next	1.19.2.3;

1.19.2.3
date	2002.04.06.23.15.10;	author obrien;	state Exp;
branches;
next	;

1.18.2.1
date	2000.07.04.05.41.39;	author obrien;	state Exp;
branches;
next	1.18.2.2;

1.18.2.2
date	2002.06.20.23.13.30;	author obrien;	state Exp;
branches;
next	1.18.2.3;

1.18.2.3
date	2012.11.17.07.23.02;	author svnexp;	state Exp;
branches;
next	;

1.16.2.1
date	2000.01.13.08.50.09;	author obrien;	state Exp;
branches;
next	;

1.12.2.1
date	99.08.29.14.32.32;	author peter;	state Exp;
branches;
next	;

1.9.2.1
date	97.06.29.06.05.03;	author pst;	state Exp;
branches;
next	1.9.2.2;

1.9.2.2
date	99.09.05.11.06.17;	author peter;	state Exp;
branches;
next	;

1.5.4.1
date	99.09.05.11.10.51;	author peter;	state Exp;
branches;
next	;

1.1.1.1
date	94.08.02.20.15.52;	author phk;	state Exp;
branches;
next	;


desc
@@


1.38
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/245539
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/gnu/usr.bin/cc/cc1/Makefile 245539 2013-01-17 05:56:28Z andrew $

NO_MAN=
.include <bsd.own.mk>

.include "../Makefile.inc"

.PATH: ${GCCDIR}

PROG=	cc1
SRCS=	main.c c-parser.c c-lang.c
BINDIR=	/usr/libexec
.if ${MK_SHARED_TOOLCHAIN} == "no"
NO_SHARED?=yes
.endif

OBJS+=  ${PROG}-checksum.o
DPADD=	${LIBBACKEND} ${LIBCPP} ${LIBDECNUMBER} ${LIBIBERTY}
LDADD=	${LIBBACKEND} ${LIBCPP} ${LIBDECNUMBER} ${LIBIBERTY}

DOBJS+=	${SRCS:N*.h:R:S/$/.o/g}
${PROG}-dummy:	${DOBJS}
	${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${DOBJS} ${LDADD}
CLEANFILES+=	${PROG}-dummy

${PROG}-checksum.c:	${PROG}-dummy
	../cc_tools/genchecksum ${PROG}-dummy > ${.TARGET}
CLEANFILES+=	${PROG}-checksum.c

.include <bsd.prog.mk>
@


1.38.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:02:48 +0000
@
text
@d1 30
@


1.38.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 26
# $FreeBSD: releng/8.4/gnu/usr.bin/cc/cc1/Makefile 169718 2007-05-19 04:25:59Z kan $

.include "../Makefile.inc"

.PATH: ${GCCDIR}

PROG=	cc1
SRCS=	main.c c-parser.c c-lang.c
BINDIR=	/usr/libexec
NO_MAN=
NO_SHARED?=yes

OBJS+=  ${PROG}-checksum.o
DPADD=	${LIBBACKEND} ${LIBCPP} ${LIBDECNUMBER} ${LIBIBERTY}
LDADD=	${LIBBACKEND} ${LIBCPP} ${LIBDECNUMBER} ${LIBIBERTY}

DOBJS+=	${SRCS:N*.h:R:S/$/.o/g}
${PROG}-dummy:	${DOBJS}
	${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${DOBJS} ${LDADD}
CLEANFILES+=	${PROG}-dummy

${PROG}-checksum.c:	${PROG}-dummy
	../cc_tools/genchecksum ${PROG}-dummy > ${.TARGET}
CLEANFILES+=	${PROG}-checksum.c

.include <bsd.prog.mk>
@


1.37
log
@Switching exporter and resync
@
text
@d1 1
a1 1
# $FreeBSD: head/gnu/usr.bin/cc/cc1/Makefile 234782 2012-04-29 09:32:44Z kib $
a2 1
.include "../Makefile.inc"
d6 2
@


1.36
log
@SVN rev 234782 on 2012-04-29 09:32:44Z by kib

Add src.conf option WITH_SHARED_TOOLCHAIN to enable building the
toolchain binaries as dynamically linked.  Option is disabled by
default.

Reviewed by:	ru (previous version)
MFC after:	2 weeks
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.35
log
@Update bmake glue to build GCC 4.2.

Also:
        Switch FreeBSD to use libgcc_s.so.1.

        Use dl_iterate_phdr to locate shared objects' exception frame
        info instead of depending on older register_frame_info machinery.
        This allows us to avoid depending on libgcc_s.so.1 in binaries
        that do not use exception handling directly. As an additional
        benefit it breaks circular libc <=> libgcc_s.so.1 dependency too.

        Build newly added libgomp.so.1 library, the runtime support
        bits for OpenMP.

        Build LGPLed libssp library. Our libc provides our own
        BSD-licensed SSP callbacks implementation, so this library
        is only built to benefit applications that have hadcoded
        knowledge of libssp.so and libssp_nonshared.a. When linked
        in from command line, these libraries override libc
        implementation.
@
text
@d4 2
d12 1
a12 1
NO_MAN=
d14 1
@


1.35.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/gnu/usr.bin/cc/cc1/Makefile 169718 2007-05-19 04:25:59Z kan $
@


1.35.16.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.35.16.2
log
@SVN rev 235398 on 2012-05-13 13:57:53Z by kib

MFC r234782:
Add src.conf option WITH_SHARED_TOOLCHAIN to enable building the
toolchain binaries as dynamically linked.  Option is disabled by
default.

MFC r235152 (by imp):
Make is part of the bootstrap path, so we need to guard against this
not being defined.  Otherwise we don't make a new make when the old
make is incompatible.
@
text
@a3 2
NO_MAN=
.include <bsd.own.mk>
d10 1
a10 1
.if ${MK_SHARED_TOOLCHAIN} == "no"
a11 1
.endif
@


1.35.16.3
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/gnu/usr.bin/cc/cc1/Makefile 235398 2012-05-13 13:57:53Z kib $
@


1.35.16.2.2.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.35.16.2.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/gnu/usr.bin/cc/cc1/Makefile 235398 2012-05-13 13:57:53Z kib $
@


1.35.16.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.35.16.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/gnu/usr.bin/cc/cc1/Makefile 169718 2007-05-19 04:25:59Z kan $
@


1.35.14.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.35.14.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/gnu/usr.bin/cc/cc1/Makefile 169718 2007-05-19 04:25:59Z kan $
@


1.35.12.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.35.10.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.35.10.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/gnu/usr.bin/cc/cc1/Makefile 169718 2007-05-19 04:25:59Z kan $
@


1.35.10.1.8.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.35.10.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/gnu/usr.bin/cc/cc1/Makefile 169718 2007-05-19 04:25:59Z kan $
@


1.35.10.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.35.10.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.35.10.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.35.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.35.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.34
log
@NOSHARED -> NO_SHARED
@
text
@d6 1
a6 1
 
d8 1
a8 1
SRCS=	main.c c-parse+%DIKED.c c-lang.c stub-objc.c
d13 12
a24 19
CFLAGS+= -I.

DPADD=	${LIBCC_INT}
LDADD=	${LIBCC_INT}

#-----------------------------------------------------------------------
# C parser
c-parse+%DIKED.c: c-parse.c
	sed -e "s/malloc/xmalloc/g" \
	    -e "s/realloc/xrealloc/g" \
	    ${.ALLSRC} > ${.TARGET}

c-parse.y: c-parse.in
	sed -e "/^@@@@ifobjc.*/,/^@@@@end_ifobjc.*/d" \
	    -e "/^@@@@ifc.*/d" -e "/^@@@@end_ifc.*/d" \
	    ${.ALLSRC} > ${.TARGET}

CLEANFILES=	c-parse+%DIKED.c c-parse.c c-parse.y
CLEANFILES+=	y.tab.h # we don't use it, but the system YACC rules are naive
@


1.34.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/gnu/usr.bin/cc/cc1/Makefile 139112 2004-12-21 09:59:45Z ru $
@


1.34.12.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.33
log
@Start the dreaded NOFOO -> NO_FOO conversion.

OK'ed by:	core
@
text
@d11 1
a11 1
NOSHARED?=yes
@


1.32
log
@For variables that are only checked with defined(), don't provide
any fake value.
@
text
@d10 1
a10 1
NOMAN=
@


1.31
log
@Bmake glue for GCC 3.4.2-prerelease.
@
text
@d10 1
a10 1
NOMAN=	1
@


1.31.2.1
log
@MFC: For variables that are only checked with defined(), don't provide
     any fake value.
@
text
@d10 1
a10 1
NOMAN=
@


1.30
log
@Fixed style of DPADD and LDADD assignments as per style.Makefile(5).
@
text
@d8 1
a8 1
SRCS=	main.c c-parse+%DIKED.c c-lang.c c-decl.c c-opts.c
d15 1
a15 1
DPADD=	${LIBCC_INT} 
d26 2
a27 3
	sed -e "/^ifobjc$$/,/^end ifobjc$$/d" \
	    -e "/^ifc$$/d" \
	    -e "/^end ifc$$/d" \
@


1.29
log
@Update bmake bits to build GCC 3.3.1-prerelease.
@
text
@d15 2
a16 2
DPADD+=	${LIBCC_INT} 
LDADD+=	${LIBCC_INT}
@


1.28
log
@Restore some of the implementation from the Bmake gcc 2.95 bits.
In the end, I can do things more like the previous Bmake bits than was
apparent in the middle of the gcc31 WIP.
@
text
@d8 1
a8 1
SRCS=	main.c c-parse+%DIKED.c c-lang.c c-decl.c
@


1.27
log
@Tidy up the cleanfiles.
@
text
@d5 1
a5 1
.PATH: ../cc_tools ${GCCDIR}
d8 1
a8 1
SRCS=	main.c c-parse.c c-lang.c c-decl.c
d20 6
a25 2
.ORDER: c-parse.c
c-parse.c: c-parse.in
d29 1
a29 5
	    ${GCCDIR}/c-parse.in > c-parse.y
	${YACC} -o c-parse.c.in c-parse.y
	sed -e "s/malloc/xmalloc/g" \
	    -e "s/realloc/xrealloc/g" \
	    c-parse.c.in >c-parse.c
d31 2
a32 1
CLEANFILES=	c-parse.c c-parse.y
@


1.26
log
@Bmake bits for Gcc 3.1.

Partially made possible by:	Wilko.Bulte@@compaq.com
@
text
@d31 1
a31 1
CLEANFILES+=	c-parse.c           c-parse.y		# insurance
@


1.25
log
@Change YACCing.

Submited by:	ru
@
text
@d5 1
a5 1
.PATH: ${GCCDIR}
d8 1
a8 3
SRCS=	c-parse.y c-lang.c
# Ugh, compiled twice...
SRCS+=	c-decl.c c-lex.c
d11 1
a11 1
NOSHARED=yes
d20 2
a21 1
c-parse.y: c-parse.in
d25 5
a29 1
	    ${.ALLSRC} > ${.TARGET}
d31 1
a31 2
CLEANFILES+=	c-parse.y
#-----------------------------------------------------------------------
@


1.24
log
@Fine!  I cannot freaking take the bikeshed any more.
These binaries will be static, peroid.
@
text
@d5 1
a5 1
.PATH: ../cc_tools ${GCCDIR}
d8 1
a8 1
SRCS=	c-parse.c c-parse.h c-lang.c
d22 1
a22 2
.ORDER: c-parse.c c-parse.h
c-parse.c c-parse.h: c-parse.in
d26 1
a26 4
	    ${.ALLSRC} > c-parse.y
	${YACC} -d -o c-parse.c c-parse.y

CLEANFILES+=	c-parse.c c-parse.h c-parse.y		# insurance
d28 1
@


1.23
log
@Minor style tweak.
@
text
@d13 1
a13 1
NOSHARED?=yes
@


1.22
log
@Make the sed line a little bit more clear (it will get messier later).
@
text
@d30 1
a30 1
CLEANFILES+=	c-parse.c c-parse.h c-parse.y 		# insurance
@


1.21
log
@Set NOSHARED conditionally.
@
text
@d25 2
a26 1
	    -e "/^ifc$$/d" -e "/^end ifc$$/d" \
@


1.20
log
@Clean up the YACCing.  I don't know why we cannot leave the .y's as .y's.
So lets see if doing so causes anyone trouble.
Also use make(1)'s assistance in using the right file.  It knows the
dependency, so lets just ask it.
@
text
@d13 1
a13 1
NOSHARED=yes
@


1.19
log
@Move c-decl.c out of the common libcc_int.a into the binary Makefiles
where it is used.  c-decl has symbols that conflict with several of the
cc1plus sources.

GNU `ld' was changed in Dec 1999 to be more be compatable with the way that
other linkers work (specifically in the Solaris linker).  The 2.9.1 `ld',
did the Wrong Thing in that if a library contained a common symbol that
matched a definition of that symbol in another (already linked in object)
it would also be linked in, even if there was no other reason to do so.
This is wrong.  The library should only be linked in if it contains
non-common, non-weak symbols which are needed by previously linked in
objects.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cc/cc1/Makefile,v 1.18 2000/01/24 20:12:00 obrien Exp $
d26 1
a26 1
	    ${GCCDIR}/c-parse.in > c-parse.y
a27 1
	mv c-parse.y c-parse.y.out
d29 1
a29 2
CLEANFILES+=	c-parse.c c-parse.h \
		c-parse.y c-parse.y.out		# insurance
@


1.19.2.1
log
@Working changes for GCC 3.0.2.
We now have to use the GCC stdarg.h varargs.h.  We simply have no choice
as it has an internal representation that we really cannot properly define
in our headers.
@
text
@d1 1
a1 1
# $FreeBSD$
d10 1
a10 1
SRCS+=	c-decl.c c-lex.c c-typeck.c
a33 8

beforeinstall:
	mkdir -p ${DESTDIR}/usr/include/machine
.for VAHDR in stdarg.h varargs.h
	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
	    ${GCCDIR}/ginclude/${VAHDR} \
	    ${DESTDIR}/usr/include/machine/gcc_${VAHDR}
.endfor
@


1.19.2.2
log
@MFC: tidy up YACCing.
@
text
@d25 2
a26 3
	    -e "/^ifc$$/d" \
	    -e "/^end ifc$$/d" \
	    ${.ALLSRC} > c-parse.y
d28 1
d30 2
a31 1
CLEANFILES+=	c-parse.c c-parse.h c-parse.y		# insurance
@


1.19.2.3
log
@Bmake bits for GCC 3.1.
@
text
@d8 3
a10 1
SRCS=	main.c c-parse.c c-lang.c c-decl.c
d13 1
a13 1
NOSHARED?=yes
d22 2
a23 2
.ORDER: c-parse.c
c-parse.c: c-parse.in
d27 2
a28 5
	    ${GCCDIR}/c-parse.in > c-parse.y
	${YACC} -o c-parse.c.in c-parse.y
	sed -e "s/malloc/xmalloc/g" \
	    -e "s/realloc/xrealloc/g" \
	    c-parse.c.in >c-parse.c
d30 1
a30 1
CLEANFILES+=	c-parse.c           c-parse.y		# insurance
@


1.18
log
@Merge cc_drv into cc_int.  Merge more shared files into cc_int.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cc/cc1/Makefile,v 1.17 2000/01/24 09:17:08 obrien Exp $
d9 2
a10 1
SRCS+=	c-lex.c
@


1.18.2.1
log
@MFC:  move c-decl out of libcc_int.a as it is not used across all C-like
      backends and its symbols conflicts with several cc1plus sources.
@
text
@d1 1
a1 1
# $FreeBSD$
d9 1
a9 2
# Ugh, compiled twice...
SRCS+=	c-decl.c c-lex.c
@


1.18.2.2
log
@MFC: update to Gcc 2.95.4
@
text
@d5 1
a5 1
.PATH: ${GCCDIR}
d8 1
a8 1
SRCS=	c-parse.y c-lang.c
d22 2
a23 1
c-parse.y: c-parse.in
d25 7
a31 3
	    -e "/^ifc$$/d" \
	    -e "/^end ifc$$/d" \
	    ${.ALLSRC} > ${.TARGET}
a32 1
CLEANFILES+=	c-parse.y
@


1.18.2.3
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/gnu/usr.bin/cc/cc1/Makefile 98520 2002-06-20 23:13:31Z obrien $
@


1.17
log
@Simply cc_tools/Makefile by moving the parser generation to the respective
backends.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cc/cc1/Makefile,v 1.16 1999/11/04 04:46:00 obrien Exp $
d8 2
a9 3
SRCS=	c-parse.c c-parse.h \
	c-aux-info.c c-common.c c-convert.c c-decl.c c-iterate.c c-lang.c \
	c-lex.c c-pragma.c c-typeck.c
@


1.16
log
@Minor cosmetic changes in an attempt to improve consistancy.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cc/cc1/Makefile,v 1.15 1999/08/27 23:35:12 peter Exp $
d8 1
a8 1
SRCS=	c-parse.c \
d15 2
d19 15
@


1.16.2.1
log
@Allow EGCS 1.1.2 to co-exist with the new compiler, for regression testing.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cc/cc1/Makefile,v 1.16 1999/11/04 04:46:00 obrien Exp $
d7 1
a7 1
PROG=	egcs1
@


1.15
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
d14 1
@


1.14
log
@Purely cosmetic cleanups.
 - Id tag layout wrong.
 - "FOO =" -> "FOO=".
 - 4 space indention on continuation lines rather than a <tab>

Basic idea checked by:	bde
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.13 1999/04/04 16:36:32 obrien Exp $
@


1.13
log
@Minimum set of changes to switch from Gcc 2.7.2 (in contrib/gcc) to Egcs 1.1.2
(in contrib/egcs)
@
text
@d1 1
a1 3
#
# $Id: Makefile,v 1.14 1999/03/05 04:55:03 obrien Exp $
#
d7 2
a8 2
PROG =	cc1
SRCS =	c-parse.c \
@


1.12
log
@NOSHARED takes a yes/YES no/NO value, not "true, false, hey mon!".
NOPIC is used to not generate a shared library, not NOSHARED.
Make NOSHARED advisory where appropriate.
Remove bogus NOSHARED (kbdio).
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.11 1997/02/22 15:44:53 peter Exp $
d4 4
d11 2
a12 2
	c-aux-info.c c-convert.c c-decl.c c-iterate.c c-lang.c c-lex.c \
	c-typeck.c
@


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


1.11
log
@Revert $FreeBSD$ to $Id$
@
text
@d2 1
a2 1
# $Id$
d11 1
a11 1
NOSHARED= true
@


1.10
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.9
log
@Remove the partial support for a shared -lcc_int, since it's been unusable
for a fair while.  cc1, cc1plus etc have been linked static for some time.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.8 1996/09/19 15:38:33 peter Exp $
@


1.9.2.1
log
@YAMFC -- noshared fixes.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.9 1996/09/21 14:27:26 peter Exp $
d11 1
a11 1
NOSHARED=yes
@


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


1.8
log
@Man the lifeboats!  Tie down the hatches!  Red alert! Activate gcc-2.7.2.1!

(the old cc has been tagged with "gcc_2_6_3_final" so we have a reference
 point in case of unforseen disasters...)

This has the objc backend active, and I think I've managed to get the
f77 f2c support through in one piece, but I don't know fortran to test it.

A 'make world' change and libobjc commit will follow.

If you normally do 'make -DNOCLEAN world', do not do so this time, I know
it can fail with groff.

This version of gcc makes a **LOT** more warnings on our kernel.
@
text
@d2 1
a2 1
# $Id$
d13 1
a13 1
LDADD+=	-lcc_int 
@


1.7
log
@Build cc1 nonshared. This actually results in it consuming 40K *less* disk
space and improves compile times by a few percent.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.6 1995/09/22 14:14:21 phk Exp $
d4 1
a4 1

d6 3
a8 1
SRCS =	c-aux-info.c c-convert.c c-decl.c c-iterate.c c-lang.c c-lex.c c-parse.c c-pragma.c c-typeck.c
@


1.6
log
@Stop using gnumalloc.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.5 1994/11/15 04:51:32 phk Exp $
d9 1
@


1.5
log
@Integrated GCC-2.6.1 -> GCC-2.6.2 changes.

Notice that the libgcc DOESN'T change number, because there are no
changes.

Also now the gnu2bmake stuff is synchronized again.

I commit this so that others can test too.

You might want to postpone any "make worlds" until tomorrow, to
avoid any problems I didn't see in the first pass.

Thanks to Bruce for rounding up our changes to gcc.
@
text
@d2 1
a2 1
# $Id$
d9 2
a10 2
DPADD+=	${LIBCC_INT} ${LIBGNUMALLOC}
LDADD+=	-lcc_int -lgnumalloc
@


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


1.4
log
@Make GCC's back end be shared among all languages.  cc, c++, and cpp now
no longer link against the whole library, since they don't require much
from it, but just compile the few small modules they actually need static.

This should save a measurable amount of space; compare:

-r-xr-xr-x  1 bin   bin   155648 Sep 18 18:00 cc1*
-r-xr-xr-x  1 root  bin  1048576 Sep 18 17:33 cc1.noshae*

Of course, the library takes up a bit of space, but when you add in the
savings from the C++ compiler, you more than make up the difference:

-r--r--r--  1 bin  bin  1157344 Sep 18 18:27 /usr/lib/libcc_int.so.26.0
-r-xr-xr-x  1 bin  bin  491520 Sep 18 18:27 /usr/libexec/cc1plus*
@
text
@@


1.3
log
@Use gnumalloc to help reduce memory consumption.
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.2
log
@Add dependencies on libraries to DPADD.  Someday this should be done
automagically.  -lfoo has to be right to work, but ${LIBFO0} is too
easy to forget or misspell; nothing checks it and it should be
different for shared libraries.
@
text
@d9 2
a10 2
DPADD+=	${LIBCC_INT}
LDADD+=	-lcc_int
@


1.1
log
@Initial revision
@
text
@d9 1
a9 2
LDDESTDIR+=	-L${.CURDIR}/../cc_int/obj
LDDESTDIR+=	-L${.CURDIR}/../cc_int
@


1.1.1.1
log
@Here comes the right import of gcc-2.6.0.
@
text
@@
