1 # Copyright (C) 2014-2020 Free Software Foundation, Inc.
3 # This file is part of groff.
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.
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
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/>.
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
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
38 PREFIXMAN1 += src/preproc/pic/pic.1
40 src/preproc/pic/TODO \
41 src/preproc/pic/pic.1.man
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
46 MAINTAINERCLEANFILES += \
47 src/preproc/pic/pic.cpp \
48 src/preproc/pic/pic.hpp \
49 src/preproc/pic/pic.output
54 # mode: makefile-automake
56 # vim: set autoindent filetype=automake textwidth=72: