2009-02-01 09:06:21 -05:00
|
|
|
TEMPLATE = lib
|
2011-03-07 07:27:12 -05:00
|
|
|
CONFIG += staticlib bitdht
|
2010-05-06 07:06:14 -04:00
|
|
|
CONFIG -= qt
|
2009-02-01 09:06:21 -05:00
|
|
|
TARGET = retroshare
|
|
|
|
|
2011-08-03 13:43:26 -04:00
|
|
|
CONFIG += test_voip
|
|
|
|
|
2013-06-25 15:31:59 -04:00
|
|
|
#GXS Stuff.
|
2012-12-16 14:17:11 -05:00
|
|
|
# This should be disabled for releases until further notice.
|
2013-06-05 08:11:46 -04:00
|
|
|
#CONFIG += gxs debug
|
2012-07-27 11:03:16 -04:00
|
|
|
|
2010-08-31 16:00:49 -04:00
|
|
|
# Beware: All data of the stripped services are lost
|
2012-11-15 09:18:52 -05:00
|
|
|
DEFINES *= PQI_DISABLE_TUNNEL
|
2011-04-24 16:20:49 -04:00
|
|
|
#ENABLE_CACHE_OPT
|
2010-08-31 16:00:49 -04:00
|
|
|
|
2009-05-26 17:42:45 -04:00
|
|
|
profiling {
|
|
|
|
QMAKE_CXXFLAGS -= -fomit-frame-pointer
|
|
|
|
QMAKE_CXXFLAGS *= -pg -g -fno-omit-frame-pointer
|
|
|
|
}
|
2009-07-12 08:53:49 -04:00
|
|
|
|
2012-02-17 05:03:38 -05:00
|
|
|
# treat warnings as error for better removing
|
|
|
|
#QMAKE_CFLAGS += -Werror
|
|
|
|
#QMAKE_CXXFLAGS += -Werror
|
2010-10-01 20:52:59 -04:00
|
|
|
|
2013-03-06 18:33:23 -05:00
|
|
|
CONFIG += debug
|
2009-05-09 06:25:44 -04:00
|
|
|
debug {
|
2009-07-12 08:53:49 -04:00
|
|
|
# DEFINES *= DEBUG
|
2009-05-09 06:25:44 -04:00
|
|
|
# DEFINES *= OPENDHT_DEBUG DHT_DEBUG CONN_DEBUG DEBUG_UDP_SORTER P3DISC_DEBUG DEBUG_UDP_LAYER FT_DEBUG EXTADDRSEARCH_DEBUG
|
2010-02-23 17:17:06 -05:00
|
|
|
# DEFINES *= CONTROL_DEBUG FT_DEBUG DEBUG_FTCHUNK P3TURTLE_DEBUG
|
|
|
|
# DEFINES *= P3TURTLE_DEBUG
|
2009-11-18 18:02:37 -05:00
|
|
|
# DEFINES *= NET_DEBUG
|
|
|
|
# DEFINES *= DISTRIB_DEBUG
|
2010-02-16 17:25:58 -05:00
|
|
|
# DEFINES *= P3TURTLE_DEBUG FT_DEBUG DEBUG_FTCHUNK MPLEX_DEBUG
|
2010-04-15 06:47:48 -04:00
|
|
|
# DEFINES *= STATUS_DEBUG SERV_DEBUG RSSERIAL_DEBUG #CONN_DEBUG
|
2010-02-16 17:25:58 -05:00
|
|
|
|
2010-06-25 18:13:52 -04:00
|
|
|
QMAKE_CXXFLAGS -= -O2 -fomit-frame-pointer
|
2010-02-14 09:18:53 -05:00
|
|
|
QMAKE_CXXFLAGS *= -g -fno-omit-frame-pointer
|
2009-05-09 06:25:44 -04:00
|
|
|
}
|
|
|
|
|
2012-12-16 14:17:11 -05:00
|
|
|
|
2010-07-17 13:00:19 -04:00
|
|
|
bitdht {
|
|
|
|
|
2011-07-09 21:49:39 -04:00
|
|
|
HEADERS += dht/p3bitdht.h \
|
|
|
|
dht/connectstatebox.h \
|
|
|
|
dht/stunaddrassist.h
|
|
|
|
|
2011-07-06 09:04:50 -04:00
|
|
|
SOURCES += dht/p3bitdht.cc \
|
2011-07-09 20:41:39 -04:00
|
|
|
dht/p3bitdht_interface.cc \
|
|
|
|
dht/p3bitdht_peers.cc \
|
2011-07-09 21:49:39 -04:00
|
|
|
dht/p3bitdht_peernet.cc \
|
2011-12-19 21:07:00 -05:00
|
|
|
dht/p3bitdht_relay.cc \
|
2011-07-09 21:49:39 -04:00
|
|
|
dht/connectstatebox.cc
|
2010-10-04 17:42:31 -04:00
|
|
|
|
2010-07-31 14:14:10 -04:00
|
|
|
HEADERS += tcponudp/udppeer.h \
|
|
|
|
tcponudp/bio_tou.h \
|
|
|
|
tcponudp/tcppacket.h \
|
|
|
|
tcponudp/tcpstream.h \
|
|
|
|
tcponudp/tou.h \
|
2011-06-29 14:02:44 -04:00
|
|
|
tcponudp/udpstunner.h \
|
|
|
|
tcponudp/udprelay.h \
|
2010-07-31 14:14:10 -04:00
|
|
|
|
|
|
|
SOURCES += tcponudp/udppeer.cc \
|
|
|
|
tcponudp/tcppacket.cc \
|
|
|
|
tcponudp/tcpstream.cc \
|
|
|
|
tcponudp/tou.cc \
|
|
|
|
tcponudp/bss_tou.c \
|
2011-06-29 14:02:44 -04:00
|
|
|
tcponudp/udpstunner.cc \
|
|
|
|
tcponudp/udprelay.cc \
|
2010-07-31 14:14:10 -04:00
|
|
|
|
|
|
|
|
2010-07-17 13:00:19 -04:00
|
|
|
BITDHT_DIR = ../../libbitdht/src
|
|
|
|
INCLUDEPATH += . $${BITDHT_DIR}
|
2012-12-16 14:17:11 -05:00
|
|
|
# The next line is for compliance with debian packages. Keep it!
|
2010-08-02 05:11:52 -04:00
|
|
|
INCLUDEPATH += ../libbitdht
|
2010-07-31 14:14:10 -04:00
|
|
|
DEFINES *= RS_USE_BITDHT
|
2010-07-17 13:00:19 -04:00
|
|
|
}
|
|
|
|
|
2010-07-06 11:02:59 -04:00
|
|
|
|
2011-12-13 11:19:37 -05:00
|
|
|
|
2011-08-03 13:43:26 -04:00
|
|
|
|
2010-08-06 05:40:23 -04:00
|
|
|
PUBLIC_HEADERS = retroshare/rsblogs.h \
|
|
|
|
retroshare/rschannels.h \
|
|
|
|
retroshare/rsdisc.h \
|
|
|
|
retroshare/rsdistrib.h \
|
|
|
|
retroshare/rsexpr.h \
|
|
|
|
retroshare/rsfiles.h \
|
|
|
|
retroshare/rsforums.h \
|
2011-09-29 05:20:09 -04:00
|
|
|
retroshare/rshistory.h \
|
2010-08-06 05:40:23 -04:00
|
|
|
retroshare/rsiface.h \
|
|
|
|
retroshare/rsinit.h \
|
2011-06-16 17:59:26 -04:00
|
|
|
retroshare/rsplugin.h \
|
2011-02-01 18:27:53 -05:00
|
|
|
retroshare/rsloginhandler.h \
|
2010-08-06 05:40:23 -04:00
|
|
|
retroshare/rsmsgs.h \
|
|
|
|
retroshare/rsnotify.h \
|
|
|
|
retroshare/rspeers.h \
|
|
|
|
retroshare/rsrank.h \
|
|
|
|
retroshare/rsstatus.h \
|
|
|
|
retroshare/rsturtle.h \
|
2011-07-06 09:04:50 -04:00
|
|
|
retroshare/rstypes.h \
|
2011-07-09 21:49:39 -04:00
|
|
|
retroshare/rsdht.h \
|
2011-11-21 02:49:38 -05:00
|
|
|
retroshare/rsdsdv.h \
|
2011-07-11 14:48:56 -04:00
|
|
|
retroshare/rsconfig.h
|
2010-07-06 11:02:59 -04:00
|
|
|
|
2011-06-17 15:59:01 -04:00
|
|
|
HEADERS += plugins/pluginmanager.h \
|
2012-12-16 14:17:11 -05:00
|
|
|
plugins/dlfcn_win32.h \
|
|
|
|
serialiser/rspluginitems.h
|
2011-06-16 17:59:26 -04:00
|
|
|
|
2010-07-06 11:02:59 -04:00
|
|
|
HEADERS += $$PUBLIC_HEADERS
|
|
|
|
|
2010-08-06 05:40:23 -04:00
|
|
|
# public headers to be...
|
2012-12-16 14:17:11 -05:00
|
|
|
HEADERS += retroshare/rsgame.h \
|
|
|
|
retroshare/rsphoto.h
|
2010-08-06 05:40:23 -04:00
|
|
|
|
2009-10-29 21:41:16 -04:00
|
|
|
################################# Linux ##########################################
|
|
|
|
linux-* {
|
2010-07-06 11:02:59 -04:00
|
|
|
isEmpty(PREFIX) { PREFIX = /usr }
|
2010-08-06 05:40:23 -04:00
|
|
|
isEmpty(INC_DIR) { INC_DIR = $${PREFIX}/include/retroshare/ }
|
2010-07-06 11:02:59 -04:00
|
|
|
isEmpty(LIB_DIR) { LIB_DIR = $${PREFIX}/lib/ }
|
|
|
|
|
2011-04-30 07:48:48 -04:00
|
|
|
# These two lines fixe compilation on ubuntu natty. Probably a ubuntu packaging error.
|
2013-01-22 15:43:48 -05:00
|
|
|
INCLUDEPATH += $$system(pkg-config --cflags glib-2.0 | sed -e "s/-I//g")
|
2011-04-24 16:20:49 -04:00
|
|
|
|
2012-07-01 09:15:36 -04:00
|
|
|
OPENPGPSDK_DIR = ../../openpgpsdk/src
|
2012-07-14 17:43:24 -04:00
|
|
|
INCLUDEPATH *= $${OPENPGPSDK_DIR} ../openpgpsdk
|
2012-03-26 17:17:04 -04:00
|
|
|
|
2009-10-29 20:33:40 -04:00
|
|
|
DESTDIR = lib
|
2010-04-10 10:56:34 -04:00
|
|
|
QMAKE_CXXFLAGS *= -Wall -D_FILE_OFFSET_BITS=64
|
2009-02-01 09:06:21 -05:00
|
|
|
QMAKE_CC = g++
|
2009-10-29 20:33:40 -04:00
|
|
|
|
2009-07-31 11:03:43 -04:00
|
|
|
SSL_DIR = /usr/include/openssl
|
2009-10-29 20:33:40 -04:00
|
|
|
UPNP_DIR = /usr/include/upnp
|
2009-10-29 20:46:36 -04:00
|
|
|
INCLUDEPATH += . $${SSL_DIR} $${UPNP_DIR}
|
|
|
|
|
2010-07-06 11:02:59 -04:00
|
|
|
# where to put the shared library itself
|
|
|
|
target.path = $$LIB_DIR
|
|
|
|
INSTALLS *= target
|
|
|
|
|
2012-12-16 14:17:11 -05:00
|
|
|
# where to put the librarys interface
|
2010-08-06 05:40:23 -04:00
|
|
|
include_rsiface.path = $${INC_DIR}
|
2010-07-06 11:02:59 -04:00
|
|
|
include_rsiface.files = $$PUBLIC_HEADERS
|
|
|
|
INSTALLS += include_rsiface
|
|
|
|
|
2010-04-21 07:44:12 -04:00
|
|
|
#CONFIG += version_detail_bash_script
|
2011-01-29 14:08:30 -05:00
|
|
|
|
2012-12-16 14:17:11 -05:00
|
|
|
|
|
|
|
# linux/bsd can use either - libupnp is more complete and packaged.
|
|
|
|
#CONFIG += upnp_miniupnpc
|
|
|
|
CONFIG += upnp_libupnp
|
|
|
|
|
|
|
|
# Check if the systems libupnp has been Debian-patched
|
2012-11-15 09:18:52 -05:00
|
|
|
system(grep -E 'char[[:space:]]+PublisherUrl' $${UPNP_DIR}/upnp.h >/dev/null 2>&1) {
|
2012-11-14 15:24:07 -05:00
|
|
|
# Normal libupnp
|
|
|
|
} else {
|
|
|
|
# Patched libupnp or new unreleased version
|
|
|
|
DEFINES *= PATCHED_LIBUPNP
|
|
|
|
}
|
|
|
|
|
2011-01-29 14:08:30 -05:00
|
|
|
DEFINES *= UBUNTU
|
|
|
|
INCLUDEPATH += /usr/include/glib-2.0/ /usr/lib/glib-2.0/include
|
|
|
|
LIBS *= -lgnome-keyring
|
2009-02-01 09:06:21 -05:00
|
|
|
}
|
2009-10-29 20:33:40 -04:00
|
|
|
|
2009-10-29 20:46:36 -04:00
|
|
|
linux-g++ {
|
|
|
|
OBJECTS_DIR = temp/linux-g++/obj
|
|
|
|
}
|
|
|
|
|
2009-02-02 07:29:40 -05:00
|
|
|
linux-g++-64 {
|
|
|
|
OBJECTS_DIR = temp/linux-g++-64/obj
|
|
|
|
}
|
2009-08-01 09:53:47 -04:00
|
|
|
|
|
|
|
version_detail_bash_script {
|
|
|
|
QMAKE_EXTRA_TARGETS += write_version_detail
|
|
|
|
PRE_TARGETDEPS = write_version_detail
|
|
|
|
write_version_detail.commands = ./version_detail.sh
|
|
|
|
}
|
|
|
|
|
2009-02-01 09:06:21 -05:00
|
|
|
#################### Cross compilation for windows under Linux ####################
|
|
|
|
|
|
|
|
win32-x-g++ {
|
|
|
|
OBJECTS_DIR = temp/win32xgcc/obj
|
|
|
|
DESTDIR = lib.win32xgcc
|
2009-05-26 17:42:45 -04:00
|
|
|
DEFINES *= WINDOWS_SYS WIN32 WIN_CROSS_UBUNTU
|
2009-02-01 09:06:21 -05:00
|
|
|
QMAKE_CXXFLAGS *= -Wmissing-include-dirs
|
|
|
|
QMAKE_CC = i586-mingw32msvc-g++
|
|
|
|
QMAKE_LIB = i586-mingw32msvc-ar
|
2009-09-05 07:59:42 -04:00
|
|
|
QMAKE_AR = i586-mingw32msvc-ar
|
2009-03-12 16:08:02 -04:00
|
|
|
DEFINES *= STATICLIB WIN32
|
2009-02-01 09:06:21 -05:00
|
|
|
|
2012-12-16 14:17:11 -05:00
|
|
|
CONFIG += upnp_miniupnpc
|
2009-10-29 20:46:58 -04:00
|
|
|
|
|
|
|
SSL_DIR=../../../../openssl
|
2009-09-05 07:59:42 -04:00
|
|
|
UPNPC_DIR = ../../../../miniupnpc-1.3
|
|
|
|
GPG_ERROR_DIR = ../../../../libgpg-error-1.7
|
|
|
|
GPGME_DIR = ../../../../gpgme-1.1.8
|
|
|
|
|
2009-02-01 09:06:21 -05:00
|
|
|
INCLUDEPATH *= /usr/i586-mingw32msvc/include ${HOME}/.wine/drive_c/pthreads/include/
|
|
|
|
}
|
2009-02-04 10:37:37 -05:00
|
|
|
################################# Windows ##########################################
|
2009-02-01 09:06:21 -05:00
|
|
|
|
2013-06-05 10:19:21 -04:00
|
|
|
win32 {
|
|
|
|
QMAKE_CC = g++
|
|
|
|
OBJECTS_DIR = temp/obj
|
|
|
|
MOC_DIR = temp/moc
|
|
|
|
DEFINES *= WINDOWS_SYS WIN32 STATICLIB MINGW
|
|
|
|
DEFINES *= MINIUPNPC_VERSION=13
|
|
|
|
DESTDIR = lib
|
2010-09-01 17:10:55 -04:00
|
|
|
|
2013-06-05 10:19:21 -04:00
|
|
|
# Switch on extra warnings
|
|
|
|
QMAKE_CFLAGS += -Wextra
|
|
|
|
QMAKE_CXXFLAGS += -Wextra
|
2009-09-05 07:59:42 -04:00
|
|
|
|
2013-06-05 10:19:21 -04:00
|
|
|
# Switch off optimization for release version
|
|
|
|
QMAKE_CXXFLAGS_RELEASE -= -O2
|
|
|
|
QMAKE_CXXFLAGS_RELEASE += -O0
|
|
|
|
QMAKE_CFLAGS_RELEASE -= -O2
|
|
|
|
QMAKE_CFLAGS_RELEASE += -O0
|
|
|
|
|
|
|
|
# Switch on optimization for debug version
|
|
|
|
#QMAKE_CXXFLAGS_DEBUG += -O2
|
|
|
|
#QMAKE_CFLAGS_DEBUG += -O2
|
2010-02-16 17:25:58 -05:00
|
|
|
|
2013-06-05 10:19:21 -04:00
|
|
|
DEFINES += USE_CMD_ARGS
|
|
|
|
|
|
|
|
CONFIG += upnp_miniupnpc
|
|
|
|
|
|
|
|
UPNPC_DIR = ../../../miniupnpc-1.3
|
|
|
|
|
|
|
|
PTHREADS_DIR = ../../../pthreads-w32-2-8-0-release
|
|
|
|
ZLIB_DIR = ../../../zlib-1.2.3
|
|
|
|
SSL_DIR = ../../../openssl-1.0.1c
|
|
|
|
OPENPGPSDK_DIR = ../../openpgpsdk/src
|
|
|
|
|
|
|
|
INCLUDEPATH += . $${SSL_DIR}/include $${UPNPC_DIR} $${PTHREADS_DIR} $${ZLIB_DIR} $${OPENPGPSDK_DIR}
|
|
|
|
|
|
|
|
# SQLite include path is required to compile GXS.
|
|
|
|
gxs {
|
2013-07-05 20:58:17 -04:00
|
|
|
SQLITE_DIR = ../../../sqlcipher-2.2.0
|
2013-06-05 10:19:21 -04:00
|
|
|
INCLUDEPATH += $${SQLITE_DIR}
|
|
|
|
}
|
|
|
|
}
|
2010-09-01 17:10:55 -04:00
|
|
|
|
2010-02-16 17:25:58 -05:00
|
|
|
################################# MacOSX ##########################################
|
|
|
|
|
|
|
|
mac {
|
|
|
|
QMAKE_CC = g++
|
|
|
|
OBJECTS_DIR = temp/obj
|
|
|
|
MOC_DIR = temp/moc
|
|
|
|
#DEFINES = WINDOWS_SYS WIN32 STATICLIB MINGW
|
|
|
|
#DEFINES *= MINIUPNPC_VERSION=13
|
|
|
|
DESTDIR = lib
|
|
|
|
|
2012-12-16 14:17:11 -05:00
|
|
|
CONFIG += upnp_miniupnpc
|
2010-02-16 17:25:58 -05:00
|
|
|
|
2012-02-02 19:15:49 -05:00
|
|
|
# zeroconf disabled at the end of libretroshare.pro (but need the code)
|
2011-12-13 11:19:37 -05:00
|
|
|
CONFIG += zeroconf
|
2012-01-14 11:41:00 -05:00
|
|
|
CONFIG += zcnatassist
|
2011-12-13 11:19:37 -05:00
|
|
|
|
2010-02-16 17:25:58 -05:00
|
|
|
# Beautiful Hack to fix 64bit file access.
|
2010-07-10 16:34:03 -04:00
|
|
|
QMAKE_CXXFLAGS *= -Dfseeko64=fseeko -Dftello64=ftello -Dfopen64=fopen -Dvstatfs64=vstatfs
|
|
|
|
|
2010-02-16 17:25:58 -05:00
|
|
|
UPNPC_DIR = ../../../miniupnpc-1.0
|
2012-07-27 08:28:40 -04:00
|
|
|
#GPG_ERROR_DIR = ../../../../libgpg-error-1.7
|
|
|
|
#GPGME_DIR = ../../../../gpgme-1.1.8
|
|
|
|
|
|
|
|
OPENPGPSDK_DIR = ../../openpgpsdk/src
|
2010-02-16 17:25:58 -05:00
|
|
|
|
|
|
|
INCLUDEPATH += . $${UPNPC_DIR}
|
2012-07-27 08:28:40 -04:00
|
|
|
INCLUDEPATH += $${OPENPGPSDK_DIR}
|
|
|
|
|
|
|
|
#../openpgpsdk
|
2010-02-16 17:25:58 -05:00
|
|
|
#INCLUDEPATH += . $${UPNPC_DIR} $${GPGME_DIR}/src $${GPG_ERROR_DIR}/src
|
|
|
|
}
|
2009-02-01 09:06:21 -05:00
|
|
|
|
2012-01-29 09:27:14 -05:00
|
|
|
################################# FreeBSD ##########################################
|
|
|
|
|
2011-09-28 11:16:21 -04:00
|
|
|
freebsd-* {
|
|
|
|
INCLUDEPATH *= /usr/local/include/gpgme
|
|
|
|
INCLUDEPATH *= /usr/local/include/glib-2.0
|
|
|
|
|
|
|
|
QMAKE_CXXFLAGS *= -Dfseeko64=fseeko -Dftello64=ftello -Dstat64=stat -Dstatvfs64=statvfs -Dfopen64=fopen
|
|
|
|
|
2012-12-16 14:17:11 -05:00
|
|
|
# linux/bsd can use either - libupnp is more complete and packaged.
|
|
|
|
#CONFIG += upnp_miniupnpc
|
|
|
|
CONFIG += upnp_libupnp
|
|
|
|
|
2012-01-29 09:27:14 -05:00
|
|
|
DESTDIR = lib
|
2011-09-28 11:16:21 -04:00
|
|
|
}
|
|
|
|
|
2013-08-25 17:06:29 -04:00
|
|
|
################################# OpenBSD ##########################################
|
|
|
|
|
|
|
|
openbsd-* {
|
|
|
|
INCLUDEPATH *= /usr/local/include
|
|
|
|
INCLUDEPATH += $$system(pkg-config --cflags glib-2.0 | sed -e "s/-I//g")
|
|
|
|
|
|
|
|
OPENPGPSDK_DIR = ../../openpgpsdk/src
|
|
|
|
INCLUDEPATH *= $${OPENPGPSDK_DIR} ../openpgpsdk
|
|
|
|
|
|
|
|
QMAKE_CXXFLAGS *= -Dfseeko64=fseeko -Dftello64=ftello -Dstat64=stat -Dstatvfs64=statvfs -Dfopen64=fopen
|
|
|
|
|
|
|
|
CONFIG += upnp_libupnp
|
|
|
|
|
|
|
|
DESTDIR = lib
|
|
|
|
}
|
|
|
|
|
2010-07-06 11:02:59 -04:00
|
|
|
################################### COMMON stuff ##################################
|
2009-07-31 11:03:43 -04:00
|
|
|
|
2010-07-06 11:02:59 -04:00
|
|
|
HEADERS += dbase/cachestrapper.h \
|
|
|
|
dbase/fimonitor.h \
|
|
|
|
dbase/findex.h \
|
|
|
|
dbase/fistore.h
|
|
|
|
|
2010-07-17 13:00:19 -04:00
|
|
|
#HEADERS += dht/p3bitdht.h \
|
2010-07-06 11:02:59 -04:00
|
|
|
|
|
|
|
HEADERS += ft/ftchunkmap.h \
|
|
|
|
ft/ftcontroller.h \
|
|
|
|
ft/ftdata.h \
|
|
|
|
ft/ftdatamultiplex.h \
|
|
|
|
ft/ftdbase.h \
|
|
|
|
ft/ftextralist.h \
|
|
|
|
ft/ftfilecreator.h \
|
|
|
|
ft/ftfileprovider.h \
|
|
|
|
ft/ftfilesearch.h \
|
|
|
|
ft/ftsearch.h \
|
|
|
|
ft/ftserver.h \
|
2013-04-06 05:21:01 -04:00
|
|
|
ft/fttransfermodule.h \
|
|
|
|
ft/ftturtlefiletransferitem.h
|
2010-07-06 11:02:59 -04:00
|
|
|
|
|
|
|
HEADERS += pqi/authssl.h \
|
|
|
|
pqi/authgpg.h \
|
2012-03-26 17:17:04 -04:00
|
|
|
pgp/pgphandler.h \
|
2012-07-13 07:08:13 -04:00
|
|
|
pgp/pgpkeyutil.h \
|
2013-04-07 10:39:46 -04:00
|
|
|
pgp/rsaes.h \
|
2012-08-11 16:43:10 -04:00
|
|
|
pgp/rscertificate.h \
|
2010-07-06 11:02:59 -04:00
|
|
|
pqi/p3cfgmgr.h \
|
2011-07-09 14:39:34 -04:00
|
|
|
pqi/p3peermgr.h \
|
|
|
|
pqi/p3linkmgr.h \
|
|
|
|
pqi/p3netmgr.h \
|
2010-07-06 11:02:59 -04:00
|
|
|
pqi/p3dhtmgr.h \
|
|
|
|
pqi/p3notify.h \
|
|
|
|
pqi/p3upnpmgr.h \
|
2011-09-04 16:01:30 -04:00
|
|
|
pqi/pqiqos.h \
|
2010-07-06 11:02:59 -04:00
|
|
|
pqi/pqi.h \
|
|
|
|
pqi/pqi_base.h \
|
|
|
|
pqi/pqiarchive.h \
|
|
|
|
pqi/pqiassist.h \
|
|
|
|
pqi/pqibin.h \
|
|
|
|
pqi/pqihandler.h \
|
|
|
|
pqi/pqihash.h \
|
2011-09-29 05:20:09 -04:00
|
|
|
pqi/p3historymgr.h \
|
2010-07-06 11:02:59 -04:00
|
|
|
pqi/pqiindic.h \
|
|
|
|
pqi/pqiipset.h \
|
|
|
|
pqi/pqilistener.h \
|
|
|
|
pqi/pqiloopback.h \
|
|
|
|
pqi/pqimonitor.h \
|
|
|
|
pqi/pqinetwork.h \
|
|
|
|
pqi/pqinotify.h \
|
|
|
|
pqi/pqiperson.h \
|
|
|
|
pqi/pqipersongrp.h \
|
|
|
|
pqi/pqisecurity.h \
|
|
|
|
pqi/pqiservice.h \
|
|
|
|
pqi/pqissl.h \
|
|
|
|
pqi/pqissllistener.h \
|
|
|
|
pqi/pqisslpersongrp.h \
|
|
|
|
pqi/pqissltunnel.h \
|
|
|
|
pqi/pqissludp.h \
|
|
|
|
pqi/pqistore.h \
|
|
|
|
pqi/pqistreamer.h \
|
2012-06-23 08:10:41 -04:00
|
|
|
pqi/pqiqosstreamer.h \
|
2011-07-09 14:39:34 -04:00
|
|
|
pqi/sslfns.h \
|
|
|
|
pqi/pqinetstatebox.h
|
2010-07-06 11:02:59 -04:00
|
|
|
|
|
|
|
HEADERS += rsserver/p3discovery.h \
|
|
|
|
rsserver/p3face.h \
|
2011-09-29 05:20:09 -04:00
|
|
|
rsserver/p3history.h \
|
2010-07-06 11:02:59 -04:00
|
|
|
rsserver/p3msgs.h \
|
|
|
|
rsserver/p3peers.h \
|
2011-07-11 14:48:56 -04:00
|
|
|
rsserver/p3status.h \
|
|
|
|
rsserver/p3serverconfig.h
|
2010-07-06 11:02:59 -04:00
|
|
|
|
|
|
|
HEADERS += serialiser/rsbaseitems.h \
|
|
|
|
serialiser/rsbaseserial.h \
|
|
|
|
serialiser/rsblogitems.h \
|
|
|
|
serialiser/rschannelitems.h \
|
|
|
|
serialiser/rsconfigitems.h \
|
|
|
|
serialiser/rsdiscitems.h \
|
|
|
|
serialiser/rsdistribitems.h \
|
|
|
|
serialiser/rsforumitems.h \
|
|
|
|
serialiser/rsgameitems.h \
|
2011-09-29 05:20:09 -04:00
|
|
|
serialiser/rshistoryitems.h \
|
2010-07-06 11:02:59 -04:00
|
|
|
serialiser/rsmsgitems.h \
|
|
|
|
serialiser/rsserial.h \
|
|
|
|
serialiser/rsserviceids.h \
|
|
|
|
serialiser/rsserviceitems.h \
|
|
|
|
serialiser/rsstatusitems.h \
|
|
|
|
serialiser/rstlvaddrs.h \
|
|
|
|
serialiser/rstlvbase.h \
|
|
|
|
serialiser/rstlvkeys.h \
|
|
|
|
serialiser/rstlvkvwide.h \
|
|
|
|
serialiser/rstlvtypes.h \
|
|
|
|
serialiser/rstlvutil.h \
|
2011-11-21 02:49:38 -05:00
|
|
|
serialiser/rstlvdsdv.h \
|
|
|
|
serialiser/rsdsdvitems.h \
|
2011-11-23 11:40:32 -05:00
|
|
|
serialiser/rstlvbanlist.h \
|
|
|
|
serialiser/rsbanlistitems.h \
|
2012-06-21 19:23:46 -04:00
|
|
|
serialiser/rsbwctrlitems.h \
|
2010-07-06 11:02:59 -04:00
|
|
|
serialiser/rstunnelitems.h
|
|
|
|
|
2010-07-31 14:14:10 -04:00
|
|
|
HEADERS += services/p3channels.h \
|
2010-07-06 11:02:59 -04:00
|
|
|
services/p3chatservice.h \
|
|
|
|
services/p3disc.h \
|
|
|
|
services/p3forums.h \
|
|
|
|
services/p3gamelauncher.h \
|
|
|
|
services/p3gameservice.h \
|
|
|
|
services/p3msgservice.h \
|
|
|
|
services/p3service.h \
|
|
|
|
services/p3statusservice.h \
|
2011-11-21 02:49:38 -05:00
|
|
|
services/p3dsdv.h \
|
2011-11-23 11:40:32 -05:00
|
|
|
services/p3banlist.h \
|
2012-06-21 19:23:46 -04:00
|
|
|
services/p3bwctrl.h \
|
2010-07-06 11:02:59 -04:00
|
|
|
services/p3tunnel.h
|
2011-09-10 11:20:15 -04:00
|
|
|
|
|
|
|
HEADERS += distrib/p3distrib.h \
|
|
|
|
distrib/p3distribsecurity.h
|
2010-07-31 14:14:10 -04:00
|
|
|
# services/p3blogs.h \
|
2010-07-06 11:02:59 -04:00
|
|
|
|
|
|
|
HEADERS += turtle/p3turtle.h \
|
|
|
|
turtle/rsturtleitem.h \
|
|
|
|
turtle/turtletypes.h
|
|
|
|
|
|
|
|
|
|
|
|
HEADERS += util/folderiterator.h \
|
|
|
|
util/rsdebug.h \
|
2011-02-20 16:36:21 -05:00
|
|
|
util/smallobject.h \
|
2010-07-06 11:02:59 -04:00
|
|
|
util/rsdir.h \
|
|
|
|
util/rsdiscspace.h \
|
|
|
|
util/rsnet.h \
|
2011-01-24 17:05:10 -05:00
|
|
|
util/extaddrfinder.h \
|
|
|
|
util/dnsresolver.h \
|
2010-07-06 11:02:59 -04:00
|
|
|
util/rsprint.h \
|
2011-10-01 09:12:28 -04:00
|
|
|
util/rsstring.h \
|
2010-07-06 11:02:59 -04:00
|
|
|
util/rsthreads.h \
|
|
|
|
util/rsversion.h \
|
|
|
|
util/rswin.h \
|
2010-08-15 16:20:51 -04:00
|
|
|
util/rsrandom.h \
|
2012-01-22 14:55:10 -05:00
|
|
|
util/radix64.h \
|
2012-07-27 11:03:16 -04:00
|
|
|
util/pugiconfig.h \
|
2012-12-16 14:17:11 -05:00
|
|
|
util/rsmemcache.h \
|
|
|
|
util/rstickevent.h \
|
2010-07-06 11:02:59 -04:00
|
|
|
|
|
|
|
SOURCES += dbase/cachestrapper.cc \
|
|
|
|
dbase/fimonitor.cc \
|
|
|
|
dbase/findex.cc \
|
|
|
|
dbase/fistore.cc \
|
|
|
|
dbase/rsexpr.cc
|
|
|
|
|
|
|
|
|
|
|
|
SOURCES += ft/ftchunkmap.cc \
|
|
|
|
ft/ftcontroller.cc \
|
|
|
|
ft/ftdatamultiplex.cc \
|
|
|
|
ft/ftdbase.cc \
|
|
|
|
ft/ftextralist.cc \
|
|
|
|
ft/ftfilecreator.cc \
|
|
|
|
ft/ftfileprovider.cc \
|
|
|
|
ft/ftfilesearch.cc \
|
|
|
|
ft/ftserver.cc \
|
|
|
|
ft/fttransfermodule.cc \
|
2013-04-06 05:21:01 -04:00
|
|
|
ft/ftturtlefiletransferitem.cc
|
2010-07-06 11:02:59 -04:00
|
|
|
|
|
|
|
SOURCES += pqi/authgpg.cc \
|
|
|
|
pqi/authssl.cc \
|
2012-03-26 17:17:04 -04:00
|
|
|
pgp/pgphandler.cc \
|
2012-07-13 07:08:13 -04:00
|
|
|
pgp/pgpkeyutil.cc \
|
2012-08-11 16:43:10 -04:00
|
|
|
pgp/rscertificate.cc \
|
2010-07-06 11:02:59 -04:00
|
|
|
pqi/p3cfgmgr.cc \
|
2011-07-09 14:39:34 -04:00
|
|
|
pqi/p3peermgr.cc \
|
|
|
|
pqi/p3linkmgr.cc \
|
|
|
|
pqi/p3netmgr.cc \
|
2010-07-06 11:02:59 -04:00
|
|
|
pqi/p3dhtmgr.cc \
|
|
|
|
pqi/p3notify.cc \
|
2011-09-04 16:01:30 -04:00
|
|
|
pqi/pqiqos.cc \
|
2010-07-06 11:02:59 -04:00
|
|
|
pqi/pqiarchive.cc \
|
|
|
|
pqi/pqibin.cc \
|
|
|
|
pqi/pqihandler.cc \
|
2011-09-29 05:20:09 -04:00
|
|
|
pqi/p3historymgr.cc \
|
2010-07-06 11:02:59 -04:00
|
|
|
pqi/pqiipset.cc \
|
|
|
|
pqi/pqiloopback.cc \
|
|
|
|
pqi/pqimonitor.cc \
|
|
|
|
pqi/pqinetwork.cc \
|
|
|
|
pqi/pqiperson.cc \
|
|
|
|
pqi/pqipersongrp.cc \
|
|
|
|
pqi/pqisecurity.cc \
|
|
|
|
pqi/pqiservice.cc \
|
|
|
|
pqi/pqissl.cc \
|
|
|
|
pqi/pqissllistener.cc \
|
|
|
|
pqi/pqisslpersongrp.cc \
|
|
|
|
pqi/pqissltunnel.cc \
|
|
|
|
pqi/pqissludp.cc \
|
|
|
|
pqi/pqistore.cc \
|
|
|
|
pqi/pqistreamer.cc \
|
2012-06-23 08:10:41 -04:00
|
|
|
pqi/pqiqosstreamer.cc \
|
2011-07-09 14:39:34 -04:00
|
|
|
pqi/sslfns.cc \
|
|
|
|
pqi/pqinetstatebox.cc
|
2010-07-06 11:02:59 -04:00
|
|
|
|
|
|
|
SOURCES += rsserver/p3discovery.cc \
|
|
|
|
rsserver/p3face-config.cc \
|
|
|
|
rsserver/p3face-msgs.cc \
|
|
|
|
rsserver/p3face-server.cc \
|
2011-09-29 05:20:09 -04:00
|
|
|
rsserver/p3history.cc \
|
2010-07-06 11:02:59 -04:00
|
|
|
rsserver/p3msgs.cc \
|
|
|
|
rsserver/p3peers.cc \
|
|
|
|
rsserver/p3status.cc \
|
|
|
|
rsserver/rsinit.cc \
|
2011-02-01 18:27:53 -05:00
|
|
|
rsserver/rsloginhandler.cc \
|
2011-07-11 14:48:56 -04:00
|
|
|
rsserver/rstypes.cc \
|
|
|
|
rsserver/p3serverconfig.cc
|
2010-07-06 11:02:59 -04:00
|
|
|
|
2011-06-17 15:59:01 -04:00
|
|
|
SOURCES += plugins/pluginmanager.cc \
|
2011-07-05 16:29:07 -04:00
|
|
|
plugins/dlfcn_win32.cc \
|
|
|
|
serialiser/rspluginitems.cc
|
2011-06-16 17:59:26 -04:00
|
|
|
|
2010-07-06 11:02:59 -04:00
|
|
|
SOURCES += serialiser/rsbaseitems.cc \
|
|
|
|
serialiser/rsbaseserial.cc \
|
|
|
|
serialiser/rsblogitems.cc \
|
|
|
|
serialiser/rschannelitems.cc \
|
|
|
|
serialiser/rsconfigitems.cc \
|
|
|
|
serialiser/rsdiscitems.cc \
|
|
|
|
serialiser/rsdistribitems.cc \
|
|
|
|
serialiser/rsforumitems.cc \
|
|
|
|
serialiser/rsgameitems.cc \
|
2011-09-29 05:20:09 -04:00
|
|
|
serialiser/rshistoryitems.cc \
|
2010-07-06 11:02:59 -04:00
|
|
|
serialiser/rsmsgitems.cc \
|
|
|
|
serialiser/rsserial.cc \
|
|
|
|
serialiser/rsstatusitems.cc \
|
|
|
|
serialiser/rstlvaddrs.cc \
|
|
|
|
serialiser/rstlvbase.cc \
|
|
|
|
serialiser/rstlvfileitem.cc \
|
|
|
|
serialiser/rstlvimage.cc \
|
|
|
|
serialiser/rstlvkeys.cc \
|
|
|
|
serialiser/rstlvkvwide.cc \
|
|
|
|
serialiser/rstlvtypes.cc \
|
|
|
|
serialiser/rstlvutil.cc \
|
2011-11-21 02:49:38 -05:00
|
|
|
serialiser/rstlvdsdv.cc \
|
|
|
|
serialiser/rsdsdvitems.cc \
|
2011-11-23 11:40:32 -05:00
|
|
|
serialiser/rstlvbanlist.cc \
|
|
|
|
serialiser/rsbanlistitems.cc \
|
2012-06-21 19:23:46 -04:00
|
|
|
serialiser/rsbwctrlitems.cc \
|
2010-07-06 11:02:59 -04:00
|
|
|
serialiser/rstunnelitems.cc
|
|
|
|
|
2010-07-31 14:14:10 -04:00
|
|
|
SOURCES += services/p3channels.cc \
|
2010-07-06 11:02:59 -04:00
|
|
|
services/p3chatservice.cc \
|
|
|
|
services/p3disc.cc \
|
|
|
|
services/p3forums.cc \
|
|
|
|
services/p3gamelauncher.cc \
|
|
|
|
services/p3msgservice.cc \
|
|
|
|
services/p3service.cc \
|
2011-11-21 02:49:38 -05:00
|
|
|
services/p3statusservice.cc \
|
2011-11-23 11:40:32 -05:00
|
|
|
services/p3dsdv.cc \
|
2012-06-21 19:23:46 -04:00
|
|
|
services/p3banlist.cc \
|
|
|
|
services/p3bwctrl.cc \
|
2011-11-21 02:49:38 -05:00
|
|
|
|
2010-08-02 05:11:52 -04:00
|
|
|
# removed because getPeer() doesn t exist services/p3tunnel.cc
|
2010-07-06 11:02:59 -04:00
|
|
|
|
2011-09-10 11:20:15 -04:00
|
|
|
SOURCES += distrib/p3distrib.cc \
|
|
|
|
distrib/p3distribsecurity.cc
|
|
|
|
|
2010-07-06 11:02:59 -04:00
|
|
|
SOURCES += turtle/p3turtle.cc \
|
2010-08-02 05:11:52 -04:00
|
|
|
turtle/rsturtleitem.cc
|
|
|
|
# turtle/turtlerouting.cc \
|
|
|
|
# turtle/turtlesearch.cc \
|
|
|
|
# turtle/turtletunnels.cc
|
2010-07-06 11:02:59 -04:00
|
|
|
|
|
|
|
|
|
|
|
SOURCES += util/folderiterator.cc \
|
|
|
|
util/rsdebug.cc \
|
2011-02-20 16:36:21 -05:00
|
|
|
util/smallobject.cc \
|
2010-07-06 11:02:59 -04:00
|
|
|
util/rsdir.cc \
|
|
|
|
util/rsdiscspace.cc \
|
|
|
|
util/rsnet.cc \
|
2011-01-24 17:05:10 -05:00
|
|
|
util/extaddrfinder.cc \
|
|
|
|
util/dnsresolver.cc \
|
2010-07-06 11:02:59 -04:00
|
|
|
util/rsprint.cc \
|
2011-10-01 09:12:28 -04:00
|
|
|
util/rsstring.cc \
|
2010-07-06 11:02:59 -04:00
|
|
|
util/rsthreads.cc \
|
|
|
|
util/rsversion.cc \
|
2010-08-15 16:20:51 -04:00
|
|
|
util/rswin.cc \
|
2013-04-07 10:39:46 -04:00
|
|
|
util/rsaes.cc \
|
2011-03-04 17:16:25 -05:00
|
|
|
util/rsrandom.cc \
|
2012-12-16 14:17:11 -05:00
|
|
|
util/rstickevent.cc \
|
|
|
|
|
|
|
|
|
|
|
|
upnp_miniupnpc {
|
|
|
|
HEADERS += upnp/upnputil.h upnp/upnphandler_miniupnp.h
|
|
|
|
SOURCES += upnp/upnputil.c upnp/upnphandler_miniupnp.cc
|
|
|
|
}
|
|
|
|
|
|
|
|
upnp_libupnp {
|
|
|
|
HEADERS += upnp/UPnPBase.h upnp/upnphandler_linux.h
|
|
|
|
SOURCES += upnp/UPnPBase.cpp upnp/upnphandler_linux.cc
|
|
|
|
DEFINES *= RS_USE_LIBUPNP
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2010-08-31 16:00:49 -04:00
|
|
|
|
2011-12-13 11:19:37 -05:00
|
|
|
zeroconf {
|
|
|
|
|
|
|
|
HEADERS += zeroconf/p3zeroconf.h \
|
|
|
|
|
|
|
|
SOURCES += zeroconf/p3zeroconf.cc \
|
|
|
|
|
2012-02-02 19:15:49 -05:00
|
|
|
# Disable Zeroconf (we still need the code for zcnatassist
|
|
|
|
# DEFINES *= RS_ENABLE_ZEROCONF
|
2011-12-13 11:19:37 -05:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2012-01-14 11:41:00 -05:00
|
|
|
# This is seperated from the above for windows/linux platforms.
|
|
|
|
# It is acceptable to build in zeroconf and have it not work,
|
2012-07-27 11:03:16 -04:00
|
|
|
# but unacceptable to rely on Apple's libraries for Upnp when we have alternatives. '
|
2012-01-14 11:41:00 -05:00
|
|
|
|
|
|
|
zcnatassist {
|
|
|
|
|
|
|
|
HEADERS += zeroconf/p3zcnatassist.h \
|
|
|
|
|
|
|
|
SOURCES += zeroconf/p3zcnatassist.cc \
|
|
|
|
|
|
|
|
DEFINES *= RS_ENABLE_ZCNATASSIST
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2012-12-16 14:17:11 -05:00
|
|
|
# new gxs cache system
|
|
|
|
# this should be disabled for releases until further notice.
|
|
|
|
gxs {
|
|
|
|
DEFINES *= RS_ENABLE_GXS
|
2013-06-25 15:31:59 -04:00
|
|
|
DEFINES *= SQLITE_HAS_CODEC
|
2012-12-16 14:17:11 -05:00
|
|
|
|
2013-06-04 17:00:43 -04:00
|
|
|
DEFINES *= GXS_DEV_TESTNET
|
|
|
|
DEFINES *= GXS_ENABLE_SYNC_MSGS
|
2013-02-10 10:40:07 -05:00
|
|
|
|
2012-12-16 14:17:11 -05:00
|
|
|
HEADERS += serialiser/rsnxsitems.h \
|
|
|
|
gxs/rsgds.h \
|
|
|
|
gxs/rsgxs.h \
|
|
|
|
gxs/rsdataservice.h \
|
|
|
|
gxs/rsgxsnetservice.h \
|
2013-02-28 16:58:38 -05:00
|
|
|
retroshare/rsgxsflags.h \
|
|
|
|
retroshare/rsgxsifacetypes.h \
|
2012-12-16 14:17:11 -05:00
|
|
|
gxs/rsgenexchange.h \
|
|
|
|
gxs/rsnxsobserver.h \
|
|
|
|
gxs/rsgxsdata.h \
|
2013-03-06 18:33:23 -05:00
|
|
|
retroshare/rstokenservice.h \
|
2012-12-16 14:17:11 -05:00
|
|
|
gxs/rsgxsdataaccess.h \
|
|
|
|
retroshare/rsgxsservice.h \
|
|
|
|
serialiser/rsgxsitems.h \
|
|
|
|
util/retrodb.h \
|
2013-04-20 09:39:02 -04:00
|
|
|
util/rsdbbind.h \
|
2013-03-06 18:33:23 -05:00
|
|
|
gxs/rsgxsutil.h \
|
2012-12-16 14:17:11 -05:00
|
|
|
util/contentvalue.h \
|
|
|
|
gxs/gxssecurity.h \
|
2013-02-28 16:58:38 -05:00
|
|
|
gxs/rsgxsifacehelper.h \
|
2012-12-16 14:17:11 -05:00
|
|
|
gxs/gxstokenqueue.h \
|
2013-06-04 17:00:43 -04:00
|
|
|
gxs/rsgxsnetutils.h \
|
2013-02-28 16:58:38 -05:00
|
|
|
gxs/rsgxsiface.h
|
2012-12-16 14:17:11 -05:00
|
|
|
|
|
|
|
|
|
|
|
SOURCES += serialiser/rsnxsitems.cc \
|
|
|
|
gxs/rsdataservice.cc \
|
|
|
|
gxs/rsgenexchange.cc \
|
|
|
|
gxs/rsgxsnetservice.cc \
|
|
|
|
gxs/rsgxsdata.cc \
|
|
|
|
serialiser/rsgxsitems.cc \
|
|
|
|
gxs/rsgxsdataaccess.cc \
|
|
|
|
util/retrodb.cc \
|
|
|
|
util/contentvalue.cc \
|
2013-04-20 09:39:02 -04:00
|
|
|
util/rsdbbind.cc \
|
2012-12-16 14:17:11 -05:00
|
|
|
gxs/gxssecurity.cc \
|
|
|
|
gxs/gxstokenqueue.cc \
|
2013-06-04 17:00:43 -04:00
|
|
|
gxs/rsgxsnetutils.cc \
|
2013-03-20 18:26:24 -04:00
|
|
|
gxs/rsgxsutil.cc
|
2012-12-16 14:17:11 -05:00
|
|
|
|
2013-04-20 09:39:02 -04:00
|
|
|
|
2012-12-16 14:17:11 -05:00
|
|
|
# Identity Service
|
|
|
|
HEADERS += retroshare/rsidentity.h \
|
|
|
|
gxs/rsgixs.h \
|
|
|
|
services/p3idservice.h \
|
|
|
|
serialiser/rsgxsiditems.h
|
2012-07-27 11:03:16 -04:00
|
|
|
|
2012-12-16 14:17:11 -05:00
|
|
|
SOURCES += services/p3idservice.cc \
|
|
|
|
serialiser/rsgxsiditems.cc \
|
2012-07-27 11:03:16 -04:00
|
|
|
|
2012-12-16 14:17:11 -05:00
|
|
|
# GxsCircles Service
|
|
|
|
HEADERS += services/p3gxscircles.h \
|
|
|
|
serialiser/rsgxscircleitems.h \
|
|
|
|
retroshare/rsgxscircles.h \
|
2012-07-27 11:03:16 -04:00
|
|
|
|
2012-12-16 14:17:11 -05:00
|
|
|
SOURCES += services/p3gxscircles.cc \
|
|
|
|
serialiser/rsgxscircleitems.cc \
|
2012-07-27 11:03:16 -04:00
|
|
|
|
2012-12-16 14:17:11 -05:00
|
|
|
# GxsForums Service
|
|
|
|
HEADERS += retroshare/rsgxsforums.h \
|
|
|
|
services/p3gxsforums.h \
|
|
|
|
serialiser/rsgxsforumitems.h
|
|
|
|
|
|
|
|
SOURCES += services/p3gxsforums.cc \
|
|
|
|
serialiser/rsgxsforumitems.cc \
|
|
|
|
|
2013-03-04 15:26:48 -05:00
|
|
|
# GxsChannels Service
|
|
|
|
HEADERS += retroshare/rsgxschannels.h \
|
|
|
|
services/p3gxschannels.h \
|
|
|
|
services/p3gxscommon.h \
|
|
|
|
serialiser/rsgxscommentitems.h \
|
|
|
|
serialiser/rsgxschannelitems.h \
|
|
|
|
|
|
|
|
SOURCES += services/p3gxschannels.cc \
|
|
|
|
services/p3gxscommon.cc \
|
|
|
|
serialiser/rsgxscommentitems.cc \
|
|
|
|
serialiser/rsgxschannelitems.cc \
|
|
|
|
|
2012-12-16 14:17:11 -05:00
|
|
|
# Wiki Service
|
|
|
|
HEADERS += retroshare/rswiki.h \
|
|
|
|
services/p3wiki.h \
|
|
|
|
serialiser/rswikiitems.h
|
|
|
|
|
|
|
|
SOURCES += services/p3wiki.cc \
|
|
|
|
serialiser/rswikiitems.cc \
|
|
|
|
|
2013-03-04 15:26:48 -05:00
|
|
|
# Wire Service
|
2012-12-16 14:17:11 -05:00
|
|
|
HEADERS += retroshare/rswire.h \
|
2012-07-27 11:03:16 -04:00
|
|
|
services/p3wire.h \
|
2012-12-16 14:17:11 -05:00
|
|
|
serialiser/rswireitems.h
|
|
|
|
|
|
|
|
SOURCES += services/p3wire.cc \
|
|
|
|
serialiser/rswireitems.cc \
|
|
|
|
|
|
|
|
# Posted Service
|
|
|
|
HEADERS += services/p3posted.h \
|
2012-07-27 11:03:16 -04:00
|
|
|
retroshare/rsposted.h \
|
2012-12-16 14:17:11 -05:00
|
|
|
serialiser/rsposteditems.h
|
|
|
|
|
|
|
|
SOURCES += services/p3posted.cc \
|
|
|
|
serialiser/rsposteditems.cc
|
|
|
|
|
|
|
|
#Photo Service
|
|
|
|
HEADERS += services/p3photoservice.h \
|
|
|
|
retroshare/rsphoto.h \
|
|
|
|
serialiser/rsphotoitems.h \
|
2012-07-27 11:03:16 -04:00
|
|
|
|
2012-12-16 14:17:11 -05:00
|
|
|
SOURCES += services/p3photoservice.cc \
|
2012-07-27 11:03:16 -04:00
|
|
|
serialiser/rsphotoitems.cc \
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-12-16 14:17:11 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
###########################################################################################################
|
|
|
|
# OLD CONFIG OPTIONS.
|
|
|
|
# Not used much - but might be useful one day.
|
|
|
|
#
|
|
|
|
|
|
|
|
testnetwork {
|
|
|
|
# used in rsserver/rsinit.cc Enabled Port Restrictions, and makes Proxy Port next to Dht Port.
|
|
|
|
DEFINES *= LOCALNET_TESTING
|
|
|
|
|
|
|
|
# used in tcponudp/udprelay.cc Debugging Info for Relays.
|
|
|
|
DEFINES *= DEBUG_UDP_RELAY
|
|
|
|
|
|
|
|
# used in tcponudp/udpstunner.[h | cc] enables local stun (careful - modifies class variables).
|
|
|
|
DEFINES *= UDPSTUN_ALLOW_LOCALNET
|
|
|
|
|
|
|
|
# used in pqi/p3linkmgr.cc prints out extra debug.
|
|
|
|
DEFINES *= LINKMGR_DEBUG_LINKTYPE
|
|
|
|
|
|
|
|
# used in dht/connectstatebox to reduce connection times and display debug.
|
|
|
|
# DEFINES *= TESTING_PERIODS
|
|
|
|
# DEFINES *= DEBUG_CONNECTBOX
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
test_bitdht {
|
|
|
|
# DISABLE TCP CONNECTIONS...
|
|
|
|
DEFINES *= P3CONNMGR_NO_TCP_CONNECTIONS
|
|
|
|
|
|
|
|
# NO AUTO CONNECTIONS??? FOR TESTING DHT STATUS.
|
|
|
|
DEFINES *= P3CONNMGR_NO_AUTO_CONNECTION
|
|
|
|
|
|
|
|
# ENABLED UDP NOW.
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
use_blogs {
|
|
|
|
|
|
|
|
HEADERS += services/p3blogs.h
|
|
|
|
SOURCES += services/p3blogs.cc
|
|
|
|
|
|
|
|
DEFINES *= RS_USE_BLOGS
|
|
|
|
}
|
|
|
|
|