]> git.apps.os.sepia.ceph.com Git - fscrypt.git/commit
Makefile: completly rewrite
authorJoseph Richey <joerichey94@gmail.com>
Mon, 12 Feb 2018 05:06:32 +0000 (21:06 -0800)
committerJoseph Richey <joerichey94@gmail.com>
Mon, 12 Feb 2018 05:38:01 +0000 (21:38 -0800)
commita9c3c4fdfbdd9b4ab7e82f5b237d040be68886e0
treec95bcf9ffbf02ebbe5c857117020e6aeaee15f8c
parent734f50d8fcb4df4cf611e774123b835f9fc5666b
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
Makefile
input_fail.py [deleted file]