2 include_directories( ${CMAKE_SOURCE_DIR}/kttsd/libkttsd )
5 ########### next target ###############
17 kde4_automoc(${kttsd_SRCS})
19 kde4_add_dcop_skels(kttsd_SRCS ${CMAKE_INSTALL_PREFIX}/include/kspeech.h kttsd.h )
21 kde4_add_dcop_stubs(kttsd_SRCS ${CMAKE_INSTALL_PREFIX}/include/kspeechsink.h )
23 kde4_add_executable(kttsd_bin ${kttsd_SRCS})
24 set_target_properties(kttsd_bin PROPERTIES OUTPUT_NAME kttsd)
26 target_link_libraries(kttsd_bin
30 install_targets(/bin kttsd_bin )
33 ########### install files ###############
35 install_files( ${DATA_INSTALL_DIR}/kttsd/xslt/ FILES SSMLtoPlainText.xsl )
36 install_files( ${SERVICES_INSTALL_DIR} FILES kttsd.desktop )
41 #original Makefile.am contents follow:
43 ## Include paths. INCLUDES is maintained by KDevelop, AM_CPPFLAGS is the preferred variable,
44 ## so keep them synchronized.
46 # -I$(top_srcdir)/kttsd/libkttsd \
47 # -I$(kde_includes)/arts \
48 # $(KTTS_KSPEECH_INCLUDE) \
51 ## Let am_edit/unsermake handle all of the metasource files (moc).
54 ##########################################################################
55 ## APPLICATION SECTION
56 ##########################################################################
57 ## This is the program that gets installed. It's name is used for all
58 ## of the other Makefile.am variables.
61 #kspeech_DIR = $(KTTS_KSPEECH_DIR)
62 #kspeechsink_DIR = $(KTTS_KSPEECH_DIR)
64 ## The source, library search path, and link libraries.
65 ## Note: .skel files cause DCOPIDL compiler to generate _skel.cpp file and compile it.
67 # kspeech.skel kspeechsink.stub\
73 # threadedplugin.cpp \
78 #kttsd_LDFLAGS = -avoid-version -module $(all_libraries) $(KDE_RPATH)
80 # $(top_builddir)/kttsd/libkttsd/libkttsd.la \
85 ## Install desktop file to standard services directory.
86 #kde_services_DATA = kttsd.desktop
89 #kttsddatadir = $(kde_datadir)/kttsd/xslt/
90 #kttsddata_DATA = SSMLtoPlainText.xsl
92 #noinst_HEADERS = threadedplugin.h ssmlconvert.h