1 # Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
3 # This file is part of GnuPG.
5 # GnuPG is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
10 # GnuPG is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
20 ## Process this file with automake to produce Makefile.in
22 bin_PROGRAMS = scdaemon
24 libexec_PROGRAMS = gnupg-pcsc-wrapper
27 AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/common
29 include $(top_srcdir)/am/cmacros.am
31 AM_CFLAGS = $(LIBGCRYPT_CFLAGS) \
32 $(KSBA_CFLAGS) $(LIBASSUAN_PTH_CFLAGS) $(PTH_CFLAGS)
35 card_apps = app-openpgp.c app-nks.c app-dinsig.c app-p15.c
38 scdaemon.c scdaemon.h \
41 ccid-driver.c ccid-driver.h \
44 app.c app-common.h app-help.c $(card_apps)
47 scdaemon_LDADD = ../jnlib/libjnlib.a ../common/libcommonpth.a ../gl/libgnu.a \
48 $(LIBGCRYPT_LIBS) $(KSBA_LIBS) $(LIBASSUAN_PTH_LIBS) $(PTH_LIBS) \
49 $(LIBUSB_LIBS) $(GPG_ERROR_LIBS) $(LIBINTL) $(DL_LIBS) $(NETLIBS)
51 # Removed for now: We need to decide whether it makes sense to
52 # continue it at all, given that gpg has now all required
54 #sc_copykeys_SOURCES = \
55 # sc-copykeys.c scdaemon.h \
57 # ccid-driver.c ccid-driver.h \
58 # iso7816.c iso7816.h \
61 # app.c app-common.h app-help.c $(card_apps)
63 #sc_copykeys_LDADD = \
64 # ../jnlib/libjnlib.a ../common/libcommon.a \
65 # ../common/libsimple-pwquery.a \
66 # $(LIBGCRYPT_LIBS) $(KSBA_LIBS) $(LIBASSUAN_PTH_LIBS) $(PTH_LIBS) \
68 # -lgpg-error @LIBINTL@ @DL_LIBS@
70 gnupg_pcsc_wrapper_SOURCES = pcsc-wrapper.c
71 gnupg_pcsc_wrapper_LDADD = $(DL_LIBS)
72 gnupg_pcsc_wrapper_CFLAGS =