



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

set(kcm_fileshare_PART_SRCS fileshare.cpp groupconfigdlg.cpp krichtextlabel.cpp ${libfilesharesamba_SRCS} ${libfilesharenfs_SRCS} ${fileshare_propsdlgplugin_SRCS} ${libpropsdlgplugin_common_SRCS})



kde4_add_ui3_files(kcm_fileshare_PART_SRCS 
		controlcenter.ui 
		groupconfiggui.ui 
		${CMAKE_SOURCE_DIR}/filesharing/advanced/kcm_sambaconf/socketoptionsdlg.ui
		${CMAKE_SOURCE_DIR}/filesharing/advanced/kcm_sambaconf/userselectdlg.ui
		${CMAKE_SOURCE_DIR}/filesharing/advanced/kcm_sambaconf/groupselectdlg.ui
		${CMAKE_SOURCE_DIR}/filesharing/advanced/kcm_sambaconf/usertab.ui
		${CMAKE_SOURCE_DIR}/filesharing/advanced/kcm_sambaconf/filemodedlg.ui
		${CMAKE_SOURCE_DIR}/filesharing/advanced/kcm_sambaconf/expertuserdlg.ui
		${CMAKE_SOURCE_DIR}/filesharing/advanced/propsdlgplugin/propertiespagegui.ui
		${CMAKE_SOURCE_DIR}/filesharing/advanced/nfs/nfsdialoggui.ui
		${CMAKE_SOURCE_DIR}/filesharing/advanced/nfs/hostprops.ui
		)

kde4_add_ui_files(kcm_fileshare_PART_SRCS
	${CMAKE_SOURCE_DIR}/filesharing/advanced/kcm_sambaconf/share.ui
)


kde4_add_plugin(kcm_fileshare ${kcm_fileshare_PART_SRCS})


target_link_libraries(kcm_fileshare  ${KDE4_KIO_LIBS} ${KDE4_KDE3SUPPORT_LIBS})

install(TARGETS kcm_fileshare  DESTINATION ${PLUGIN_INSTALL_DIR})


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

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



