d0ce03465d09dfddc9f9b0be2746bdaae0fe8188
[dragonfly.git] / gnu / usr.bin / cc44 / c++ / Makefile
1 GCC_LANG_DIR=   gcc/cp
2
3 .include "../Makefile.inc"
4 .include "../Makefile.langs"
5
6 PROG=   c++
7 LINKS=  ${BINDIR}/c++ ${BINDIR}/g++
8 LINKS+= ${BINDIR}/c++ ${BINDIR}/CC
9 MAN=    g++${GCCSHORTVER}.1
10
11 .if ${GCCDOCSUFFIX} != ${GCCSHORTVER}
12 MLINKS= g++${GCCSHORTVER}.1 g++${GCCDOCSUFFIX}.1
13 .endif
14
15 SRCS=   ${GCC_SRCS} g++spec.c intl.c prefix.c version.c
16 SRCS+=  ${EXTRA_GCC_SRCS}
17
18 CFLAGS+= -DGCC_DRIVER
19
20 g++${GCCSHORTVER}.1: ${GCCDIR}/gcc/doc/g++.1
21         cp ${.ALLSRC} ${.TARGET}
22
23 CLEANFILES+=    g++${GCCSHORTVER}.1
24
25 .include <bsd.prog.mk>