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
21 libexec_PROGRAMS = scdaemon
23 libexec_PROGRAMS = scdaemon gnupg-pcsc-wrapper
26 EXTRA_DIST = ChangeLog-2011 scdaemon-w32info.rc
28 AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/common
30 include $(top_srcdir)/am/cmacros.am
33 resource_objs += scdaemon-w32info.o
36 AM_CFLAGS = $(GPG_ERROR_CFLAGS) $(LIBGCRYPT_CFLAGS) \
37 $(KSBA_CFLAGS) $(LIBASSUAN_CFLAGS) $(PTH_CFLAGS)
40 card_apps = app-openpgp.c app-nks.c app-dinsig.c app-p15.c app-geldkarte.c
43 scdaemon.c scdaemon.h \
46 ccid-driver.c ccid-driver.h \
48 app.c app-common.h app-help.c $(card_apps)
51 scdaemon_LDADD = $(libcommonpth) ../jnlib/libjnlib.a ../gl/libgnu.a \
52 $(LIBGCRYPT_LIBS) $(KSBA_LIBS) $(LIBASSUAN_LIBS) $(PTH_LIBS) \
53 $(LIBUSB_LIBS) $(GPG_ERROR_LIBS) \
54 $(LIBINTL) $(DL_LIBS) $(NETLIBS) $(LIBICONV) $(resource_objs)
56 # Removed for now: We need to decide whether it makes sense to
57 # continue it at all, given that gpg has now all required
59 #sc_copykeys_SOURCES = \
60 # sc-copykeys.c scdaemon.h \
62 # ccid-driver.c ccid-driver.h \
63 # iso7816.c iso7816.h \
65 # app.c app-common.h app-help.c $(card_apps)
67 #sc_copykeys_LDADD = \
68 # ../jnlib/libjnlib.a ../common/libcommon.a \
69 # ../common/libsimple-pwquery.a \
70 # $(LIBGCRYPT_LIBS) $(KSBA_LIBS) $(LIBASSUAN_LIBS) $(PTH_LIBS) \
72 # -lgpg-error @LIBINTL@ @DL_LIBS@
74 gnupg_pcsc_wrapper_SOURCES = pcsc-wrapper.c
75 gnupg_pcsc_wrapper_LDADD = $(DL_LIBS)
76 gnupg_pcsc_wrapper_CFLAGS =