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