Mayur Nagekar
9 years ago
6 changed files with 71 additions and 1 deletions
@ -0,0 +1,2 @@ |
|||
$CC -c -O2 *.c jpeg/*.c jpeg/unix/*.c |
|||
rm -f ../agents/libcrypto777.a; $AR rcu ../agents/libcrypto777.a *.o |
@ -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 |
|||
|
@ -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 |
|||
|
|||
|
|||
|
@ -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 |
@ -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…
Reference in new issue