diff --git a/COPYING b/COPYING index 6168a39..6fb8e91 120000 --- a/COPYING +++ b/COPYING @@ -1 +1 @@ -/usr/share/automake-1.11/COPYING \ No newline at end of file +/opt/local/share/automake-1.11/COPYING \ No newline at end of file diff --git a/INSTALL b/INSTALL index cbd1c80..7a6487f 120000 --- a/INSTALL +++ b/INSTALL @@ -1 +1 @@ -/usr/share/automake-1.11/INSTALL \ No newline at end of file +/opt/local/share/automake-1.11/INSTALL \ No newline at end of file diff --git a/doc/examples/makefile.am b/doc/examples/makefile.am index 5468967..a25dc50 100644 --- a/doc/examples/makefile.am +++ b/doc/examples/makefile.am @@ -17,7 +17,7 @@ endif LDFLAGS= if MAC AM_CPPFLAGS+=-I/Library/OpenSC/include -LDFLAGS += -F/System/Library/Frameworks/PCSC.framework -framework PCSC +LDFLAGS += -F/System/Library/Frameworks/PCSC.framework -framework PCSC -L/opt/local/lib -lcrypto endif if !MINGW32 if !MAC diff --git a/src/makefile.am b/src/makefile.am index 9027d5c..91d4ead 100644 --- a/src/makefile.am +++ b/src/makefile.am @@ -9,7 +9,7 @@ include_HEADERS = pcsc.hxx cryptoki.hxx openssl.hxx cryptaux.hxx if MAC AM_CPPFLAGS += -I/opt/local/include -I/Library/OpenSC/include -AM_LDFLAGS = -F/System/Library/Frameworks/PCSC.framework +AM_LDFLAGS = -F/System/Library/Frameworks/PCSC.framework -L/opt/local/lib endif pkcs11dir = ${includedir}/pkcs11 diff --git a/test/makefile.am b/test/makefile.am index 94521ad..684953a 100644 --- a/test/makefile.am +++ b/test/makefile.am @@ -3,10 +3,15 @@ ## 1 2 3 4 5 6 7 8 ## 45678901234567890123456789012345678901234567890123456789012345678901234567890 -AM_CXXFLAGS += -I ${top_srcdir}/src +AM_CXXFLAGS = -I ${top_srcdir}/src AM_LDFLAGS = -L${top_builddir}/src LDADD = -lcppunit +if MAC +AM_LDFLAGS += -L/opt/local/lib +AM_CPPFLAGS += -I/opt/local/include +endif + check_PROGRAMS = sharedpointer_test TESTS=${check_PROGRAMS}