summaryrefslogtreecommitdiffstats
path: root/ffi/Makefile
AgeCommit message (Collapse)Author
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-03-22Fix build on macOS.Justus Winter
- Use GNU install, use the correct extension for dynamic libraries. - Fixes #226.
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-17ffi: Drop superfluous cleanup of sequoia.pc.Justus Winter
2019-01-11ffi: Add preliminary Python bindings.Justus Winter
- The bingings support basic manipulation of OpenPGP data, but are quite incomplete. Furthermore, the Python API is not very pythonic in some places, so expect it to break in the future.
2018-11-26ffi: Fix installation.Justus Winter
2018-09-08Change Makefiles to support CARGO_TARGET_DIR.Neal H. Walfield
- Also use 'cargo clean' instead of 'rm -rf $(CARGO_TARGET_DIR)' in case $(CARGO_TARGET_DIR) is incorrectly set.
2018-08-16ffi: Generate a pkgconfig file for the debug build.Justus Winter
2018-08-16ffi: Fix pkgconfig generation.Justus Winter
2018-07-20ffi: Improve Makefile.Justus Winter
- Generate sequoia.pc in the installation step to prevent it from going stale in the build directory.
2018-04-09ffi: Install the shared object using the name 'sequoia_ffi'.Justus Winter
- Let us keep 'sequoia' for the time when Rust has a stable ABI and we can have shared objects with a Rust ABI. The name of the library is a detail that we hide behind pkg-config. - Also fix the pkg-config file.
2018-04-04Make version parsing more robust.Justus Winter
2018-03-23ffi: Build and install a pkg-config file.Justus Winter
2018-03-23ffi: Build a shared object and a library archive.Justus Winter
- Build the correct kind of dynamic library, a 'cdylib' instead a 'dylib'. The former seems to be a Rust dynamic library. - Also build and install a library archive for static linking.
2018-03-23ffi: Move install rules to ffi/Makefile.Justus Winter
2018-03-13Add a Makefile.Justus Winter
- This adds some convenience for building Sequoia. - It also integrates other build systems and test frameworks for the bindings. - Furthermore, it helps with creating releases.