Add PAM module stub (build deferred until libpam0g-dev installed)

This commit is contained in:
michael
2026-04-26 14:42:53 -07:00
parent ab5b158dc3
commit e6db10f5a9
2 changed files with 31 additions and 0 deletions

13
pam/Makefile Normal file
View File

@@ -0,0 +1,13 @@
CFLAGS ?= -Wall -Wextra -Werror -fPIC -O2
LIBDIR ?= /usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)/security
pam_ubuntu_fido_pending.so: pam_ubuntu_fido_pending.c
$(CC) $(CFLAGS) -shared -o $@ $< -lpam
install: pam_ubuntu_fido_pending.so
install -D -m 0644 pam_ubuntu_fido_pending.so $(DESTDIR)$(LIBDIR)/pam_ubuntu_fido_pending.so
clean:
rm -f pam_ubuntu_fido_pending.so
.PHONY: install clean