]> www.average.org Git - pam_pcsc_cr.git/blobdiff - Makefile.am
wip single-function authobj
[pam_pcsc_cr.git] / Makefile.am
index e83b179e26a16c5468410fb4d69d9bd54194f18d..d974a5c104cac542f57c1a394d3c5488138f2653 100644 (file)
@@ -3,11 +3,13 @@
 AUTOMAKE_OPTIONS = foreign
 ACLOCAL_AMFLAGS = -I m4
 
-noinst_HEADERS = pcsc_cr.h token.h
+noinst_HEADERS = pcsc_cr.h token.h crypto_if.h crypto.h serial.h authobj.h \
+               authfile.h
 
 EXTRA_LTLIBRARIES = libpcsc_cr.la
-libpcsc_cr_la_SOURCES = crypto.c pcsc_cr.c ykneo.c
-EXTRA_libpcsc_cr_la_SOURCES = ossl_crypto.c tom_prypto.c
+libpcsc_cr_la_SOURCES = authfile.c authobj.c serial.c crypto.c pcsc_cr.c \
+                       ykneo.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@
 
@@ -15,9 +17,16 @@ lib_LTLIBRARIES = pam_pcsc_cr.la
 pam_pcsc_cr_la_LDFLAGS = -module -avoid-version
 pam_pcsc_cr_la_LIBADD = libpcsc_cr.la
 
-check_PROGRAMS = test_cr
-test_cr_LDADD = libpcsc_cr.la
+bin_PROGRAMS = pam_cr_setup
+pam_cr_setup_LDADD = libpcsc_cr.la
 
-EXTRA_DIST = autogen.sh
+check_PROGRAMS = test_auth test_serial test_crypto test_chalresp
+test_auth_LDADD = libpcsc_cr.la
+test_serial_LDADD = libpcsc_cr.la
+test_crypto_LDADD = libpcsc_cr.la
+test_chalresp_LDADD = libpcsc_cr.la
 
-TESTS = test_cr
+EXTRA_DIST = autogen.sh README_CR
+
+TESTS = test_auth test_serial test_crypto test_chalresp
+XFAIL_TESTS = test_chalresp