aboutsummaryrefslogtreecommitdiff
path: root/src/rust/tor_rust/include.am
blob: f3b0748bafb9bc84893187512b3fb8ecb3ef6a64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
EXTRA_DIST +=\
	src/rust/tor_rust/Cargo.toml \
	src/rust/tor_rust/lib.rs

src/rust/target/release/@TOR_RUST_STATIC_NAME@: FORCE
	( cd "$(abs_top_srcdir)/src/rust/tor_rust" ; \
		CARGO_TARGET_DIR="$(abs_top_builddir)/src/rust/target" \
		CARGO_HOME="$(abs_top_builddir)/src/rust" \
		$(CARGO) build --release --quiet $(CARGO_ONLINE) )

distclean-rust:
	( cd "$(abs_top_srcdir)/src/rust/tor_rust" ; \
		CARGO_TARGET_DIR="$(abs_top_builddir)/src/rust/target" \
		CARGO_HOME="$(abs_top_builddir)/src/rust" \
		$(CARGO) clean --quiet $(CARGO_ONLINE) )
	rm -rf "$(abs_top_builddir)/src/rust/registry"

FORCE: