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/hash.o \
obj/bloom.o \ obj/bloom.o \
obj/leveldb.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 ifdef USE_SSE2
DEFS += -DUSE_SSE2 DEFS += -DUSE_SSE2

View File

@ -100,7 +100,19 @@ OBJS= \
obj/bloom.o \ obj/bloom.o \
obj/noui.o \ obj/noui.o \
obj/leveldb.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 ifdef USE_SSE2
DEFS += -DUSE_SSE2 DEFS += -DUSE_SSE2

View File

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

View File

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