|
|
@@ -37,19 +37,19 @@ RUST_BUILT_SRCS = \
|
|
|
src/sys/cmap.rs
|
|
|
|
|
|
src/sys/cpg.rs: cargo-tree-prep ../../include/corosync/cpg.h
|
|
|
- $(top_srcdir)/build-aux/rust-regen.sh $(top_srcdir)/include/corosync/cpg.h $@ CPG --blocklist-function=inet6.* --blocklist-function==.*etsourcefilter -- -I$(top_srcdir)/include
|
|
|
+ $(top_srcdir)/build-aux/rust-regen.sh $(BINDGEN) $(top_srcdir)/include/corosync/cpg.h $@ cpg -- -I$(top_srcdir)/include
|
|
|
|
|
|
src/sys/cfg.rs: cargo-tree-prep ../../include/corosync/cfg.h
|
|
|
- $(top_srcdir)/build-aux/rust-regen.sh $(top_srcdir)/include/corosync/cfg.h $@ CFG --blocklist-function=inet6.* --blocklist-function=.*etsourcefilter -- -I$(top_srcdir)/include
|
|
|
+ $(top_srcdir)/build-aux/rust-regen.sh $(BINDGEN) $(top_srcdir)/include/corosync/cfg.h $@ corosync_cfg -- -I$(top_srcdir)/include
|
|
|
|
|
|
src/sys/quorum.rs: cargo-tree-prep ../../include/corosync/quorum.h
|
|
|
- $(top_srcdir)/build-aux/rust-regen.sh $(top_srcdir)/include/corosync/quorum.h $@ QUORUM -- -I$(top_srcdir)/include
|
|
|
+ $(top_srcdir)/build-aux/rust-regen.sh $(BINDGEN) $(top_srcdir)/include/corosync/quorum.h $@ quorum -- -I$(top_srcdir)/include
|
|
|
|
|
|
src/sys/votequorum.rs: cargo-tree-prep ../../include/corosync/votequorum.h
|
|
|
- $(top_srcdir)/build-aux/rust-regen.sh $(top_srcdir)/include/corosync/votequorum.h $@ VOTEQUORUM -- -I$(top_srcdir)/include
|
|
|
+ $(top_srcdir)/build-aux/rust-regen.sh $(BINDGEN) $(top_srcdir)/include/corosync/votequorum.h $@ votequorum -- -I$(top_srcdir)/include
|
|
|
|
|
|
src/sys/cmap.rs: cargo-tree-prep ../../include/corosync/cmap.h
|
|
|
- $(top_srcdir)/build-aux/rust-regen.sh $(top_srcdir)/include/corosync/cmap.h $@ CMAP -- -I$(top_srcdir)/include $(LIBQB_CFLAGS)
|
|
|
+ $(top_srcdir)/build-aux/rust-regen.sh $(BINDGEN) $(top_srcdir)/include/corosync/cmap.h $@ cmap -- -I$(top_srcdir)/include $(LIBQB_CFLAGS)
|
|
|
|
|
|
all-local: target/$(RUST_TARGET_DIR)/cpg.rlib \
|
|
|
target/$(RUST_TARGET_DIR)/cfg.rlib \
|