Browse Source

add build info for mingw daemon makefile

pull/16/head
R4SAS 8 years ago
parent
commit
0096e77652
  1. 10
      src/makefile.mingw

10
src/makefile.mingw

@ -58,7 +58,6 @@ LDFLAGS=-Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -Wl,-Bstatic @@ -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: @@ -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 $@ $<

Loading…
Cancel
Save