Imported Upstream version 1.23.0
[platform/upstream/groff.git] / src / preproc / pic / pic.am
1 # Copyright (C) 2014-2020 Free Software Foundation, Inc.
2 #
3 # This file is part of groff.
4 #
5 # groff is free software; you can redistribute it and/or modify it under
6 # the terms of the GNU General Public License as published by the Free
7 # Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # groff is distributed in the hope that it will be useful, but WITHOUT ANY
11 # WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
13 # for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
18 prefixexecbin_PROGRAMS += pic
19 pic_CPPFLAGS = $(AM_CPPFLAGS) \
20   -I $(top_srcdir)/src/preproc/pic \
21   -I $(top_builddir)/src/preproc/pic
22 pic_LDADD = libgroff.a $(LIBM) lib/libgnu.a
23 pic_SOURCES = \
24   src/preproc/pic/pic.ypp \
25   src/preproc/pic/lex.cpp \
26   src/preproc/pic/main.cpp \
27   src/preproc/pic/object.cpp \
28   src/preproc/pic/common.cpp \
29   src/preproc/pic/troff.cpp \
30   src/preproc/pic/tex.cpp \
31   src/preproc/pic/pic.h \
32   src/preproc/pic/position.h \
33   src/preproc/pic/text.h \
34   src/preproc/pic/common.h \
35   src/preproc/pic/output.h \
36   src/preproc/pic/object.h
37
38 PREFIXMAN1 += src/preproc/pic/pic.1
39 EXTRA_DIST += \
40   src/preproc/pic/TODO \
41   src/preproc/pic/pic.1.man
42
43 # Since pic_CPPFLAGS was set, all .o files have a 'pic-' prefix.
44 src/preproc/pic/pic-lex.$(OBJEXT): src/preproc/pic/pic.hpp
45
46 MAINTAINERCLEANFILES += \
47   src/preproc/pic/pic.cpp \
48   src/preproc/pic/pic.hpp \
49   src/preproc/pic/pic.output
50
51
52 # Local Variables:
53 # fill-column: 72
54 # mode: makefile-automake
55 # End:
56 # vim: set autoindent filetype=automake textwidth=72: