head	1.29;
access;
symbols
	RELENG_8_4:1.29.0.2
	RELENG_9_1_0_RELEASE:1.27.16.2.2.2
	RELENG_9_1:1.27.16.2.0.2
	RELENG_9_1_BP:1.27.16.2
	RELENG_8_3_0_RELEASE:1.27.10.1.8.1
	RELENG_8_3:1.27.10.1.0.8
	RELENG_8_3_BP:1.27.10.1
	RELENG_9_0_0_RELEASE:1.27.16.1.2.1
	RELENG_9_0:1.27.16.1.0.2
	RELENG_9_0_BP:1.27.16.1
	RELENG_9:1.27.0.16
	RELENG_9_BP:1.27
	RELENG_7_4_0_RELEASE:1.27.14.1
	RELENG_8_2_0_RELEASE:1.27.10.1.6.1
	RELENG_7_4:1.27.0.14
	RELENG_7_4_BP:1.27
	RELENG_8_2:1.27.10.1.0.6
	RELENG_8_2_BP:1.27.10.1
	RELENG_8_1_0_RELEASE:1.27.10.1.4.1
	RELENG_8_1:1.27.10.1.0.4
	RELENG_8_1_BP:1.27.10.1
	RELENG_7_3_0_RELEASE:1.27.12.1
	RELENG_7_3:1.27.0.12
	RELENG_7_3_BP:1.27
	RELENG_8_0_0_RELEASE:1.27.10.1.2.1
	RELENG_8_0:1.27.10.1.0.2
	RELENG_8_0_BP:1.27.10.1
	RELENG_8:1.27.0.10
	RELENG_8_BP:1.27
	RELENG_7_2_0_RELEASE:1.27.8.1
	RELENG_7_2:1.27.0.8
	RELENG_7_2_BP:1.27
	RELENG_7_1_0_RELEASE:1.27.6.1
	RELENG_6_4_0_RELEASE:1.24.8.2.6.1
	RELENG_7_1:1.27.0.6
	RELENG_7_1_BP:1.27
	RELENG_6_4:1.24.8.2.0.6
	RELENG_6_4_BP:1.24.8.2
	RELENG_7_0_0_RELEASE:1.27
	RELENG_6_3_0_RELEASE:1.24.8.2
	RELENG_7_0:1.27.0.4
	RELENG_7_0_BP:1.27
	RELENG_6_3:1.24.8.2.0.4
	RELENG_6_3_BP:1.24.8.2
	RELENG_7:1.27.0.2
	RELENG_7_BP:1.27
	RELENG_6_2_0_RELEASE:1.24.8.2
	RELENG_6_2:1.24.8.2.0.2
	RELENG_6_2_BP:1.24.8.2
	RELENG_5_5_0_RELEASE:1.24
	RELENG_5_5:1.24.0.14
	RELENG_5_5_BP:1.24
	RELENG_6_1_0_RELEASE:1.24
	RELENG_6_1:1.24.0.12
	RELENG_6_1_BP:1.24
	RELENG_6_0_0_RELEASE:1.24
	RELENG_6_0:1.24.0.10
	RELENG_6_0_BP:1.24
	RELENG_6:1.24.0.8
	RELENG_6_BP:1.24
	RELENG_5_4_0_RELEASE:1.24
	RELENG_5_4:1.24.0.6
	RELENG_5_4_BP:1.24
	RELENG_4_11_0_RELEASE:1.18.2.2
	RELENG_4_11:1.18.2.2.0.8
	RELENG_4_11_BP:1.18.2.2
	RELENG_5_3_0_RELEASE:1.24
	RELENG_5_3:1.24.0.4
	RELENG_5_3_BP:1.24
	RELENG_5:1.24.0.2
	RELENG_5_BP:1.24
	RELENG_4_10_0_RELEASE:1.18.2.2
	RELENG_4_10:1.18.2.2.0.6
	RELENG_4_10_BP:1.18.2.2
	RELENG_5_2_1_RELEASE:1.23
	RELENG_5_2_0_RELEASE:1.23
	RELENG_5_2:1.23.0.2
	RELENG_5_2_BP:1.23
	RELENG_4_9_0_RELEASE:1.18.2.2
	RELENG_4_9:1.18.2.2.0.4
	RELENG_4_9_BP:1.18.2.2
	RELENG_5_1_0_RELEASE:1.22
	RELENG_5_1:1.22.0.4
	RELENG_5_1_BP:1.22
	RELENG_4_8_0_RELEASE:1.18.2.2
	RELENG_4_8:1.18.2.2.0.2
	RELENG_4_8_BP:1.18.2.2
	RELENG_5_0_0_RELEASE:1.22
	RELENG_5_0:1.22.0.2
	RELENG_5_0_BP:1.22
	RELENG_4_7_0_RELEASE:1.18.2.1
	RELENG_4_7:1.18.2.1.0.10
	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.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.11.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.15.0.2
	RELENG_3_4_0_RELEASE:1.11.2.1
	BEFORE_GCC_2_95_1:1.15
	RELENG_3_3_0_RELEASE:1.11.2.1
	RELENG_3_2_PAO:1.11.0.4
	RELENG_3_2_PAO_BP:1.11
	RELENG_3_2_0_RELEASE:1.11
	RELENG_3_1_0_RELEASE:1.11
	RELENG_3:1.11.0.2
	RELENG_3_BP:1.11
	RELENG_2_2_8_RELEASE:1.7.2.1
	RELENG_3_0_0_RELEASE:1.11
	RELENG_2_2_7_RELEASE:1.7.2.1
	RELENG_2_2_6_RELEASE:1.7.2.1
	RELENG_2_2_5_RELEASE:1.7
	RELENG_2_2_2_RELEASE:1.7
	RELENG_2_2_1_RELEASE:1.7
	RELENG_2_2_0_RELEASE:1.7
	RELENG_2_1_7_RELEASE:1.4
	RELENG_2_1_6_1_RELEASE:1.4
	RELENG_2_1_6_RELEASE:1.4
	RELENG_2_2:1.7.0.2
	RELENG_2_2_BP:1.7
	gcc_2_6_3_final:1.4
	RELENG_2_1_5_RELEASE:1.4
	RELENG_2_1_0_RELEASE:1.4
	RELENG_2_1_0:1.4.0.4
	RELENG_2_1_0_BP:1.4
	RELENG_2_0_5_RELEASE:1.4
	RELENG_2_0_5:1.4.0.2
	RELENG_2_0_5_BP:1.4
	RELENG_2_0_5_ALPHA:1.4
	RELEASE_2_0:1.4
	BETA_2_0:1.4
	ALPHA_2_0:1.3.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.29
date	2012.11.17.01.49.09;	author svnexp;	state Exp;
branches
	1.29.2.1;
next	1.28;

1.28
date	2012.02.29.22.58.51;	author dim;	state Exp;
branches;
next	1.27;

1.27
date	2007.05.19.04.25.58;	author kan;	state Exp;
branches
	1.27.2.1
	1.27.6.1
	1.27.8.1
	1.27.10.1
	1.27.12.1
	1.27.14.1
	1.27.16.1;
next	1.26;

1.26
date	2006.09.21.07.52.41;	author ru;	state Exp;
branches;
next	1.25;

1.25
date	2006.09.12.21.57.28;	author kan;	state Exp;
branches;
next	1.24;

1.24
date	2004.02.05.22.44.21;	author ru;	state Exp;
branches
	1.24.8.1;
next	1.23;

1.23
date	2003.06.06.13.46.55;	author kuriyama;	state Exp;
branches;
next	1.22;

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

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

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

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

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

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

1.16
date	2000.01.02.22.57.34;	author obrien;	state Exp;
branches;
next	1.15;

1.15
date	99.11.04.04.46.03;	author obrien;	state Exp;
branches
	1.15.2.1;
next	1.14;

1.14
date	99.08.27.23.35.18;	author peter;	state Exp;
branches;
next	1.13;

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

1.12
date	99.04.04.16.36.35;	author obrien;	state Exp;
branches;
next	1.11;

1.11
date	98.05.04.16.58.50;	author bde;	state Exp;
branches
	1.11.2.1;
next	1.10;

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

1.9
date	97.02.22.15.44.59;	author peter;	state Exp;
branches;
next	1.8;

1.8
date	97.01.14.05.56.56;	author jkh;	state Exp;
branches;
next	1.7;

1.7
date	96.09.23.16.12.38;	author bde;	state Exp;
branches
	1.7.2.1;
next	1.6;

1.6
date	96.09.23.04.14.30;	author peter;	state Exp;
branches;
next	1.5;

1.5
date	96.09.19.15.47.24;	author peter;	state Exp;
branches;
next	1.4;

1.4
date	94.11.15.04.52.05;	author phk;	state Exp;
branches
	1.4.4.1;
next	1.3;

1.3
date	94.09.18.22.35.55;	author wollman;	state Exp;
branches;
next	1.2;

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

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

1.29.2.1
date	2012.11.17.01.49.09;	author svnexp;	state dead;
branches;
next	1.29.2.2;

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

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

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

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

1.27.10.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.27.10.1.2.1
	1.27.10.1.4.1
	1.27.10.1.6.1
	1.27.10.1.8.1;
next	1.27.10.2;

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

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

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

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

1.27.10.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.27.10.1.8.2;

1.27.10.1.8.2
date	2012.11.17.08.24.40;	author svnexp;	state Exp;
branches;
next	;

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

1.27.14.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.27.14.2;

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

1.27.16.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.27.16.1.2.1;
next	1.27.16.2;

1.27.16.2
date	2012.03.17.22.29.05;	author dim;	state Exp;
branches
	1.27.16.2.2.1;
next	1.27.16.3;

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

1.27.16.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.27.16.1.2.2;

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

1.27.16.2.2.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.27.16.2.2.2;

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

1.24.8.1
date	2006.09.25.06.19.41;	author ru;	state Exp;
branches;
next	1.24.8.2;

1.24.8.2
date	2006.09.29.01.44.25;	author obrien;	state Exp;
branches
	1.24.8.2.6.1;
next	1.24.8.3;

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

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

1.19.2.1
date	2002.04.06.23.15.14;	author obrien;	state Exp;
branches;
next	;

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

1.18.2.2
date	2002.11.15.18.18.39;	author ru;	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.15.2.1
date	2000.01.03.04.57.37;	author obrien;	state Exp;
branches;
next	1.15.2.2;

1.15.2.2
date	2000.01.13.08.50.12;	author obrien;	state Exp;
branches;
next	;

1.11.2.1
date	99.08.29.14.32.41;	author peter;	state Exp;
branches;
next	;

1.7.2.1
date	97.10.26.22.47.43;	author jkh;	state Exp;
branches;
next	1.7.2.2;

1.7.2.2
date	99.09.05.11.06.20;	author peter;	state Exp;
branches;
next	;

1.4.4.1
date	99.09.05.11.10.52;	author peter;	state Exp;
branches;
next	;

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


desc
@@


1.29
log
@Switching exporter and resync
@
text
@# $FreeBSD: head/gnu/usr.bin/cc/cpp/Makefile 232322 2012-02-29 22:58:51Z dim $

.include <bsd.own.mk>

.include "../Makefile.inc"
.include "../Makefile.fe"

PROG=	gcpp
SRCS+=	cppspec.c

.if ${MK_CLANG_IS_CC} == "no"
LINKS=	${BINDIR}/gcpp ${BINDIR}/cpp
MLINKS=	gcpp.1 cpp.1
.endif

.include <bsd.prog.mk>
@


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


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


.include "../Makefile.inc"
.include "../Makefile.fe"

PROG=	cpp
SRCS+=	cppspec.c

.include <bsd.prog.mk>
@


1.28
log
@SVN rev 232322 on 2012-02-29 22:58:51Z by dim

Add a WITH_CLANG_IS_CC option for src.conf(5), disabled by default, that
installs clang as /usr/bin/cc, /usr/bin/c++ and /usr/bin/cpp.

Note this does *not* disable building and installing gcc, which will
still be available as /usr/bin/gcc, /usr/bin/g++ and /usr/bin/gcpp.  If
you want to disable gcc completely, you must use WITHOUT_GCC.

MFC after:	2 weeks
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.27
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
@d3 1
d8 1
a8 1
PROG=	cpp
d11 5
@


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


1.27.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.27.16.2
log
@SVN rev 233099 on 2012-03-17 22:29:05Z by dim

MFC 232322:
  Add a WITH_CLANG_IS_CC option for src.conf(5), disabled by default, that
  installs clang as /usr/bin/cc, /usr/bin/c++ and /usr/bin/cpp.

  Note this does *not* disable building and installing gcc, which will
  still be available as /usr/bin/gcc, /usr/bin/g++ and /usr/bin/gcpp.  If
  you want to disable gcc completely, you must use WITHOUT_GCC.

MFC 232323:
  Regenerate src.conf(5) after r232322.

MFC 232477:
  In r232322, I forgot one case where a check for MK_CLANG_IS_CC was
  needed, in sys/conf/kern.pre.mk.  Add it now.

MFC 232522:
  Fix a thinko in r232322, where gcc (and its tools) are not built during
  the cross-tools stage, if CC=clang and WITH_CLANG_IS_CC is not set.

  This causes no 'cc' to be installed in the temporary cross-tools tree,
  making lint fall over later in the build, because it ignores ${CC} and
  attempts to run 'cc' anyway.

  To fix this, only skip building gcc during cross-tools, if WITHOUT_GCC
  is set, or if WITH_CLANG_IS_CC is set.

  Pointy hat to:	dim
@
text
@a2 1
.include <bsd.own.mk>
d7 1
a7 1
PROG=	gcpp
a9 5
.if ${MK_CLANG_IS_CC} == "no"
LINKS=	${BINDIR}/gcpp ${BINDIR}/cpp
MLINKS=	gcpp.1 cpp.1
.endif

@


1.27.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/cpp/Makefile 233099 2012-03-17 22:29:05Z dim $
@


1.27.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.27.16.2.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/gnu/usr.bin/cc/cpp/Makefile 233099 2012-03-17 22:29:05Z dim $
@


1.27.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.27.16.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/gnu/usr.bin/cc/cpp/Makefile 169718 2007-05-19 04:25:59Z kan $
@


1.27.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.27.14.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/gnu/usr.bin/cc/cpp/Makefile 169718 2007-05-19 04:25:59Z kan $
@


1.27.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.27.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.27.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/cpp/Makefile 169718 2007-05-19 04:25:59Z kan $
@


1.27.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.27.10.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/gnu/usr.bin/cc/cpp/Makefile 169718 2007-05-19 04:25:59Z kan $
@


1.27.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.27.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.27.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.27.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.27.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.26
log
@Prepare to pick up manpages from their new location.
@
text
@d3 1
a6 2
.PATH: ${GCCDIR} ${GCCDIR}/doc

d8 1
a8 4
SRCS=	gcc.c cppspec.c

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


1.25
log
@Remove redundant defines alerady set by Makefile.fe
@
text
@d6 1
a6 1
.PATH: ${GCCDIR}
a13 5
CLEANFILES= cpp.1

cpp.1: cccp.1
	cat ${.ALLSRC} > ${.TARGET}

@


1.24
log
@Fixed style of DPADD and LDADD assignments as per style.Makefile(5).
@
text
@a10 3
CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\"
CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\"

@


1.24.8.1
log
@MFC: Bring GCC manpages back to reality.

Approved by:	re (kensmith)
@
text
@d6 1
a6 1
.PATH: ${GCCDIR} ${GCCDIR}/doc
d17 5
@


1.24.8.2
log
@MFC: rev 1.25: remove redundant defines alerady set.

Approved by:	re(KEN)
@
text
@d11 3
@


1.24.8.3
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/gnu/usr.bin/cc/cpp/Makefile 162752 2006-09-29 01:44:25Z obrien $
@


1.24.8.2.6.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.23
log
@Use
	cat ${.ALLSRC} > ${.TARGET}
rather than
	ln -sf ${.ALLSRC} ${.TARGET}
not to depends on absolute-path of symbolic links.

Commented by:  marcel, obrien, bde
@
text
@d14 2
a15 2
DPADD+=	${LIBCC_INT}
LDADD+=	${LIBCC_INT}
@


1.22
log
@The best we can do about man pages for the moment.
@
text
@d20 1
a20 1
	ln -sf ${.ALLSRC} ${.TARGET}
@


1.21
log
@We don't need this library any more.
@
text
@a9 1
NOMAN=	1
d16 5
@


1.20
log
@Bmake bits for Gcc 3.1.

Partially made possible by:	Wilko.Bulte@@compaq.com
@
text
@d15 2
a16 2
DPADD+=	${LIBCC_INT} ${LIBCC_FBSD}
LDADD+=	${LIBCC_INT} ${LIBCC_FBSD}
@


1.19
log
@Move some cflag contents down to where they are acutally used.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cc/cpp/Makefile,v 1.18 2000/01/24 20:12:04 obrien Exp $
d4 1
@


1.19.2.1
log
@Bmake bits for GCC 3.1.
@
text
@d1 1
a1 1
# $FreeBSD$
a3 1
.include "../Makefile.fe"
@


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/cpp/Makefile,v 1.17 2000/01/04 03:48:08 obrien Exp $
d10 3
@


1.18.2.1
log
@MFC:  Move some cflag contents down to where they are acutally used.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cc/cpp/Makefile,v 1.19 2000/03/13 09:12:36 obrien Exp $
a9 3

CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\"
CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\"
@


1.18.2.2
log
@Removed the cc_fbsd bootstrap library; upgrades from 4.0-RELEASE
work without it and it doesn't compile under today's 5.0-CURRENT.
(This is to restore the ability to downgrade to RELENG_4.)
@
text
@d1 1
a1 1
# $FreeBSD$
d14 2
a15 2
DPADD+=	${LIBCC_INT}
LDADD+=	${LIBCC_INT}
@


1.18.2.3
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/gnu/usr.bin/cc/cpp/Makefile 106952 2002-11-15 18:18:39Z ru $
@


1.17
log
@Turn on a new /usr/bin/cpp that is a true binary rather than a shell script
wrapper.  /usr/bin/cpp knows about all the GCC predefined symbols and has
the functionality of the previous EGCS 1.1.2 /usr/libexec/cpp.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cc/cpp/Makefile,v 1.16 2000/01/02 22:57:34 obrien Exp $
d8 1
a8 1
SRCS=	gcc.c cppspec.c # version.c
d11 2
a12 2
DPADD+=	${LIBCC_DRV} ${LIBCC_FBSD}
LDADD+=	${LIBCC_DRV} ${LIBCC_FBSD}
@


1.16
log
@Didn't get these PREFIX specifiers removed with Makefile.inc rev 1.48.

Submitted by:	marcel
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cc/cpp/Makefile,v 1.15 1999/11/04 04:46:03 obrien Exp $
d8 5
a12 5
SRCS=	cccp.c cexp.y obstack.c prefix.c version.c
YFLAGS=
BINDIR=	/usr/libexec
MAN1=	cccp.1
MLINKS=	cccp.1 cpp.1
@


1.15
log
@Minor cosmetic changes in an attempt to improve consistancy.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cc/cpp/Makefile,v 1.14 1999/08/27 23:35:18 peter Exp $
a12 2

CFLAGS+= -DPREFIX=\"/usr\"
@


1.15.2.1
log
@MFC:  Add a specifiyable PREFIX.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cc/cpp/Makefile,v 1.15 1999/11/04 04:46:03 obrien Exp $
d13 2
@


1.15.2.2
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/cpp/Makefile,v 1.15.2.1 2000/01/03 04:57:37 obrien Exp $
d7 1
a7 1
PROG=	egcs-cpp
@


1.14
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
a8 1
CFLAGS+= -DPREFIX=\"/usr\"
d13 2
@


1.13
log
@Use Yacc rather than Bison.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.12 1999/04/04 16:36:35 obrien Exp $
@


1.12
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 1
#	$Id: Makefile,v 1.13 1999/03/05 04:55:03 obrien Exp $
a9 1
YACC=	${BISON}
@


1.11
log
@Simplified using new yacc rules.  This is cosmetic - the old rules worked
with `make -jN' because they did the right things to generate cexp.h
without clobbering cexp.c, and there were no missing dependencies on
cexp.h because cexp.h isn't actually used.

Fixed style bugs.
@
text
@d1 5
a5 1
#	$Id$
d8 2
a9 1
SRCS=	cccp.c cexp.y obstack.c version.c
@


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


1.10
log
@Changes to support full make parallelism (-j<n>) in the world
target.
Reviewed by:	<many different folks>
Submitted by:	Nickolay N. Dudorov" <nnd@@nnd.itfs.nsk.su>
@
text
@d1 1
a1 3
#
# $Id: Makefile,v 1.9 1997/02/22 15:44:59 peter Exp $
#
d3 4
a6 2
PROG =	cpp
SRCS =	cccp.c cexp.c
a7 1
SRCS+=	obstack.c version.c
a9 6

.ORDER: cexp.c cexp.h
cexp.c cexp.h: cexp.y
	${BISON} -d ${GCCDIR}/cexp.y -o cexp.c

CLEANFILES+= cexp.c cexp.h
@


1.9
log
@Revert $FreeBSD$ to $Id$
@
text
@d2 1
a2 1
# $Id$
d12 1
@


1.8
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.7
log
@cpp was named ccp.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.6 1996/09/23 04:14:30 peter Exp $
@


1.7.2.1
log
@MFC: parallelize
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.7 1996/09/23 16:12:38 bde Exp $
a11 1
.ORDER: cexp.c cexp.h
@


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


1.6
log
@Crude hack to work around cpp.1 doing a .so man1/cccp.1

Pointed out by: Warner Losh <imp@@village.org>, PR#1667
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.5 1996/09/19 15:47:24 peter Exp $
d10 1
a10 1
MLINKS=	cccp.1 ccp.1
@


1.5
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: Makefile,v 1.4 1994/11/15 04:52:05 phk Exp $
d9 2
@


1.4
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$
a7 1
.PATH:	${.CURDIR}/../cc_int
d9 5
@


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


1.3
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
@a4 1
.PATH:	${.CURDIR}/../cc_int
d6 1
a6 1
SRCS =	cccp.c cexp.c obstack.c version.c
d8 2
@


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
@d2 1
a2 1
# $FreeBSD$
d5 1
d7 1
a7 1
SRCS =	cccp.c cexp.c
a8 2
DPADD+=	${LIBCC_INT}
LDADD+=	-lcc_int
@


1.1
log
@Initial revision
@
text
@d8 1
a8 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
@@
