aboutsummaryrefslogtreecommitdiff
path: root/src/rust/tor_util/include.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/rust/tor_util/include.am')
-rw-r--r--src/rust/tor_util/include.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/rust/tor_util/include.am b/src/rust/tor_util/include.am
new file mode 100644
index 0000000000..3b877649a3
--- /dev/null
+++ b/src/rust/tor_util/include.am
@@ -0,0 +1,12 @@
+EXTRA_DIST +=\
+ src/rust/tor_util/Cargo.toml \
+ src/rust/tor_util/lib.rs \
+ src/rust/tor_util/ffi.rs \
+ src/rust/tor_util/rust_string.rs
+
+src/rust/target/release/libtor_util.a: FORCE
+ ( cd "$(abs_top_srcdir)/src/rust/tor_util" ; \
+ CARGO_TARGET_DIR="$(abs_top_builddir)/src/rust/target" \
+ $(CARGO) build --release --quiet --frozen )
+
+FORCE: