gcc47: Add DragonFly READMEs and world makefiles
[dragonfly.git] / gnu / usr.bin / cc47 / cpp / Makefile
1 .include "../Makefile.inc"
2 .include "../Makefile.langs"
3
4 PROG=   cpp
5 MAN=    cpp${GCCSHORTVER}.1
6 MLINKS= cpp${GCCSHORTVER}.1 cpp.1
7
8 .if ${GCCSHORTVER} != ${GCCDOCSUFFIX}
9 MLINKS+=cpp${GCCSHORTVER}.1 cpp${GCCDOCSUFFIX}.1
10 .endif
11
12 OBJS+=  ${GCC_SRCS:S/^/..\/cc\//:.c=.o}
13 OBJS+=  ${EXTRA_GCC_SRCS:S/^/..\/cc\//:.c=.o}
14 SRCS=   cppspec.c
15
16 CFLAGS+= -DCONFIGURE_SPECS="\"\""
17
18 cpp${GCCSHORTVER}.1: ${GCCDIR}/gcc/doc/cpp.1
19         cp ${.ALLSRC} ${.TARGET}
20
21 CLEANFILES+=    cpp${GCCSHORTVER}.1
22
23 .include <bsd.prog.mk>