Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First pass at integrating Rust files into the build system
- Loading branch information
1 parent
e1b9e7c
commit 3c7ab4a
Showing
11 changed files
with
95 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
|
||
EXTRA_DIST = Cargo.toml \ | ||
regenerate-sys.sh \ | ||
build.rs \ | ||
src/libknet.rs \ | ||
src/lib.rs \ | ||
src/sys/libknet.rs \ | ||
src/sys/mod.rs | ||
|
||
all-local: | ||
cargo build $(RUSTFLAGS) | ||
|
||
clean-local: | ||
-cargo clean | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
EXTRA_DIST = Cargo.toml \ | ||
src/bin/knet-test.rs | ||
|
||
check_PROGRAMS = \ | ||
target/$(RUST_TARGET_DIR)/knet-test | ||
|
||
noinst_PROGRAMS = $(check_PROGRAMS) | ||
|
||
testsuitedir = $(TESTDIR) | ||
testsuite_PROGRAMS = $(check_PROGRAMS) | ||
|
||
TESTS = $(check_PROGRAMS) | ||
|
||
target/$(RUST_TARGET_DIR)/knet-test: src/bin/knet-test.rs | ||
cargo build $(RUSTFLAGS) | ||
|
||
clean-local: | ||
cargo clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
|
||
EXTRA_DIST = Cargo.toml \ | ||
build.rs \ | ||
regenerate-sys.sh \ | ||
src/libnozzle.rs \ | ||
src/lib.rs \ | ||
src/sys/libnozzle.rs \ | ||
src/sys/mod.rs | ||
|
||
all-local: | ||
cargo build $(RUSTFLAGS) | ||
|
||
clean-local: | ||
-cargo clean | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
EXTRA_DIST = Cargo.toml \ | ||
src/bin/nozzle-test.rs \ | ||
up.d/tap33 | ||
|
||
check_PROGRAMS = target/$(RUST_TARGET_DIR)/nozzle-test | ||
|
||
noinst_PROGRAMS = $(check_PROGRAMS) | ||
|
||
testsuitedir = $(TESTDIR) | ||
testsuite_PROGRAMS = $(check_PROGRAMS) | ||
|
||
TESTS = $(check_PROGRAMS) | ||
|
||
noinst_SCRIPTS = up.d/tap33 | ||
|
||
target/$(RUST_TARGET_DIR)/nozzle-test: src/bin/nozzle-test.rs | ||
cargo build $(RUSTFLAGS) | ||
|
||
clean-local: | ||
cargo clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters