Commit 596a645
committed
Add a compatibility Makefile stub
Adds a tiny Makefile that defers to `cargo capi install`.
Previously rustls-ffi offered a GNU `Makefile` for building the library
on Linux/MacOS. Because of the inherent limitations of this build system
and a desire to have uniformity across all supported operating systems
we've replaced this with usage of `cargo-c`.
While the README documents the finer details of using `cargo-c` it's
likely some users just want to keep doing what they were doing before:
running `make install` with a custom `DESTDIR`.
This commit provides a shortcut to do just that, backed by `cargo-c`.
I have explicitly not restored the ability to:
* build/run the client/server tests: this is handled by `cmake` now.
* handle developer tasks like formatting/linting. Also handled by
`cmake` now.
* customize the build (e.g. debug build, alt crypto providers, fips
mode, etc). use cargo-c directly for this per the README instructions.1 parent 75b9715 commit 596a645
1 file changed
+23
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
0 commit comments