Hook gcc 3.4 into the buildworld. Rearrange HOST_CCVER so it becomes the
[dragonfly.git] / gnu / usr.bin / cc3 / cpp / Makefile
1 # $FreeBSD: src/gnu/usr.bin/cc/cpp/Makefile,v 1.23 2003/06/06 13:46:55 kuriyama Exp $
2 # $DragonFly: src/gnu/usr.bin/cc3/cpp/Attic/Makefile,v 1.10 2004/06/21 03:48:05 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=   cpp
12 SRCS=   gcc_local.c cppspec.c
13 SRCS+=  make-relative-prefix.c lrealpath.c xmalloc.c xexit.c
14
15 CFLAGS+= -DDEFAULT_TARGET_VERSION=\"$(version)\"
16 CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"$(target)\"
17
18 DPADD+= ${LIBCC_INT}
19 LDADD+= ${LIBCC_INT}
20
21 CLEANFILES+= cpp.1
22
23 cpp.1: cccp.1
24         echo ${.TARGET}
25         cat ${.ALLSRC} > ${.TARGET}
26
27 .include <bsd.prog.mk>