gcc4X man pages: Introduce generic MLINK handling
[dragonfly.git] / gnu / usr.bin / cc44 / c++ / Makefile
1 GCC_LANG_DIR=   gcc/cp
2
3 .include "../Makefile.inc"
4 .include "../Makefile.langs"
5 .include "../../Makefile.cco"
6
7 PROG=   c++
8 LINKS=  ${BINDIR}/c++ ${BINDIR}/g++
9 LINKS+= ${BINDIR}/c++ ${BINDIR}/CC
10 MFILE=  g++${MANPAGEVER}.1
11 MAN=    ${MFILE}
12
13 SRCS=   ${GCC_SRCS} g++spec.c intl.c prefix.c version.c
14 SRCS+=  ${EXTRA_GCC_SRCS}
15
16 CFLAGS+= -DGCC_DRIVER
17
18 ${MFILE}: ${GCCDIR}/gcc/doc/g++.1
19         cp ${.ALLSRC} ${.TARGET}
20
21 CLEANFILES+=    ${MFILE}
22
23 .if defined(IS_PRIMARY)
24 MLINKS+= ${MFILE} g++.1
25 .endif
26
27 .include <bsd.prog.mk>