3a8f0f7129c99b2c19e2a0a96a5428456a83ed29
[dragonfly.git] / gnu / usr.bin / cc44 / cc / Makefile
1 .include "../Makefile.inc"
2 .include "../Makefile.langs"
3
4 PROG=   cc
5 LINKS=  ${BINDIR}/cc ${BINDIR}/gcc
6 MAN=    gcc${GCCSHORTVER}.1
7 MLINKS= gcc${GCCSHORTVER}.1 cc.1 \
8         gcc${GCCSHORTVER}.1 c++.1 \
9         gcc${GCCSHORTVER}.1 g++.1 \
10         gcc${GCCSHORTVER}.1 gcc.1 \
11         gcc${GCCSHORTVER}.1 CC.1
12
13 .if ${GCCDOCSUFFIX} != ${GCCSHORTVER}
14 MLINKS+=gcc${GCCSHORTVER}.1 cc${GCCDOCSUFFIX}.1
15 MLINKS+=gcc${GCCSHORTVER}.1 c++${GCCDOCSUFFIX}.1
16 MLINKS+=gcc${GCCSHORTVER}.1 g++${GCCDOCSUFFIX}.1
17 MLINKS+=gcc${GCCSHORTVER}.1 gcc${GCCDOCSUFFIX}.1
18 MLINKS+=gcc${GCCSHORTVER}.1 CC${GCCDOCSUFFIX}.1
19 .endif
20
21 SRCS=   ${GCC_SRCS} gccspec.c intl.c prefix.c version.c
22 SRCS+=  ${EXTRA_GCC_SRCS}
23
24 CFLAGS+= -DGCC_DRIVER
25
26 gcc${GCCSHORTVER}.1: ${GCCDIR}/gcc/doc/gcc.1
27         cp ${.ALLSRC} ${.TARGET}
28
29 CLEANFILES+=    gcc${GCCSHORTVER}.1
30
31 .include <bsd.prog.mk>