gcc4X man pages: Introduce generic MLINK handling
[dragonfly.git] / gnu / usr.bin / cc47 / c++ / Makefile
1 GCC_LANG_DIR=   gcc/cp
2 .include "../Makefile.langs"
3 .include "../../Makefile.cco"
4
5 PROG=   c++
6 MFILE=  g++${MANPAGEVER}.1
7 MAN=    ${MFILE}
8
9 LINKS=  ${BINDIR}/c++ ${BINDIR}/g++
10 LINKS+= ${BINDIR}/c++ ${BINDIR}/CC
11
12 OBJS+=  ${GCC_SRCS:S/^/..\/cc\//:.c=.o}
13 OBJS+=  ${EXTRA_GCC_SRCS:S/^/..\/cc\//:.c=.o}
14 SRCS=   g++spec.c
15
16 CFLAGS+= -DCONFIGURE_SPECS="\"\""
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>