moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / kmessedwords / kmessedwords / Makefile.am
blob469d5d4eda3c5768045cdbe911939e55adccf3ef
1 ####### kdevelop will overwrite this part!!! (begin)##########
2 bin_PROGRAMS = kmessedwords
3 kmessedwords_SOURCES = minparser.cpp answer.cpp mainwindow.cpp frontend.ui \
4         kmwdict.ui kwritewords.cpp main.cpp kmwview.cpp prefs.kcfgc \
5         interface.ui game.ui
6 kmessedwords_LDADD   =  $(LIB_KFILE) $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_QT) $(LIBSOCKET)
8 SUBDIRS = pics 
10 EXTRA_DIST = main.cpp kmessedwords.desktop kwritewords.cpp kwritewords.h easy.txt hard.txt medium.txt kmw_release_tag kmwdict.ui frontend.ui mainwindow.cpp mainwindow.h answer.cpp answer.h minparser.h minparser.cpp globals.h kmwview.cpp kmwview.h
12 xdg_apps_DATA = kmessedwords.desktop
13 kde_kcfg_DATA = kmessedwords.kcfg
15 txt_DATA = easy.txt hard.txt medium.txt
16 txtdir = $(kde_datadir)/kmessedwords
18 appdir = $(kde_datadir)/kmessedwords
19 app_DATA = kmessedwordsui.rc
21 # set the include path for X, qt and KDE
22 INCLUDES= $(all_includes)
24 METASOURCES = AUTO
26 # the library search path. 
27 kmessedwords_LDFLAGS = $(all_libraries) $(KDE_RPATH)
29 stringstocpp:
30         rm -f dictionary_i18n.cpp; \
31         echo "//# easy.txt" >> dictionary_i18n.cpp ;\
32         cat easy.txt | sed -e 's#^\(.*\)#i18n(\"\1\");#' >> dictionary_i18n.cpp ;\
33         echo "//# medium.txt" >> dictionary_i18n.cpp ;\
34         cat medium.txt | sed -e 's#^\(.*\)#i18n(\"\1\");#' >> dictionary_i18n.cpp
35         echo "//# hard.txt" >> dictionary_i18n.cpp ;\
36         cat hard.txt | sed -e 's#^\(.*\)#i18n(\"\1\");#' >> dictionary_i18n.cpp
39 messages: rc.cpp
40         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`; \
41         if test -n "$$LIST"; then \
42          $(XGETTEXT) $$LIST -o $(podir)/kmessedwords.pot; \
43         fi