summaryrefslogtreecommitdiffstats
path: root/src/preproc/pic/pic.am
blob: fae13720b612f8a976f3ec38abd0bebac1c63180 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Copyright (C) 2014-2020 Free Software Foundation, Inc.
#
# This file is part of groff.
#
# groff is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
# Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# groff is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

prefixexecbin_PROGRAMS += pic
pic_CPPFLAGS = $(AM_CPPFLAGS) \
  -I $(top_srcdir)/src/preproc/pic \
  -I $(top_builddir)/src/preproc/pic
pic_LDADD = libgroff.a $(LIBM) lib/libgnu.a
pic_SOURCES = \
  src/preproc/pic/pic.ypp \
  src/preproc/pic/lex.cpp \
  src/preproc/pic/main.cpp \
  src/preproc/pic/object.cpp \
  src/preproc/pic/common.cpp \
  src/preproc/pic/troff.cpp \
  src/preproc/pic/tex.cpp \
  src/preproc/pic/pic.h \
  src/preproc/pic/position.h \
  src/preproc/pic/text.h \
  src/preproc/pic/common.h \
  src/preproc/pic/output.h \
  src/preproc/pic/object.h

PREFIXMAN1 += src/preproc/pic/pic.1
EXTRA_DIST += \
  src/preproc/pic/TODO \
  src/preproc/pic/pic.1.man

# Since pic_CPPFLAGS was set, all .o files have a 'pic-' prefix.
src/preproc/pic/pic-lex.$(OBJEXT): src/preproc/pic/pic.hpp

MAINTAINERCLEANFILES += \
  src/preproc/pic/pic.cpp \
  src/preproc/pic/pic.hpp \
  src/preproc/pic/pic.output


# Local Variables:
# fill-column: 72
# mode: makefile-automake
# End:
# vim: set autoindent filetype=automake textwidth=72: