mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
87 lines
2.8 KiB
Makefile
87 lines
2.8 KiB
Makefile
lib_LTLIBRARIES = libopendht.la
|
|
|
|
libopendht_la_CPPFLAGS = @CPPFLAGS@ -I$(top_srcdir)/include/opendht @Argon2_CFLAGS@ @JsonCpp_CFLAGS@ @MsgPack_CFLAGS@ @OpenSSL_CFLAGS@ @Fmt_CFLAGS@
|
|
libopendht_la_LIBADD = @Argon2_LIBS@ @JsonCpp_LIBS@ @GnuTLS_LIBS@ @Nettle_LIBS@ @OpenSSL_LIBS@ @Fmt_LIBS@
|
|
libopendht_la_LDFLAGS = @LDFLAGS@ -version-number @OPENDHT_MAJOR_VERSION@:@OPENDHT_MINOR_VERSION@:@OPENDHT_PATCH_VERSION@
|
|
libopendht_la_SOURCES = \
|
|
dht.cpp \
|
|
storage.h \
|
|
listener.h \
|
|
request.h \
|
|
search.h \
|
|
value_cache.h \
|
|
op_cache.h \
|
|
op_cache.cpp \
|
|
net.h \
|
|
parsed_message.h \
|
|
node_cache.cpp \
|
|
callbacks.cpp \
|
|
routing_table.cpp \
|
|
network_engine.cpp \
|
|
utils.cpp \
|
|
node.cpp \
|
|
value.cpp \
|
|
crypto.cpp \
|
|
securedht.cpp \
|
|
dhtrunner.cpp \
|
|
default_types.cpp \
|
|
log.cpp \
|
|
network_utils.cpp \
|
|
thread_pool.cpp
|
|
|
|
if WIN32
|
|
libopendht_la_SOURCES += rng.cpp
|
|
endif
|
|
|
|
nobase_include_HEADERS = \
|
|
../include/opendht.h \
|
|
../include/opendht/def.h \
|
|
../include/opendht/dht.h \
|
|
../include/opendht/callbacks.h \
|
|
../include/opendht/node_cache.h \
|
|
../include/opendht/node_export.h \
|
|
../include/opendht/routing_table.h \
|
|
../include/opendht/network_engine.h \
|
|
../include/opendht/scheduler.h \
|
|
../include/opendht/rate_limiter.h \
|
|
../include/opendht/utils.h \
|
|
../include/opendht/sockaddr.h \
|
|
../include/opendht/infohash.h \
|
|
../include/opendht/node.h \
|
|
../include/opendht/value.h \
|
|
../include/opendht/crypto.h \
|
|
../include/opendht/securedht.h \
|
|
../include/opendht/dhtrunner.h \
|
|
../include/opendht/default_types.h \
|
|
../include/opendht/log.h \
|
|
../include/opendht/logger.h \
|
|
../include/opendht/network_utils.h \
|
|
../include/opendht/rng.h \
|
|
../include/opendht/thread_pool.h
|
|
|
|
if ENABLE_PROXY_SERVER
|
|
libopendht_la_SOURCES += dht_proxy_server.cpp
|
|
nobase_include_HEADERS += ../include/opendht/dht_proxy_server.h
|
|
endif
|
|
|
|
if ENABLE_PROXY_CLIENT
|
|
libopendht_la_SOURCES += dht_proxy_client.cpp
|
|
nobase_include_HEADERS += ../include/opendht/dht_proxy_client.h ../include/opendht/dht_interface.h
|
|
endif
|
|
|
|
libopendht_la_SOURCES += base64.h base64.cpp
|
|
if PROXY_CLIENT_OR_SERVER
|
|
libopendht_la_SOURCES += http.cpp compat/os_cert.cpp
|
|
nobase_include_HEADERS += ../include/opendht/proxy.h ../include/opendht/http.h compat/os_cert.h
|
|
endif
|
|
|
|
if ENABLE_PEER_DISCOVERY
|
|
libopendht_la_SOURCES += peer_discovery.cpp
|
|
nobase_include_HEADERS += ../include/opendht/peer_discovery.h
|
|
endif
|
|
|
|
if ENABLE_INDEXATION
|
|
libopendht_la_SOURCES += indexation/pht.cpp
|
|
nobase_include_HEADERS += ../include/opendht/indexation/pht.h
|
|
endif
|