NetBSD/gnu/usr.bin/groff/troff/Makefile
1993-04-19 00:03:40 +00:00

22 lines
655 B
Makefile

# @(#)Makefile 6.2 (Berkeley) 3/3/91
.include "../Makefile.g++"
.include "../../Makefile.inc"
PROG= troff
HYPHENDIR= /usr/share/misc
SRCS= column.cc dictionary.cc div.cc env.cc input.cc \
node.cc number.cc reg.cc symbol.cc
LDADD+= $(.CURDIR)/../libgroff/obj/libgroff.a -lm
# Delete the -Ig++-include after we fix libg++ and install it
GXXFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../libgroff \
-I$(.CURDIR)/../../../lib/libg++/g++-include \
-DMACROPATH=\"/usr/share/tmac\" -DSTORE_WIDTH \
-DHYPHENFILE=\"$(HYPHENDIR)/hyphen\"
afterinstall:
install -c -o bin -g bin -m 444 $(.CURDIR)/hyphen \
$(DESTDIR)$(HYPHENDIR)/hyphen
.include <bsd.prog.mk>