This library provides a simple and nice C++ wrapper around these libraries, so that programmers can concentrate on functionality. It offers general support for PCSC-lite, OpenSSL, PKCS#11, plus specific functionality for the SuisseID.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.3 KiB
54 lines
1.3 KiB
## @file |
|
## |
|
## $Id$ |
|
## |
|
## 1 2 3 4 5 6 7 8 |
|
## 45678901234567890123456789012345678901234567890123456789012345678901234567890 |
|
|
|
include_HEADERS = pcsc.hxx cryptoki.hxx openssl.hxx cryptaux.hxx \ |
|
openssl-engine.hxx |
|
|
|
if !MINGW32 |
|
if MAC |
|
AM_CPPFLAGS += -I/opt/local/include -I/Library/OpenSC/include |
|
AM_LDFLAGS = -F/System/Library/Frameworks/PCSC.framework -L/opt/local/lib |
|
else |
|
AM_CPPFLAGS += -I/usr/include/PCSC |
|
endif |
|
endif |
|
|
|
pkcs11dir = ${includedir}/pkcs11 |
|
pkcs11_HEADERS = pkcs11/apiclient.h pkcs11/pkcs11.h pkcs11/pkcs11types.h |
|
|
|
pkgconfigdir = $(libdir)/pkgconfig |
|
pkgconfig_DATA = libpcscxx.pc |
|
pkgconfig2dir = $(datarootdir)/pkgconfig |
|
pkgconfig2_DATA = $(pkgconfig_DATA) |
|
|
|
EXTRA_DIST = $(pkgconfig_DATA).in ${top_srcdir}/src/*.doc |
|
|
|
lib_LTLIBRARIES = libpcscxx.la |
|
|
|
libpcscxx_la_SOURCES = cryptoki.cxx cryptoki.hxx pcsc.cxx \ |
|
version.cxx openssl-engine.cxx |
|
libpcscxx_la_LDFLAGS = -version-info ${LIB_VERSION} |
|
libpcscxx_la_LIBADD = -lssl -lcrypto |
|
if MINGW32 |
|
libpcscxx_la_LIBADD += -lgdi32 -lws2_32 |
|
else |
|
libpcscxx_la_LIBADD += -ldl |
|
if !MAC |
|
libpcscxx_la_LIBADD += -lpcsclite |
|
endif |
|
endif |
|
|
|
noinst_PROGRAMS = versiontest |
|
versiontest_SOURCES = versiontest.cxx |
|
|
|
|
|
clean-local: |
|
-rm -r ${QMAKE_TARGET}.app |
|
|
|
CLEANFILES = |
|
DISTCLEANFILES = $(pkgconfig_DATA) |
|
MAINTAINERCLEANFILES = makefile.in
|
|
|