git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1254535 283d02a7-25f6-0310-bc7c-ecb5cbfe19dav3.5.13-sru
parent
5ab9dadace
commit
4c7e54787a
@ -0,0 +1,17 @@
|
|||||||
|
#################################################
|
||||||
|
#
|
||||||
|
# (C) 2010-2011 Serghei Amelian
|
||||||
|
# serghei (DOT) amelian (AT) gmail.com
|
||||||
|
#
|
||||||
|
# Improvements and feedback are welcome
|
||||||
|
#
|
||||||
|
# This file is released under GPL >= 2
|
||||||
|
#
|
||||||
|
#################################################
|
||||||
|
|
||||||
|
include( ConfigureChecks.cmake )
|
||||||
|
|
||||||
|
add_subdirectory( ktalkd )
|
||||||
|
add_subdirectory( mail.local )
|
||||||
|
add_subdirectory( kcmktalkd )
|
||||||
|
add_subdirectory( ktalkdlg )
|
@ -0,0 +1,18 @@
|
|||||||
|
#################################################
|
||||||
|
#
|
||||||
|
# (C) 2010-2011 Serghei Amelian
|
||||||
|
# serghei (DOT) amelian (AT) gmail.com
|
||||||
|
#
|
||||||
|
# Improvements and feedback are welcome
|
||||||
|
#
|
||||||
|
# This file is released under GPL >= 2
|
||||||
|
#
|
||||||
|
#################################################
|
||||||
|
|
||||||
|
check_include_file( sys/types.h HAVE_SYS_TYPES_H )
|
||||||
|
check_include_file( sys/stat.h HAVE_SYS_STAT_H )
|
||||||
|
check_include_file( sys/file.h HAVE_SYS_FILE_H )
|
||||||
|
check_include_file( unistd.h HAVE_UNISTD_H )
|
||||||
|
check_include_file( utmp.h HAVE_UTMP_H )
|
||||||
|
|
||||||
|
check_function_exists( vsnprintf HAVE_VSNPRINTF )
|
@ -0,0 +1,37 @@
|
|||||||
|
#################################################
|
||||||
|
#
|
||||||
|
# (C) 2010-2011 Serghei Amelian
|
||||||
|
# serghei (DOT) amelian (AT) gmail.com
|
||||||
|
#
|
||||||
|
# Improvements and feedback are welcome
|
||||||
|
#
|
||||||
|
# This file is released under GPL >= 2
|
||||||
|
#
|
||||||
|
#################################################
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### other data ################################
|
||||||
|
|
||||||
|
tde_install_icons( ktalkd )
|
||||||
|
install( FILES kcmktalkd.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
|
||||||
|
|
||||||
|
|
||||||
|
##### kcm_ktalkd (module) #######################
|
||||||
|
|
||||||
|
tde_add_kpart( kcm_ktalkd AUTOMOC
|
||||||
|
SOURCES
|
||||||
|
main.cpp soundpage.cpp answmachpage.cpp forwmachpage.cpp
|
||||||
|
LINK kio-shared
|
||||||
|
DESTINATION ${PLUGIN_INSTALL_DIR}
|
||||||
|
)
|
@ -0,0 +1,41 @@
|
|||||||
|
#################################################
|
||||||
|
#
|
||||||
|
# (C) 2010-2011 Serghei Amelian
|
||||||
|
# serghei (DOT) amelian (AT) gmail.com
|
||||||
|
#
|
||||||
|
# Improvements and feedback are welcome
|
||||||
|
#
|
||||||
|
# This file is released under GPL >= 2
|
||||||
|
#
|
||||||
|
#################################################
|
||||||
|
|
||||||
|
add_subdirectory( machines )
|
||||||
|
|
||||||
|
add_definitions( -DHAVE_KDE )
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### other data ################################
|
||||||
|
|
||||||
|
install( FILES ktalkd.wav DESTINATION ${SOUND_INSTALL_DIR} )
|
||||||
|
install( FILES ktalkdrc DESTINATION ${CONFIG_INSTALL_DIR} )
|
||||||
|
|
||||||
|
|
||||||
|
##### ktalkd (executable) #######################
|
||||||
|
|
||||||
|
tde_add_executable( ktalkd
|
||||||
|
SOURCES
|
||||||
|
print.c repairs.c announce.cpp process.cpp readcfg++.cpp table.cpp
|
||||||
|
talkd.cpp find_user.cpp threads.cpp options.cpp unixsock.cpp
|
||||||
|
LINK mach-static kdecore-shared
|
||||||
|
DESTINATION ${BIN_INSTALL_DIR}
|
||||||
|
)
|
@ -0,0 +1,24 @@
|
|||||||
|
#################################################
|
||||||
|
#
|
||||||
|
# (C) 2010-2011 Serghei Amelian
|
||||||
|
# serghei (DOT) amelian (AT) gmail.com
|
||||||
|
#
|
||||||
|
# Improvements and feedback are welcome
|
||||||
|
#
|
||||||
|
# This file is released under GPL >= 2
|
||||||
|
#
|
||||||
|
#################################################
|
||||||
|
|
||||||
|
add_definitions( -Dksize_t=socklen_t )
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### mach (static) #############################
|
||||||
|
|
||||||
|
tde_add_library( mach STATIC_PIC
|
||||||
|
SOURCES answmach.cpp forwmach.cpp talkconn.cpp
|
||||||
|
)
|
@ -0,0 +1,30 @@
|
|||||||
|
#################################################
|
||||||
|
#
|
||||||
|
# (C) 2010-2011 Serghei Amelian
|
||||||
|
# serghei (DOT) amelian (AT) gmail.com
|
||||||
|
#
|
||||||
|
# Improvements and feedback are welcome
|
||||||
|
#
|
||||||
|
# This file is released under GPL >= 2
|
||||||
|
#
|
||||||
|
#################################################
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
${TDE_INCLUDE_DIR}
|
||||||
|
${TQT_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
link_directories(
|
||||||
|
${TQT_LIBRARY_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### ktalkdlg (executable) #####################
|
||||||
|
|
||||||
|
tde_add_executable( ktalkdlg AUTOMOC
|
||||||
|
SOURCES ktalkdlg.cpp
|
||||||
|
LINK kdeui-shared
|
||||||
|
DESTINATION ${BIN_INSTALL_DIR}
|
||||||
|
)
|
@ -0,0 +1,22 @@
|
|||||||
|
#################################################
|
||||||
|
#
|
||||||
|
# (C) 2010-2011 Serghei Amelian
|
||||||
|
# serghei (DOT) amelian (AT) gmail.com
|
||||||
|
#
|
||||||
|
# Improvements and feedback are welcome
|
||||||
|
#
|
||||||
|
# This file is released under GPL >= 2
|
||||||
|
#
|
||||||
|
#################################################
|
||||||
|
|
||||||
|
include_directories(
|
||||||
|
${CMAKE_BINARY_DIR}
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
##### mail.local (executable) ###################
|
||||||
|
|
||||||
|
tde_add_executable( mail.local
|
||||||
|
SOURCES mail.local.c
|
||||||
|
DESTINATION ${BIN_INSTALL_DIR}
|
||||||
|
)
|
Loading…
Reference in new issue