



########### next target ###############

set(kdict_panelapplet_PART_SRCS kdictapplet.cpp )

kde4_automoc(${kdict_panelapplet_PART_SRCS})

kde4_add_plugin(kdict_panelapplet ${kdict_panelapplet_PART_SRCS})

kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kdict_panelapplet )

target_link_libraries(kdict_panelapplet  ${KDE4_KIO_LIBS} kickermain )

install(TARGETS kdict_panelapplet  DESTINATION ${PLUGIN_INSTALL_DIR})


########### install files ###############

install( FILES kdictapplet.desktop  DESTINATION ${DATA_INSTALL_DIR}/kicker/applets)




#original Makefile.am contents follow:

#INCLUDES = $(all_includes)
#
#kde_module_LTLIBRARIES = kdict_panelapplet.la
#
#kdict_panelapplet_la_SOURCES = kdictapplet.cpp
#
#METASOURCES = AUTO
#noinst_HEADERS = kdictapplet.h
#
#lnkdir = $(kde_datadir)/kicker/applets
#lnk_DATA = kdictapplet.desktop
#
#EXTRA_DIST = $(lnk_DATA)
#
#kdict_panelapplet_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
#kdict_panelapplet_la_LIBADD = $(LIB_KSYCOCA) $(LIB_KDEUI)  -lkickermain
#
#messages: rc.cpp
#	$(XGETTEXT) *.cpp *.h -o $(podir)/kdictapplet.pot
