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