File:  [DragonFly] / src / gnu / usr.bin / cc3 / c++ / Attic / Makefile
Revision 1.5: download - view: text, annotated - select for diffs
Mon Feb 2 23:35:10 2004 UTC (10 years, 10 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.

    1: # $FreeBSD: src/gnu/usr.bin/cc/c++/Makefile,v 1.19 2002/06/04 19:45:08 obrien Exp $
    2: # $DragonFly: src/gnu/usr.bin/cc3/c++/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/cp ${GCCDIR}/gcc ${GCCDIR}/libiberty
   10: 
   11: PROG=	c++
   12: SRCS=	gcc_local.c g++spec.c
   13: SRCS+=  make-relative-prefix.c lrealpath.c
   14: LINKS=	${BINDIR}/c++ ${BINDIR}/g++
   15: LINKS+=	${BINDIR}/c++ ${BINDIR}/CC
   16: NOMAN=	1
   17: 
   18: CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\"
   19: CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\"
   20: CFLAGS+= -DCCVER=\"$(MY_CCVER)\"
   21: 
   22: DPADD+=	${LIBCC_INT}
   23: LDADD+=	${LIBCC_INT}
   24: 
   25: .include <bsd.prog.mk>