Files
wmaker/wutil-rs/Makefile.am
T
trurl 18e54ecdfc Switch to cdylib for Rust crates.
This avoids duplicate symbol definitions when the same static lib sub-dependency is linked in from multiple direct dependencies.
2026-04-12 09:32:48 -04:00

37 lines
540 B
Makefile

AUTOMAKE_OPTIONS =
RUST_SOURCES = \
src/array.rs \
src/bag.rs \
src/data.rs \
src/defines.c \
src/defines.rs \
src/find_file.rs \
src/hash_table.rs \
src/handlers.rs \
src/lib.rs \
src/memory.rs \
src/notification.rs \
src/prop_list.rs \
src/sendable.rs \
src/string.rs \
src/tree.rs
RUST_EXTRA = \
Cargo.lock \
Cargo.toml
Cargo.lock:
$(CARGO) build
target/debug/libwutil_rs.so: $(RUST_SOURCES) $(RUST_EXTRA)
$(CARGO) build
check-local:
$(CARGO) test
clean-local:
$(CARGO) clean
all: target/debug/libwutil_rs.so