aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/groff/src/libs/libgroff
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-04-17 12:37:18 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-04-17 12:37:18 +0000
commitcf3e3228a477daa6d5a746b12d81f4bdd0d7c0b7 (patch)
treec5ad9570770096a3086d1c7c4984b346bab9bc53 /gnu/usr.bin/groff/src/libs/libgroff
parentbb2974b756a013b8c19430041f7d1f12f47b6da0 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/groff/src/libs/libgroff')
-rw-r--r--gnu/usr.bin/groff/src/libs/libgroff/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/usr.bin/groff/src/libs/libgroff/Makefile b/gnu/usr.bin/groff/src/libs/libgroff/Makefile
new file mode 100644
index 0000000000000..d8cfcf0d1d561
--- /dev/null
+++ b/gnu/usr.bin/groff/src/libs/libgroff/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+LIB= groff
+INTERNALLIB= YES
+INTERNALSTATICLIB=YES
+SRCS= assert.cc change_lf.cc cmap.cc cset.cc device.cc errarg.cc\
+ error.cc fatal.cc filename.cc font.cc fontfile.cc\
+ htmlindicate.cc lf.cc\
+ lineno.cc macropath.cc nametoindex.cc new.cc prime.cc\
+ progname.cc ptable.cc searchpath.cc string.cc strsave.cc\
+ tmpfile.cc illegal.cc version.cc
+SRCS+= getopt.c getopt1.c iftoa.c itoa.c matherr.c
+CLEANFILES= version.cc
+
+.include <bsd.lib.mk>
+
+version.cc: ${GROFF_DIST}/VERSION ${GROFF_DIST}/REVISION
+ @${ECHO} Making version.cc
+ @echo const char \*version_string = \"`cat ${GROFF_DIST}/VERSION`\"\; >$@
+ @echo const char \*revision_string = \"`cat ${GROFF_DIST}/REVISION`\"\; >>$@
+ @echo const char \*Version_string = \"`cat ${GROFF_DIST}/VERSION`.`cat ${GROFF_DIST}/REVISION`\"\; | \
+ sed -e 's/\.0\"/\"/' >>$@