diff options
author | Sam Chudnick <sam@chudnick.com> | 2022-07-02 16:03:15 -0400 |
---|---|---|
committer | Sam Chudnick <sam@chudnick.com> | 2022-07-02 16:03:15 -0400 |
commit | 5d78a10379454946fa3fee8eb6513054f2266172 (patch) | |
tree | 286322079dab9542d028ec77d09c6708b07bc78d /pam | |
parent | c553506a3af32e15391de30fa32ac332ef8250a6 (diff) |
Add simple Makefile
Diffstat (limited to 'pam')
-rw-r--r-- | pam/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pam/Makefile b/pam/Makefile new file mode 100644 index 0000000..46c2cab --- /dev/null +++ b/pam/Makefile | |||
@@ -0,0 +1,14 @@ | |||
1 | all: pam_mfa | ||
2 | |||
3 | pam_mfa: | ||
4 | gcc -fPIC -c pam_mfa.c | ||
5 | gcc -shared -o pam_mfa.so pam_mfa.o -lpam | ||
6 | |||
7 | install: all | ||
8 | PAMDIR = /usr/lib/x86_64-linux-gnu/security/ | ||
9 | cp -f pam_mfa.so ${PAMDIR} | ||
10 | chmod 755 ${PAMDIR}/pam_mfa.so | ||
11 | |||
12 | clean: | ||
13 | rm pam_mfa.so | ||
14 | rm pam_mfa.o | ||