TDE base libraries and programs
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

50 rindas
1.4KB

  1. #################################################
  2. #
  3. # (C) 2010-2011 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. # FIXME this is far from complete!!!
  12. include_directories(
  13. ${CMAKE_CURRENT_BINARY_DIR}
  14. ${CMAKE_BINARY_DIR}
  15. ${DBUS_INCLUDE_DIRS}
  16. ${CMAKE_SOURCE_DIR}/tdm/kfrontend
  17. )
  18. link_directories(
  19. ${DBUS_LIBRARY_DIRS}
  20. )
  21. ##### tdm (executable) ##########################
  22. add_custom_command( OUTPUT config.ci
  23. COMMAND perl -w ${CMAKE_SOURCE_DIR}/tdm/confproc.pl ${CMAKE_SOURCE_DIR}/tdm/config.def config.ci
  24. DEPENDS ${CMAKE_SOURCE_DIR}/tdm/confproc.pl ${CMAKE_SOURCE_DIR}/tdm/config.def )
  25. set_property( SOURCE auth.c session.c APPEND PROPERTY OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/config.ci )
  26. if( WITH_XDMCP )
  27. set( XDMCP_LIBRARIES "Xdmcp" )
  28. else()
  29. set( XDMCP_LIBRARIES "" )
  30. endif()
  31. tde_add_executable( tdm
  32. SOURCES
  33. access.c auth.c bootman.c choose.c client.c consolekit.c
  34. ctrl.c daemon.c dm.c dpylist.c error.c genauth.c getfd.c
  35. inifile.c krb5auth.c mitauth.c netaddr.c policy.c
  36. process.c protodpy.c reset.c resource.c rpcauth.c
  37. server.c session.c sessreg.c socket.c streams.c
  38. util.c xdmauth.c xdmcp.c
  39. LINK X11 ${XAU_LIBRARIES} ${DBUS_LIBRARIES} ${CRYPT_LIBRARY} ${PAM_LIBRARY} ${UTIL_LIBRARY} ${XDMCP_LIBRARIES}
  40. DESTINATION ${BIN_INSTALL_DIR}
  41. )