INCLUDES = $(all_includes)

SUBDIRS = pics

kiten_SOURCES = main.cpp kiten.cpp learn.cpp kloader.cpp ksaver.cpp \
	configsearching.ui configlearn.ui configfont.ui configdictionariesbase.ui \
	configdictionaries.cpp optiondialog.cpp kitenconfig.kcfgc

kiten_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
kiten_LDADD = libkiten.la $(LIB_TDEIO)

bin_PROGRAMS = kiten kitengen
lib_LTLIBRARIES = libkiten.la

libkiten_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined -version-info 1:0:0
libkiten_la_LIBADD = $(LIB_TDEUI) $(LIB_TDEPRINT) $(LIB_TQT) $(LIB_TDECORE)

libkiten_la_SOURCES = asyndeta.cpp dict.cpp widgets.cpp kromajiedit.cpp rad.cpp \
	deinf.cpp kitenconfig.kcfgc

libkitenincludedir = $(includedir)/libkiten
libkiteninclude_HEADERS = \
	asyndeta.h dict.h widgets.h kromajiedit.h rad.h deinf.h

kitengen_SOURCES = xjdxgen.c
kitengen_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor

METASOURCES = AUTO

rcdir = $(kde_datadir)/kiten
rc_DATA = kitenui.rc learnui.rc eeditui.rc

xdg_apps_DATA = kiten.desktop

kiten_DATA = edict kanjidic radkfile vconj romkana.cnv
kitendir = $(kde_datadir)/kiten

kde_kcfg_DATA = kiten.kcfg

messages: rc.cpp
	$(XGETTEXT) *.cpp *.h -o $(podir)/kiten.pot





include ../admin/Doxyfile.am
