X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fmakefile.osx;h=a057b9ef6c25a95cd777c9b3fdd6f981c5704fc1;hb=1ebe5b92ef18395cdae9b88fc38b0ed6166c3243;hp=94d20fbfdd73991cdbd52dca947c1ae9e9b7cb5d;hpb=2e8cbdc74596f09c70049966a4686c2a1507f200;p=novacoin.git diff --git a/src/makefile.osx b/src/makefile.osx index 94d20fb..a057b9e 100644 --- a/src/makefile.osx +++ b/src/makefile.osx @@ -19,7 +19,6 @@ LIBPATHS= \ -L"$(DEPSDIR)/lib" \ -L"$(DEPSDIR)/lib/db48" -USE_UPNP:=0 USE_LEVELDB:=0 USE_IPV6:=1 @@ -59,12 +58,6 @@ else CFLAGS = -g -msse2 endif -ifeq (${USE_SSSE3}, 1) -# Intrinsic implementation of block copy -DEFS += -DUSE_SSSE3 -CFLAGS += -mssse3 -endif - # ppc doesn't work because we don't support big-endian CFLAGS += -Wall -Wextra -Wformat -Wno-ignored-qualifiers -Wformat-security -Wno-unused-parameter \ $(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS) @@ -76,6 +69,7 @@ OBJS= \ obj/netbase.o \ obj/addrman.o \ obj/crypter.o \ + obj/base58.o \ obj/key.o \ obj/db.o \ obj/init.o \ @@ -88,6 +82,7 @@ OBJS= \ obj/stun.o \ obj/protocol.o \ obj/bitcoinrpc.o \ + obj/rpccrypt.o \ obj/rpcdump.o \ obj/rpcnet.o \ obj/rpcmining.o \ @@ -100,19 +95,10 @@ OBJS= \ obj/wallet.o \ obj/walletdb.o \ obj/noui.o \ - obj/kernel.o - -ifndef USE_UPNP - override USE_UPNP = - -endif -ifneq (${USE_UPNP}, -) - DEFS += -DUSE_UPNP=$(USE_UPNP) -ifdef STATIC - LIBS += $(DEPSDIR)/lib/libminiupnpc.a -else - LIBS += -lminiupnpc -endif -endif + obj/kernel.o \ + obj/kernel_worker.o \ + obj/ecies.o \ + obj/cryptogram.o ifneq (${USE_IPV6}, -) DEFS += -DUSE_IPV6=$(USE_IPV6) @@ -137,8 +123,7 @@ endif ifeq (${USE_ASM}, 1) # Assembler implementation -OBJS += crypto/scrypt/asm/obj/scrypt-arm.o crypto/scrypt/asm/obj/scrypt-x86.o crypto/scrypt/asm/obj/scrypt-x86_64.o crypto/scrypt/asm/obj/asm-wrapper.o -OBJS += crypto/sha2/asm/obj/sha2-arm.o crypto/sha2/asm/obj/sha2-x86.o crypto/sha2/asm/obj/sha2-x86_64.o +OBJS += crypto/scrypt/asm/obj/scrypt-x86.o crypto/scrypt/asm/obj/scrypt-x86_64.o crypto/scrypt/asm/obj/asm-wrapper.o crypto/scrypt/asm/obj/scrypt-x86.o: crypto/scrypt/asm/scrypt-x86.S $(CXX) -c $(CFLAGS) -MMD -o $@ $< @@ -146,21 +131,9 @@ crypto/scrypt/asm/obj/scrypt-x86.o: crypto/scrypt/asm/scrypt-x86.S crypto/scrypt/asm/obj/scrypt-x86_64.o: crypto/scrypt/asm/scrypt-x86_64.S $(CXX) -c $(CFLAGS) -MMD -o $@ $< -crypto/scrypt/asm/obj/scrypt-arm.o: crypto/scrypt/asm/scrypt-arm.S - $(CXX) -c $(CFLAGS) -MMD -o $@ $< - crypto/scrypt/asm/obj/asm-wrapper.o: crypto/scrypt/asm/asm-wrapper.cpp $(CXX) -c $(CFLAGS) -MMD -o $@ $< -crypto/sha2/asm/obj/sha2-x86.o: crypto/sha2/asm/sha2-x86.S - $(CXX) -c $(CFLAGS) -MMD -o $@ $< - -crypto/sha2/asm/obj/sha2-x86_64.o: crypto/sha2/asm/sha2-x86_64.S - $(CXX) -c $(CFLAGS) -MMD -o $@ $< - -crypto/sha2/asm/obj/sha2-arm.o: crypto/sha2/asm/sha2-arm.S - $(CXX) -c $(CFLAGS) -MMD -o $@ $< - DEFS += -DUSE_ASM else @@ -213,9 +186,6 @@ clean: -rm -f crypto/scrypt/generic/obj/*.o -rm -f crypto/scrypt/generic/obj/*.P -rm -f crypto/scrypt/generic/obj/*.d - -rm -f crypto/sha2/asm/obj/*.o - -rm -f crypto/sha2/asm/obj/*.P - -rm -f crypto/sha2/asm/obj/*.d -rm -f obj/build.h FORCE: