Imported Upstream version 1.22.4
[platform/upstream/groff.git] / src / preproc / pic / pic.am
1 # Copyright (C) 2014-2018 Free Software Foundation, Inc.
2 #
3 # Latest update: 22 Aug 2015
4 #
5 # This file is part of groff.
6 #
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.
11 #
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
15 # for more details.
16 #
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/>.
19
20 prefixexecbin_PROGRAMS += pic
21 pic_LDADD = libgroff.a $(LIBM) lib/libgnu.a
22 pic_SOURCES = \
23   src/preproc/pic/pic.ypp \
24   src/preproc/pic/lex.cpp \
25   src/preproc/pic/main.cpp \
26   src/preproc/pic/object.cpp \
27   src/preproc/pic/common.cpp \
28   src/preproc/pic/troff.cpp \
29   src/preproc/pic/tex.cpp \
30   src/preproc/pic/pic.h \
31   src/preproc/pic/position.h \
32   src/preproc/pic/text.h \
33   src/preproc/pic/common.h \
34   src/preproc/pic/output.h \
35   src/preproc/pic/object.h
36
37 pic_CPPFLAGS = $(AM_CPPFLAGS) \
38   -I $(top_srcdir)/src/preproc/pic \
39   -I $(top_builddir)/src/preproc/pic
40 PREFIXMAN1 += src/preproc/pic/pic.1
41
42 src/preproc/pic/pic-lex.$(OBJEXT): src/preproc/pic/pic.hpp
43 EXTRA_DIST += \
44   src/preproc/pic/pic.1.man \
45   src/preproc/pic/TODO
46 CLEANFILES += \
47   src/preproc/pic/pic.cpp \
48   src/preproc/pic/pic.hpp \
49   src/preproc/pic/pic.output
50
51
52 ########################################################################
53 ### Emacs settings
54 # Local Variables:
55 # mode: makefile-automake
56 # End: