added abstraction layer to smart card connector

PC/SC can now be replaced by some arbitrary backend that communicates to
a smart card.
This commit is contained in:
Frank Morgner
2012-07-24 22:36:22 +02:00
parent 2bf315ce9f
commit 24128057ff
6 changed files with 244 additions and 230 deletions

View File

@@ -28,11 +28,11 @@ pcsc-relay.1:
bin_PROGRAMS = pcsc-relay
bin_SCRIPTS = picc.py
pcsc_relay_SOURCES = pcsc-relay.c pcscutil.c opicc.c lnfc.c $(BUILT_SOURCES)
pcsc_relay_SOURCES = pcsc-relay.c pcsc.c opicc.c lnfc.c $(BUILT_SOURCES)
pcsc_relay_LDADD = $(PCSC_LIBS) $(LIBNFC_LIBS)
pcsc_relay_CFLAGS = $(PCSC_CFLAGS) $(LIBNFC_CFLAGS)
noinst_HEADERS = pcscutil.h pcsc-relay.h
noinst_HEADERS = pcsc-relay.h
pcsc-relay.c: $(BUILT_SOURCES)