1 2 3 4 5 6 7 8 9 10 11 12 13 14
all: pam_mfa pam_mfa: gcc -fPIC -c pam/pam_mfa.c -o pam/pam_mfa.o gcc -shared -o pam/pam_mfa.so pam/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