freebsd-dev/gnu/usr.bin/cc/cpp/Makefile
Dimitry Andric dfbaea8347 Add a WITH_CLANG_IS_CC option for src.conf(5), disabled by default, that
installs clang as /usr/bin/cc, /usr/bin/c++ and /usr/bin/cpp.

Note this does *not* disable building and installing gcc, which will
still be available as /usr/bin/gcc, /usr/bin/g++ and /usr/bin/gcpp.  If
you want to disable gcc completely, you must use WITHOUT_GCC.

MFC after:	2 weeks
2012-02-29 22:58:51 +00:00

17 lines
237 B
Makefile

# $FreeBSD$
.include <bsd.own.mk>
.include "../Makefile.inc"
.include "../Makefile.fe"
PROG= gcpp
SRCS+= cppspec.c
.if ${MK_CLANG_IS_CC} == "no"
LINKS= ${BINDIR}/gcpp ${BINDIR}/cpp
MLINKS= gcpp.1 cpp.1
.endif
.include <bsd.prog.mk>