Undo the xmalloc->malloc optimization FreeBSD made in certain cases
[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.8 2004/02/03 03:47:12 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 CFLAGS+= -DCCVER=\"$(MY_CCVER)\"
18
19 DPADD+= ${LIBCC_INT}
20 LDADD+= ${LIBCC_INT}
21
22 CLEANFILES= cpp.1
23
24 cpp.1: cccp.1
25         echo ${.TARGET}
26         cat ${.ALLSRC} > ${.TARGET}
27
28 .include <bsd.prog.mk>