-L"$(DEPSDIR)/lib" \
-L"$(DEPSDIR)/lib/db48"
-USE_UPNP:=1
+USE_UPNP:=0
+USE_LEVELDB:=0
USE_IPV6:=1
LIBS= -dead_strip
-lz
endif
-DEFS=-DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE
+DEFS=-DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -D__STDC_FORMAT_MACROS
ifdef RELEASE
# Compile for maximum compatibility and smallest size.
# This requires that dependencies are compiled
# the same way.
-CFLAGS = -mmacosx-version-min=10.5 -arch x86_64 -O3 -msse2
+CFLAGS = -O2 -msse2
else
CFLAGS = -g -msse2
endif
obj/wallet.o \
obj/walletdb.o \
obj/noui.o \
- obj/pbkdf2.o \
obj/kernel.o \
obj/scrypt.o
obj/scrypt-generic.o: scrypt-generic.c
$(CC) -c $(xCXXFLAGS) -MMD -o $@ $<
+
+ifneq (${USE_SSE2}, 1) and eq (${USE_ASM}, 1)
+DEFS += -DUSE_SSE2
+OBJS += obj/scrypt-sse2.o
+
+obj/scrypt-sse2.o: scrypt-sse2.cpp
+ $(CXX) -c $(CFLAGS) -MMD -o $@ $<
endif
+endif
+
# auto-generated dependencies:
-include obj/*.P