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