2009-06-17 12:24:37 +00:00
|
|
|
## @file
|
|
|
|
##
|
|
|
|
## $Id$
|
|
|
|
##
|
|
|
|
## 1 2 3 4 5 6 7 8
|
|
|
|
## 45678901234567890123456789012345678901234567890123456789012345678901234567890
|
|
|
|
|
2011-04-15 06:50:08 +00:00
|
|
|
include_HEADERS = pcsc.hxx cryptoki.hxx openssl.hxx cryptaux.hxx \
|
2013-11-07 10:03:58 +00:00
|
|
|
openssl-engine.hxx suisseid.hxx cardos.hxx
|
2010-08-26 12:24:12 +00:00
|
|
|
|
2014-03-26 15:07:54 +00:00
|
|
|
noinst_HEADERS = cardgui.hxx cardgui-model.hxx
|
|
|
|
|
2014-04-02 08:49:21 +00:00
|
|
|
if MINGW32
|
2014-04-28 09:27:25 +00:00
|
|
|
AM_LDFLAGS = -lwinscard
|
2014-04-02 09:03:00 +00:00
|
|
|
endif
|
|
|
|
if !MINGW32
|
2010-08-27 12:28:29 +00:00
|
|
|
if MAC
|
2014-10-27 09:22:48 +00:00
|
|
|
AM_CPPFLAGS += -I/Library/OpenSC/include
|
|
|
|
AM_LDFLAGS = -F/System/Library/Frameworks/PCSC.framework -framework PCSC
|
2010-09-27 06:53:25 +00:00
|
|
|
endif
|
2010-08-27 12:28:29 +00:00
|
|
|
endif
|
|
|
|
|
2010-04-08 12:41:16 +00:00
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = libpcscxx.pc
|
|
|
|
pkgconfig2dir = $(datarootdir)/pkgconfig
|
|
|
|
pkgconfig2_DATA = $(pkgconfig_DATA)
|
|
|
|
|
2011-11-10 10:31:08 +00:00
|
|
|
EXTRA_DIST = $(pkgconfig_DATA).in ${top_srcdir}/src/*.doc
|
2010-04-08 12:41:16 +00:00
|
|
|
|
2011-11-10 10:31:08 +00:00
|
|
|
lib_LTLIBRARIES = libpcscxx.la
|
2009-08-28 06:56:23 +00:00
|
|
|
|
2013-11-06 12:24:52 +00:00
|
|
|
libpcscxx_la_SOURCES = cryptoki.cxx cryptoki.hxx pcsc.cxx version.cxx \
|
|
|
|
openssl-engine.cxx
|
2011-11-10 10:31:08 +00:00
|
|
|
libpcscxx_la_LDFLAGS = -version-info ${LIB_VERSION}
|
|
|
|
libpcscxx_la_LIBADD = -lssl -lcrypto
|
2011-10-26 10:31:22 +00:00
|
|
|
if MINGW32
|
2014-04-28 09:27:25 +00:00
|
|
|
libpcscxx_la_LIBADD +=
|
2011-10-26 10:31:22 +00:00
|
|
|
else
|
2011-11-10 10:31:08 +00:00
|
|
|
libpcscxx_la_LIBADD += -ldl
|
2010-08-26 12:24:12 +00:00
|
|
|
if !MAC
|
2011-11-10 10:31:08 +00:00
|
|
|
libpcscxx_la_LIBADD += -lpcsclite
|
2010-08-03 13:48:47 +00:00
|
|
|
endif
|
2010-08-26 12:24:12 +00:00
|
|
|
endif
|
2009-08-28 06:56:23 +00:00
|
|
|
|
2015-05-11 13:45:46 +00:00
|
|
|
bin_PROGRAMS =
|
|
|
|
|
2015-04-30 14:28:21 +00:00
|
|
|
if HAVE_QTNETWORK
|
2015-05-12 08:57:29 +00:00
|
|
|
bin_PROGRAMS += cert2text
|
2015-04-30 14:28:21 +00:00
|
|
|
cert2text_SOURCES = cert2text.cxx
|
|
|
|
endif
|
|
|
|
|
2014-03-28 13:54:40 +00:00
|
|
|
if HAVE_QTGUI
|
2015-05-12 08:57:29 +00:00
|
|
|
bin_PROGRAMS += cardgui
|
2014-04-02 11:01:03 +00:00
|
|
|
cardgui_SOURCES = cardgui.cxx cardgui.hxx password.hxx cardgui-model.hxx \
|
|
|
|
cardgui.ui password.ui
|
2015-03-14 14:25:16 +00:00
|
|
|
nodist_cardgui_SOURCES = ui_cardgui.hxx ui_password.hxx \
|
2014-03-26 15:07:54 +00:00
|
|
|
moc_cardgui.cxx moc_password.cxx moc_cardgui-model.cxx
|
|
|
|
BUILT_SOURCES = ${nodist_cardgui_SOURCES}
|
2014-10-27 09:22:48 +00:00
|
|
|
cardgui_LDADD = libpcscxx.la ${libpcscxx_la_LIBADD}
|
2014-03-28 13:54:40 +00:00
|
|
|
endif
|
2014-03-26 15:07:54 +00:00
|
|
|
|
2010-08-27 12:51:15 +00:00
|
|
|
noinst_PROGRAMS = versiontest
|
|
|
|
versiontest_SOURCES = versiontest.cxx
|
|
|
|
|
2015-03-11 16:00:13 +00:00
|
|
|
CLEANFILES = ${BUILT_SOURCES}
|
2010-04-08 12:41:16 +00:00
|
|
|
DISTCLEANFILES = $(pkgconfig_DATA)
|
2009-06-17 12:24:37 +00:00
|
|
|
MAINTAINERCLEANFILES = makefile.in
|