fixed linux daemon

This commit is contained in:
Evan 2014-01-13 20:12:03 -07:00
parent c2ca489175
commit 65efd63361
4 changed files with 59 additions and 17 deletions

View File

@ -88,7 +88,19 @@ OBJS= \
obj/hash.o \
obj/bloom.o \
obj/leveldb.o \
obj/txdb.o
obj/txdb.o\
obj/blake.o\
obj/bmw.o\
obj/groestl.o\
obj/jh.o\
obj/keccak.o\
obj/skein.o\
obj/cubehash.o \
obj/luffa.o \
obj/aes_helper.o \
obj/echo.o \
obj/shavite.o \
obj/simd.o
ifdef USE_SSE2
DEFS += -DUSE_SSE2

View File

@ -100,7 +100,19 @@ OBJS= \
obj/bloom.o \
obj/noui.o \
obj/leveldb.o \
obj/txdb.o
obj/txdb.o\
obj/blake.o\
obj/bmw.o\
obj/groestl.o\
obj/jh.o\
obj/keccak.o\
obj/skein.o\
obj/cubehash.o \
obj/luffa.o \
obj/aes_helper.o \
obj/echo.o \
obj/shavite.o \
obj/simd.o
ifdef USE_SSE2
DEFS += -DUSE_SSE2

View File

@ -106,13 +106,19 @@ OBJS= \
obj/bloom.o \
obj/noui.o \
obj/leveldb.o \
obj/txdb.o
ifdef USE_SSE2
DEFS += -DUSE_SSE2
OBJS_SSE2= obj/scrypt-sse2.o
OBJS += $(OBJS_SSE2)
endif
obj/txdb.o\
obj/cubehash.o \
obj/luffa.o \
obj/aes_helper.o \
obj/echo.o \
obj/shavite.o \
obj/simd.o \
obj/blake.o\
obj/bmw.o\
obj/groestl.o\
obj/jh.o\
obj/keccak.o\
obj/skein.o
ifndef USE_UPNP
override USE_UPNP = -

View File

@ -142,14 +142,19 @@ OBJS= \
obj/bloom.o \
obj/noui.o \
obj/leveldb.o \
obj/txdb.o
ifdef USE_SSE2
DEFS += -DUSE_SSE2
OBJS_SSE2= obj/scrypt-sse2.o
OBJS += $(OBJS_SSE2)
endif
obj/txdb.o\
obj/cubehash.o \
obj/luffa.o \
obj/aes_helper.o \
obj/echo.o \
obj/shavite.o \
obj/simd.o \
obj/blake.o\
obj/bmw.o\
obj/groestl.o\
obj/jh.o\
obj/keccak.o\
obj/skein.o
all: xcoind
@ -189,6 +194,13 @@ obj/%.o: %.cpp
-e '/^$$/ d' -e 's/$$/ :/' < $(@:%.o=%.d) >> $(@:%.o=%.P); \
rm -f $(@:%.o=%.d)
obj/%.o: %.c
$(CXX) -c $(xCXXFLAGS) -fpermissive -MMD -MF $(@:%.o=%.d) -o $@ $<
@cp $(@:%.o=%.d) $(@:%.o=%.P); \
sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
-e '/^$$/ d' -e 's/$$/ :/' < $(@:%.o=%.d) >> $(@:%.o=%.P); \
rm -f $(@:%.o=%.d)
xcoind: $(OBJS:obj/%=obj/%)
$(LINK) $(xCXXFLAGS) -o $@ $^ $(xLDFLAGS) $(LIBS)