diff --git a/kresources/CMakeLists.txt b/kresources/CMakeLists.txt index 91eb5cb34..7dd310c7d 100644 --- a/kresources/CMakeLists.txt +++ b/kresources/CMakeLists.txt @@ -1,132 +1,132 @@ kde4_header() include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ) ########### next target ############### set(kresources_LIB_SRCS resource.cpp factory.cpp managerimpl.cpp configwidget.cpp configdialog.cpp selectdialog.cpp configpage.cpp ) kde4_automoc(${kresources_LIB_SRCS}) set( kresources_DCOP_SKEL_SRCS manageriface.h ) kde4_add_dcop_skels(kresources_LIB_SRCS ${kresources_DCOP_SKEL_SRCS}) set( kresources_DCOP_STUB_SRCS manageriface.h ) kde4_add_dcop_stubs(kresources_LIB_SRCS ${kresources_DCOP_STUB_SRCS}) kde4_add_library(kresources SHARED ${kresources_LIB_SRCS}) target_link_libraries(kresources ${QT_AND_KDECORE_LIBS} kdeui kio ) set_target_properties(kresources PROPERTIES VERSION 1.2.0 SOVERSION 1 ) install_targets(/lib kresources ) ########### next target ############### set(kcm_kresources_PART_SRCS kcmkresources.cpp ) kde4_automoc(${kcm_kresources_PART_SRCS}) kde4_add_plugin(kcm_kresources ${kcm_kresources_PART_SRCS}) target_link_libraries(kcm_kresources ${QT_AND_KDECORE_LIBS} kresources ) install_targets(/lib/kde4 kcm_kresources ) ########### next target ############### set(testresources_SRCS testresources.cpp ) kde4_automoc(${testresources_SRCS}) if(KDE4_BUILD_TESTS) kde4_add_executable(testresources ${testresources_SRCS}) target_link_libraries(testresources ${QT_AND_KDECORE_LIBS} kresources) endif(KDE4_BUILD_TESTS) ########### install files ############### install_files( ${XDG_APPS_DIR} FILES kresources.desktop ) -install_files( ${KDE4_SERVICESTYPES_DIR} FILES kresources_plugin.desktop kresources_manager.desktop ) +install_files( ${KDE4_SERVICETYPES_DIR} FILES kresources_plugin.desktop kresources_manager.desktop ) install_files( /include/kresources FILES resource.h configwidget.h factory.h manageriface.h managerimpl.h manager.h selectdialog.h configdialog.h configpage.h ) kde4_create_doxygen_docs( ) kde4_footer() #original Makefile.am contents follow: #INCLUDES = $(all_includes) # #METASOURCES = AUTO # #lib_LTLIBRARIES = libkresources.la # #libkresources_la_SOURCES = resource.cpp \ # factory.cpp \ # manageriface.skel \ # manageriface.stub \ # managerimpl.cpp \ # configwidget.cpp \ # configdialog.cpp \ # selectdialog.cpp \ # configpage.cpp # #libkresources_la_LDFLAGS = $(all_libraries) -no-undefined -version-info 3:0:2 #libkresources_la_LIBADD = $(LIB_KDEUI) $(LIB_KIO) # #kresincludedir = $(includedir)/kresources #kresinclude_HEADERS = resource.h \ # configwidget.h \ # factory.h \ # manageriface.h \ # managerimpl.h \ # manager.h \ # selectdialog.h \ # configdialog.h \ # configpage.h # #kde_module_LTLIBRARIES = kcm_kresources.la # #kcm_kresources_la_SOURCES = kcmkresources.cpp #kcm_kresources_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined #kcm_kresources_la_LIBADD = libkresources.la # # #check_PROGRAMS = testresources # #testresources_LDFLAGS = $(all_libraries) $(KDE_RPATH) #testresources_LDADD = libkresources.la #testresources_SOURCES = testresources.cpp # #xdg_apps_DATA = kresources.desktop # #servicetypedir = $(kde_servicetypesdir) #servicetype_DATA = kresources_plugin.desktop kresources_manager.desktop # #include ../admin/Doxyfile.am