



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

set(noatunmadness_PART_SRCS madness.cpp )

kde4_add_plugin(noatunmadness ${noatunmadness_PART_SRCS})



target_link_libraries(noatunmadness  ${KDE4_KDECORE_LIBS} noatun m )

install(TARGETS noatunmadness  DESTINATION ${PLUGIN_INSTALL_DIR} )


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

install( FILES madness.plugin  DESTINATION  ${DATA_INSTALL_DIR}/noatun )




#original Makefile.am contents follow:

#INCLUDES= $(all_includes)
#
#kde_module_LTLIBRARIES = noatunmadness.la
#noatunmadness_la_SOURCES = madness.cpp
#noatunmadness_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined
#noatunmadness_la_LIBADD = $(LIB_KFILE) -lnoatun -lm
#noatunmadness_la_METASOURCES = AUTO
#
#noatun_DATA = madness.plugin
#noatundir = $(kde_datadir)/noatun
