INCLUDES= -I$(top_srcdir)/libkonq $(all_includes)

METASOURCES = AUTO

bin_PROGRAMS = kbookmarkmerger
lib_LTLIBRARIES =
kdeinit_LTLIBRARIES = keditbookmarks.la

kbookmarkmerger_SOURCES = kbookmarkmerger.cpp
kbookmarkmerger_LDFLAGS = $(all_libraries) $(KDE_RPATH)
kbookmarkmerger_LDADD = $(LIB_KIO)

dcop_DCOPIDLNG = true
keditbookmarks_la_SOURCES = main.cpp listview.cpp toplevel.cpp actionsimpl.cpp commands.cpp importers.cpp dcop.skel dcop.cpp bookmarkiterator.cpp  \
                            testlink.cpp favicons.cpp updater.cpp exporters.cpp kbookmarknotifier.stub bookmarkinfo.cpp
kbookmarknotifier_DIR = $(includedir)
keditbookmarks_la_LIBADD  = $(top_builddir)/libkonq/libkonq.la
keditbookmarks_la_LDFLAGS = $(all_libraries) -module -avoid-version

rcdir = $(kde_datadir)/keditbookmarks
rc_DATA = keditbookmarksui.rc  keditbookmarks-genui.rc

install-data-local: uninstall.desktop
	$(mkinstalldirs) $(DESTDIR)$(kde_appsdir)/Internet
	$(INSTALL_DATA) $(srcdir)/uninstall.desktop $(DESTDIR)$(kde_appsdir)/Internet/keditbookmarks.desktop

KDE_ICON = AUTO

