## @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/usr/include/PCSC 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_CPPFLAGS = -I${top_srcdir}/src 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_CPPFLAGS = -I${top_srcdir}/src 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_CPPFLAGS = -I${top_srcdir}/src 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_CPPFLAGS = -I${top_srcdir}/src 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_CPPFLAGS = -I${top_srcdir}/src 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