代码拉取完成,页面将自动刷新
AUTOMAKE_OPTIONS = foreign subdir-objects
ACLOCAL_AMFLAGS = -I build
pamdir = $(libdir)/security
bin_PROGRAMS = google-authenticator
noinst_PROGRAMS = base32
dist_man_MANS = man/google-authenticator.1
dist_man_MANS += man/pam_google_authenticator.8
pam_LTLIBRARIES = pam_google_authenticator.la
dist_doc_DATA = FILEFORMAT README.md
dist_html_DATA = totp.html
MODULES_LDFLAGS = -avoid-version -module -shared -export-dynamic
CORE_SRC = src/util.h src/util.c
CORE_SRC += src/base32.h src/base32.c
CORE_SRC += src/hmac.h src/hmac.c
CORE_SRC += src/sha1.h src/sha1.c
base32_SOURCES=\
src/base32.c \
src/base32_prog.c
google_authenticator_SOURCES = \
src/google-authenticator.c \
$(CORE_SRC)
pam_google_authenticator_la_SOURCES = \
src/pam_google_authenticator.c \
$(CORE_SRC)
pam_google_authenticator_la_LIBADD = -lpam
pam_google_authenticator_la_CFLAGS = $(AM_CFLAGS)
pam_google_authenticator_la_LDFLAGS = $(AM_LDFLAGS) $(MODULES_LDFLAGS) -export-symbols-regex "pam_sm_(setcred|open_session|authenticate)"
check_PROGRAMS = examples/demo tests/pam_google_authenticator_unittest
check_LTLIBRARIES = libpam_google_authenticator_testing.la
TESTS = tests/pam_google_authenticator_unittest tests/base32_test.sh
EXTRA_DIST = tests/base32_test.sh
libpam_google_authenticator_testing_la_SOURCES = \
src/pam_google_authenticator.c \
$(CORE_SRC)
libpam_google_authenticator_testing_la_CFLAGS = $(AM_CFLAGS) -DTESTING=1
libpam_google_authenticator_testing_la_LDFLAGS = $(AM_LDFLAGS) $(MODULES_LDFLAGS) -rpath $(abs_top_builddir) -lpam
tests_pam_google_authenticator_unittest_SOURCES = \
tests/pam_google_authenticator_unittest.c \
$(CORE_SRC)
tests_pam_google_authenticator_unittest_LDADD = -lpam
tests_pam_google_authenticator_unittest_LDFLAGS = $(AM_LDFLAGS) -export-dynamic
test: check
examples_demo_SOURCES = \
src/pam_google_authenticator.c \
$(CORE_SRC) \
examples/demo.c
examples_demo_LDADD = -lpam
examples_demo_CFLAGS = $(AM_CFLAGS) -DDEMO=1
super-clean: maintainer-clean
rm -fr aclocal autom4te.cache/ m4 missing libtool config.guess
rm -fr config.lt config.status config.sub configure depcomp
rm -fr libtool install-sh *~ Makefile aclocal.m4 config.h.in ltmain.sh
rm -fr Makefile.in test-driver compile
doc:
(cd man && pandoc --standalone --to man google-authenticator.1.md > google-authenticator.1)
(cd man && pandoc --standalone --to man pam_google_authenticator.8.md > pam_google_authenticator.8)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。