mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-11-16 00:12:43 +00:00
82af922b40
I got it to work on OS X 10.10.2 using clang. Note: I'm an OS noob :)
25 lines
956 B
Makefile
25 lines
956 B
Makefile
COMMON_SRC = \
|
|
AddressBook.cpp CryptoConst.cpp Datagram.cpp Garlic.cpp I2NPProtocol.cpp \
|
|
LeaseSet.cpp Log.cpp NTCPSession.cpp NetDb.cpp Reseed.cpp RouterContext.cpp \
|
|
RouterInfo.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 util.cpp aes.cpp base64.cpp
|
|
|
|
|
|
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 += \
|
|
BOB.cpp ClientContext.cpp Daemon.cpp I2PTunnel.cpp SAM.cpp SOCKS.cpp \
|
|
UPnP.cpp HTTPServer.cpp HTTPProxy.cpp i2p.cpp DaemonLinux.cpp
|
|
endif
|
|
|
|
|
|
# also: Daemon{Linux,Win32}.cpp will be added later
|
|
DAEMON_SRC = $(COMMON_SRC) \
|
|
BOB.cpp ClientContext.cpp Daemon.cpp I2PTunnel.cpp SAM.cpp SOCKS.cpp UPnP.cpp \
|
|
HTTPServer.cpp HTTPProxy.cpp i2p.cpp
|
|
|
|
LIB_SRC := $(COMMON_SRC) \
|
|
api.cpp
|