|
|
@ -1,10 +1,15 @@ |
|
|
|
CXX = clang++ |
|
|
|
CXX = clang++ |
|
|
|
CXXFLAGS = -g -Wall -std=c++11 -DCRYPTOPP_DISABLE_ASM |
|
|
|
CXXFLAGS = -g -Wall -std=c++11 -DCRYPTOPP_DISABLE_ASM -DMAC_OSX |
|
|
|
#CXXFLAGS = -g -O2 -Wall -std=c++11 -DCRYPTOPP_DISABLE_ASM
|
|
|
|
#CXXFLAGS = -g -O2 -Wall -std=c++11 -DCRYPTOPP_DISABLE_ASM
|
|
|
|
INCFLAGS = -I/usr/local/include |
|
|
|
INCFLAGS = -I/usr/local/include |
|
|
|
LDFLAGS = -Wl,-rpath,/usr/local/lib -L/usr/local/lib |
|
|
|
LDFLAGS = -Wl,-rpath,/usr/local/lib -L/usr/local/lib |
|
|
|
LDLIBS = -lcryptopp -lboost_system -lboost_date_time -lboost_filesystem -lboost_regex -lboost_program_options -lpthread |
|
|
|
LDLIBS = -lcryptopp -lboost_system -lboost_date_time -lboost_filesystem -lboost_regex -lboost_program_options -lpthread |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(USE_UPNP),1) |
|
|
|
|
|
|
|
LDFLAGS += -ldl |
|
|
|
|
|
|
|
CXXFLAGS += -DUSE_UPNP |
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
# OSX Notes
|
|
|
|
# OSX Notes
|
|
|
|
# http://www.hutsby.net/2011/08/macs-with-aes-ni.html
|
|
|
|
# http://www.hutsby.net/2011/08/macs-with-aes-ni.html
|
|
|
|
# Seems like all recent Mac's have AES-NI, after firmware upgrade 2.2
|
|
|
|
# Seems like all recent Mac's have AES-NI, after firmware upgrade 2.2
|
|
|
|