summaryrefslogtreecommitdiffstats
path: root/kttsd/kcmkttsmgr/Makefile.am
blob: 094f59c1bf760cd49e70386aa94aab9f14bde2ba (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 = \
	-I$(top_srcdir)/kttsd/libkttsd -I$(top_builddir)/kttsd/libkttsd \
	$(CFLAGS_GST) \
	$(KTTS_KSPEECH_INCLUDE) \
	$(all_includes)

# Let automoc handle all of the metsource files (moc).
METASOURCES = AUTO

#########################################################################
# KCMODULE SECTION
#########################################################################
# This is the kcmodule that gets installed.  It's name is used for all
# of the other Makefile.am variables.

kde_module_LTLIBRARIES = kcm_kttsd.la

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

# The source, library search path, and link libraries.
kcm_kttsd_la_SOURCES = \
	kspeech.stub \
	kspeechsink.skel \
	kcmkttsmgr.cpp \
	kcmkttsmgrwidget.ui \
	addtalker.cpp \
	addtalkerwidget.ui \
	selectevent.cpp \
	selecteventwidget.ui

kcm_kttsd_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries)
kcm_kttsd_la_LIBADD = \
	$(top_builddir)/kttsd/libkttsd/libkttsd.la \
	$(LIB_KIO) 

# Header files that should not be installed.
noinst_HEADERS = \
	kcmkttsmgr.h \
	kcmkttsmgrwidget.h \
	kcmkttsmgrwidget.ui.h \
	addtalker.h \
	selectevent.h

# K Menu entry.
xdg_apps_DATA = kcmkttsd.desktop

# Install data files.
kcmkttsddatadir = $(kde_datadir)/kttsd/
kcmkttsddata_DATA = kcmkttsd_testmessage.desktop