From a9c3c4fdfbdd9b4ab7e82f5b237d040be68886e0 Mon Sep 17 00:00:00 2001 From: Joseph Richey Date: Sun, 11 Feb 2018 21:06:32 -0800 Subject: Makefile: completly rewrite This change is a complete rewrite of fscrypt's Makefile. The new build rules can be roughly divided into secions: Build - bin/fscrypt and bin/pam_fscrypt Linting - gen (for .proto files), format, lint Test - test, test-{setup|teardown}, coverage.out Install - install, uninstall, install-{bin|pam} Tools - tools and other bin/* needed for the other rules As before, "make" builds the binary and pam_module, while "make all" builds and tests everything (except for integration tests), and "make clean" removes any generated files. Also note that this new build system: - Doesn't require input_fail.py - Properly falis on linter errors - Builds everything into the bin/ directory (customizable) - Builds all the vendored tools --- .gitignore | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 09289e3..f6293d5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,10 @@ -fscrypt -fscrypt_image -pam_fscrypt.so +bin/fscrypt +bin/pam_fscrypt.so +bin/protoc +bin/golint +bin/protoc-gen-go +bin/goimports +bin/megacheck +bin/gocovmerge +*coverage.out .vscode -- cgit v1.2.3