1 Star 0 Fork 0

chummy2015/google-authenticator-libpam

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile.am 2.43 KB
一键复制 编辑 原始数据 按行查看 历史
Thomas Habets 提交于 2018-08-24 17:19 +08:00 . Add EXTRA_DIST to list base32_test.sh
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)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chummy2015/google-authenticator-libpam.git
git@gitee.com:chummy2015/google-authenticator-libpam.git
chummy2015
google-authenticator-libpam
google-authenticator-libpam
master

搜索帮助