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