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 += eqn
21 prefixexecbin_SCRIPTS += neqn
24 -I $(top_srcdir)/src/preproc/eqn \
25 -I $(top_builddir)/src/preproc/eqn
26 eqn_LDADD = $(LIBM) libgroff.a lib/libgnu.a
28 src/preproc/eqn/main.cpp \
29 src/preproc/eqn/lex.cpp \
30 src/preproc/eqn/box.cpp \
31 src/preproc/eqn/limit.cpp \
32 src/preproc/eqn/list.cpp \
33 src/preproc/eqn/over.cpp \
34 src/preproc/eqn/text.cpp \
35 src/preproc/eqn/script.cpp \
36 src/preproc/eqn/mark.cpp \
37 src/preproc/eqn/other.cpp \
38 src/preproc/eqn/delim.cpp \
39 src/preproc/eqn/sqrt.cpp \
40 src/preproc/eqn/pile.cpp \
41 src/preproc/eqn/special.cpp \
42 src/preproc/eqn/eqn.ypp \
43 src/preproc/eqn/box.h \
44 src/preproc/eqn/pbox.h \
47 PREFIXMAN1 += src/preproc/eqn/eqn.1 src/preproc/eqn/neqn.1
49 src/preproc/eqn/TODO \
50 src/preproc/eqn/neqn.sh \
51 src/preproc/eqn/eqn.1.man \
52 src/preproc/eqn/neqn.1.man
54 src/preproc/eqn/eqn-lex.$(OBJEXT): src/preproc/eqn/eqn.hpp
56 src/preproc/eqn/eqn.hpp \
57 src/preproc/eqn/eqn.cpp \
58 src/preproc/eqn/eqn.output
60 neqn: $(top_srcdir)/src/preproc/eqn/neqn.sh $(SH_DEPS_SED_SCRIPT)
62 && sed -e 's/[@]g[@]/$(g)/g' \
63 -f $(SH_DEPS_SED_SCRIPT) \
64 -e $(SH_SCRIPT_SED_CMD) \
65 $(top_srcdir)/src/preproc/eqn/neqn.sh \
70 ########################################################################
73 # mode: makefile-automake