]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - gnu/usr.bin/groff/src/libs/libgroff/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / gnu / usr.bin / groff / src / libs / libgroff / Makefile
1 # $FreeBSD$
2
3 LIB=            groff
4 INTERNALLIB=
5 SRCS=           assert.cpp change_lf.cpp cmap.cpp color.cpp cset.cpp\
6                 device.cpp errarg.cpp error.cpp fatal.cpp filename.cpp\
7                 font.cpp fontfile.cpp geometry.cpp glyphuni.cpp htmlhint.cpp\
8                 hypot.cpp invalid.cpp lf.cpp lineno.cpp macropath.cpp\
9                 maxfilename.cpp mksdir.cpp nametoindex.cpp new.cpp paper.cpp prime.cpp\
10                 ptable.cpp searchpath.cpp string.cpp strsave.cpp symbol.cpp\
11                 tmpfile.cpp tmpname.cpp unicode.cpp uniglyph.cpp uniuni.cpp version.cpp
12 SRCS+=          iftoa.c itoa.c matherr.c progname.c
13 CLEANFILES=     version.cpp
14
15 .include <bsd.lib.mk>
16
17 version.cpp: ${GROFF_DIST}/VERSION ${GROFF_DIST}/REVISION
18         @${ECHO} Making version.cpp
19         @echo const char \*version_string = \"`cat ${GROFF_DIST}/VERSION`\"\; >$@
20         @echo const char \*revision_string = \"`cat ${GROFF_DIST}/REVISION`\"\; >>$@
21         @echo extern \"C\" const char \*Version_string = \"`cat ${GROFF_DIST}/VERSION`.`cat ${GROFF_DIST}/REVISION`\"\; | \
22           sed -e 's/\.0\"/\"/' >>$@