INCLUDES = $(all_includes)
AM_LDFLAGS   = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
LDADD =  $(LIB_TDEFILE) $(LIB_TDEPRINT)

bin_PROGRAMS = kjots

kjots_SOURCES = main.cpp\
	KJotsMain.cpp\
	kjotsentry.cpp\
	kjotsedit.cpp\
	kjotsbookmarks.cpp\
	confpagefont.ui\
	confpagemisc.ui \
	KJotsSettings.kcfgc

kjots_METASOURCES = AUTO

SUBDIRS = icons 

xdg_apps_DATA = Kjots.desktop
kde_kcfg_DATA = kjots.kcfg

rcdir = $(kde_datadir)/kjots
rc_DATA = kjotsui.rc

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

