|
|
|
@ -10,40 +10,36 @@ if !MINGW32 |
|
|
|
|
AM_CPPFLAGS += -I/usr/include/PCSC |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
pcsc_demo_SOURCES = pcsc-demo.cxx |
|
|
|
|
pcsc_demo_LDFLAGS = -L${top_builddir}/src |
|
|
|
|
pcsc_demo_LDADD = -lcryptoki++ |
|
|
|
|
LDFLAGS= |
|
|
|
|
if MAC |
|
|
|
|
AM_CPPFLAGS+=-I/Library/OpenSC/include |
|
|
|
|
LDFLAGS += -F/System/Library/Frameworks/PCSC.framework |
|
|
|
|
endif |
|
|
|
|
if !MINGW32 |
|
|
|
|
if !MAC |
|
|
|
|
LDFLAGS += -lpcsclite |
|
|
|
|
endif |
|
|
|
|
endif |
|
|
|
|
if MINGW32 |
|
|
|
|
pcsc_demo_LDADD += /opt/local/i586-mingw32msvc/lib/winscard.a |
|
|
|
|
LDFLAGS += /opt/local/i586-mingw32msvc/lib/winscard.a /opt/local/i586-mingw32msvc/lib/ssleay32.a -leay32 |
|
|
|
|
else |
|
|
|
|
pcsc_demo_LDADD += -lpcsclite -ldl -lpthread |
|
|
|
|
LDFLAGS += -ldl -lpthread -lssl |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
pcsc_demo_SOURCES = pcsc-demo.cxx |
|
|
|
|
pcsc_demo_LDFLAGS = -L${top_builddir}/src |
|
|
|
|
pcsc_demo_LDADD = -lcryptoki++ |
|
|
|
|
|
|
|
|
|
cryptoki_demo_SOURCES = cryptoki-demo.cxx |
|
|
|
|
cryptoki_demo_LDADD = -lcryptoki++ |
|
|
|
|
cryptoki_demo_LDFLAGS = -L${top_builddir}/src |
|
|
|
|
if MINGW32 |
|
|
|
|
cryptoki_demo_LDADD += -leay32 |
|
|
|
|
else |
|
|
|
|
cryptoki_demo_LDADD += -ldl -lpthread -lssl |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
openssl_tcp_demo_SOURCES = openssl-tcp-demo.cxx |
|
|
|
|
openssl_tcp_demo_LDFLAGS = -L${top_builddir}/src |
|
|
|
|
openssl_tcp_demo_LDADD = -lcryptoki++ |
|
|
|
|
if MINGW32 |
|
|
|
|
openssl_tcp_demo_LDADD += /opt/local/i586-mingw32msvc/lib/ssleay32.a /opt/local/i586-mingw32msvc/lib/libeay32.a |
|
|
|
|
else |
|
|
|
|
openssl_tcp_demo_LDADD += -ldl -lpthread -lssl |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
openssl_ssl_demo_SOURCES = openssl-ssl-demo.cxx |
|
|
|
|
openssl_ssl_demo_LDFLAGS = -L${top_builddir}/src |
|
|
|
|
openssl_ssl_demo_LDADD = -lcryptoki++ |
|
|
|
|
if MINGW32 |
|
|
|
|
openssl_ssl_demo_LDADD += /opt/local/i586-mingw32msvc/lib/ssleay32.a /opt/local/i586-mingw32msvc/lib/libeay32.a |
|
|
|
|
else |
|
|
|
|
openssl_ssl_demo_LDADD += -ldl -lpthread -lssl |
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
MAINTAINERCLEANFILES = makefile.in |
|
|
|
|