added a minimal nPA card driver for OpenSC
use as something like
env OPENSC_CONF=$PWD/vsmartcard/npa/opensc.conf opensc-tool --name
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
SUBDIRS = src m4 doc cross certs
|
||||
|
||||
EXTRA_DIST = libnpa.pc.in apdus test_vicc_with_npa-tool.sh
|
||||
EXTRA_DIST = libnpa.pc.in opensc.conf.in apdus test_vicc_with_npa-tool.sh
|
||||
|
||||
do_subst = $(SED) \
|
||||
-e 's,[@]PACKAGE_NAME[@],$(PACKAGE_NAME),g' \
|
||||
@@ -11,6 +11,7 @@ do_subst = $(SED) \
|
||||
-e 's,[@]prefix[@],$(prefix),g' \
|
||||
-e 's,[@]exec_prefix[@],$(exec_prefix),g' \
|
||||
-e 's,[@]libdir[@],$(libdir),g' \
|
||||
-e 's,[@]DYN_LIB_EXT[@],$(DYN_LIB_EXT),g' \
|
||||
-e 's,[@]includedir[@],$(includedir),g' \
|
||||
-e 's,[@]VERSION[@],$(VERSION),g' \
|
||||
-e 's,[@]OPENSC_LIBS[@],$(OPENSC_LIBS),g' \
|
||||
@@ -21,14 +22,19 @@ pkgconfig_DATA = libnpa.pc
|
||||
libnpa.pc: libnpa.pc.in
|
||||
$(do_subst) < $(srcdir)/libnpa.pc.in > libnpa.pc
|
||||
|
||||
opensc.conf: opensc.conf.in
|
||||
$(do_subst) < $(srcdir)/opensc.conf.in > opensc.conf
|
||||
|
||||
win:
|
||||
make -C cross $@
|
||||
|
||||
android:
|
||||
make -C cross $@
|
||||
|
||||
all-local: opensc.conf
|
||||
|
||||
clean-local:
|
||||
rm -f libnpa.pc
|
||||
rm -f libnpa.pc opensc.conf
|
||||
|
||||
distcheck-hook:
|
||||
test -d .svn && \
|
||||
|
||||
Reference in New Issue
Block a user