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 3 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, see <http://www.gnu.org/licenses/>.
18 ## Process this file with automake to produce Makefile.in
20 bin_PROGRAMS = scdaemon
22 libexec_PROGRAMS = gnupg-pcsc-wrapper
25 AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/common
27 include $(top_srcdir)/am/cmacros.am
29 AM_CFLAGS = $(LIBGCRYPT_CFLAGS) \
30 $(KSBA_CFLAGS) $(LIBASSUAN_PTH_CFLAGS) $(PTH_CFLAGS)
33 card_apps = app-openpgp.c app-nks.c app-dinsig.c app-p15.c
36 scdaemon.c scdaemon.h \
39 ccid-driver.c ccid-driver.h \
41 app.c app-common.h app-help.c $(card_apps)
44 scdaemon_LDADD = $(libcommonpth) ../jnlib/libjnlib.a ../gl/libgnu.a \
45 $(LIBGCRYPT_LIBS) $(KSBA_LIBS) $(LIBASSUAN_PTH_LIBS) $(PTH_LIBS) \
46 $(LIBUSB_LIBS) $(GPG_ERROR_LIBS) \
47 $(LIBINTL) $(DL_LIBS) $(NETLIBS) $(LIBICONV)
49 # Removed for now: We need to decide whether it makes sense to
50 # continue it at all, given that gpg has now all required
52 #sc_copykeys_SOURCES = \
53 # sc-copykeys.c scdaemon.h \
55 # ccid-driver.c ccid-driver.h \
56 # iso7816.c iso7816.h \
58 # app.c app-common.h app-help.c $(card_apps)
60 #sc_copykeys_LDADD = \
61 # ../jnlib/libjnlib.a ../common/libcommon.a \
62 # ../common/libsimple-pwquery.a \
63 # $(LIBGCRYPT_LIBS) $(KSBA_LIBS) $(LIBASSUAN_PTH_LIBS) $(PTH_LIBS) \
65 # -lgpg-error @LIBINTL@ @DL_LIBS@
67 gnupg_pcsc_wrapper_SOURCES = pcsc-wrapper.c
68 gnupg_pcsc_wrapper_LDADD = $(DL_LIBS)
69 gnupg_pcsc_wrapper_CFLAGS =