AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I m4
-noinst_HEADERS = pcsc_cr.h token.h crypto_if.h crypto.h serial.h
+noinst_HEADERS = pcsc_cr.h token.h crypto_if.h crypto.h serial.h authobj.h
EXTRA_LTLIBRARIES = libpcsc_cr.la
-libpcsc_cr_la_SOURCES = serial.c crypto.c pcsc_cr.c ykneo.c
+libpcsc_cr_la_SOURCES = authobj.c serial.c crypto.c pcsc_cr.c ykneo.c
EXTRA_libpcsc_cr_la_SOURCES = ossl_crypto.c tom_crypto.c
libpcsc_cr_la_LIBADD = @CRYPTO_OBJS@
libpcsc_cr_la_DEPENDENCIES = @CRYPTO_OBJS@
pam_pcsc_cr_la_LDFLAGS = -module -avoid-version
pam_pcsc_cr_la_LIBADD = libpcsc_cr.la
-check_PROGRAMS = test_serial test_crypto test_chalresp
+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
-EXTRA_DIST = autogen.sh
+EXTRA_DIST = autogen.sh README_CR
-TESTS = test_serial test_crypto test_chalresp
+TESTS = test_auth test_serial test_crypto test_chalresp