From 0096e776524d13415f0383f79af8dfd8ebc970c5 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Mon, 1 May 2017 22:06:11 +0300 Subject: [PATCH] add build info for mingw daemon makefile --- src/makefile.mingw | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/makefile.mingw b/src/makefile.mingw index 0971afa..2df63ed 100644 --- a/src/makefile.mingw +++ b/src/makefile.mingw @@ -58,7 +58,6 @@ LDFLAGS=-Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -Wl,-Bstatic TESTDEFS = -DTEST_DATA_DIR=$(abspath test/data) - ifneq (${USE_IPV6}, -) DEFS += -DUSE_IPV6=$(USE_IPV6) 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 .. # I2P Support -DEFS += -DUSE_NATIVE_I2P -I"../i2psam" -LIBS += -L"../i2psam" +DEFS += -DUSE_NATIVE_I2P ../i2psam/libi2psam.a: 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 $(CXX) -c $(CFLAGS) -msse2 -mstackrealign -o $@ $<