File:  [DragonFly] / src / gnu / usr.bin / cc3 / cc / Attic / Makefile
Revision 1.5: download - view: text, annotated - select for diffs
Mon Feb 2 23:35:10 2004 UTC (10 years, 7 months ago) by dillon
Branches: MAIN
CVS tags: HEAD
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.

# $FreeBSD: src/gnu/usr.bin/cc/cc/Makefile,v 1.28 2002/06/05 21:30:43 obrien Exp $
# $DragonFly: src/gnu/usr.bin/cc3/cc/Makefile,v 1.5 2004/02/02 23:35:10 dillon Exp $

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

CFLAGS+=        -I${.CURDIR}/../config

.PATH: ${GCCDIR}/gcc ${GCCDIR}/libiberty

PROG=	cc
MAN=	gcc.1
SRCS=	gcc_local.c gccspec.c
SRCS+=	make-relative-prefix.c lrealpath.c
NOSHARED?=yes

LINKS=	${BINDIR}/cc ${BINDIR}/gcc
#MLINKS=	gcc.1 cc.1 gcc.1 c++.1 gcc.1 g++.1 gcc.1 CC.1

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

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

.include <bsd.prog.mk>