- fixed some bugs due to changes in recent opensc version - added support for changing pin via standard leser git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@511 96b47cad-a561-4643-ad3b-153ac7d7599c
41 lines
844 B
Makefile
41 lines
844 B
Makefile
EXTRA_DIST = $(shell find $(top_srcdir)/src/opensc -path '*/.svn' -prune -o -type f -a -name '*.h' -print)
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/src/opensc/src
|
|
|
|
ccid_emulator_SOURCES = ccid.c usbstring.c usb.c binutil.c sslutil.c
|
|
ccid_emulator_LDADD = $(OPENSSL_LIBS) $(PTHREAD_LIBS)
|
|
ccid_emulator_CFLAGS = $(OPENSSL_CFLAGS) $(PTHREAD_CFLAGS)
|
|
|
|
cats_test_SOURCES = cats-test.c pcscutil.c
|
|
cats_test_LDADD = $(PCSC_LIBS)
|
|
cats_test_CFLAGS = $(PCSC_CFLAGS)
|
|
|
|
|
|
bin_PROGRAMS =
|
|
|
|
noinst_HEADERS = \
|
|
binutil.h \
|
|
pcscutil.h \
|
|
scutil.h \
|
|
ccid.h \
|
|
sslutil.h \
|
|
usbstring.h
|
|
|
|
if WITH_CCID
|
|
bin_PROGRAMS += ccid-emulator
|
|
endif
|
|
|
|
|
|
if WITH_CATS
|
|
bin_PROGRAMS += cats-test
|
|
endif
|
|
|
|
|
|
if WITH_PACE
|
|
ccid_emulator_LDADD += $(LIBNPA_LIBS)
|
|
ccid_emulator_CFLAGS += $(LIBNPA_CFLAGS)
|
|
else
|
|
ccid_emulator_SOURCES += scutil.c
|
|
ccid_emulator_LDADD += $(OPENSC_LIBS)
|
|
endif
|