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.
49 lines
1.4 KiB
49 lines
1.4 KiB
14 years ago
|
#################################################
|
||
|
#
|
||
|
# (C) 2010-2011 Serghei Amelian
|
||
|
# serghei (DOT) amelian (AT) gmail.com
|
||
|
#
|
||
|
# Improvements and feedback are welcome
|
||
|
#
|
||
|
# This file is released under GPL >= 2
|
||
|
#
|
||
|
#################################################
|
||
|
|
||
|
# FIXME this is far from complete!!!
|
||
|
|
||
|
include_directories(
|
||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||
|
${CMAKE_BINARY_DIR}
|
||
14 years ago
|
${DBUS_TQT_INCLUDE_DIRS}
|
||
14 years ago
|
)
|
||
|
|
||
14 years ago
|
link_directories(
|
||
|
${DBUS_TQT_LIBRARY_DIRS}
|
||
|
)
|
||
14 years ago
|
|
||
13 years ago
|
##### tdm (executable) ##########################
|
||
14 years ago
|
|
||
|
add_custom_command( OUTPUT config.ci
|
||
13 years ago
|
COMMAND perl -w ${CMAKE_SOURCE_DIR}/tdm/confproc.pl ${CMAKE_SOURCE_DIR}/tdm/config.def config.ci
|
||
|
DEPENDS ${CMAKE_SOURCE_DIR}/tdm/confproc.pl ${CMAKE_SOURCE_DIR}/tdm/config.def )
|
||
14 years ago
|
|
||
|
set_property( SOURCE auth.c APPEND PROPERTY OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/config.ci )
|
||
|
|
||
13 years ago
|
if( WITH_XDMCP )
|
||
13 years ago
|
set( XDMCP_LIBRARIES "Xdmcp" )
|
||
13 years ago
|
else()
|
||
|
set( XDMCP_LIBRARIES "" )
|
||
|
endif()
|
||
|
|
||
13 years ago
|
tde_add_executable( tdm
|
||
14 years ago
|
SOURCES
|
||
|
access.c auth.c bootman.c choose.c client.c consolekit.c
|
||
|
ctrl.c daemon.c dm.c dpylist.c error.c genauth.c
|
||
|
inifile.c krb5auth.c mitauth.c netaddr.c policy.c
|
||
|
process.c protodpy.c reset.c resource.c rpcauth.c
|
||
|
server.c session.c sessreg.c socket.c streams.c
|
||
|
util.c xdmauth.c xdmcp.c
|
||
13 years ago
|
LINK X11 ${XAU_LIBRARIES} ${DBUS_TQT_LIBRARIES} ${CRYPT_LIBRARY} ${PAM_LIBRARY} ${XDMCP_LIBRARIES}
|
||
14 years ago
|
DESTINATION ${BIN_INSTALL_DIR}
|
||
|
)
|