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