SET(libkbfxspinxtestsrc
	kbfxspinx.cpp
	kbfxbutton.cpp
	kbfxspinxmenu.cpp
	kbfxspinxview.cpp
	kbfxspinxtop.cpp
	kbfxspinxscrollbar.cpp
	kbfxspinxpopup.cpp
	kbfxspinxtoolbar.cpp
	kbfxspinxtoolbutton.cpp
	kbfxfancypopupitem.cpp
	)

KDE3_ADD_DCOP_SKELS(libkbfxspinxtestsrc kbfxspinx.h)
KDE3_AUTOMOC(${libkbfxspinxtestsrc})

ADD_LIBRARY(kbfxspinxtest MODULE ${libkbfxspinxtestsrc} )
SET_TARGET_PROPERTIES(kbfxspinxtest
    	PROPERTIES
    	COMPILE_FLAGS ${CMAKE_SHARED_LIBRARY_CXX_FLAGS})
# SET_TARGET_PROPERTIES(kbfxspinxtest PROPERTIES
#     SOVERSION ${LIB_MAJOR}
#     VERSION ${APPLICATION_VERSION})
TARGET_LINK_LIBRARIES(kbfxspinxtest
    kbfxplasma
    ${QT_AND_KDECORE_LIBS}
    ${KDE3_UI_LIBRARY}
    )

KDE3_INSTALL_LIBTOOL_FILE(kbfxspinxtest ${LIB_INSTALL_DIR})
INSTALL(TARGETS kbfxspinxtest DESTINATION ${LIB_INSTALL_DIR})
INSTALL(FILES kbfxspinxtest.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets)
