summaryrefslogtreecommitdiffstats
path: root/kttsd/kttsd/Makefile.am
blob: 5c251ae8cde4f8ca6ac72e2811d36eadd7f01b0f (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
# Include paths.  INCLUDES is maintained by KDevelop, AM_CPPFLAGS is the preferred variable,
# so keep them synchronized.
INCLUDES = \
	-I$(top_srcdir)/kttsd/libkttsd \
	-I$(kde_includes)/arts \
	$(KTTS_KSPEECH_INCLUDE) \
	$(all_includes)

# Let am_edit/unsermake handle all of the metasource files (moc).
METASOURCES = AUTO

#########################################################################
# APPLICATION SECTION
#########################################################################
# This is the program that gets installed.  It's name is used for all
# of the other Makefile.am variables.
bin_PROGRAMS = kttsd

kspeech_DIR = $(KTTS_KSPEECH_DIR)
kspeechsink_DIR = $(KTTS_KSPEECH_DIR)

# The source, library search path, and link libraries.
# Note: .skel files cause DCOPIDL compiler to generate _skel.cpp file and compile it.
kttsd_SOURCES = \
    kspeech.skel kspeechsink.stub\
	main.cpp \
	kttsd.cpp \
	speaker.cpp \
	speechdata.cpp \
	kttsd.skel \
	threadedplugin.cpp \
	ssmlconvert.cpp \
	filtermgr.cpp \
	talkermgr.cpp

kttsd_LDFLAGS = -avoid-version -module $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
kttsd_LDADD = \
	$(top_builddir)/kttsd/libkttsd/libkttsd.la \
	$(LIB_KDECORE) \
	$(LIB_KIO) \
	$(LIB_KUTILS)

# Install desktop file to standard services directory.
kde_services_DATA = kttsd.desktop

# Install data.
kttsddatadir = $(kde_datadir)/kttsd/xslt/
kttsddata_DATA = SSMLtoPlainText.xsl

noinst_HEADERS = threadedplugin.h ssmlconvert.h