X-Git-Url: http://www.average.org/gitweb/?p=pam_pcsc_cr.git;a=blobdiff_plain;f=Makefile.am;h=c72f585d9be65958104564b3542dcca1ff36c855;hp=dc232665f5bfc8cdc58cfccdad16ecf27c9be3d1;hb=eaaae6374b2e8949fd2d13b45e3b9cbdb95f5299;hpb=d1eca5714f380358097e727408b07bdb808344bb diff --git a/Makefile.am b/Makefile.am index dc23266..c72f585 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,24 +1,46 @@ # $Id: Makefile.am 295 2005-05-13 14:58:27Z crosser $ -AUTOMAKE_OPTIONS = foreign +AUTOMAKE_OPTIONS = foreign no-dist-gzip dist-xz ACLOCAL_AMFLAGS = -I m4 -LIBS = @LIBS@ -pamlibdir = @pamlibdir@ +libdir = $(PAMDIR) +DEFS = -DDEBUG_PAM -DPAM_DEBUG @DEFS@ -noinst_HEADERS = pcsc_cr.h token.h -noinst_PROGRAMS = test_cr -test_cr_DEPENDENCIES = pam_pcsc_cr.la +noinst_HEADERS = pcsc_cr.h token.h crypto_if.h crypto.h serial.h authobj.h \ + authfile.h base64.h + +noinst_LTLIBRARIES = libpcsc_cr.la +libpcsc_cr_la_SOURCES = authfile.c authobj.c serial.c crypto.c pcsc_cr.c \ + ykneo.c base64.c +EXTRA_libpcsc_cr_la_SOURCES = ossl_crypto.c tom_crypto.c gnu_crypto.c +libpcsc_cr_la_LIBADD = @CRYPTO_OBJS@ +libpcsc_cr_la_DEPENDENCIES = @CRYPTO_OBJS@ lib_LTLIBRARIES = pam_pcsc_cr.la -EXTRA_pam_pcsc_cr_la_SOURCES = ossl_crypto.c tom_prypto.c -pam_pcsc_cr_la_SOURCES = crypto.c pcsc_cr.c ykneo.c +pam_pcsc_cr_la_LIBTOOLFLAGS = --tag=disable-static pam_pcsc_cr_la_LDFLAGS = -module -avoid-version -pam_pcsc_cr_la_LIBADD = @CRYPTO_OBJS@ -pam_pcsc_cr_la_DEPENDENCIES = @CRYPTO_OBJS@ +pam_pcsc_cr_la_LIBADD = libpcsc_cr.la + +bin_PROGRAMS = pam_cr_setup +pam_cr_setup_LDADD = libpcsc_cr.la + +man_MANS = pam_cr_setup.8 pam_pcsc_cr.8 + +check_PROGRAMS = test_auth test_serial test_crypto test_chalresp test_base64 +test_auth_LDADD = libpcsc_cr.la +test_serial_LDADD = libpcsc_cr.la +test_crypto_LDADD = libpcsc_cr.la +test_chalresp_LDADD = libpcsc_cr.la +test_base64_LDADD = libpcsc_cr.la -EXTRA_DIST = autogen.sh +EXTRA_DIST = autogen.sh README.md auth-data-structure.svg \ + pam_cr_setup.8 pam_pcsc_cr.8 -TESTS = test_cr +TESTS = test_auth test_serial test_crypto test_chalresp test_base64 +XFAIL_TESTS = test_chalresp -CLEANFILES = test_cr +html: README.html +README.html: README.md auth-data-structure.svg + pandoc -f markdown -t html5 --self-contained -o README.html README.md +clean-local: + rm -f README.html