1
# Copyright (C) 2002, 2003 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
19
## Process this file with automake to produce Makefile.in
21
bin_PROGRAMS = scdaemon sc-copykeys
23
pkglib_PROGRAMS = pcsc-wrapper
26
AM_CPPFLAGS = -I$(top_srcdir)/intl -I$(top_srcdir)/common
28
include $(top_srcdir)/am/cmacros.am
30
# avoid linking against Pth if we are using OpenSC.
34
pth_libs = $(PTH_LIBS)
37
AM_CFLAGS = $(OPENSC_CFLAGS) $(LIBGCRYPT_CFLAGS) \
38
$(KSBA_CFLAGS) $(LIBASSUAN_CFLAGS) $(PTH_CFLAGS)
41
card_apps = app-openpgp.c app-nks.c app-dinsig.c
44
scdaemon.c scdaemon.h \
49
ccid-driver.c ccid-driver.h \
52
app.c app-common.h app-help.c $(card_apps)
55
scdaemon_LDADD = ../jnlib/libjnlib.a ../common/libcommon.a \
56
$(LIBGCRYPT_LIBS) $(KSBA_LIBS) $(pth_libs) $(LIBASSUAN_LIBS) \
57
$(LIBUSB_LIBS) $(OPENSC_LIBS) -lgpg-error $(LIBINTL) $(DL_LIBS)
59
sc_copykeys_SOURCES = \
60
sc-copykeys.c scdaemon.h \
62
ccid-driver.c ccid-driver.h \
66
app.c app-common.h app-help.c $(card_apps)
69
../jnlib/libjnlib.a ../common/libcommon.a \
70
../common/libsimple-pwquery.a \
71
$(LIBGCRYPT_LIBS) $(pth_libs) $(KSBA_LIBS) $(LIBASSUAN_LIBS) \
72
$(LIBUSB_LIBS) $(OPENSC_LIBS) \
73
-lgpg-error @LIBINTL@ @DL_LIBS@
75
pcsc_wrapper_SOURCES = pcsc-wrapper.c
76
pcsc_wrapper_LDADD = $(DL_LIBS)