diff --git a/doc/examples/makefile.am b/doc/examples/makefile.am index 7802369..3936de7 100644 --- a/doc/examples/makefile.am +++ b/doc/examples/makefile.am @@ -22,6 +22,7 @@ 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 @@ -29,6 +30,7 @@ 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 @@ -36,6 +38,7 @@ 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 @@ -43,6 +46,7 @@ openssl_tcp_demo_LDADD += /opt/local/i586-mingw32msvc/lib/ssleay32.a /opt/local/ 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 @@ -50,6 +54,7 @@ openssl_ssl_demo_LDADD += /opt/local/i586-mingw32msvc/lib/ssleay32.a /opt/local/ 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