head	1.56;
access;
symbols
	RELENG_8_4:1.56.0.2
	RELENG_9_1_0_RELEASE:1.53.2.1.4.2
	RELENG_9_1:1.53.2.1.0.4
	RELENG_9_1_BP:1.53.2.1
	RELENG_8_3_0_RELEASE:1.52.10.1.8.1
	RELENG_8_3:1.52.10.1.0.8
	RELENG_8_3_BP:1.52.10.1
	RELENG_9_0_0_RELEASE:1.53.2.1.2.1
	RELENG_9_0:1.53.2.1.0.2
	RELENG_9_0_BP:1.53.2.1
	RELENG_9:1.53.0.2
	RELENG_9_BP:1.53
	RELENG_7_4_0_RELEASE:1.52.14.1
	RELENG_8_2_0_RELEASE:1.52.10.1.6.1
	RELENG_7_4:1.52.0.14
	RELENG_7_4_BP:1.52
	RELENG_8_2:1.52.10.1.0.6
	RELENG_8_2_BP:1.52.10.1
	RELENG_8_1_0_RELEASE:1.52.10.1.4.1
	RELENG_8_1:1.52.10.1.0.4
	RELENG_8_1_BP:1.52.10.1
	RELENG_7_3_0_RELEASE:1.52.12.1
	RELENG_7_3:1.52.0.12
	RELENG_7_3_BP:1.52
	RELENG_8_0_0_RELEASE:1.52.10.1.2.1
	RELENG_8_0:1.52.10.1.0.2
	RELENG_8_0_BP:1.52.10.1
	RELENG_8:1.52.0.10
	RELENG_8_BP:1.52
	RELENG_7_2_0_RELEASE:1.52.8.1
	RELENG_7_2:1.52.0.8
	RELENG_7_2_BP:1.52
	RELENG_7_1_0_RELEASE:1.52.6.1
	RELENG_6_4_0_RELEASE:1.45.2.1.6.1
	RELENG_7_1:1.52.0.6
	RELENG_7_1_BP:1.52
	RELENG_6_4:1.45.2.1.0.6
	RELENG_6_4_BP:1.45.2.1
	RELENG_7_0_0_RELEASE:1.52
	RELENG_6_3_0_RELEASE:1.45.2.1
	RELENG_7_0:1.52.0.4
	RELENG_7_0_BP:1.52
	RELENG_6_3:1.45.2.1.0.4
	RELENG_6_3_BP:1.45.2.1
	RELENG_7:1.52.0.2
	RELENG_7_BP:1.52
	RELENG_6_2_0_RELEASE:1.45.2.1
	RELENG_6_2:1.45.2.1.0.2
	RELENG_6_2_BP:1.45.2.1
	RELENG_5_5_0_RELEASE:1.44.2.1
	RELENG_5_5:1.44.2.1.0.4
	RELENG_5_5_BP:1.44.2.1
	RELENG_6_1_0_RELEASE:1.45
	RELENG_6_1:1.45.0.6
	RELENG_6_1_BP:1.45
	RELENG_6_0_0_RELEASE:1.45
	RELENG_6_0:1.45.0.4
	RELENG_6_0_BP:1.45
	RELENG_6:1.45.0.2
	RELENG_6_BP:1.45
	RELENG_5_4_0_RELEASE:1.44.2.1
	RELENG_5_4:1.44.2.1.0.2
	RELENG_5_4_BP:1.44.2.1
	RELENG_4_11_0_RELEASE:1.25.2.5
	RELENG_4_11:1.25.2.5.0.10
	RELENG_4_11_BP:1.25.2.5
	RELENG_5_3_0_RELEASE:1.44
	RELENG_5_3:1.44.0.4
	RELENG_5_3_BP:1.44
	RELENG_5:1.44.0.2
	RELENG_5_BP:1.44
	RELENG_4_10_0_RELEASE:1.25.2.5
	RELENG_4_10:1.25.2.5.0.8
	RELENG_4_10_BP:1.25.2.5
	RELENG_5_2_1_RELEASE:1.35
	RELENG_5_2_0_RELEASE:1.35
	RELENG_5_2:1.35.0.2
	RELENG_5_2_BP:1.35
	RELENG_4_9_0_RELEASE:1.25.2.5
	RELENG_4_9:1.25.2.5.0.6
	RELENG_4_9_BP:1.25.2.5
	RELENG_5_1_0_RELEASE:1.33
	RELENG_5_1:1.33.0.2
	RELENG_5_1_BP:1.33
	RELENG_4_8_0_RELEASE:1.25.2.5
	RELENG_4_8:1.25.2.5.0.4
	RELENG_4_8_BP:1.25.2.5
	RELENG_5_0_0_RELEASE:1.32
	RELENG_5_0:1.32.0.2
	RELENG_5_0_BP:1.32
	RELENG_4_7_0_RELEASE:1.25.2.5
	RELENG_4_7:1.25.2.5.0.2
	RELENG_4_7_BP:1.25.2.5
	RELENG_4_6_2_RELEASE:1.25.2.3
	RELENG_4_6_1_RELEASE:1.25.2.3
	RELENG_4_6_0_RELEASE:1.25.2.3
	RELENG_4_6:1.25.2.3.0.2
	RELENG_4_6_BP:1.25.2.3
	RELENG_4_5_0_RELEASE:1.25.2.1
	RELENG_4_5:1.25.2.1.0.6
	RELENG_4_5_BP:1.25.2.1
	WIP_GCC31:1.26.0.2
	WIP_GCC31_BP:1.26
	RELENG_4_4_0_RELEASE:1.25.2.1
	RELENG_4_4:1.25.2.1.0.4
	RELENG_4_4_BP:1.25.2.1
	RELENG_4_3_0_RELEASE:1.25.2.1
	RELENG_4_3:1.25.2.1.0.2
	RELENG_4_3_BP:1.25.2.1
	BEFORE_GCC_2_95_3:1.25.2.1
	BEFORE_GCC_2_95_3_TEST3:1.26
	RELENG_4_2_0_RELEASE:1.25.2.1
	RELENG_4_1_1_RELEASE:1.25.2.1
	PRE_SMPNG:1.26
	RELENG_4_1_0_RELEASE:1.25.2.1
	RELENG_3_5_0_RELEASE:1.15.2.1
	BEFORE_GCC_2_96_SNAPSHOT:1.26
	RELENG_4_0_0_RELEASE:1.25
	RELENG_4:1.25.0.2
	RELENG_4_BP:1.25
	EGCS_11x:1.22.0.2
	RELENG_3_4_0_RELEASE:1.15.2.1
	BEFORE_GCC_2_95_1:1.22
	RELENG_3_3_0_RELEASE:1.15.2.1
	RELENG_3_2_PAO:1.15.0.4
	RELENG_3_2_PAO_BP:1.15
	RELENG_3_2_0_RELEASE:1.15
	RELENG_3_1_0_RELEASE:1.15
	RELENG_3:1.15.0.2
	RELENG_3_BP:1.15
	RELENG_2_2_8_RELEASE:1.11.2.1
	RELENG_3_0_0_RELEASE:1.14
	RELENG_2_2_7_RELEASE:1.11.2.1
	RELENG_2_2_6_RELEASE:1.11.2.1
	RELENG_2_2_5_RELEASE:1.11.2.1
	RELENG_2_2_2_RELEASE:1.11
	RELENG_2_2_1_RELEASE:1.11
	RELENG_2_2_0_RELEASE:1.11
	RELENG_2_1_7_RELEASE:1.8
	RELENG_2_1_6_1_RELEASE:1.8
	RELENG_2_1_6_RELEASE:1.8
	RELENG_2_2:1.11.0.2
	RELENG_2_2_BP:1.11
	gcc_2_6_3_final:1.8
	RELENG_2_1_5_RELEASE:1.8
	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.8
	RELEASE_2_0:1.7
	BETA_2_0:1.7
	ALPHA_2_0:1.6.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.56
date	2013.01.18.00.34.55;	author svnexp;	state Exp;
branches
	1.56.2.1;
next	1.55;

1.55
date	2012.11.17.01.49.09;	author svnexp;	state Exp;
branches;
next	1.54;

1.54
date	2012.10.06.20.01.05;	author marcel;	state Exp;
branches;
next	1.53;

1.53
date	2010.11.10.06.39.49;	author imp;	state Exp;
branches
	1.53.2.1;
next	1.52;

1.52
date	2007.09.18.23.34.42;	author cognet;	state Exp;
branches
	1.52.2.1
	1.52.6.1
	1.52.8.1
	1.52.10.1
	1.52.12.1
	1.52.14.1;
next	1.51;

1.51
date	2007.05.19.04.25.57;	author kan;	state Exp;
branches;
next	1.50;

1.50
date	2007.03.12.00.28.06;	author kan;	state Exp;
branches;
next	1.49;

1.49
date	2006.09.18.17.08.32;	author imp;	state Exp;
branches;
next	1.48;

1.48
date	2006.09.12.07.37.44;	author obrien;	state Exp;
branches;
next	1.47;

1.47
date	2006.09.12.07.09.45;	author obrien;	state Exp;
branches;
next	1.46;

1.46
date	2006.01.14.20.48.50;	author ru;	state Exp;
branches;
next	1.45;

1.45
date	2004.10.24.15.32.27;	author ru;	state Exp;
branches
	1.45.2.1;
next	1.44;

1.44
date	2004.08.12.16.36.51;	author kan;	state Exp;
branches
	1.44.2.1;
next	1.43;

1.43
date	2004.08.03.06.40.04;	author ru;	state Exp;
branches;
next	1.42;

1.42
date	2004.07.30.14.50.52;	author kan;	state Exp;
branches;
next	1.41;

1.41
date	2004.07.28.05.27.20;	author kan;	state Exp;
branches;
next	1.40;

1.40
date	2004.02.17.03.18.24;	author ache;	state Exp;
branches;
next	1.39;

1.39
date	2004.01.12.22.02.31;	author ru;	state Exp;
branches;
next	1.38;

1.38
date	2004.01.12.20.08.20;	author ru;	state Exp;
branches;
next	1.37;

1.37
date	2004.01.12.07.46.19;	author ru;	state Exp;
branches;
next	1.36;

1.36
date	2004.01.05.20.23.16;	author kan;	state Exp;
branches;
next	1.35;

1.35
date	2003.07.31.19.41.32;	author obrien;	state Exp;
branches;
next	1.34;

1.34
date	2003.07.11.05.37.23;	author kan;	state Exp;
branches;
next	1.33;

1.33
date	2003.05.24.20.58.47;	author peter;	state Exp;
branches;
next	1.32;

1.32
date	2002.09.17.01.48.49;	author peter;	state Exp;
branches;
next	1.31;

1.31
date	2002.05.13.11.24.01;	author ru;	state Exp;
branches;
next	1.30;

1.30
date	2002.05.10.08.54.46;	author obrien;	state Exp;
branches;
next	1.29;

1.29
date	2002.04.04.00.10.59;	author obrien;	state Exp;
branches;
next	1.28;

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

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

1.26
date	2000.05.24.20.02.21;	author obrien;	state Exp;
branches
	1.26.2.1;
next	1.25;

1.25
date	2000.01.24.20.12.02;	author obrien;	state Exp;
branches
	1.25.2.1;
next	1.24;

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

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

1.22
date	99.08.27.23.35.16;	author peter;	state Exp;
branches;
next	1.21;

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

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

1.19
date	99.04.22.20.12.21;	author obrien;	state Exp;
branches;
next	1.18;

1.18
date	99.04.22.19.35.14;	author obrien;	state Exp;
branches;
next	1.17;

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

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

1.15
date	99.01.09.21.50.54;	author jdp;	state Exp;
branches
	1.15.2.1;
next	1.14;

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

1.13
date	97.01.21.18.16.02;	author jkh;	state Exp;
branches;
next	1.12;

1.12
date	97.01.14.05.56.54;	author jkh;	state Exp;
branches;
next	1.11;

1.11
date	96.09.21.17.49.45;	author jkh;	state Exp;
branches
	1.11.2.1;
next	1.10;

1.10
date	96.09.21.14.27.35;	author peter;	state Exp;
branches;
next	1.9;

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

1.8
date	95.03.13.01.30.02;	author ache;	state Exp;
branches
	1.8.4.1;
next	1.7;

1.7
date	94.11.15.04.51.40;	author phk;	state Exp;
branches;
next	1.6;

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

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

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

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

1.2
date	94.09.18.22.35.53;	author wollman;	state Exp;
branches;
next	1.1;

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

1.56.2.1
date	2013.01.18.00.34.55;	author svnexp;	state dead;
branches;
next	1.56.2.2;

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

1.53.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.53.2.1.2.1
	1.53.2.1.4.1;
next	1.53.2.2;

1.53.2.2
date	2012.11.17.11.36.13;	author svnexp;	state Exp;
branches;
next	1.53.2.3;

1.53.2.3
date	2013.12.15.04.02.32;	author svnexp;	state Exp;
branches;
next	;

1.53.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.53.2.1.2.2;

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

1.53.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.53.2.1.4.2;

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

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

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

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

1.52.10.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.52.10.1.2.1
	1.52.10.1.4.1
	1.52.10.1.6.1
	1.52.10.1.8.1;
next	1.52.10.2;

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

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

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

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

1.52.10.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.52.10.1.8.2;

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

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

1.52.14.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.52.14.2;

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

1.45.2.1
date	2006.09.29.01.50.03;	author obrien;	state Exp;
branches
	1.45.2.1.6.1;
next	1.45.2.2;

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

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

1.44.2.1
date	2005.02.13.07.23.08;	author obrien;	state Exp;
branches;
next	;

1.26.2.1
date	2001.12.18.03.13.22;	author obrien;	state Exp;
branches;
next	1.26.2.2;

1.26.2.2
date	2002.04.04.18.30.57;	author obrien;	state Exp;
branches;
next	1.26.2.3;

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

1.25.2.1
date	2000.07.04.05.41.39;	author obrien;	state Exp;
branches;
next	1.25.2.2;

1.25.2.2
date	2002.03.02.09.24.59;	author obrien;	state Exp;
branches;
next	1.25.2.3;

1.25.2.3
date	2002.04.03.03.22.35;	author obrien;	state Exp;
branches;
next	1.25.2.4;

1.25.2.4
date	2002.06.20.23.13.31;	author obrien;	state Exp;
branches;
next	1.25.2.5;

1.25.2.5
date	2002.07.19.18.46.23;	author ru;	state Exp;
branches;
next	1.25.2.6;

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

1.15.2.1
date	99.08.29.14.32.38;	author peter;	state Exp;
branches;
next	;

1.11.2.1
date	97.06.29.06.05.09;	author pst;	state Exp;
branches;
next	1.11.2.2;

1.11.2.2
date	99.09.05.11.06.19;	author peter;	state Exp;
branches;
next	;

1.8.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.38;	author phk;	state Exp;
branches;
next	;


desc
@@


1.56
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/cc_int/Makefile 245539 2013-01-17 05:56:28Z andrew $

.include <bsd.own.mk>

.include "../Makefile.inc"
.include "../Makefile.ver"

.PATH: ../cc_tools ${GCCDIR} ${GCCDIR}/config/${GCC_CPU}

LIB=	backend
INTERNALLIB=

EXTRA_OBJS=
GGC=		ggc-page.o
host_hook_obj=	host-default.o

#
# Most lists copied verbatim from GCC Makefiles.
#
OBJS-common = \
 double-int.o tree-chrec.o tree-scalar-evolution.o tree-data-ref.o	   \
 tree-cfg.o tree-dfa.o tree-eh.o tree-ssa.o tree-optimize.o tree-gimple.o  \
 gimplify.o tree-pretty-print.o tree-into-ssa.o				   \
 tree-outof-ssa.o tree-ssa-ccp.o tree-vn.o tree-ssa-uncprop.o		   \
 tree-ssa-dce.o  tree-ssa-copy.o tree-nrv.o tree-ssa-copyrename.o	   \
 tree-ssa-pre.o tree-ssa-live.o tree-ssa-operands.o tree-ssa-alias.o       \
 tree-ssa-phiopt.o tree-ssa-forwprop.o tree-nested.o tree-ssa-dse.o	   \
 tree-ssa-dom.o domwalk.o tree-tailcall.o gimple-low.o tree-iterator.o	   \
 omp-low.o tree-phinodes.o tree-ssanames.o tree-sra.o tree-complex.o	   \
 tree-vect-generic.o tree-ssa-loop.o tree-ssa-loop-niter.o		   \
 tree-ssa-loop-manip.o tree-ssa-threadupdate.o tree-ssa-threadedge.o	   \
 tree-vectorizer.o tree-vect-analyze.o tree-vect-transform.o		   \
 tree-vect-patterns.o tree-ssa-loop-prefetch.o				   \
 tree-ssa-loop-ivcanon.o tree-ssa-propagate.o tree-ssa-address.o	   \
 tree-ssa-math-opts.o							   \
 tree-ssa-loop-ivopts.o tree-if-conv.o tree-ssa-loop-unswitch.o		   \
 alias.o bb-reorder.o bitmap.o builtins.o caller-save.o calls.o	  	   \
 cfg.o cfganal.o cfgbuild.o cfgcleanup.o cfglayout.o cfgloop.o		   \
 cfgloopanal.o cfgloopmanip.o loop-init.o loop-unswitch.o loop-unroll.o	   \
 cfgrtl.o combine.o conflict.o convert.o coverage.o cse.o cselib.o 	   \
 dbxout.o ddg.o tree-ssa-loop-ch.o loop-invariant.o tree-ssa-loop-im.o	   \
 debug.o df-core.o df-problems.o df-scan.o dfp.o diagnostic.o dojump.o     \
 dominance.o loop-doloop.o	   					   \
 dwarf2asm.o dwarf2out.o emit-rtl.o except.o explow.o loop-iv.o		   \
 expmed.o expr.o final.o flow.o fold-const.o function.o gcse.o		   \
 genrtl.o ggc-common.o global.o graph.o gtype-desc.o			   \
 haifa-sched.o hooks.o ifcvt.o insn-attrtab.o insn-emit.o insn-modes.o	   \
 insn-extract.o insn-opinit.o insn-output.o insn-peep.o insn-recog.o	   \
 integrate.o intl.o jump.o  langhooks.o lcm.o lists.o local-alloc.o  	   \
 mode-switching.o modulo-sched.o optabs.o options.o opts.o opts-common.o \
 params.o postreload.o postreload-gcse.o predict.o			   \
 insn-preds.o insn-automata.o pointer-set.o 			   	   \
 print-rtl.o print-tree.o profile.o value-prof.o var-tracking.o		   \
 real.o recog.o reg-stack.o regclass.o regmove.o regrename.o		   \
 reload.o reload1.o reorg.o resource.o rtl.o rtlanal.o rtl-error.o	   \
 sbitmap.o sched-deps.o sched-ebb.o sched-rgn.o sched-vis.o sdbout.o	   \
 see.o simplify-rtx.o sreal.o stmt.o stor-layout.o stringpool.o		   \
 struct-equiv.o targhooks.o timevar.o toplev.o tracer.o tree.o tree-dump.o \
 varasm.o varray.o vec.o version.o vmsdbgout.o xcoffout.o alloc-pool.o	   \
 et-forest.o cfghooks.o bt-load.o pretty-print.o $(GGC) web.o passes.o     \
 tree-profile.o rtlhooks.o cfgexpand.o lambda-mat.o    			   \
 lambda-trans.o	lambda-code.o tree-loop-linear.o tree-ssa-sink.o 	   \
 tree-vrp.o tree-stdarg.o tree-cfgcleanup.o tree-ssa-reassoc.o		   \
 tree-ssa-structalias.o tree-object-size.o 				   \
 rtl-factoring.o

OBJS-archive=	$(EXTRA_OBJS) $(host_hook_obj) tree-inline.o		   \
  cgraph.o cgraphunit.o tree-nomudflap.o ipa.o ipa-inline.o		   \
  ipa-utils.o ipa-reference.o ipa-pure-const.o ipa-type-escape.o	   \
  ipa-prop.o ipa-cp.o

OBJS-md=  ${GCC_CPU}.o
.if exists(${GCCDIR}/config/${GCC_CPU}/${GCC_CPU}-c.c)
OBJS-md+= ${GCC_CPU}-c.o
.endif

# Target specific, C specific object file
C_TARGET_OBJS=

# Language-specific object files for C and Objective C.
C_AND_OBJC_OBJS = attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o \
  c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o \
  c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o \
  c-objc-common.o c-dump.o c-pch.o c-parser.o $(C_TARGET_OBJS) \
  c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o

# Language-specific object files for C.
C_OBJS = c-lang.o stub-objc.o $(C_AND_OBJC_OBJS)

# Put objC stub objects in library. objc frontend will override it
# Put dummy checksum object in library too. It will be overridden
# by each indidual front-end binary as needed.
OBJS-dummy=  stub-objc.o dummy-checksum.o

OBJS-all=  ${OBJS-common} ${OBJS-archive} ${OBJS-md} ${C_AND_OBJC_OBJS} \
	   ${OBJS-dummy}

SRCS+= ${OBJS-all:R:S/$/.c/g}

toplev.o:	toplev.c
	${CC} ${CFLAGS} -DTARGET_NAME=\"${GCC_TARGET}\" -c ${.IMPSRC}

# make sure we don't find .o's in ../cc_tools/
CLEANFILES+= ${OBJS-all}

.include <bsd.lib.mk>
@


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


1.56.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 105
# $FreeBSD: releng/8.4/gnu/usr.bin/cc/cc_int/Makefile 172234 2007-09-18 23:34:42Z cognet $

.include "../Makefile.inc"
.include "../Makefile.ver"

.PATH: ../cc_tools ${GCCDIR} ${GCCDIR}/config/${GCC_CPU}

LIB=	backend
INTERNALLIB=

EXTRA_OBJS=
GGC=		ggc-page.o
host_hook_obj=	host-default.o

#
# Most lists copied verbatim from GCC Makefiles.
#
OBJS-common = \
 double-int.o tree-chrec.o tree-scalar-evolution.o tree-data-ref.o	   \
 tree-cfg.o tree-dfa.o tree-eh.o tree-ssa.o tree-optimize.o tree-gimple.o  \
 gimplify.o tree-pretty-print.o tree-into-ssa.o				   \
 tree-outof-ssa.o tree-ssa-ccp.o tree-vn.o tree-ssa-uncprop.o		   \
 tree-ssa-dce.o  tree-ssa-copy.o tree-nrv.o tree-ssa-copyrename.o	   \
 tree-ssa-pre.o tree-ssa-live.o tree-ssa-operands.o tree-ssa-alias.o       \
 tree-ssa-phiopt.o tree-ssa-forwprop.o tree-nested.o tree-ssa-dse.o	   \
 tree-ssa-dom.o domwalk.o tree-tailcall.o gimple-low.o tree-iterator.o	   \
 omp-low.o tree-phinodes.o tree-ssanames.o tree-sra.o tree-complex.o	   \
 tree-vect-generic.o tree-ssa-loop.o tree-ssa-loop-niter.o		   \
 tree-ssa-loop-manip.o tree-ssa-threadupdate.o tree-ssa-threadedge.o	   \
 tree-vectorizer.o tree-vect-analyze.o tree-vect-transform.o		   \
 tree-vect-patterns.o tree-ssa-loop-prefetch.o				   \
 tree-ssa-loop-ivcanon.o tree-ssa-propagate.o tree-ssa-address.o	   \
 tree-ssa-math-opts.o							   \
 tree-ssa-loop-ivopts.o tree-if-conv.o tree-ssa-loop-unswitch.o		   \
 alias.o bb-reorder.o bitmap.o builtins.o caller-save.o calls.o	  	   \
 cfg.o cfganal.o cfgbuild.o cfgcleanup.o cfglayout.o cfgloop.o		   \
 cfgloopanal.o cfgloopmanip.o loop-init.o loop-unswitch.o loop-unroll.o	   \
 cfgrtl.o combine.o conflict.o convert.o coverage.o cse.o cselib.o 	   \
 dbxout.o ddg.o tree-ssa-loop-ch.o loop-invariant.o tree-ssa-loop-im.o	   \
 debug.o df-core.o df-problems.o df-scan.o dfp.o diagnostic.o dojump.o     \
 dominance.o loop-doloop.o	   					   \
 dwarf2asm.o dwarf2out.o emit-rtl.o except.o explow.o loop-iv.o		   \
 expmed.o expr.o final.o flow.o fold-const.o function.o gcse.o		   \
 genrtl.o ggc-common.o global.o graph.o gtype-desc.o			   \
 haifa-sched.o hooks.o ifcvt.o insn-attrtab.o insn-emit.o insn-modes.o	   \
 insn-extract.o insn-opinit.o insn-output.o insn-peep.o insn-recog.o	   \
 integrate.o intl.o jump.o  langhooks.o lcm.o lists.o local-alloc.o  	   \
 mode-switching.o modulo-sched.o optabs.o options.o opts.o opts-common.o \
 params.o postreload.o postreload-gcse.o predict.o			   \
 insn-preds.o insn-automata.o pointer-set.o 			   	   \
 print-rtl.o print-tree.o profile.o value-prof.o var-tracking.o		   \
 real.o recog.o reg-stack.o regclass.o regmove.o regrename.o		   \
 reload.o reload1.o reorg.o resource.o rtl.o rtlanal.o rtl-error.o	   \
 sbitmap.o sched-deps.o sched-ebb.o sched-rgn.o sched-vis.o sdbout.o	   \
 see.o simplify-rtx.o sreal.o stmt.o stor-layout.o stringpool.o		   \
 struct-equiv.o targhooks.o timevar.o toplev.o tracer.o tree.o tree-dump.o \
 varasm.o varray.o vec.o version.o vmsdbgout.o xcoffout.o alloc-pool.o	   \
 et-forest.o cfghooks.o bt-load.o pretty-print.o $(GGC) web.o passes.o     \
 tree-profile.o rtlhooks.o cfgexpand.o lambda-mat.o    			   \
 lambda-trans.o	lambda-code.o tree-loop-linear.o tree-ssa-sink.o 	   \
 tree-vrp.o tree-stdarg.o tree-cfgcleanup.o tree-ssa-reassoc.o		   \
 tree-ssa-structalias.o tree-object-size.o 				   \
 rtl-factoring.o

OBJS-archive=	$(EXTRA_OBJS) $(host_hook_obj) tree-inline.o		   \
  cgraph.o cgraphunit.o tree-nomudflap.o ipa.o ipa-inline.o		   \
  ipa-utils.o ipa-reference.o ipa-pure-const.o ipa-type-escape.o	   \
  ipa-prop.o ipa-cp.o

OBJS-md=  ${GCC_CPU}.o
.if exists(${GCCDIR}/config/${GCC_CPU}/${GCC_CPU}-c.c)
OBJS-md+= ${GCC_CPU}-c.o
.endif

# Target specific, C specific object file
C_TARGET_OBJS=

.if ${TARGET_ARCH} == "arm" && defined(TARGET_BIG_ENDIAN)
CFLAGS += -DTARGET_ENDIAN_DEFAULT=MASK_BIG_END
.endif

# Language-specific object files for C and Objective C.
C_AND_OBJC_OBJS = attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o \
  c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o \
  c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o \
  c-objc-common.o c-dump.o c-pch.o c-parser.o $(C_TARGET_OBJS) \
  c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o

# Language-specific object files for C.
C_OBJS = c-lang.o stub-objc.o $(C_AND_OBJC_OBJS)

# Put objC stub objects in library. objc frontend will override it
# Put dummy checksum object in library too. It will be overridden
# by each indidual front-end binary as needed.
OBJS-dummy=  stub-objc.o dummy-checksum.o

OBJS-all=  ${OBJS-common} ${OBJS-archive} ${OBJS-md} ${C_AND_OBJC_OBJS} \
	   ${OBJS-dummy}

SRCS+= ${OBJS-all:R:S/$/.c/g}

toplev.o:	toplev.c
	${CC} ${CFLAGS} -DTARGET_NAME=\"${GCC_TARGET}\" -c ${.IMPSRC}

.include <bsd.lib.mk>
@


1.55
log
@Switching exporter and resync
@
text
@d1 3
a3 1
# $FreeBSD: head/gnu/usr.bin/cc/cc_int/Makefile 241298 2012-10-06 20:01:05Z marcel $
@


1.54
log
@SVN rev 241298 on 2012-10-06 20:01:05Z by marcel

Add support for bmake. This includes:
1.  Don't do upgrade_checks when using bmake. As long as we have WITH_BMAKE,
    there's a bootstrap complication in ths respect. Avoid it. Make the
    necessary changes to have upgrade_checks work wth bmake anyway.
2.  Remove the use of -E. It's not needed in our build because we use ?= for
    the respective variables, which means that we'll take the environment
    value (if any) anyway.
3.  Properly declare phony targets as phony as bmake is a lot smarter (and
    thus agressive) about build avoidance.
4.  Make sure CLEANFILES is complete and use it on .NOPATH. bmake is a lot
    smarter about build avoidance and should not find files we generate in
    the source tree. We should not have files in the repository we want to
    generate, but this is an easier way to cross this hurdle.
5.  Have behavior under bmake the same as it is under make with respect to
    halting when sub-commands fail. Add "set -e" to compound commands so
    that bmake is informed when sub-commands fail.
6.  Make sure crunchgen uses the same make as the rest of the build. This
    is important when the make utility isn't called make (but bmake for
    example).
7.  While here, add support for using MAKEOBJDIR to set the object tree
    location. It's the second alternative bmake looks for when determining
    the actual object directory (= .OBJDIR).

Submitted by:	Simon Gerraty <sjg@@juniper.net>
Submitted by:	John Van Horne <jvanhorne@@juniper.net>
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.53
log
@SVN rev 215082 on 2010-11-10 06:39:49Z by imp

Complete the integration of tbemd branch into head.

TARGET_BIG_ENDIAN is now completely dead, except where it was
originally supposed to be used (internally in the toolchain building).

TARGET_ARCH has changed in three cases:
(1) Little endian mips has changed to mipsel.
(2) Big endian mips has changed to mipseb.
(3) Big endian arm has changed to armeb.

Some additional changes are needed to make 'make universe' work on arm
and mips after this change, so those are commented out for now.

UPDATING information will be forthcoming.  Any remaining rough edges
will be hammered out in -current.
@
text
@d101 3
@


1.53.2.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.53.2.2
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/cc_int/Makefile 215082 2010-11-10 06:39:49Z imp $
@


1.53.2.3
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/259406
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/gnu/usr.bin/cc/cc_int/Makefile 259406 2013-12-15 03:48:54Z pfg $
a24 1
 tree-ssa-alias-warnings.o						   \
@


1.53.2.1.4.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.53.2.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/gnu/usr.bin/cc/cc_int/Makefile 215082 2010-11-10 06:39:49Z imp $
@


1.53.2.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.53.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/gnu/usr.bin/cc/cc_int/Makefile 215082 2010-11-10 06:39:49Z imp $
@


1.52
log
@Make gcc default to big endian when building it for a big endian target.
This was lost while migrating to gcc4.

Reported by:	Michael Reifenberger <mike at Reifenberger dot com>
Approved by:	re (blanket)
@
text
@a77 4
.if ${TARGET_ARCH} == "arm" && defined(TARGET_BIG_ENDIAN)
CFLAGS += -DTARGET_ENDIAN_DEFAULT=MASK_BIG_END
.endif

@


1.52.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/gnu/usr.bin/cc/cc_int/Makefile 172234 2007-09-18 23:34:42Z cognet $
@


1.52.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.52.14.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/gnu/usr.bin/cc/cc_int/Makefile 172234 2007-09-18 23:34:42Z cognet $
@


1.52.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.52.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.52.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/cc_int/Makefile 172234 2007-09-18 23:34:42Z cognet $
@


1.52.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.52.10.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/gnu/usr.bin/cc/cc_int/Makefile 172234 2007-09-18 23:34:42Z cognet $
@


1.52.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.52.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.52.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.52.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.52.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.51
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
@d78 4
@


1.50
log
@Minor Makefile cleanup. Do not use Makefile variables named 'version' and
'target'. Latter is problematic in particular as apparently FreeBSD's
bsd.prog.mk re-defines it under some circumstances. This causes an
unexpected failures like -dumpmachine not working for cc while working
fine for c++.

Do not re-define IN_GCC in multipe places, it gets inherited from
Makefile.in anyway.

PR:		gnu/110143
Submitted by:	usleepless at gmail
@
text
@d4 1
d6 1
a6 1
.PATH: ../cc_tools ${GCCDIR}/config/${GCC_CPU} ${GCCDIR}
d8 1
a8 1
LIB=		cc_int
d11 58
a68 39
# Files from libiberty.
SRCS=	choose-temp.c concat.c cp-demangle.c cp-demint.c cplus-dem.c \
	dyn-string.c fibheap.c getpwd.c getruntime.c hashtab.c hex.c \
	lbasename.c make-temp-file.c md5.c obstack.c partition.c pex-unix.c \
	physmem.c splay-tree.c xexit.c xmalloc.c xmemdup.c xstrdup.c xstrerror.c

# Language-independent files.
SRCS+=	alias.c bb-reorder.c bitmap.c builtins.c caller-save.c calls.c \
	cfg.c cfganal.c cfgbuild.c cfgcleanup.c cfglayout.c cfgloop.c \
	cfgloopanal.c cfgloopmanip.c loop-init.c loop-unswitch.c loop-unroll.c \
	cfgrtl.c combine.c conflict.c convert.c coverage.c cse.c cselib.c \
	dbxout.c debug.c df.c diagnostic.c dojump.c doloop.c dominance.c \
	dwarf2asm.c dwarf2out.c emit-rtl.c except.c explow.c \
	expmed.c expr.c final.c flow.c fold-const.c function.c gcse.c \
	genrtl.c ggc-common.c global.c graph.c gtype-desc.c \
	haifa-sched.c hooks.c ifcvt.c  \
	integrate.c intl.c jump.c  langhooks.c lcm.c lists.c local-alloc.c \
	loop.c optabs.c options.c opts.c params.c postreload.c predict.c \
	print-rtl.c print-tree.c value-prof.c \
	profile.c ra.c ra-build.c ra-colorize.c ra-debug.c ra-rewrite.c \
	real.c recog.c reg-stack.c regclass.c regmove.c regrename.c \
	reload.c reload1.c reorg.c resource.c rtl.c rtlanal.c rtl-error.c \
	sbitmap.c sched-deps.c sched-ebb.c sched-rgn.c sched-vis.c sdbout.c \
	sibcall.c simplify-rtx.c sreal.c stmt.c stor-layout.c stringpool.c \
	targhooks.c timevar.c toplev.c tracer.c tree.c tree-dump.c unroll.c \
	varasm.c varray.c version.c vmsdbgout.c xcoffout.c alloc-pool.c \
	et-forest.c cfghooks.c bt-load.c pretty-print.c ggc-page.c web.c

# Miscellaneous files.
SRCS+=	hashtable.c tree-inline.c tree-optimize.c cgraph.c cgraphunit.c

# Host hooks.
SRCS+=	host-default.c

# C and ObjC files.
SRCS+=	attribs.c c-errors.c c-lex.c c-pragma.c c-decl.c c-typeck.c \
	c-convert.c c-aux-info.c c-common.c c-opts.c c-format.c c-semantics.c \
	c-incpath.c cppdefault.c c-ppoutput.c c-cppbuiltin.c prefix.c \
	c-objc-common.c c-dump.c c-pch.c
d70 1
a70 5
# Files shared by cc1plus, cc1 and cc1obj
SRCS+=	c-pretty-print.c

# Machine-dependent files.
SRCS+=	${GCC_CPU}.c
d72 1
a72 1
SRCS+=	${GCC_CPU}-c.c
d75 17
a91 20
# libcpp files.
SRCS+=	cpplib.c cpplex.c cppmacro.c cppexp.c cppfiles.c cpptrad.c \
	cpphash.c cpperror.c cppinit.c cppcharset.c \
	line-map.c mkdeps.c cpppch.c

# insn-* gunk -- headers are built in cc_tools, as they are used by the
# "build-tools"
.for F in attrtab emit extract opinit output peep recog
SRCS+=	insn-$F.c
CLEANFILES+= insn-$F.c
insn-$F.c: ${.OBJDIR}/../cc_tools/gen$F ${MD_FILE}
	${.OBJDIR}/../cc_tools/gen$F ${MD_FILE} > insn-$F.c \
	    ${.MAKEFLAGS:M-s:S;-s;2>/dev/null;}
.endfor
.for F in modes
SRCS+=	insn-$F.c
CLEANFILES+= insn-$F.c
insn-$F.c: ${.OBJDIR}/../cc_tools/gen$F
	${.OBJDIR}/../cc_tools/gen$F > insn-$F.c
.endfor
d93 2
a94 2
CFLAGS+=	-DHAVE_CONFIG_H
CFLAGS+=	-DTARGET_NAME=\"${GCC_TARGET}\"
d96 1
a96 3
.if ${TARGET_ARCH} == "arm" && defined(TARGET_BIG_ENDIAN)
CFLAGS += -DTARGET_ENDIAN_DEFAULT=ARM_FLAG_BIG_END
.endif
d98 2
a99 5
# c-pch.o needs extra defines. Replicate the rule here rather than
# pollute compiler command line for all other files.
c-pch.o: c-pch.c
	${CC} ${CFLAGS} -DHOST_MACHINE=\"${host}\" \
		 -DTARGET_MACHINE=\"${GCC_TARGET}\" -c ${.IMPSRC}
@


1.49
log
@Add additional support for generating code for the arm.  There's still
a few issues in other parts of the tree, but those will be resolved
separately.

Submitted by: cogenet@@
Reviewed by: kan@@, obrien@@
MFC After: 5 days
@
text
@d81 1
a81 1
CFLAGS+=	-DTARGET_NAME=\"${target}\" -DIN_GCC
d91 1
a91 1
		 -DTARGET_MACHINE=\"${target}\" -c ${.IMPSRC}
@


1.48
log
@Move to more global Makefile.tgt vs. having to define in the leaves.
@
text
@d83 4
@


1.47
log
@Default to big endian ARM if "TARGET_BIG_ENDIAN" is defined (& targeting ARM).
@
text
@a82 4
.if ${TARGET_ARCH} == "arm" && defined(TARGET_BIG_ENDIAN)
CFLAGS+=	-DTARGET_ENDIAN_DEFAULT=ARM_FLAG_BIG_END
.endif

@


1.46
log
@Don't pollute output when "make" is run with -s.

Approved by:	kan
@
text
@d83 4
@


1.45
log
@For variables that are only checked with defined(), don't provide
any fake value.
@
text
@d70 2
a71 1
	${.OBJDIR}/../cc_tools/gen$F ${MD_FILE} > insn-$F.c
@


1.45.2.1
log
@MFC: default to big endian ARM if "TARGET_BIG_ENDIAN" is defined.

Approved by:	re(KEN)
@
text
@a81 4
.if ${TARGET_ARCH} == "arm" && defined(TARGET_BIG_ENDIAN)
CFLAGS += -DTARGET_ENDIAN_DEFAULT=ARM_FLAG_BIG_END
.endif

@


1.45.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/gnu/usr.bin/cc/cc_int/Makefile 162753 2006-09-29 01:50:03Z obrien $
@


1.45.2.1.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.44
log
@Consolidate libiberty files in one place and avoid listing some
of them in several places.

Noticed by:	bsdimp
@
text
@d8 1
a8 1
INTERNALLIB=	YES
@


1.44.2.1
log
@MFC: For variables that are only checked with defined(), don't provide
     any fake value.
@
text
@d8 1
a8 1
INTERNALLIB=
@


1.43
log
@Whitespace nit.

OK'ed by:	kan
@
text
@d12 3
a14 4
	dyn-string.c fibheap.c getpwd.c getruntime.c hashtab.c \
	hex.c lbasename.c make-temp-file.c md5.c obstack.c partition.c \
	pexecute.c physmem.c splay-tree.c xexit.c xmalloc.c xmemdup.c \
	xstrdup.c xstrerror.c xexit.c
@


1.42
log
@Fix a copy and paste error. Do not include errors.c in libgcc_int.a,
it is only used by build tools.

Submitted by:	grehan
@
text
@d12 1
a12 1
        dyn-string.c fibheap.c getpwd.c getruntime.c hashtab.c \
@


1.41
log
@Bmake glue for GCC 3.4.2-prerelease.
@
text
@d12 1
a12 1
        dyn-string.c errors.c fibheap.c getpwd.c getruntime.c hashtab.c \
@


1.40
log
@Remove getopt*.c, we already have compatible getopt_long() in libc
(cc toolchain use it rarely, so no surprizes should occurse)
@
text
@d5 1
a5 1
.PATH: ../cc_tools ${GCCDIR}/config/${GCC_CPU} ${GCCDIR} ${GCCDIR}/../libiberty
d10 40
a49 18
#	dbxout.c dwarfout.c emit-rtl.c explow.c expmed.c expr.c \
#	alias.c bitmap.c dwarf2out.c dyn-string.c \
SRCS=	c-common.c c-dump.c c-format.c c-opts.c \
	c-pragma.c c-semantics.c \
	caller-save.c calls.c combine.c convert.c cse.c \
	dbxout.c dwarfout.c dwarf2out.c dwarf2asm.c emit-rtl.c explow.c expmed.c expr.c \
	final.c flow.c fold-const.c function.c getpwd.c global.c graph.c \
	gtype-desc.c haifa-sched.c \
	integrate.c jump.c lcm.c local-alloc.c loop.c optabs.c \
	print-rtl.c print-tree.c \
	ra.c ra-build.c ra-colorize.c ra-debug.c ra-rewrite.c \
	real.c recog.c reg-stack.c regclass.c \
	reload.c reload1.c reorg.c rtl.c rtlanal.c \
	sbitmap.c sdbout.c stmt.c stor-layout.c \
	toplev.c tracer.c tree.c unroll.c varasm.c xcoffout.c \
	alias.c bitmap.c dyn-string.c \
	genrtl.c profile.c regmove.c varray.c \
	attribs.c cselib.c debug.c rtl-error.c tree-dump.c tree-inline.c
d51 4
d60 4
a63 3
SRCS+=	bb-reorder.c conflict.c ggc-common.c \
	ggc-page.c ifcvt.c lists.c predict.c regrename.c resource.c sibcall.c \
	simplify-rtx.c ssa.c timevar.c ssa-dce.c ssa-ccp.c df.c fibheap.c
d73 6
a79 26
#	shared between the drivers
SRCS+=	multilib.h choose-temp.c obstack.c prefix.c pexecute.c version.c mbchar.c concat.c make-temp-file.c
#	C_AND_OBJC_OBJS
#SRCS+=	attribs.c c-errors.c c-lex.c c-pragma.c c-decl.c c-typeck.c \
#	c-convert.c c-aux-info.c c-common.c c-format.c c-semantics.c \
#	c-objc-common.c

#	XXX: shared by cc1, cc1obj & cpp0
#	cc1plus seems to be able to tolerate these here,
#	BUT only if the right .o's are specified in cc1plus/Makefile
SRCS+=	c-typeck.c \
	c-errors.c c-convert.c c-aux-info.c c-objc-common.c

#	libbackend
SRCS+=	builtins.c diagnostic.c doloop.c dominance.c et-forest.c \
	except.c gcse.c params.c sched-deps.c sched-vis.c sched-rgn.c sched-ebb.c \
	stringpool.c c-lex.c langhooks.c hashtable.c \
	hooks.c \
	cfg.c cfganal.c cfgbuild.c cfgcleanup.c cfglayout.c cfgloop.c cfgrtl.c

#	libcpp
SRCS+=	cppdefault.c cpperror.c cppexp.c cppfiles.c cppinit.c cpphash.c \
	cpplex.c cpplib.c cppmacro.c cppmain.c cpptrad.c mkdeps.c line-map.c

#	stuff that makes libiberty now required (2.95) and shouldn't be...
SRCS+=  splay-tree.c hashtab.c partition.c lbasename.c md5.c hex.c xmemdup.c physmem.c
a80 1

a81 3
.if defined(TARGET_CPU_DEFAULT)
CFLAGS+=	-DTARGET_CPU_DEFAULT=${TARGET_CPU_DEFAULT}
.endif
d83 5
a87 6
UNDERSCORES=	0
SRCS+=	underscore.c
CLEANFILES+=	underscore.c
underscore.c: Makefile
	echo '/*WARNING: This file is automatically generated!*/' >${.TARGET}
	echo "int prepends_underscore = ${UNDERSCORES};"	  >>${.TARGET}
@


1.39
log
@Last revision also added duplicate SRCS.  Fixed this so that
the resulting .a library has only unique .o files.

Noticed by:	bde
@
text
@d72 1
a72 1
SRCS+=	splay-tree.c hashtab.c partition.c lbasename.c md5.c hex.c getopt.c getopt1.c xmemdup.c physmem.c
@


1.38
log
@Don't put objects in SRCS -- this creates all sort of havoc like
causing objects to be built during "make depend", missed sources
in .depend, etc.
@
text
@d58 1
a58 1
		c-errors.c c-pragma.c c-convert.c c-aux-info.c c-common.c c-format.c c-semantics.c c-objc-common.c
@


1.37
log
@Removed duplicate SRCS.
@
text
@d50 3
a52 3
#SRCS+=	attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o \
#	c-convert.o c-aux-info.o c-common.o c-format.o c-semantics.o \
#	c-objc-common.o
d58 1
a58 1
		c-errors.o c-pragma.o c-convert.o c-aux-info.o c-common.o c-format.o c-semantics.o c-objc-common.o
@


1.36
log
@Stop compiling files which are not part of GCC 3.3.x.
@
text
@d24 1
a24 1
	toplev.c tracer.c tree.c unroll.c varasm.c version.c xcoffout.c \
d26 1
a26 1
	gcse.c genrtl.c profile.c regmove.c varray.c \
d48 1
a48 1
SRCS+=	multilib.h choose-temp.c obstack.c prefix.c pexecute.c version.c mbchar.c concat.c make-temp-file.c underscore.c
d57 1
a57 1
SRCS+=	c-lex.c c-typeck.c \
d72 1
a72 1
SRCS+=	obstack.c splay-tree.c hashtab.c partition.c lbasename.c md5.c hex.c getopt.c getopt1.c xmemdup.c physmem.c
@


1.35
log
@If ${GCC_CPU}-c.c exists, we need to use it.
@
text
@d17 1
a17 1
	gtype-desc.c hash.c haifa-sched.c \
@


1.34
log
@Update bmake bits to build GCC 3.3.1-prerelease.
@
text
@d30 3
@


1.33
log
@Add a temporary indirect patch for gcc when targeting amd64.  This is to
give the cvs tree a surviving a 'make world'.  One of the two diff chunks
is already in gcc-3.3, the other has been committed to gcc's HEAD and
is in the pipeline for gcc-3.3.1 (but has not been committed yet).

The first chunk simplifies an excessively complex assembler statement
when generating switch jump tables.  The use of '.' causes as(1) to choke
on big files.  Use a simpler form instead.  This is only an issue for
TARGET_64BIT mode.

The second chunk fixes an internal compiler error when compiling
libc/stdio/vfprinf.c.  While this is supposedly only an issue for
64 bit mode, it does touch the 32 bit i386 code paths, so this patch
is only applied for TARGET_ARCH == amd64 to keep the risks down.
Breaking gcc at the 11th hour would suck.

This will be removed when it is time to import gcc-3.3.

Discussed with:	kan
Approved by:	re (jhb)
@
text
@d5 1
a5 1
.PATH: ../cc_tools ${GCCDIR}/config/${GCC_CPU} ${GCCDIR}		${GCCDIR}/../libiberty
d12 1
a12 1
SRCS=	             c-common.c             c-format.c \
a13 1
	                    \
d17 1
a17 1
	hash.c haifa-sched.c \
d19 3
a21 1
	print-rtl.c print-tree.c real.c recog.c reg-stack.c regclass.c \
d24 1
a24 1
	toplev.c tree.c unroll.c varasm.c version.c xcoffout.c \
a28 1
.if ${TARGET_ARCH} != "amd64"
a29 9
.else
SRCS+=	i386-hacked.c
CLEANFILES+=	i386-hacked.c

i386-hacked.c:	${GCCDIR}/config/i386/i386.c amd64.patch
	rm -f i386-hacked.c		# in case p4 readonly copied
	cp ${GCCDIR}/config/i386/i386.c i386-hacked.c
	patch -b .orig < ${.CURDIR}/amd64.patch
.endif
d58 2
a59 1
SRCS+=	builtins.c       diagnostic.c doloop.c dominance.c except.c gcse.c params.c sched-deps.c sched-vis.c sched-rgn.c sched-ebb.c \
d66 1
a66 1
	cpplex.c cpplib.c cppmacro.c mkdeps.c line-map.c
d69 1
a69 1
SRCS+=	obstack.c splay-tree.c hashtab.c partition.c lbasename.c md5.c hex.c getopt.c getopt1.c
@


1.32
log
@Initiate deorbit burn for the i386-only a.out related support.  Moves are
under way to move the remnants of the a.out toolchain to ports.  As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL.  It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha
@
text
@d26 13
a38 2
	attribs.c cselib.c debug.c rtl-error.c tree-dump.c tree-inline.c \
	${GCC_CPU}.c
@


1.31
log
@Mark all internal libraries with INTERNALLIB.
@
text
@a73 3
.if ${OBJFORMAT} == aout
UNDERSCORES=	1
.else
a74 1
.endif
@


1.30
log
@Bmake bits for Gcc 3.1.

Partially made possible by:	Wilko.Bulte@@compaq.com
@
text
@d8 1
a8 2
NOPROFILE=	YES
NOPIC=		YES
a83 3

install:
	@@true
@


1.29
log
@Get rid of GCC_ARCH, and just use plain TARGET_ARCH.
We got rid of the MIPS le/be stuff that needed this a long time ago.
@
text
@d5 1
a5 1
.PATH: ../cc_tools ${GCCDIR}/config/${TARGET_ARCH} ${GCCDIR}
d11 5
a15 2
SRCS=	c-aux-info.c c-common.c c-convert.c c-iterate.c \
	c-pragma.c c-typeck.c \
d17 1
a17 1
	dbxout.c dwarfout.c emit-rtl.c explow.c expmed.c expr.c \
d19 1
a19 1
	hash.c \
d23 1
a23 1
	sbitmap.c sdbout.c stmt.c stor-layout.c stupid.c \
d25 1
a25 1
	alias.c bitmap.c dwarf2out.c dyn-string.c except.c \
d27 6
a32 6
	${TARGET_ARCH}.c
.if defined(USE_EGCS_HAIFA) && ${USE_EGCS_HAIFA} == 1
SRCS+=	haifa-sched.c
.else
SRCS+=	sched.c
.endif
d44 21
a64 1
SRCS+=	multilib.h choose-temp.c obstack.c prefix.c pexecute.c version.c
d67 2
a68 1
SRCS+=	obstack.c splay-tree.c
d71 14
@


1.28
log
@Remove some 1996 GCC 2.6.3 cruft for building a shared cc_int lib.
@
text
@d5 1
a5 1
.PATH: ../cc_tools ${GCCDIR}/config/${GCC_ARCH} ${GCCDIR}
d24 1
a24 1
	${GCC_ARCH}.c
@


1.27
log
@Move the creation of the insn-*.c files from cc_tools to cc_int.
This gets rid of a cross build problem we have because we build
everything in cc_tools during the `make build-tools' (or `make depend')
stage.
@
text
@d24 1
a24 1
	${OUT_FILE}
a49 2

${OUT_OBJ}.o ${OUT_OBJ}.So:	${OUT_FILE}
@


1.26
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/cc_int/Makefile,v 1.25 2000/01/24 20:12:02 obrien Exp $
d16 1
a16 2
	hash.c insn-attrtab.c insn-emit.c insn-extract.c insn-opinit.c \
	insn-output.c insn-peep.c insn-recog.c \
d30 9
@


1.26.2.1
log
@Changes in order to compile GCC 3.0.2.
Boy did a lot of files get added or moved around.
@
text
@d1 1
a1 1
# $FreeBSD$
d11 2
a12 5
#	dbxout.c dwarfout.c emit-rtl.c explow.c expmed.c expr.c \
#	alias.c bitmap.c dwarf2out.c dyn-string.c \
SRCS=	c-aux-info.c c-common.c c-convert.c c-format.c \
	c-pragma.c c-semantics.c \
	c-dump.c c-errors.c \
d14 1
a14 1
	dbxout.c dwarfout.c dwarf2out.c dwarf2asm.c emit-rtl.c explow.c expmed.c expr.c \
d16 2
a17 1
	hash.c haifa-sched.c \
d21 1
a21 1
	sbitmap.c sdbout.c stmt.c stor-layout.c \
d23 1
a23 1
	alias.c bitmap.c dyn-string.c \
d26 5
a30 13

SRCS+=	bb-reorder.c conflict.c ggc-common.c \
	ggc-page.c ifcvt.c lists.c predict.c regrename.c resource.c sibcall.c \
	simplify-rtx.c ssa.c timevar.c

# insn-* gunk -- headers are built in cc_tools, as they are used by the
# "build-tools"
.for F in attrtab emit extract opinit output peep recog
SRCS+=	insn-$F.c
CLEANFILES+= insn-$F.c
insn-$F.c: ${.OBJDIR}/../cc_tools/gen$F ${MD_FILE}
	${.OBJDIR}/../cc_tools/gen$F ${MD_FILE} > insn-$F.c
.endfor
d33 1
a33 12
SRCS+=	multilib.h choose-temp.c obstack.c prefix.c pexecute.c version.c mbchar.c

#	libbackend
SRCS+=	builtins.c dce.c diagnostic.c doloop.c dominance.c except.c gcse.c params.c sched-deps.c sched-vis.c sched-rgn.c sched-ebb.c \
	stringpool.c c-lex.c
#	shared by cc1/cc1obj
SRCS+=	#c-decl.c
SRCS+=	c-typeck.c

#	libcpp
SRCS+=	cppdefault.c cpperror.c cppexp.c cppfiles.c cppinit.c cpphash.c \
	cpplex.c cpplib.c cppmacro.c mkdeps.c
d36 1
a36 2
SRCS+=	obstack.c splay-tree.c hashtab.c partition.c lbasename.c md5.c
CFLAGS+=	-DHAVE_CONFIG_H
@


1.26.2.2
log
@MFC: remove 2.6.3 cc_int shlib cruft and s/GNU_ARCH/TARGET_ARCH/g.
@
text
@d5 1
a5 1
.PATH: ../cc_tools ${GCCDIR}/config/${TARGET_ARCH} ${GCCDIR}
d27 1
a27 1
	${TARGET_ARCH}.c
d64 2
@


1.26.2.3
log
@Bmake bits for GCC 3.1.
@
text
@d5 1
a5 1
.PATH: ../cc_tools ${GCCDIR}/config/${GCC_CPU} ${GCCDIR}
d13 1
a13 1
SRCS=	             c-common.c             c-format.c \
d15 1
a15 1
	                    \
d27 1
a27 2
	attribs.c cselib.c debug.c rtl-error.c tree-dump.c tree-inline.c \
	${GCC_CPU}.c
d31 1
a31 1
	simplify-rtx.c ssa.c timevar.c ssa-dce.c ssa-ccp.c df.c fibheap.c
d43 1
a43 11
SRCS+=	multilib.h choose-temp.c obstack.c prefix.c pexecute.c version.c mbchar.c concat.c make-temp-file.c underscore.c
#	C_AND_OBJC_OBJS
#SRCS+=	attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o \
#	c-convert.o c-aux-info.o c-common.o c-format.o c-semantics.o \
#	c-objc-common.o

#	XXX: shared by cc1, cc1obj & cpp0
#	cc1plus seems to be able to tolerate these here,
#	BUT only if the right .o's are specified in cc1plus/Makefile
SRCS+=	c-lex.c c-typeck.c \
		c-errors.o c-pragma.o c-convert.o c-aux-info.o c-common.o c-format.o c-semantics.o c-objc-common.o
d46 5
a50 4
SRCS+=	builtins.c       diagnostic.c doloop.c dominance.c except.c gcse.c params.c sched-deps.c sched-vis.c sched-rgn.c sched-ebb.c \
	stringpool.c c-lex.c langhooks.c hashtable.c \
	hooks.c \
	cfg.c cfganal.c cfgbuild.c cfgcleanup.c cfglayout.c cfgloop.c cfgrtl.c
d54 1
a54 1
	cpplex.c cpplib.c cppmacro.c mkdeps.c line-map.c
d57 1
a57 1
SRCS+=	obstack.c splay-tree.c hashtab.c partition.c lbasename.c md5.c hex.c getopt.c getopt1.c
a60 14
.if defined(TARGET_CPU_DEFAULT)
CFLAGS+=	-DTARGET_CPU_DEFAULT=${TARGET_CPU_DEFAULT}
.endif

.if ${OBJFORMAT} == aout
UNDERSCORES=	1
.else
UNDERSCORES=	0
.endif
SRCS+=	underscore.c
CLEANFILES+=	underscore.c
underscore.c: Makefile
	echo '/*WARNING: This file is automatically generated!*/' >${.TARGET}
	echo "int prepends_underscore = ${UNDERSCORES};"	  >>${.TARGET}
@


1.25
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/cc_int/Makefile,v 1.24 2000/01/24 08:44:29 obrien Exp $
d11 1
a11 1
SRCS=	c-aux-info.c c-common.c c-convert.c c-decl.c c-iterate.c \
@


1.25.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$
d11 1
a11 1
SRCS=	c-aux-info.c c-common.c c-convert.c c-iterate.c \
@


1.25.2.2
log
@MFC: move creation of insn-*.c files from cc_tools to cc_int, to improve
     the situation of cross builds.
@
text
@d16 2
a17 1
	hash.c \
a30 9

# insn-* gunk -- headers are built in cc_tools, as they are used by the
# "build-tools"
.for F in attrtab emit extract opinit output peep recog
SRCS+=	insn-$F.c
CLEANFILES+= insn-$F.c
insn-$F.c: ${.OBJDIR}/../cc_tools/gen$F ${MD_FILE}
	${.OBJDIR}/../cc_tools/gen$F ${MD_FILE} > insn-$F.c
.endfor
@


1.25.2.3
log
@MFC: 1996 shared cc_int cruft.
@
text
@d24 1
a24 1
	${GCC_ARCH}.c
d50 2
@


1.25.2.4
log
@MFC: update to Gcc 2.95.4
@
text
@d5 1
a5 1
.PATH: ../cc_tools ${GCCDIR}/config/${TARGET_ARCH} ${GCCDIR}
d24 1
a24 1
	${TARGET_ARCH}.c
@


1.25.2.5
log
@MFC: new bsd.lib.mk API.
@
text
@d8 2
a9 1
INTERNALLIB=	YES
d47 3
@


1.25.2.6
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/gnu/usr.bin/cc/cc_int/Makefile 100377 2002-07-19 18:46:30Z ru $
@


1.24
log
@Style change to better match src/lib/'s Makefiles.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cc/cc_int/Makefile,v 1.23 1999/11/15 04:16:13 obrien Exp $
d11 2
a12 1
SRCS=	c-common.c c-pragma.c \
d32 3
d38 1
a38 1
CFLAGS+=	-DTARGET_NAME=\"${target}\"
@


1.23
log
@Cut over the system compiler from from EGCS 1.1.2 to GCC 2.95.2.
@
text
@d1 1
a1 1
# $FreeBSD: src/gnu/usr.bin/cc/cc_int/Makefile,v 1.22 1999/08/27 23:35:16 peter Exp $
d7 4
a34 4

LIB=		cc_int
NOPROFILE=	YES
NOPIC=		YES
@


1.22
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
d10 2
a11 2
	final.c flow.c fold-const.c function.c getpwd.c global.c \
	insn-attrtab.c insn-emit.c insn-extract.c insn-opinit.c \
d13 1
a13 1
	integrate.c jump.c local-alloc.c loop.c obstack.c optabs.c \
d16 1
a16 1
	sdbout.c stmt.c stor-layout.c stupid.c \
d26 3
@


1.21
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.20 1999/04/25 17:23:28 obrien Exp $
@


1.20
log
@use `target' macro crafted in parent Makefile rather than making our own

Submitted by:	Warner Losh
@
text
@d1 2
a2 3
#
# $Id: Makefile,v 1.19 1999/04/22 20:12:21 obrien Exp $
#
@


1.19
log
@Sorry didn't get this in the last commit: MACHINE_ARCH changes courtesy
of Warner Losh <imp@@village.org>.  (he's got plans for FreeBSD mips :-))
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.18 1999/04/22 19:35:14 obrien Exp $
d28 1
a28 1
CFLAGS+=	-DTARGET_NAME=\"${MACHINE_ARCH}-unknown-freebsd\"
@


1.18
log
@Use `GNU_ARCH' in most places where `MACHINE_ARCH' was used.  Building for
mips has some particularlies.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.17 1999/04/06 20:08:01 obrien Exp $
@


1.17
log
@Use Haifa scheduler on the Alpha.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.16 1999/04/04 16:36:34 obrien Exp $
d6 1
a6 1
.PATH: ../cc_tools ${GCCDIR}/config/${MACHINE_ARCH} ${GCCDIR}
@


1.16
log
@Minimum set of changes to switch from Gcc 2.7.2 (in contrib/gcc) to Egcs 1.1.2
(in contrib/egcs)
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.17 1999/03/05 04:55:03 obrien Exp $
d17 1
a17 1
	sched.c sdbout.c stmt.c stor-layout.c stupid.c \
d22 5
@


1.15
log
@Switch to using ".So" as the extension for PIC object files rather
than ".so".  The old extension conflicted with well-established
naming conventions for dynamically loadable modules.

The "clean" targets continue to remove ".so" files too, to deal with
old systems.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.14 1997/02/22 15:44:57 peter Exp $
d6 3
a8 2
SRCS=	bc-emit.c bc-optab.c \
	c-common.c c-pragma.c \
d19 2
d22 2
@


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


1.14
log
@Revert $FreeBSD$ to $Id$
@
text
@d2 1
a2 1
# $Id$
d27 1
a27 1
${OUT_OBJ}.o ${OUT_OBJ}.so:	${OUT_FILE}
@


1.13
log
@Remove incorrect use of double-negative since it means the same thing
to make but perhaps not to the human reading it.
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.12
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
@d21 2
a22 2
NOPROFILE=	no thanks
NOPIC=		no thanks
@


1.11
log
@Nuke a trailing .endif which survived Peter's last edits.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.10 1996/09/21 14:27:35 peter Exp $
@


1.11.2.1
log
@YAMFC -- noshared fixes.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.11 1996/09/21 17:49:45 jkh Exp $
d21 2
a22 2
NOPROFILE=	yes
NOPIC=		yes
@


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


1.10
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.9 1996/09/19 15:42:15 peter Exp $
a25 1
.endif
@


1.9
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.8 1995/03/13 01:30:02 ache Exp $
a21 5
.if defined(SHARED_LIB_CC_INT)
INTERNALLIB=	no thanks
SHLIB_MAJOR=	272
SHLIB_MINOR=	1
.else
@


1.8
log
@Bump SHLIB_MAJOR to 263 to match ../Makefile.inc
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.7 1994/11/15 04:51:40 phk Exp $
d4 1
d6 20
a25 7
SRCS =	aux-output.c bc-emit.c bc-optab.c c-common.c caller-save.c calls.c combine.c convert.c cse.c dbxout.c dwarfout.c emit-rtl.c explow.c expmed.c expr.c final.c flow.c fold-const.c function.c getpwd.c global.c insn-attrtab.c insn-emit.c insn-extract.c insn-opinit.c insn-output.c insn-peep.c insn-recog.c integrate.c jump.c local-alloc.c loop.c obstack.c optabs.c print-rtl.c print-tree.c real.c recog.c reg-stack.c regclass.c reload.c reload1.c reorg.c rtl.c rtlanal.c sched.c sdbout.c stmt.c stor-layout.c stupid.c toplev.c tree.c unroll.c varasm.c version.c xcoffout.c
LIB =	cc_int
NOPROFILE=	yes
.if defined(SHARED_LIBCC_INT)
INTERNALLIB=
SHLIB_MAJOR=263
SHLIB_MINOR=0
d27 1
d32 2
@


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


1.7
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$
d10 1
a10 1
SHLIB_MAJOR=262
@


1.6
log
@As pointed out by Paul Traina, we need the libs to be 261.0 not 26.1.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.5 1994/10/25 07:02:23 davidg Exp $
d10 1
a10 1
SHLIB_MAJOR=261
@


1.5
log
@Changed NO_SHARED_LIBCC_INT to SHARED_LIBCC_INT and changed the logic
as appropriate. This makes gcc not built with a shared cc_int the
default.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.4 1994/09/20 22:03:09 bde Exp $
d10 1
a10 1
SHLIB_MAJOR=26
@


1.4
log
@Don't build profiled library.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.3 1994/09/19 21:37:50 wollman Exp $
d8 1
a8 1
.if !defined(NO_SHARED_LIBCC_INT)
@


1.3
log
@For Bruce: -DNO_SHARED_LIBCC_INT reverts back to static libcc_int.
This makes the back end run faster, but at the cost of speed.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.2 1994/09/18 22:35:53 wollman Exp $
d7 1
@


1.2
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
@d2 1
a2 1
# $Id$
d7 1
d11 5
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
# $FreeBSD$
d7 3
a9 4
NOPROFILE=	1

install:
	@@true
@


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