diff --git a/libknet/bindings/rust/Makefile.am b/libknet/bindings/rust/Makefile.am index 9254b2f7..d6308894 100644 --- a/libknet/bindings/rust/Makefile.am +++ b/libknet/bindings/rust/Makefile.am @@ -1,37 +1,39 @@ # # Copyright (C) 2021-2023 Red Hat, Inc. All rights reserved. # # Author: Christine Caulfield # # This software licensed under GPL-2.0+ # MAINTAINERCLEANFILES = Makefile.in include $(top_srcdir)/build-aux/check.mk include $(top_srcdir)/build-aux/rust.mk # required for make check localver = $(libknetrustver) SUBDIRS = . tests EXTRA_DIST = \ $(RUST_COMMON) \ $(RUST_SHIP_SRCS) \ README RUST_SHIP_SRCS = \ src/knet_bindings.rs \ src/lib.rs \ src/sys/mod.rs RUST_BUILT_SRCS = \ src/sys/libknet.rs src/sys/libknet.rs: ../../libknet.h $(top_srcdir)/build-aux/rust-regen.sh $^ $@ KNET -all-local: cargo-tree-prep target/$(RUST_TARGET_DIR)/knet_bindings.rlib +target/$(RUST_TARGET_DIR)/knet_bindings.rlib: cargo-tree-prep + +all-local: target/$(RUST_TARGET_DIR)/knet_bindings.rlib clean-local: cargo-clean diff --git a/libnozzle/bindings/rust/Makefile.am b/libnozzle/bindings/rust/Makefile.am index 05d70142..ef2bcd2e 100644 --- a/libnozzle/bindings/rust/Makefile.am +++ b/libnozzle/bindings/rust/Makefile.am @@ -1,37 +1,39 @@ # # Copyright (C) 2021-2023 Red Hat, Inc. All rights reserved. # # Author: Christine Caulfield # # This software licensed under GPL-2.0+ # MAINTAINERCLEANFILES = Makefile.in include $(top_srcdir)/build-aux/check.mk include $(top_srcdir)/build-aux/rust.mk # required for make check localver = $(libnozzlerustver) SUBDIRS = . tests EXTRA_DIST = \ $(RUST_COMMON) \ $(RUST_SHIP_SRCS) \ README RUST_SHIP_SRCS = \ src/nozzle_bindings.rs \ src/lib.rs \ src/sys/mod.rs RUST_BUILT_SRCS = \ src/sys/libnozzle.rs src/sys/libnozzle.rs: ../../libnozzle.h $(top_srcdir)/build-aux/rust-regen.sh $^ $@ NOZZLE -all-local: cargo-tree-prep target/$(RUST_TARGET_DIR)/nozzle_bindings.rlib +target/$(RUST_TARGET_DIR)/nozzle_bindings.rlib: cargo-tree-prep + +all-local: target/$(RUST_TARGET_DIR)/nozzle_bindings.rlib clean-local: cargo-clean