Imported Upstream version 1.22.4
[platform/upstream/groff.git] / src / utils / xtotroff / xtotroff.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 if !WITHOUT_X11
21 bin_PROGRAMS += xtotroff
22 man1_MANS += src/utils/xtotroff/xtotroff.1
23 xtotroff_SOURCES = src/utils/xtotroff/xtotroff.c
24 XLIBS=$(LIBXUTIL) $(LIBGROFF)
25 xtotroff_LDADD = libxutil.a libgroff.a $(X_LIBS) $(X_PRE_LIBS) \
26   -lXaw -lXt -lX11 $(X_EXTRA_LIBS) $(LIBM) lib/libgnu.a
27 xtotroff_CPPFLAGS = $(AM_CPPFLAGS) $(X_CFLAGS)
28 endif
29 EXTRA_DIST += src/utils/xtotroff/xtotroff.1.man
30
31
32 ########################################################################
33 ### Emacs settings
34 # Local Variables:
35 # mode: makefile-automake
36 # End: