summaryrefslogtreecommitdiffstats
path: root/kttsd/kttsd/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'kttsd/kttsd/Makefile.am')
-rw-r--r--kttsd/kttsd/Makefile.am51
1 files changed, 51 insertions, 0 deletions
diff --git a/kttsd/kttsd/Makefile.am b/kttsd/kttsd/Makefile.am
new file mode 100644
index 0000000..a553636
--- /dev/null
+++ b/kttsd/kttsd/Makefile.am
@@ -0,0 +1,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)
+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
+