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