- renamed ifd.c to ifd-vpcd.c to have more readable logging in pcscd
- updated support information git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@336 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
Title : virtualsmartcard
|
||||
Authors : Frank Morgner, Dominik Oepen
|
||||
Authors : Frank Morgner <morgner@informatik.hu-berlin.de>
|
||||
Dominik Oepen <oepen@informatik.hu-berlin.de>
|
||||
Version : 1.0.0 27 Jul 2009
|
||||
License : See file COPYING
|
||||
Tested Platforms : Linux 2.6 (Debian, Ubuntu, Om 2008)
|
||||
@@ -40,6 +41,4 @@ PC/SC API. You can use the opensc-explorer or pcsc_scan to test that.
|
||||
QUESTIONS
|
||||
---------
|
||||
|
||||
For questions, please email us at:
|
||||
Frank Morgner <morgner@informatik.hu-berlin.de>
|
||||
Dominik Oepen <oepen@informatik.hu-berlin.de>
|
||||
For questions, please use http://sourceforge.net/projects/vsmartcard/support
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
AC_PREREQ([2.64])
|
||||
AC_INIT([virtualsmartcard], [0.2], [http://sourceforge.net/projects/vsmartcard/support])
|
||||
AC_CONFIG_SRCDIR([src/vpcd/ifd.c])
|
||||
AC_CONFIG_SRCDIR([src/vpcd/ifd-vpcd.c])
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AM_INIT_AUTOMAKE
|
||||
@@ -18,16 +18,19 @@ AM_PROG_CC_C_O
|
||||
AM_PATH_PYTHON
|
||||
PKG_PROG_PKG_CONFIG
|
||||
|
||||
|
||||
# Checks for libraries.
|
||||
PKG_CHECK_EXISTS([libpcsclite],
|
||||
[PKG_CHECK_MODULES([PCSC], [libpcsclite])],
|
||||
[AC_MSG_WARN([libpcsclite not found by pkg-config])])
|
||||
|
||||
saved_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS $PCSC_CFLAGS"
|
||||
AC_CHECK_HEADERS(ifdhandler.h,,
|
||||
[ AC_MSG_ERROR([ifdhandler.h not found, install libpcsclite or use ./configure PCSC_CFLAGS=...]) ])
|
||||
CPPFLAGS="$saved_CPPFLAGS"
|
||||
|
||||
|
||||
# --enable-serialdropdir=DIR
|
||||
AC_ARG_ENABLE(serialdropdir,
|
||||
AC_HELP_STRING([--enable-serialdropdir=DIR],[directory to install the
|
||||
@@ -47,6 +50,7 @@ if test "${serialdropdir}" = false ; then
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
# Checks for header files.
|
||||
AC_CHECK_HEADERS([arpa/inet.h stdint.h stdlib.h string.h sys/socket.h sys/time.h unistd.h])
|
||||
|
||||
@@ -94,7 +98,6 @@ ${PACKAGE} has been configured with following options:
|
||||
|
||||
Version: ${PACKAGE_VERSION}
|
||||
User binaries: $(eval eval eval echo "${bindir}")
|
||||
Configuration files: $(eval eval eval echo "${sysconfdir}")
|
||||
Python site-packages: $(eval eval eval echo "${pythondir}")
|
||||
Driver directory: ${serialdropdir}
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
VPCD_LIB = libvpcd.$(DYN_LIB_EXT)
|
||||
|
||||
lib_LTLIBRARIES = libvpcd.la
|
||||
libvpcd_la_SOURCES = ifd.c vpcd.c
|
||||
#libvpcd_la_LIBADD = $(PCSC_LIBS)
|
||||
libvpcd_la_SOURCES = ifd-vpcd.c vpcd.c
|
||||
libvpcd_la_LIBADD = $(PCSC_LIBS)
|
||||
libvpcd_la_CFLAGS = $(PCSC_CFLAGS)
|
||||
|
||||
noinst_HEADERS = vpcd.h
|
||||
@@ -22,6 +22,7 @@ install_libvpcd: libvpcd.la reader.conf.in
|
||||
$(mkinstalldirs) $(DESTDIR)$(sysconfdir)/reader.conf.d
|
||||
$(do_subst) < $(srcdir)/reader.conf.in > $(DESTDIR)$(sysconfdir)/reader.conf.d/vpcd
|
||||
|
||||
|
||||
uninstall: uninstall_libvpcd
|
||||
|
||||
uninstall_libvpcd:
|
||||
|
||||
Reference in New Issue
Block a user