| 1 |
# |
| 2 |
# Copyright (C) 2002 - 2018 Brailcom, o.p.s. |
| 3 |
# |
| 4 |
# This is free software; you can redistribute it and/or modify it |
| 5 |
# under the terms of the GNU General Public License as published by |
| 6 |
# the Free Software Foundation; either version 2, or (at your option) |
| 7 |
# any later version. |
| 8 |
# |
| 9 |
# This software is distributed in the hope that it will be useful, |
| 10 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 |
# General Public License for more details. |
| 13 |
# |
| 14 |
# You should have received a copy of the GNU General Public License |
| 15 |
# along with this program. If not, see <https://www.gnu.org/licenses/>. |
| 16 |
# |
| 17 |
|
| 18 |
## Process this file with automake to produce Makefile.in |
| 19 |
|
| 20 |
inc_local = -I$(top_srcdir)/include -I$(top_srcdir)/src/api/c |
| 21 |
c_api = $(top_builddir)/src/api/c |
| 22 |
|
| 23 |
bin_PROGRAMS = spd-say |
| 24 |
spd_say_CPPFLAGS = $(inc_local) $(GLIB_CFLAGS) |
| 25 |
spd_say_SOURCES = say.c options.c options.h |
| 26 |
spd_say_LDADD = $(c_api)/libspeechd.la $(EXTRA_SOCKET_LIBS) $(top_builddir)/src/common/libcommon.la -lpthread |
| 27 |
|
| 28 |
if HAVE_HELP2MAN |
| 29 |
spd-say.1: spd-say$(EXEEXT) |
| 30 |
LC_ALL=C help2man -n "send text-to-speech output request to speech-dispatcher" --output=$@ ./$< |
| 31 |
|
| 32 |
dist_man1_MANS = \ |
| 33 |
spd-say.1 |
| 34 |
endif |
| 35 |
|
| 36 |
CLEANFILES = $(dist_man1_MANS) |
| 37 |
|
| 38 |
-include $(top_srcdir)/git.mk |