2009-08-28 06:56:23 +00:00
|
|
|
## @id $Id$
|
|
|
|
|
|
|
|
## 1 2 3 4 5 6 7 8
|
|
|
|
## 45678901234567890123456789012345678901234567890123456789012345678901234567890
|
|
|
|
|
2010-03-03 15:37:44 +00:00
|
|
|
noinst_PROGRAMS = pcsc-demo cryptoki-demo openssl-tcp-demo openssl-ssl-demo
|
2009-08-28 06:56:23 +00:00
|
|
|
|
2009-10-21 08:52:04 +00:00
|
|
|
AM_CPPFLAGS = -I${top_srcdir}/src
|
|
|
|
if !MINGW32
|
|
|
|
AM_CPPFLAGS += -I/usr/include/PCSC
|
|
|
|
endif
|
2009-08-28 06:56:23 +00:00
|
|
|
|
2010-08-26 12:24:12 +00:00
|
|
|
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
|
2009-10-21 08:52:04 +00:00
|
|
|
if MINGW32
|
2010-08-26 12:24:12 +00:00
|
|
|
LDFLAGS += /opt/local/i586-mingw32msvc/lib/winscard.a /opt/local/i586-mingw32msvc/lib/ssleay32.a -leay32
|
2009-10-21 08:52:04 +00:00
|
|
|
else
|
2010-08-26 12:24:12 +00:00
|
|
|
LDFLAGS += -ldl -lpthread -lssl
|
2009-10-21 08:52:04 +00:00
|
|
|
endif
|
2009-08-28 06:56:23 +00:00
|
|
|
|
2010-08-26 12:24:12 +00:00
|
|
|
pcsc_demo_SOURCES = pcsc-demo.cxx
|
|
|
|
pcsc_demo_LDFLAGS = -L${top_builddir}/src
|
|
|
|
pcsc_demo_LDADD = -lcryptoki++
|
|
|
|
|
2009-08-28 06:56:23 +00:00
|
|
|
cryptoki_demo_SOURCES = cryptoki-demo.cxx
|
2009-10-21 08:52:04 +00:00
|
|
|
cryptoki_demo_LDADD = -lcryptoki++
|
2009-08-28 06:56:23 +00:00
|
|
|
cryptoki_demo_LDFLAGS = -L${top_builddir}/src
|
|
|
|
|
2010-03-03 15:37:44 +00:00
|
|
|
openssl_tcp_demo_SOURCES = openssl-tcp-demo.cxx
|
|
|
|
openssl_tcp_demo_LDFLAGS = -L${top_builddir}/src
|
2010-08-03 13:48:47 +00:00
|
|
|
openssl_tcp_demo_LDADD = -lcryptoki++
|
2010-03-03 15:37:44 +00:00
|
|
|
|
|
|
|
openssl_ssl_demo_SOURCES = openssl-ssl-demo.cxx
|
|
|
|
openssl_ssl_demo_LDFLAGS = -L${top_builddir}/src
|
2010-08-03 13:48:47 +00:00
|
|
|
openssl_ssl_demo_LDADD = -lcryptoki++
|
2010-03-03 15:37:44 +00:00
|
|
|
|
2009-08-28 06:56:23 +00:00
|
|
|
MAINTAINERCLEANFILES = makefile.in
|