opensc-sys 0.1.1

FFI bindings to OpenSC
Documentation
include $(top_srcdir)/win32/ltrc.inc

MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
EXTRA_DIST = Makefile.mak

SUBDIRS = regression p11test fuzzing
noinst_PROGRAMS = base64 lottery p15dump pintest prngtest

AM_CPPFLAGS = -I$(top_srcdir)/src
AM_CFLAGS = $(OPTIONAL_OPENSSL_CFLAGS)
LIBS = \
	$(top_builddir)/src/libopensc/libopensc.la \
	$(top_builddir)/src/common/libscdl.la \
	$(top_builddir)/src/common/libcompat.la

COMMON_SRC = sc-test.c
COMMON_INC = sc-test.h

base64_SOURCES = base64.c $(COMMON_SRC) $(COMMON_INC)
lottery_SOURCES = lottery.c $(COMMON_SRC) $(COMMON_INC)
p15dump_SOURCES = p15dump.c print.c $(COMMON_SRC) $(COMMON_INC)
pintest_SOURCES = pintest.c print.c $(COMMON_SRC) $(COMMON_INC)
prngtest_SOURCES = prngtest.c $(COMMON_SRC) $(COMMON_INC)

if WIN32
base64_SOURCES += $(top_builddir)/win32/versioninfo.rc
lottery_SOURCES += $(top_builddir)/win32/versioninfo.rc
p15dump_SOURCES += $(top_builddir)/win32/versioninfo.rc
pintest_SOURCES += $(top_builddir)/win32/versioninfo.rc
prngtest_SOURCES += $(top_builddir)/win32/versioninfo.rc
endif