* src/roff/troff/env.cpp (hyphen_trie::read_patterns_file): Fix loop
[s-roff.git] / src / roff / troff / Makefile.sub
blob7fa802472b1a4b5e4ba8635d47b3a2202e0065fc
1 PROG=troff$(EXEEXT)
2 MAN1=troff.n
3 XLIBS=$(LIBGROFF)
4 MLIB=$(LIBM)
5 OBJS=\
6   dictionary.$(OBJEXT) \
7   div.$(OBJEXT) \
8   env.$(OBJEXT) \
9   glyphuni.$(OBJEXT) \
10   input.$(OBJEXT) \
11   majorminor.$(OBJEXT) \
12   node.$(OBJEXT) \
13   number.$(OBJEXT) \
14   reg.$(OBJEXT) \
15   symbol.$(OBJEXT) \
16   unicode.$(OBJEXT) \
17   uniglyph.$(OBJEXT) \
18   uniuni.$(OBJEXT)
19 CCSRCS=\
20   $(srcdir)/dictionary.cpp \
21   $(srcdir)/div.cpp \
22   $(srcdir)/env.cpp \
23   $(srcdir)/glyphuni.cpp \
24   $(srcdir)/input.cpp \
25   majorminor.cpp \
26   $(srcdir)/node.cpp \
27   $(srcdir)/number.cpp \
28   $(srcdir)/reg.cpp \
29   $(srcdir)/symbol.cpp \
30   $(srcdir)/unicode.cpp \
31   $(srcdir)/uniglyph.cpp \
32   $(srcdir)/uniuni.cpp
33 HDRS=\
34   $(srcdir)/charinfo.h \
35   $(srcdir)/dictionary.h \
36   $(srcdir)/div.h \
37   $(srcdir)/env.h \
38   $(srcdir)/hvunits.h \
39   $(srcdir)/input.h \
40   $(srcdir)/node.h \
41   $(srcdir)/reg.h \
42   $(srcdir)/request.h \
43   $(srcdir)/symbol.h \
44   $(srcdir)/token.h \
45   $(srcdir)/troff.h \
46   $(srcdir)/unicode.h
47 GENSRCS=majorminor.cpp
48 NAMEPREFIX=$(g)
50 majorminor.cpp: $(top_srcdir)/VERSION $(top_srcdir)/REVISION
51         @echo Making $@
52         @-rm -f $@
53         @echo const char \*major_version = \
54         \"`sed -e 's/^\([^.]*\)\..*$$/\1/' $(top_srcdir)/VERSION`\"\; >$@
55         @echo const char \*minor_version = \
56         \"`sed -e 's/^[^.]*\.\([0-9]*\).*$$/\1/' $(top_srcdir)/VERSION`\"\; >>$@
57         @echo const char \*revision = \"`cat $(top_srcdir)/REVISION`\"\; >>$@