summaryrefslogtreecommitdiffstats
path: root/kmouth/Makefile.am
blob: a5314bff7fd403ca77f0b5bdd9561917ff98cc5b (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
bin_PROGRAMS = kmouth

kmouth_SOURCES = preferencesui.ui texttospeechconfigurationui.ui texttospeechconfigurationwidget.cpp optionsdialog.cpp configwizard.cpp phraseedit.cpp phraselist.cpp speech.cpp texttospeechsystem.cpp phraselistitem.cpp kmouth.cpp main.cpp 
kmouth_LDADD   = ./phrasebook/libphrasebook.a ./wordcompletion/libwordcompletion.a -lkdeprint $(LIB_KFILE) $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_QT) $(LIBSOCKET)

SUBDIRS = icons phrasebook wordcompletion books . 

EXTRA_DIST = main.cpp version.h kmouth.cpp kmouth.h kmouthui.rc kmouth.desktop phraselistitem.cpp phraselistitem.h texttospeechsystem.cpp texttospeechsystem.h speech.cpp speech.h phraselist.cpp phraselist.h phraseedit.cpp phraseedit.h kmouthrc configwizard.cpp configwizard.h optionsdialog.cpp optionsdialog.h texttospeechconfigurationwidget.h texttospeechconfigurationwidget.cpp texttospeechconfigurationui.ui preferencesui.ui 

kde_conf_DATA = kmouthrc

apps_DATA = kmouth.desktop
appsdir = $(kde_appsdir)/Applications

# set the include path for X, qt and KDE
INCLUDES= -Iphrasebook -Iwordcompletion $(all_includes)

METASOURCES = AUTO

# the library search path. 
kmouth_LDFLAGS = $(all_libraries) -lkspell $(KDE_RPATH)

rcdir = $(kde_datadir)/kmouth
rc_DATA = kmouthui.rc

messages: rc.cpp
	$(EXTRACTRC) *.rc *.ui */*.ui >> ./rc.cpp
	LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
	if test -n "$$LIST"; then \
	 $(XGETTEXT) $$LIST -o $(podir)/kmouth.pot; \
	fi