Commit | Line | Data |
---|---|---|
8c916904 WJ |
1 | # @(#)Makefile 6.2 (Berkeley) 3/3/91 |
2 | ||
3 | .include "../Makefile.g++" | |
4 | .include "../../Makefile.inc" | |
5 | ||
6 | PROG= troff | |
7 | HYPHENDIR= /usr/share/misc | |
8 | SRCS= column.cc dictionary.cc div.cc env.cc input.cc \ | |
9 | node.cc number.cc reg.cc symbol.cc | |
10 | LDADD+= $(.CURDIR)/../libgroff/obj/libgroff.a | |
11 | # Delete the -Ig++-include after we fix libg++ and install it | |
12 | GXXFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../libgroff \ | |
13 | -I$(.CURDIR)/../../../lib/libg++/g++-include \ | |
14 | -DMACROPATH=\"/usr/share/tmac\" -DSTORE_WIDTH \ | |
15 | -DHYPHENFILE=\"$(HYPHENDIR)/hyphen\" | |
16 | ||
17 | afterinstall: | |
18 | install -c -o bin -g bin -m 444 $(.CURDIR)/hyphen \ | |
19 | $(DESTDIR)$(HYPHENDIR)/hyphen | |
20 | ||
21 | .include <bsd.prog.mk> |