TDE core libraries
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

134 lines
4.0 KiB

  1. #################################################
  2. #
  3. # (C) 2010 Serghei Amelian
  4. # serghei (DOT) amelian (AT) gmail.com
  5. #
  6. # Improvements and feedback are welcome
  7. #
  8. # This file is released under GPL >= 2
  9. #
  10. #################################################
  11. include_directories(
  12. ${TQT_INCLUDE_DIRS}
  13. ${CMAKE_CURRENT_BINARY_DIR}
  14. ${CMAKE_BINARY_DIR}/tdeio/kssl
  15. ${CMAKE_BINARY_DIR}
  16. ${CMAKE_CURRENT_SOURCE_DIR}
  17. ${CMAKE_BINARY_DIR}/tdecore
  18. ${CMAKE_SOURCE_DIR}
  19. ${CMAKE_SOURCE_DIR}/dcop
  20. ${CMAKE_SOURCE_DIR}/libltdl
  21. ${CMAKE_SOURCE_DIR}/tdecore
  22. ${CMAKE_SOURCE_DIR}/tdecore/network
  23. ${CMAKE_SOURCE_DIR}/tdeui
  24. ${CMAKE_SOURCE_DIR}/tdeio
  25. ${CMAKE_SOURCE_DIR}/tdeio/kssl
  26. ${CMAKE_SOURCE_DIR}/interfaces
  27. ${LIBR_INCLUDEDIR}
  28. ${GAMIN_INCLUDEDIR}
  29. )
  30. link_directories(
  31. ${GAMIN_LIBDIR}
  32. )
  33. ##### headers ###################################
  34. install( FILES
  35. kservicetype.h kmimetype.h kmimemagic.h kservice.h
  36. krun.h kdirwatch.h kautomount.h kuserprofile.h
  37. kshred.h kar.h ktar.h kzip.h ktrader.h kurifilter.h
  38. kurlcompletion.h kshellcompletion.h tdefileitem.h
  39. tdefileshare.h ksambashare.h knfsshare.h kdirlister.h
  40. kservicegroup.h kimageio.h kdirnotify.h kdirnotify_stub.h
  41. kurlpixmapprovider.h kprotocolinfo.h tdeprotocolmanager.h
  42. kfilterbase.h kfilterdev.h tdeemailsettings.h kscan.h
  43. kdatatool.h karchive.h tdefilefilter.h tdefilemetainfo.h
  44. renamedlgplugin.h kmimetyperesolver.h kdcopservicestarter.h
  45. kremoteencoding.h kmimetypechooser.h kacl.h
  46. DESTINATION ${INCLUDE_INSTALL_DIR} )
  47. install( FILES
  48. connection.h slaveinterface.h slave.h slaveconfig.h
  49. sessiondata.h global.h passdlg.h netaccess.h job.h
  50. scheduler.h jobclasses.h paste.h slavebase.h
  51. progressbase.h defaultprogress.h statusbarprogress.h
  52. tcpslavebase.h forwardingslavebase.h observer.h
  53. chmodjob.h kmdbase.h authinfo.h ioslave_defaults.h
  54. http_slave_defaults.h previewjob.h thumbcreator.h
  55. metainfojob.h davjob.h renamedlg.h skipdlg.h tdelficon.h
  56. ${CMAKE_CURRENT_BINARY_DIR}/uiserver_stub.h
  57. DESTINATION ${INCLUDE_INSTALL_DIR}/tdeio )
  58. ##### tdeiocore ###################################
  59. set( target tdeiocore )
  60. set( ${target}_SRCS
  61. authinfo.cpp kshred.cpp tdeprotocolmanager.cpp slave.cpp
  62. slaveinterface.cpp observer.stub sessiondata.cpp
  63. scheduler.cpp connection.cpp job.cpp global.cpp
  64. slaveconfig.cpp kurlpixmapprovider.cpp netaccess.cpp
  65. paste.cpp pastedialog.cpp kmimemagic.cpp tcpslavebase.cpp
  66. slavebase.cpp passdlg.cpp forwardingslavebase.cpp
  67. progressbase.cpp defaultprogress.cpp statusbarprogress.cpp
  68. kdirnotify.cpp kdirnotify.skel kdirnotify_stub.cpp
  69. observer.cpp ../misc/uiserver.stub observer.skel tdeemailsettings.cpp
  70. kprotocolinfo.cpp renamedlg.cpp skipdlg.cpp kremoteencoding.cpp
  71. kmimetypechooser.cpp
  72. )
  73. tde_add_library( ${target} STATIC_PIC AUTOMOC
  74. SOURCES ${${target}_SRCS}
  75. DEPENDENCIES dcopidl
  76. )
  77. ##### tdesycoca ###################################
  78. set( target tdesycoca )
  79. set( ${target}_SRCS
  80. kdirwatch.cpp tdefileshare.cpp ksambashare.cpp
  81. knfsshare.cpp ktrader.cpp ktraderparse.cpp
  82. ktraderparsetree.cpp kservicetypefactory.cpp
  83. kservicetype.cpp kmimetype.cpp kservicegroup.cpp
  84. kservice.cpp kservicefactory.cpp kuserprofile.cpp
  85. kservicegroupfactory.cpp kurifilter.cpp kfilterbase.cpp
  86. kfilterdev.cpp kshellcompletion.cpp kurlcompletion.cpp
  87. kautomount.cpp krun.cpp tdefileitem.cpp kdirlister.cpp
  88. kimageio.cpp yacc.c lex.c chmodjob.cpp kscan.cpp
  89. kar.cpp ktar.cpp kzip.cpp previewjob.cpp metainfojob.cpp
  90. davjob.cpp kdatatool.cpp karchive.cpp tdefilefilter.cpp
  91. tdefilemetainfo.cpp kdcopservicestarter.cpp dataslave.cpp
  92. dataprotocol.cpp kacl.cpp
  93. )
  94. if( USE_POSIX_ACL )
  95. set( ${target}_SRCS ${${target}_SRCS} posixacladdons.cpp )
  96. endif( USE_POSIX_ACL )
  97. tde_add_library( ${target} STATIC_PIC AUTOMOC
  98. SOURCES ${${target}_SRCS}
  99. LINK ${MAGIC_LIBRARIES} ${GAMIN_LIBRARIES}
  100. )
  101. ##### tdelficon ###################################
  102. if( HAVE_ELFICON )
  103. set( target tdelficon )
  104. set( ${target}_SRCS
  105. tdelficon.cpp
  106. )
  107. tde_add_library( ${target} STATIC_PIC AUTOMOC
  108. SOURCES ${${target}_SRCS}
  109. )
  110. endif( HAVE_ELFICON )