Convert the project to use the GNU Build System (aka Autotools)

LICENSE was renamed COPYING because otherwise `autoreconf` complains loudly.
This is also the reason AUTHORS, INSTALL, and README were created.

Man pages were moved into src/pam_panic/man and src/pam_panic_pw/man.

Finally, certain variables are passed through the config.h file to the
module rather than as -D flags on the command-line.
This commit is contained in:
Jordy Dickinson
2018-04-02 14:34:43 -04:00
parent c7e74b6769
commit 05d8fe5d5f
32 changed files with 507 additions and 95 deletions

13
src/pam_panic/Makefile.am Normal file
View File

@ -0,0 +1,13 @@
SUBDIRS = man
securelibdir = $(SECUREDIR)
securelibexecdir = $(securelibdir)
securelibexec_LTLIBRARIES = pam_panic.la
pam_panic_la_SOURCES = \
pam_panic.c \
pam_panic_authdevice.c \
pam_panic_password.c \
pam_panic_reject.c
pam_panic_la_LDFLAGS = -module -no-undefined -avoid-version
pam_panic_la_LIBADD = -lpam -lcrypto