## @file
##
## $Id$
##
## 1 2 3 4 5 6 7 8
## 45678901234567890123456789012345678901234567890123456789012345678901234567890
#MOC_FILES=moc_certimport.cxx
include_HEADERS = pcsc.hxx cryptoki.hxx openssl.hxx cryptaux.hxx \
openssl-engine.hxx suisseid.hxx cardos.hxx
#certimport.hxx
noinst_HEADERS = cardgui.hxx cardgui-model.hxx
if MINGW32
AM_LDFLAGS = -lwinscard
endif
if !MINGW32
if MAC
AM_CPPFLAGS += -I/opt/local/include -I/Library/OpenSC/include
AM_LDFLAGS = -F/System/Library/Frameworks/PCSC.framework -L/opt/local/lib -framework PCSC
else
AM_CPPFLAGS += -I/usr/include/PCSC
endif
endif
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libpcscxx.pc
pkgconfig2dir = $(datarootdir)/pkgconfig
pkgconfig2_DATA = $(pkgconfig_DATA)
EXTRA_DIST = $(pkgconfig_DATA).in ${top_srcdir}/src/*.doc
lib_LTLIBRARIES = libpcscxx.la
libpcscxx_la_SOURCES = cryptoki.cxx cryptoki.hxx pcsc.cxx version.cxx \
openssl-engine.cxx
#moc_certimport.cxx
libpcscxx_la_LDFLAGS = -version-info ${LIB_VERSION}
libpcscxx_la_LIBADD = -lssl -lcrypto
if MINGW32
libpcscxx_la_LIBADD +=
else
libpcscxx_la_LIBADD += -ldl
if !MAC
libpcscxx_la_LIBADD += -lpcsclite
endif
endif
if HAVE_QTGUI
bin_PROGRAMS = cardgui
cardgui_SOURCES = cardgui.cxx cardgui.hxx password.hxx cardgui-model.hxx \
cardgui.ui password.ui
nodist_cardgui_SOURCES = cardgui_ui.hxx password_ui.hxx \
moc_cardgui.cxx moc_password.cxx moc_cardgui-model.cxx
BUILT_SOURCES = ${nodist_cardgui_SOURCES}
cardgui_CXXFLAGS = ${QT_GUI_CFLAGS}
cardgui_LDADD = ${QT_GUI_LIBS} libpcscxx.la ${libpcscxx_la_LIBADD}
endif
noinst_PROGRAMS = versiontest
versiontest_SOURCES = versiontest.cxx
%_ui.hxx: %.ui
@UIC@ -o $@ $<
moc_%.cxx: %.hxx
@MOC@ -o $@ $<
clean-local:
-rm -r ${QMAKE_TARGET}.app
CLEANFILES = ${MOC_FILES} ${BUILT_SOURCES}
DISTCLEANFILES = $(pkgconfig_DATA)
MAINTAINERCLEANFILES = makefile.in