summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi/Makefile
AgeCommit message (Collapse)Author
2020-06-18Improve install target.Justus Winter
- Add explicit build-release and install targets. - Explicitly build the crates. - Move installation to the crate's Makefile. - This allows building of Sequoia's individual parts, e.g. by using 'make -Copenpgp-ffi install'.
2020-06-08openpgp-ffi, ffi: Fix pkgconfig files.Hartmut Goebel
- `prefix` in theses files must be the installaton prefix. - Fixes #502.
2020-02-13openpgp-ffi, ffi: Always remake all examples.Justus Winter
- Due to missing tracking of header files as inputs, make may miss changes there and not rebuild an example. Always rebuilding all examples should be quick enough, and avoids this problem.
2019-10-02openpgp-ffi: Fix check-headers to not depend on git.Justus Winter
- Fixes #342.
2019-06-01ffi: Install all headersNeal H. Walfield
2019-05-08openpgp-ffi: Deal with name-mangling, 2nd try.Justus Winter
- Apparently, some platforms use name mangling to differentiate calling conventions. Deal with that in `make check-headers`. - Fixes 8ed5842580a1c172fc8d5ebe5d0444ee5e011a01.
2019-05-07openpgp-ffi: Deal with name-mangling.Justus Winter
- Apparently, some platforms use name mangling to differentiate calling conventions. Deal with that in `make check-headers`.
2019-03-22Fix build on macOS.Justus Winter
- Use GNU install, use the correct extension for dynamic libraries. - Fixes #226.
2019-01-29openpgp-ffi: Check for missing declarations.Justus Winter
2019-01-29ffi,openpgp-ffi: Install .pc files in target directory.Neal H. Walfield
- Install the .pc files in the target directory when building so that it is easier to link against built, but uninstalled libraries. - 177835be9dba392ab10994254b67aa676be66331 accidentally removed this functionality for debug builds. Restore it, and also add it for release builds. - Avoid code duplication by using a macro.
2019-01-17openpgp-ffi: New crate.Justus Winter
- This creates a new crate, 'sequoia-openpgp-ffi', and moves a handful of functions from 'sequoia-ffi' to it. - The 'sequoia-ffi' crate is a superset of the 'sequoia-openpgp-ffi' crate. This is accomplished by some include! magic. - My first attempt involved having 'sequoia-ffi' depend on 'sequoia-openpgp-ffi', so that the former just re-exports the symbols. However, that turned out to be unreliable, and might be not what we want, because it could also duplicate parts of Rust's standard library. - Fixes #144.