Mayur Nagekar
9 years ago
6 changed files with 66 additions and 2 deletions
@ -0,0 +1,21 @@ |
|||
|
|||
|
|||
win32: win32_crypto win32_iguana |
|||
|
|||
win64: win64_crypto win64_iguana |
|||
|
|||
#build for win32 environment
|
|||
win32_crypto: |
|||
cd crypto777; make -f make_win32; cd .. |
|||
|
|||
win32_iguana: |
|||
cd iguana; make -f make_win32; cd .. |
|||
|
|||
#build for win64 environment
|
|||
win64_crypto: |
|||
cd crypto777; make -f make_win64; cd .. |
|||
|
|||
win64_iguana: |
|||
cd iguana; make -f make_win64; cd .. |
|||
|
|||
|
@ -0,0 +1,22 @@ |
|||
include iguana.sources |
|||
include mingw32 |
|||
include ../mingw.path |
|||
|
|||
all: clean check build |
|||
|
|||
build: |
|||
@echo "\nBuilding iguana......" |
|||
$(TOOL_DIR)/$(MINGW)-gcc -w -o ../agents/win32/iguana.exe -D __MINGW -D __CURL_CURLBUILD_H -D __CURL_CURL_H -D __CURL_EASY_H $(SOURCES) $(LIBS) || (echo -e "\033[4mERROR: Failed to build iguana\033[0m"; exit 1; ) |
|||
|
|||
|
|||
$(TOOL_DIR)/$(MINGW)-strip --strip-all ../agents/win32/iguana.exe |
|||
@echo "\nBuild successfully......" |
|||
|
|||
check: |
|||
@echo "\nChecking if libcrypto.a exists......" |
|||
test -s ../agents/win32/libcrypto777.a || (echo -e "\033[4mERROR: libcrypto777.a does not exists\033[0m"; exit 1; ) |
|||
|
|||
clean: |
|||
@echo "\nCleaning iguana......" |
|||
rm -rf ../agents/win32/iguana.* || true |
|||
@echo "\n Iguana Cleaned......" |
@ -0,0 +1,18 @@ |
|||
include iguana.sources |
|||
include ../mingw.path64 |
|||
|
|||
LIBS := ../win/libsecp256k1.a ../win/libcrypto.a ../win/libssl.a ../win/libpthreadGC2_64.a ../agents/win64/libcrypto777.a ../win/libcurldll.a /usr/share/mingw-w64/lib/libws2_32.a /usr/share/mingw-w64/lib/libgdi32.a -I/usr/share/mingw-w64/include -I/usr/i386/include -I/usr/i386/include/curl -I/home/user/SuperNET/iguana -I/home/user/SuperNET/includes -I/home/user/SuperNET/crypto777 |
|||
include mingw64_inc |
|||
|
|||
|
|||
all: check build |
|||
|
|||
build: |
|||
$(TOOL_DIR)/$(MINGW)-gcc -w -o ../agents/win64/iguana.exe -D __MINGW -D __CURL_CURLBUILD_H -D __CURL_CURL_H -D __CURL_EASY_H $(SOURCES) $(LIBS) || (echo -e "\033[4mERROR: Failed to build iguana\033[0m"; exit 1; ) |
|||
|
|||
$(TOOL_DIR)/$(MINGW)-strip --strip-all ../agents/win64/iguana.exe || (echo -e "\033[4mERROR: Failed to strip iguana\033[0m"; exit 1; ) |
|||
|
|||
|
|||
check: |
|||
test -s ../agents/win64/libcrypto777.a || (echo -e "\033[4mERROR: libcrypto777.a does not exists\033[0m"; exit 1; ) |
|||
|
@ -1,4 +1,4 @@ |
|||
include ../mingw.path |
|||
LIBS := ../win/libsecp256k1.a ../win/libcrypto.a ../win/libssl.a /usr/share/mingw-w64/lib/libpthread.a ../agents/win32/libcrypto777.a ../win/libcurldll.a /usr/i586-mingw32msvc/lib/libws2_32.a /usr/i586-mingw32msvc/lib/libgdi32.a -I/usr/mingw32/include -I/usr/i386/include/curl -I/home/user/SuperNET/iguana -I/home/user/SuperNET/includes -I/home/user/SuperNET/crypto777 |
|||
LIBS := ../win/libsecp256k1.a ../win/libcrypto.a ../win/libssl.a /usr/share/mingw-w64/lib/libpthread.a ../agents/win32/libcrypto777.a ../win/libcurldll.a /usr/i586-mingw32msvc/lib/libws2_32.a /usr/i586-mingw32msvc/lib/libgdi32.a -I/usr/mingw32/include -I/usr/i386/include -I/usr/i386/include/curl -I/home/user/SuperNET/iguana -I/home/user/SuperNET/includes -I/home/user/SuperNET/crypto777 |
|||
|
|||
include mingw |
|||
|
Loading…
Reference in new issue