1
0
mirror of https://github.com/GOSTSec/gostcoin synced 2025-01-19 19:20:02 +00:00

add build info for mingw daemon makefile

This commit is contained in:
R4SAS 2017-05-01 22:06:11 +03:00
parent f6f68b6277
commit 0096e77652

View File

@ -58,7 +58,6 @@ LDFLAGS=-Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -Wl,-Bstatic
TESTDEFS = -DTEST_DATA_DIR=$(abspath test/data) TESTDEFS = -DTEST_DATA_DIR=$(abspath test/data)
ifneq (${USE_IPV6}, -) ifneq (${USE_IPV6}, -)
DEFS += -DUSE_IPV6=$(USE_IPV6) DEFS += -DUSE_IPV6=$(USE_IPV6)
endif endif
@ -125,12 +124,17 @@ leveldb/libleveldb.a:
cd leveldb && $(MAKE) CC=$(CC) CXX=$(CXX) OPT="$(CFLAGS)" TARGET_OS=NATIVE_WINDOWS libleveldb.a libmemenv.a && cd .. cd leveldb && $(MAKE) CC=$(CC) CXX=$(CXX) OPT="$(CFLAGS)" TARGET_OS=NATIVE_WINDOWS libleveldb.a libmemenv.a && cd ..
# I2P Support # I2P Support
DEFS += -DUSE_NATIVE_I2P -I"../i2psam" DEFS += -DUSE_NATIVE_I2P
LIBS += -L"../i2psam"
../i2psam/libi2psam.a: ../i2psam/libi2psam.a:
cd ../i2psam && $(MAKE) -f makefile.mingw && cd ../src cd ../i2psam && $(MAKE) -f makefile.mingw && cd ../src
obj/build.h: FORCE
/bin/sh ../share/genbuild.sh obj/build.h
version.cpp: obj/build.h
DEFS += -DHAVE_BUILD_INFO
INCLUDEPATHS += -I"obj"
obj/%-sse2.o: %-sse2.cpp obj/%-sse2.o: %-sse2.cpp
$(CXX) -c $(CFLAGS) -msse2 -mstackrealign -o $@ $< $(CXX) -c $(CFLAGS) -msse2 -mstackrealign -o $@ $<