summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/groff/libgroff/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/groff/libgroff/Makefile')
-rw-r--r--gnu/usr.bin/groff/libgroff/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/usr.bin/groff/libgroff/Makefile b/gnu/usr.bin/groff/libgroff/Makefile
new file mode 100644
index 0000000..ba150356
--- /dev/null
+++ b/gnu/usr.bin/groff/libgroff/Makefile
@@ -0,0 +1,23 @@
+# Makefile for libgroff
+
+LIB= groff
+SRCS= assert.cc change_lf.cc cmap.cc cset.cc device.cc errarg.cc\
+ error.cc fatal.cc filename.cc font.cc fontfile.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+= iftoa.c itoa.c matherr.c
+CFLAGS+= -I$(.CURDIR)/../include
+
+NOMAN= noman
+NOPROFILE= noprofile
+
+CLEANFILES+= version.cc
+version.cc: $(.CURDIR)/../VERSION
+ @${ECHO} Making version.cc
+ @echo const char \*version_string = \"`cat $(.CURDIR)/../VERSION`\"\; >$@
+
+install:
+
+.include "../Makefile.cfg"
+.include <bsd.lib.mk>
OpenPOWER on IntegriCloud