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