1 2 3 4 5 6 7 8 9 10 11 12 13 14
all: pam_mfa pam_mfa: gcc -fPIC -c pam_mfa.c gcc -shared -o pam_mfa.so pam_mfa.o -lpam install: all PAMDIR = /usr/lib/x86_64-linux-gnu/security/ cp -f pam_mfa.so ${PAMDIR} chmod 755 ${PAMDIR}/pam_mfa.so clean: rm pam_mfa.so rm pam_mfa.o