compiles on mac; refs #6

This commit is contained in:
Marc Wäckerlin
2010-08-27 13:10:50 +00:00
parent 5c62ed3d53
commit dcc9a84734
5 changed files with 10 additions and 5 deletions

View File

@@ -1 +1 @@
/usr/share/automake-1.11/COPYING
/opt/local/share/automake-1.11/COPYING

View File

@@ -1 +1 @@
/usr/share/automake-1.11/INSTALL
/opt/local/share/automake-1.11/INSTALL

View File

@@ -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

View File

@@ -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

View File

@@ -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}