
add_subdirectory( keramik ) 



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

set(kcm_style_PART_SRCS kcmstyle.cpp menupreview.cpp styleconfdialog.cpp ${libkrd_SRCS})

kde4_automoc(${kcm_style_PART_SRCS})

kde4_add_ui3_files(kcm_style_PART_SRCS stylepreview.ui)

kde4_add_plugin(kcm_style ${kcm_style_PART_SRCS})

kde4_install_libtool_file(${PLUGIN_INSTALL_DIR} kcm_style)

target_link_libraries(kcm_style ${KDE4_KDE3SUPPORT_LIBS} ${KDE4_KDEFX_LIBS})

install(TARGETS kcm_style  DESTINATION ${PLUGIN_INSTALL_DIR})


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

install( FILES style.desktop  DESTINATION  ${SERVICES_INSTALL_DIR} )

kde4_install_icons( ${ICON_INSTALL_DIR}  )




#original Makefile.am contents follow:

#
#AM_CPPFLAGS  = $(all_includes)
#SUBDIRS = keramik . 
#
#kde_module_LTLIBRARIES = kcm_style.la
#
#kcm_style_la_SOURCES = kcmstyle.cpp stylepreview.ui menupreview.cpp styleconfdialog.cpp
#kcm_style_la_LDFLAGS = $(KDE_RPATH) -module -avoid-version $(all_libraries) -no-undefined
#kcm_style_la_LIBADD = $(LIB_KIO) ../krdb/libkrdb.la
#METASOURCES = AUTO 
#
#noinst_HEADERS = kcmstyle.h stylepreview.h menupreview.h
#
#messages: rc.cpp
#	$(XGETTEXT) *.cpp -o $(podir)/kcmstyle.pot
#
#xdg_apps_DATA = style.desktop
#
#KDE_ICON=AUTO
