blob: ef21831ae88cfbeffa8f6ddc75b1d36b96ec8b45 [file] [log] [blame]
ACLOCAL_AMFLAGS = -I m4
CLEANFILES = *~
sysconf_DATA = key_file ipmi_pass
install-exec-hook:
chmod 0600 $(DESTDIR)$(sysconfdir)/key_file
chmod 0600 $(DESTDIR)$(sysconfdir)/ipmi_pass
securelibdir = /lib/security
securelib_LTLIBRARIES = pam_ipmicheck.la pam_ipmisave.la
pam_ipmicheck_la_SOURCES = src/pam_ipmicheck/pam_ipmicheck.c
pam_ipmicheck_la_LDFLAGS = \
-module \
-avoid-version \
-shared \
$(LIBS)
pam_ipmisave_la_SOURCES = src/pam_ipmisave/pam_ipmisave.c
pam_ipmisave_la_LDFLAGS = \
-module \
-avoid-version \
-shared \
$(LIBS) \
$(OPENSSL_LIBS)