Skip to content

Commit

Permalink
Remove Makefiles, which are now unused.
Browse files Browse the repository at this point in the history
I agree to license my contributions to each file under the terms
given at the top of each file I changed.
  • Loading branch information
weiznich authored and briansmith committed Mar 6, 2017
1 parent f5fc35a commit 5a50c3c
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 555 deletions.
29 changes: 0 additions & 29 deletions Makefile

This file was deleted.

14 changes: 3 additions & 11 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,7 @@ const RING_PERL_INCLUDES: &'static [&'static str] =
"crypto/perlasm/arm-xlate.pl",
"crypto/perlasm/ppc-xlate.pl"];

const RING_BUILD_FILE: &'static [&'static str] = &["build.rs",
"Makefile",
"mk/top_of_makefile.mk",
"mk/bottom_of_makefile.mk",
"mk/ring.mk"];
const RING_BUILD_FILE: &'static [&'static str] = &["build.rs"];

#[cfg_attr(rustfmt, rustfmt_skip)]
const C_FLAGS: &'static [&'static str] =
Expand Down Expand Up @@ -624,11 +620,8 @@ fn get_command(var: &str, default: &str) -> String {
}

fn check_all_files_tracked() {
let _ = rayon::join(|| {
rayon::join(|| walk_dir(&PathBuf::from("crypto"), &is_tracked),
|| walk_dir(&PathBuf::from("include"), &is_tracked))
},
|| walk_dir(&PathBuf::from("mk"), &is_tracked));
let _ = rayon::join(|| walk_dir(&PathBuf::from("crypto"), &is_tracked),
|| walk_dir(&PathBuf::from("include"), &is_tracked));
}

fn is_tracked(file: &DirEntry) {
Expand All @@ -639,7 +632,6 @@ fn is_tracked(file: &DirEntry) {
RING_HEADERS.iter().chain(RING_TEST_HEADERS.iter()).any(cmp)
},
Some("inl") => RING_INLINE_FILES.iter().any(cmp),
Some("mk") => RING_BUILD_FILE.iter().any(cmp),
Some("c") | Some("cc") => {
RING_SRC.iter()
.chain(RING_AARCH64_SRCS.iter())
Expand Down
54 changes: 0 additions & 54 deletions mk/bottom_of_makefile.mk

This file was deleted.

216 changes: 0 additions & 216 deletions mk/ring.mk

This file was deleted.

Loading

0 comments on commit 5a50c3c

Please sign in to comment.