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.
67 lines
1.8 KiB
67 lines
1.8 KiB
## @id $Id$ |
|
|
|
## 1 2 3 4 5 6 7 8 |
|
## 45678901234567890123456789012345678901234567890123456789012345678901234567890 |
|
|
|
noinst_PROGRAMS = pcsc-demo cryptoki-demo openssl-tcp-demo \ |
|
openssl-ssl-demo openssl-engine-demo |
|
|
|
AM_CPPFLAGS = -I${top_srcdir}/src |
|
if !MINGW32 |
|
if MAC |
|
AM_CPPFLAGS += -I/opt/local/include |
|
else |
|
AM_CPPFLAGS += -I/usr/include/PCSC |
|
endif |
|
endif |
|
|
|
LDFLAGS= |
|
if MAC |
|
AM_CPPFLAGS+=-I/Library/OpenSC/include |
|
LDFLAGS += -F/System/Library/Frameworks/PCSC.framework -framework PCSC -L/opt/local/lib -lcrypto |
|
endif |
|
if !MINGW32 |
|
if !MAC |
|
LDFLAGS += -lpcsclite |
|
endif |
|
endif |
|
if !MINGW32 |
|
LDFLAGS += -ldl -lpthread -lssl -lcrypto |
|
endif |
|
|
|
pcsc_demo_SOURCES = pcsc-demo.cxx |
|
pcsc_demo_LDFLAGS = -L${top_builddir}/src |
|
pcsc_demo_LDADD = -lpcscxx |
|
if MINGW32 |
|
pcsc_demo_LDADD += /opt/local/i586-mingw32msvc/lib/winscard.a |
|
endif |
|
|
|
cryptoki_demo_SOURCES = cryptoki-demo.cxx |
|
cryptoki_demo_LDADD = -lpcscxx |
|
cryptoki_demo_LDFLAGS = -L${top_builddir}/src |
|
if MINGW32 |
|
cryptoki_demo_LDADD += -leay32 |
|
endif |
|
|
|
openssl_tcp_demo_SOURCES = openssl-tcp-demo.cxx |
|
openssl_tcp_demo_LDFLAGS = -L${top_builddir}/src |
|
openssl_tcp_demo_LDADD = -lpcscxx |
|
if MINGW32 |
|
openssl_tcp_demo_LDADD += /opt/local/i586-mingw32msvc/lib/ssleay32.a /opt/local/i586-mingw32msvc/lib/libeay32.a |
|
endif |
|
|
|
openssl_ssl_demo_SOURCES = openssl-ssl-demo.cxx |
|
openssl_ssl_demo_LDFLAGS = -L${top_builddir}/src |
|
openssl_ssl_demo_LDADD = -lpcscxx |
|
if MINGW32 |
|
openssl_ssl_demo_LDADD += /opt/local/i586-mingw32msvc/lib/ssleay32.a /opt/local/i586-mingw32msvc/lib/libeay32.a |
|
endif |
|
|
|
openssl_engine_demo_SOURCES = openssl-engine-demo.cxx |
|
openssl_engine_demo_LDFLAGS = -L${top_builddir}/src |
|
openssl_engine_demo_LDADD = -lpcscxx |
|
if MINGW32 |
|
openssl_engine_demo_LDADD += /opt/local/i586-mingw32msvc/lib/ssleay32.a /opt/local/i586-mingw32msvc/lib/libeay32.a |
|
endif |
|
|
|
MAINTAINERCLEANFILES = makefile.in
|
|
|