2014-12-12 10:38:51 +03:00
|
|
|
COMMON_SRC = \
|
2015-07-27 23:17:31 +03:00
|
|
|
transport/NTCPSession.cpp transport/SSU.cpp transport/SSUSession.cpp \
|
|
|
|
transport/SSUData.cpp transport/Transports.cpp \
|
2015-07-28 23:48:38 +03:00
|
|
|
util/util.cpp util/base64.cpp\
|
2015-07-28 23:03:39 +03:00
|
|
|
crypto/CryptoConst.cpp crypto/aes.cpp crypto/Signature.cpp \
|
|
|
|
Datagram.cpp Garlic.cpp I2NPProtocol.cpp LeaseSet.cpp \
|
2015-07-27 23:17:31 +03:00
|
|
|
Log.cpp NetDb.cpp NetDbRequests.cpp Profiling.cpp Reseed.cpp \
|
2015-07-28 23:03:39 +03:00
|
|
|
RouterContext.cpp RouterInfo.cpp Streaming.cpp Identity.cpp \
|
2015-07-27 23:17:31 +03:00
|
|
|
TransitTunnel.cpp Tunnel.cpp TunnelEndpoint.cpp TunnelPool.cpp \
|
2015-07-28 23:03:39 +03:00
|
|
|
TunnelGateway.cpp Destination.cpp UPnP.cpp
|
2014-12-12 10:38:51 +03:00
|
|
|
|
2014-12-29 19:12:05 +03:00
|
|
|
|
|
|
|
ifeq ($(UNAME),Darwin)
|
|
|
|
# This is needed on OS X for some reason I don't understand (yet).
|
|
|
|
# Else will get linker error about unknown symbols. - torkel
|
|
|
|
COMMON_SRC += \
|
2015-07-28 19:37:06 +03:00
|
|
|
AddressBook.cpp BOB.cpp ClientContext.cpp Daemon.cpp I2PTunnel.cpp I2PService.cpp \
|
|
|
|
SAM.cpp SOCKS.cpp UPnP.cpp HTTPProxy.cpp i2p.cpp DaemonLinux.cpp I2PControl.cpp \
|
|
|
|
HTTPServer.cpp
|
2014-12-29 19:12:05 +03:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
2014-12-12 10:38:51 +03:00
|
|
|
# also: Daemon{Linux,Win32}.cpp will be added later
|
|
|
|
DAEMON_SRC = $(COMMON_SRC) \
|
2015-07-28 19:37:06 +03:00
|
|
|
AddressBook.cpp BOB.cpp ClientContext.cpp Daemon.cpp I2PTunnel.cpp I2PService.cpp \
|
|
|
|
SAM.cpp SOCKS.cpp HTTPServer.cpp HTTPProxy.cpp I2PControl.cpp i2p.cpp
|
2014-12-12 10:38:51 +03:00
|
|
|
|
|
|
|
LIB_SRC := $(COMMON_SRC) \
|
|
|
|
api.cpp
|
2015-07-16 23:28:57 +03:00
|
|
|
|
|
|
|
TESTS_SRC := $(COMMON_SRC) \
|
2015-07-28 20:30:44 +03:00
|
|
|
tests/Utility.cpp tests/Identity.cpp tests/Base64.cpp
|