Files
leaf/Makefile
T
eric ce5366ebc4 Add OpenSSL and support more targets
* Added OpenSSL AEAD support
* Added OpenSSL TLS support
* Added mips/mipsel support

OpenSSL features can be conditinally compiled, targets not supported
by ring should use OpenSSL, e.g. mips/mipsel, while other targets
should use ring and rustls for crypto and TLS for better performance.

Crypto functions from Shadowsocks and VMess are unified in common/crypto.
2020-10-24 11:08:51 +08:00

17 lines
470 B
Makefile

ios:
cargo lipo -p leaf-mobile --release --targets aarch64-apple-ios && cbindgen leaf-mobile/src/lib.rs -l c > target/universal/release/leaf.h
ios-dev:
cargo lipo -p leaf-mobile --targets aarch64-apple-ios && cbindgen leaf-mobile/src/lib.rs -l c > target/universal/debug/leaf.h
local:
cargo build -p leaf-bin --release
local-dev:
cargo build -p leaf-bin
# Force a re-generation of protobuf files.
proto-gen:
touch leaf/build.rs
PROTO_GEN=1 cargo build -p leaf