Browse Source

Fixed win32 make file along with m_unix

release/v0.1
Mayur Nagekar 9 years ago
parent
commit
7c64c33591
  1. 2
      crypto777/m_unix
  2. 2
      crypto777/make_android
  3. 17
      crypto777/make_ios
  4. 18
      crypto777/make_unix
  5. 17
      crypto777/make_win32
  6. 16
      crypto777/make_win64

2
crypto777/m_unix

@ -4,5 +4,5 @@
#include crypto777.sources
#gcc -c -O2 $(CRYPTO777_SRCS)
gcc -c -O2 *.c jpeg/*.c jpeg/unix/*.c
gcc -c -O2 *.c jpeg/*.c jpeg/unix/*.c -I/usr/lib/x86_64-linux-gnu/curl
rm -f ../agents/libcrypto777.a; ar rcu ../agents/libcrypto777.a *.o

2
crypto777/make_android

@ -0,0 +1,2 @@
$CC -c -O2 *.c jpeg/*.c jpeg/unix/*.c
rm -f ../agents/libcrypto777.a; $AR rcu ../agents/libcrypto777.a *.o

17
crypto777/make_ios

@ -0,0 +1,17 @@
CC="$(xcrun --sdk iphoneos --find clang) -isysroot $(xcrun --sdk iphoneos --show-sdk-path) -arch armv7 -arch arm64 -arch armv7s -ONLY_ACTIVE_ARCH=YES"
AR="$(xcrun --sdk iphoneos --find ar)"
all: clean build
build:
$CC -I /usr/local/opt/curl/include/ -c -O2 *.c jpeg/*.c jpeg/unix/*.c -I/usr/local/opt/ || (echo "\033[4m ERROR: Failed to compile ios \033[0m"; exit 1; )
rm -f ../agents/libcrypto777.a || true
$AR -rcs ../agents/libcrypto777.a *.o || (echo "\033[4m ERROR: Failed to create libcrypto777.a \033[0m"; exit 1; )
clean:
rm -f ../agents/libcrypto777.a || true

18
crypto777/make_unix

@ -0,0 +1,18 @@
all: clean build
build:
gcc -c -I/usr/include/curl -O2 *.c jpeg/*.c jpeg/unix/*.c || (echo -e "\033[4mERROR: Compilation failed for unix \033[0m"; exit 1; )
rm -f ../agents/libcrypto777.a || true
ar rcu ../agents/libcrypto777.a *.o || (echo -e "\033[4mERROR: Failed creating libcrypto777.a for unix \033[0m"; exit 1; )
clean:
rm -f ../agents/libcrypto777.a || true

17
crypto777/make_win32

@ -0,0 +1,17 @@
include crypto777.sources
include ../mingw.path
all: clean build
build :
@echo "\nBuilding crypto777....."
$(TOOL_DIR)/$(MINGW)-gcc -w -D __MINGW -c $(CRYPTO777_SRCS) -I/usr/mingw32/include -I/usr/mingw32/include/sys -I/home/user/SuperNET/includes/openssl -I/home/user/SuperNET/crypto777 || (echo -e "\033[4mERROR: Compilation failed for win32 \033[0m"; exit 1; )
$(TOOL_DIR)/$(MINGW)-ar rcu ../agents/win32/libcrypto777.a *.o || (echo -e "\033[4mERROR: Failed to create libcrypto777.a\033[0m"; exit 1; )
clean :
@echo "\nCleaning files....."
rm -rf ../agents/win32/* || true
rm -f *.o || true

16
crypto777/make_win64

@ -0,0 +1,16 @@
include crypto777.sources
include ../mingw.path64
all: clean build
build:
@echo "\nBuilding crypto......"
$(TOOL_DIR)/$(MINGW)-gcc -w -D __MINGW -c $(CRYPTO777_SRCS) -I/usr/share/mingw-w64/include -I /usr/share/mingw-w64/include/sys -I/home/user/SuperNET/includes/openssl || (echo "\033[4m ERROR: Compilation failed for win64\033[0m"; exit 1; )
$(TOOL_DIR)/$(MINGW)-ar rcu ../agents/win64/libcrypto777.a *.o || (echo "\033[4mERROR: Failed to create libcrypto777.a\033[0m"; exit 1; )
clean:
@echo "\nCleaning files......"
rm -f ../agents/win64/* || true
rm -f *.o || true
Loading…
Cancel
Save