summaryrefslogtreecommitdiffstats
path: root/.Makefile
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2021-12-10 13:02:52 +0100
committerJustus Winter <justus@sequoia-pgp.org>2021-12-10 13:02:52 +0100
commitcf4c70b46040a53bf3992a124ba70b1b1ca852f1 (patch)
treec321c5f549dc2d69519bd68bf540f78e7a294735 /.Makefile
parent34b930595f7e125cbbad64404c79de454c6e62ef (diff)
Remove the ffi crates.
- Remove the general-purpose ffi crates. They will be moved into their own repository. Note that we consider general-purpose ffi crates to be a dead end: exposing Sequoia's interface requires a large number of types and functions, and using the interface from C turned out to be verbose and error-prone. Instead, we prefer to write point solutions in Rust that implement exactly the functionality the downstream consumer needs, then expose this via ffi bindings. - See https://gitlab.com/sequoia-pgp/sequoia-ffi.
Diffstat (limited to '.Makefile')
-rw-r--r--.Makefile12
1 files changed, 0 insertions, 12 deletions
diff --git a/.Makefile b/.Makefile
index 7e8eb636..0377017b 100644
--- a/.Makefile
+++ b/.Makefile
@@ -59,8 +59,6 @@ all: build examples
.PHONY: build
build:
CARGO_TARGET_DIR=$(CARGO_TARGET_DIR) $(CARGO) build $(CARGO_FLAGS) $(CARGO_PACKAGES)
- $(MAKE) -Copenpgp-ffi build
- $(MAKE) -Cffi build
# Testing and examples.
#
@@ -79,8 +77,6 @@ test check:
then \
echo 'WARNING: Not running other tests, because $$CARGO_PACKAGES specifies a package.'; \
else \
- $(MAKE) -Copenpgp-ffi test && \
- $(MAKE) -Cffi test && \
$(MAKE) --file=.Makefile examples; \
fi
@@ -88,8 +84,6 @@ test check:
examples:
CARGO_TARGET_DIR=$(CARGO_TARGET_DIR) \
$(CARGO) build $(CARGO_FLAGS) --examples
- $(MAKE) -Copenpgp-ffi examples
- $(MAKE) -Cffi examples
# Documentation.
.PHONY: doc
@@ -103,16 +97,12 @@ doc:
# Installation.
.PHONY: build-release
build-release:
- $(MAKE) -Copenpgp-ffi build-release
- $(MAKE) -Cffi build-release
$(MAKE) -Csq build-release
# "install" needs "build-release" as it builds the project
# with optimizations enabled.
.PHONY: install
install: build-release
- $(MAKE) -Copenpgp-ffi install
- $(MAKE) -Cffi install
$(MAKE) -Csq install
# Infrastructure for creating source distributions.
@@ -155,8 +145,6 @@ dist-test dist-check: $(CARGO_TARGET_DIR)/dist/sequoia-$(VERSION).tar.pgp.gz
.PHONY: clean
clean:
CARGO_TARGET_DIR=$(CARGO_TARGET_DIR) $(CARGO) $(CARGO_FLAGS) clean
- $(MAKE) -Copenpgp-ffi clean
- $(MAKE) -Cffi clean
.PHONY: codespell
codespell: