



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

set(noatunwakeup_PART_SRCS wakeup.cpp kminutespinbox.cpp kpercentspinbox.cpp )

kde4_add_plugin(noatunwakeup ${noatunwakeup_PART_SRCS})



target_link_libraries(noatunwakeup  ${KDE4_KDECORE_LIBS} noatun m )

install(TARGETS noatunwakeup  DESTINATION ${PLUGIN_INSTALL_DIR} )


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

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




#original Makefile.am contents follow:

#INCLUDES= -I$(kde_includes)/arts $(all_includes)
#kde_module_LTLIBRARIES = noatunwakeup.la
#
#noatunwakeup_la_SOURCES = wakeup.cpp \
#	kminutespinbox.cpp \
#	kpercentspinbox.cpp
#
#noatunwakeup_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined
#noatunwakeup_la_LIBADD = $(LIB_KFILE) -lnoatun -lm
#
#noatunwakeup_la_METASOURCES = AUTO
#
#noinst_HEADERS = wakeup.h \
#	kminutespinbox.h \
#	kpercentspinbox.h
#
#noatun_DATA = wakeup.plugin
#noatundir = $(kde_datadir)/noatun
#
#messages: rc.cpp
#	$(XGETTEXT) *.cpp *.h -o $(podir)/wakeup.pot
