summaryrefslogtreecommitdiff
path: root/src/rust/protover/include.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/rust/protover/include.am')
-rw-r--r--src/rust/protover/include.am14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/rust/protover/include.am b/src/rust/protover/include.am
new file mode 100644
index 0000000000..326dbbb7f2
--- /dev/null
+++ b/src/rust/protover/include.am
@@ -0,0 +1,14 @@
+EXTRA_DIST +=\
+ src/rust/protover/Cargo.toml \
+ src/rust/protover/lib.rs \
+ src/rust/protover/ffi.rs \
+ src/rust/protover/external.rs
+
+src/rust/target/release/@TOR_RUST_PROTOVER_STATIC_NAME@: FORCE
+ ( cd "$(abs_top_srcdir)/src/rust/protover" ; \
+ CARGO_TARGET_DIR="$(abs_top_builddir)/src/rust/target" \
+ CARGO_HOME="$(abs_top_builddir)/src/rust" \
+ $(CARGO) build --release --quiet $(CARGO_ONLINE) )
+
+FORCE:
+