1 2 3 4 5 6 7 8 9 10 11 12
pam_propperpwnam.so: pam_propperpwnam.c $(CC) -shared -fPIC -o pam_propperpwnam.so pam_propperpwnam.c -lpam .PHONY: clean clean: rm -f pam_propperpwnam.so install: pam_propperpwnam.so mkdir -p $(DESTDIR)/lib/security install -o root -g root -m 644 -t $(DESTDIR)/lib/security/ pam_propperpwnam.so