2014-12-12 10:38:51 +03:00
|
|
|
COMMON_SRC = \
|
2015-03-24 19:47:57 +03:00
|
|
|
CryptoConst.cpp Datagram.cpp Garlic.cpp I2NPProtocol.cpp LeaseSet.cpp \
|
2015-04-09 19:45:00 +03:00
|
|
|
Log.cpp NTCPSession.cpp NetDb.cpp NetDbRequests.cpp Profiling.cpp \
|
|
|
|
Reseed.cpp RouterContext.cpp RouterInfo.cpp Signature.cpp SSU.cpp \
|
|
|
|
SSUSession.cpp SSUData.cpp Streaming.cpp Identity.cpp TransitTunnel.cpp \
|
|
|
|
Transports.cpp Tunnel.cpp TunnelEndpoint.cpp TunnelPool.cpp TunnelGateway.cpp \
|
|
|
|
Destination.cpp UPnP.cpp util.cpp aes.cpp base64.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-02-27 19:47:32 +03:00
|
|
|
AddressBook.cpp BOB.cpp ClientContext.cpp Daemon.cpp I2PTunnel.cpp I2PService.cpp SAM.cpp SOCKS.cpp \
|
2015-01-16 22:37:52 +03:00
|
|
|
UPnP.cpp HTTPServer.cpp HTTPProxy.cpp i2p.cpp DaemonLinux.cpp I2PControl.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-02-27 19:47:32 +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-22 17:43:11 +03:00
|
|
|
tests/Utility.cpp tests/Identity.cpp tests/Data.cpp
|