NetBSD/gnu/usr.bin/groff/troff/Makefile

22 lines
655 B
Makefile
Raw Normal View History

1993-03-21 12:45:37 +03:00
# @(#)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
1993-04-19 04:03:40 +04:00
LDADD+= $(.CURDIR)/../libgroff/obj/libgroff.a -lm
1993-03-21 12:45:37 +03:00
# Delete the -Ig++-include after we fix libg++ and install it
1993-06-17 07:52:28 +04:00
CXXFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../libgroff \
1993-03-21 12:45:37 +03:00
-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>