1 # Copyright (C) 2014-2018 Free Software Foundation, Inc.
3 # Latest update: 22 Aug 2015
5 # This file is part of groff.
7 # groff is free software; you can redistribute it and/or modify it under
8 # the terms of the GNU General Public License as published by the Free
9 # Software Foundation, either version 3 of the License, or
10 # (at your option) any later version.
12 # groff is distributed in the hope that it will be useful, but WITHOUT ANY
13 # WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
17 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
20 prefixexecbin_PROGRAMS += troff
21 PREFIXMAN1 += src/roff/troff/troff.1
23 src/roff/troff/column.cpp \
24 src/roff/troff/troff.1.man \
26 troff_LDADD = libgroff.a lib/libgnu.a $(LIBM)
28 src/roff/troff/dictionary.cpp \
29 src/roff/troff/div.cpp \
30 src/roff/troff/env.cpp \
31 src/roff/troff/input.cpp \
32 src/roff/troff/mtsm.cpp \
33 src/roff/troff/node.cpp \
34 src/roff/troff/number.cpp \
35 src/roff/troff/reg.cpp \
36 src/roff/troff/env.h \
37 src/roff/troff/node.h \
38 src/roff/troff/troff.h \
39 src/roff/troff/div.h \
40 src/roff/troff/reg.h \
41 src/roff/troff/dictionary.h \
42 src/roff/troff/input.h \
43 src/roff/troff/mtsm.h \
44 src/roff/troff/token.h \
45 src/roff/troff/charinfo.h \
46 src/roff/troff/request.h \
47 src/roff/troff/hvunits.h
49 nodist_troff_SOURCES = src/roff/troff/majorminor.cpp
51 src/roff/troff/input.$(OBJEXT): defs.h
52 CLEANFILES += src/roff/troff/majorminor.cpp
54 src/roff/troff/majorminor.cpp: $(top_srcdir)/.version
57 @echo const char \*major_version = \"$(MAJOR_VERSION)\"\; >$@
58 @echo const char \*minor_version = \"$(MINOR_VERSION)\"\; >>$@
59 @echo const char \*revision = \"$(REVISION)\"\; >>$@
62 ########################################################################
64 ########################################################################
67 # mode: makefile-automake
70 # vim: set filetype=automake textwidth=72: