Imported Upstream version 1.22.4
[platform/upstream/groff.git] / src / preproc / refer / refer.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 += refer
21 refer_CPPFLAGS = $(AM_CPPFLAGS) -I $(top_srcdir)/src/preproc/refer
22 refer_LDADD = libbib.a libgroff.a $(LIBM) lib/libgnu.a
23 refer_SOURCES =  \
24   src/preproc/refer/command.cpp \
25   src/preproc/refer/ref.cpp \
26   src/preproc/refer/refer.cpp \
27   src/preproc/refer/token.cpp \
28   src/preproc/refer/label.ypp \
29   src/preproc/refer/refer.h \
30   src/preproc/refer/ref.h \
31   src/preproc/refer/token.h \
32   src/preproc/refer/command.h
33 PREFIXMAN1 += src/preproc/refer/refer.1
34 EXTRA_DIST += src/preproc/refer/TODO src/preproc/refer/refer.1.man
35 CLEANFILES += \
36   src/preproc/refer/label.cpp \
37   src/preproc/refer/label.hpp \
38   src/preproc/refer/label.output
39 # As refer_CPPFLAGS was set, all the .o have a 'refer-' prefix
40 src/preproc/refer/refer-command.$(OBJEXT): defs.h
41 src/preproc/refer/refer-ref.$(OBJEXT): defs.h
42 src/preproc/refer/refer-refer.$(OBJEXT): defs.h
43 src/preproc/refer/refer-token.$(OBJEXT): defs.h
44 src/preproc/refer/refer-label.$(OBJEXT): defs.h
45
46
47 ########################################################################
48 ### Emacs settings
49 # Local Variables:
50 # mode: makefile-automake
51 # End: