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