|
|
Update the GCC3 infrastructure Stage 1/2. This commit generates the basic infrastructure needed to support /usr/src/contrib/gcc-3.3 (a pristine gcc dist) intead of /usr/src/contrib/gcc3 (munged version taken from FreeBSD-5). This stage does not have all the fbsd/dfly specific extensions, such as -fformat-extensions.
1: # $FreeBSD: src/gnu/usr.bin/cc/cc/Makefile,v 1.28 2002/06/05 21:30:43 obrien Exp $
2: # $DragonFly: src/gnu/usr.bin/cc3/cc/Makefile,v 1.5 2004/02/02 23:35:10 dillon Exp $
3:
4: .include "../Makefile.inc"
5: .include "../Makefile.fe"
6:
7: CFLAGS+= -I${.CURDIR}/../config
8:
9: .PATH: ${GCCDIR}/gcc ${GCCDIR}/libiberty
10:
11: PROG= cc
12: MAN= gcc.1
13: SRCS= gcc_local.c gccspec.c
14: SRCS+= make-relative-prefix.c lrealpath.c
15: NOSHARED?=yes
16:
17: LINKS= ${BINDIR}/cc ${BINDIR}/gcc
18: #MLINKS= gcc.1 cc.1 gcc.1 c++.1 gcc.1 g++.1 gcc.1 CC.1
19:
20: CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\"
21: CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\"
22: CFLAGS+= -DCCVER=\"$(MY_CCVER)\"
23:
24: DPADD+= ${LIBCC_INT}
25: LDADD+= ${LIBCC_INT}
26:
27: .include <bsd.prog.mk>