Undo the xmalloc->malloc optimization FreeBSD made in certain cases
[dragonfly.git] / gnu / usr.bin / cc3 / cc / Makefile
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/Attic/Makefile,v 1.6 2004/02/03 03:47:11 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 xmalloc.c xexit.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>