switched to opensc.0.12.0. note that this has some issues when linking against both libnpa and the opensc libraries at the same time. readme information would be usefull for this...
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@385 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
OPENSCVERSION = 0.12.0
|
||||
|
||||
EXTRA_DIST = opensc-$(OPENSCVERSION)
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/src/opensc-$(OPENSCVERSION)/src
|
||||
|
||||
ccid_emulator_SOURCES = ccid.c usbstring.c usb.c binutil.c
|
||||
ccid_emulator_LDADD = $(OPENSC_LIBS) $(OPENSSL_LIBS) $(PTHREAD_LIBS)
|
||||
ccid_emulator_CFLAGS = $(OPENSC_CFLAGS) $(OPENSSL_CFLAGS) $(PTHREAD_CFLAGS)
|
||||
@@ -15,6 +21,14 @@ noinst_HEADERS = \
|
||||
ccid.h \
|
||||
usbstring.h
|
||||
|
||||
opensc: opensc-$(OPENSCVERSION)
|
||||
cd $(top_builddir)/src && cp -r opensc-$(OPENSCVERSION) opensc
|
||||
|
||||
libopensc.la: opensc
|
||||
cd $(top_builddir)/src/opensc && ./configure
|
||||
$(MAKE) -C opensc
|
||||
cp $(top_builddir)/src/opensc/src/libopensc/.libs/libopensc* $(top_builddir)/src
|
||||
|
||||
flaw:
|
||||
flawfinder -SQD *.h *.c
|
||||
|
||||
@@ -33,4 +47,5 @@ ccid_emulator_LDADD += $(LIBPACE_LIBS)
|
||||
ccid_emulator_CFLAGS += $(LIBPACE_CFLAGS)
|
||||
else
|
||||
ccid_emulator_SOURCES += scutil.c
|
||||
ccid_emulator_LDADD += libopensc.la
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user