2003-08-05 17:11:04 +00:00
|
|
|
# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
|
|
|
|
#
|
|
|
|
# This file is part of GnuPG.
|
|
|
|
#
|
|
|
|
# GnuPG is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# GnuPG is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
|
|
|
|
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
|
|
|
bin_PROGRAMS = scdaemon sc-investigate sc-copykeys
|
2004-04-20 14:17:10 +00:00
|
|
|
pkglib_PROGRAMS = pcsc-wrapper
|
2003-08-05 17:11:04 +00:00
|
|
|
|
2004-02-12 09:29:14 +00:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/intl -I$(top_srcdir)/common
|
|
|
|
|
|
|
|
include $(top_srcdir)/am/cmacros.am
|
|
|
|
|
2004-07-22 10:52:56 +00:00
|
|
|
# avoid linking against Pth if we are using OpenSC.
|
|
|
|
if HAVE_OPENSC
|
|
|
|
pth_libs =
|
|
|
|
else
|
|
|
|
pth_libs = $(PTH_LIBS)
|
|
|
|
endif
|
|
|
|
|
2004-02-12 09:29:14 +00:00
|
|
|
AM_CFLAGS = $(OPENSC_CFLAGS) $(LIBGCRYPT_CFLAGS) \
|
2004-04-20 14:17:10 +00:00
|
|
|
$(KSBA_CFLAGS) $(LIBASSUAN_CFLAGS) $(PTH_CFLAGS)
|
2003-08-05 17:11:04 +00:00
|
|
|
|
2004-02-12 09:29:14 +00:00
|
|
|
|
2004-01-27 16:40:42 +00:00
|
|
|
card_apps = app-openpgp.c app-nks.c app-dinsig.c
|
|
|
|
|
2003-08-05 17:11:04 +00:00
|
|
|
scdaemon_SOURCES = \
|
|
|
|
scdaemon.c scdaemon.h \
|
|
|
|
command.c card.c \
|
|
|
|
card-common.h \
|
2004-03-16 18:59:21 +00:00
|
|
|
card-p15.c \
|
2003-08-05 17:11:04 +00:00
|
|
|
apdu.c apdu.h \
|
2003-09-02 19:06:34 +00:00
|
|
|
ccid-driver.c ccid-driver.h \
|
2003-08-05 17:11:04 +00:00
|
|
|
iso7816.c iso7816.h \
|
2004-01-27 16:40:42 +00:00
|
|
|
tlv.c tlv.h \
|
2004-03-16 18:59:21 +00:00
|
|
|
app.c app-common.h app-help.c $(card_apps)
|
2004-01-27 16:40:42 +00:00
|
|
|
|
2003-08-05 17:11:04 +00:00
|
|
|
|
|
|
|
scdaemon_LDADD = ../jnlib/libjnlib.a ../common/libcommon.a \
|
2004-07-22 10:52:56 +00:00
|
|
|
$(LIBGCRYPT_LIBS) $(pth_libs) \
|
2004-04-20 14:17:10 +00:00
|
|
|
$(KSBA_LIBS) $(LIBASSUAN_LIBS) \
|
2004-07-27 11:28:47 +00:00
|
|
|
$(LIBUSB_LIBS) $(OPENSC_LIBS) -lgpg-error @INTLLIBS@ \
|
|
|
|
@DL_LIBS@
|
2003-08-05 17:11:04 +00:00
|
|
|
|
|
|
|
sc_investigate_SOURCES = \
|
|
|
|
sc-investigate.c scdaemon.h \
|
|
|
|
apdu.c apdu.h \
|
2003-09-02 19:06:34 +00:00
|
|
|
ccid-driver.c ccid-driver.h \
|
2003-08-05 17:11:04 +00:00
|
|
|
iso7816.c iso7816.h \
|
2004-01-27 16:40:42 +00:00
|
|
|
tlv.c tlv.h \
|
|
|
|
atr.c atr.h \
|
2004-03-16 18:59:21 +00:00
|
|
|
app.c app-common.h app-help.c $(card_apps)
|
2003-08-05 17:11:04 +00:00
|
|
|
|
|
|
|
sc_investigate_LDADD = \
|
|
|
|
../jnlib/libjnlib.a ../common/libcommon.a \
|
2004-07-22 10:52:56 +00:00
|
|
|
$(LIBGCRYPT_LIBS) $(pth_libs) \
|
|
|
|
$(KSBA_LIBS) $(LIBUSB_LIBS) $(OPENSC_LIBS) \
|
2004-07-27 11:28:47 +00:00
|
|
|
@INTLLIBS@ -lgpg-error @DL_LIBS@
|
2003-08-05 17:11:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
sc_copykeys_SOURCES = \
|
|
|
|
sc-copykeys.c scdaemon.h \
|
|
|
|
apdu.c apdu.h \
|
2003-09-02 19:06:34 +00:00
|
|
|
ccid-driver.c ccid-driver.h \
|
2003-08-05 17:11:04 +00:00
|
|
|
iso7816.c iso7816.h \
|
2004-01-27 16:40:42 +00:00
|
|
|
tlv.c tlv.h \
|
|
|
|
atr.c atr.h \
|
2004-03-16 18:59:21 +00:00
|
|
|
app.c app-common.h app-help.c $(card_apps)
|
2003-08-05 17:11:04 +00:00
|
|
|
|
|
|
|
sc_copykeys_LDADD = \
|
|
|
|
../jnlib/libjnlib.a ../common/libcommon.a \
|
|
|
|
../common/libsimple-pwquery.a \
|
2004-07-22 10:52:56 +00:00
|
|
|
$(LIBGCRYPT_LIBS) $(pth_libs) \
|
|
|
|
$(KSBA_LIBS) $(LIBUSB_LIBS) $(OPENSC_LIBS) \
|
2004-07-27 11:28:47 +00:00
|
|
|
-lgpg-error @INTLLIBS@ @DL_LIBS@
|
2004-04-20 14:17:10 +00:00
|
|
|
|
|
|
|
pcsc_wrapper_SOURCES = pcsc-wrapper.c
|
2004-07-27 11:28:47 +00:00
|
|
|
pcsc_wrapper_LDADD = @DL_LIBS@
|
2004-07-22 10:52:56 +00:00
|
|
|
pcsc_wrapper_CFLAGS =
|