2005-04-27 14:09:21 +02:00
|
|
|
# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
|
2003-08-05 19:11:04 +02:00
|
|
|
#
|
|
|
|
# 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
|
|
|
|
|
2004-10-20 10:54:45 +02:00
|
|
|
bin_PROGRAMS = scdaemon sc-copykeys
|
2004-12-15 15:15:54 +01:00
|
|
|
if ! HAVE_W32_SYSTEM
|
2004-04-20 16:17:10 +02:00
|
|
|
pkglib_PROGRAMS = pcsc-wrapper
|
2004-12-06 14:49:14 +01:00
|
|
|
endif
|
2003-08-05 19:11:04 +02:00
|
|
|
|
2004-02-12 10:29:14 +01:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/intl -I$(top_srcdir)/common
|
|
|
|
|
|
|
|
include $(top_srcdir)/am/cmacros.am
|
|
|
|
|
2005-04-27 14:09:21 +02:00
|
|
|
AM_CFLAGS = $(LIBGCRYPT_CFLAGS) \
|
|
|
|
$(KSBA_CFLAGS) $(LIBASSUAN_CFLAGS) $(PTH_CFLAGS)
|
2003-08-05 19:11:04 +02:00
|
|
|
|
2004-02-12 10:29:14 +01:00
|
|
|
|
2005-04-27 14:09:21 +02:00
|
|
|
card_apps = app-openpgp.c app-nks.c app-dinsig.c app-p15.c
|
2004-01-27 17:40:42 +01:00
|
|
|
|
2003-08-05 19:11:04 +02:00
|
|
|
scdaemon_SOURCES = \
|
|
|
|
scdaemon.c scdaemon.h \
|
2005-04-27 14:09:21 +02:00
|
|
|
command.c \
|
2003-08-05 19:11:04 +02:00
|
|
|
apdu.c apdu.h \
|
2003-09-02 21:06:34 +02:00
|
|
|
ccid-driver.c ccid-driver.h \
|
2003-08-05 19:11:04 +02:00
|
|
|
iso7816.c iso7816.h \
|
2004-01-27 17:40:42 +01:00
|
|
|
tlv.c tlv.h \
|
2004-03-16 19:59:21 +01:00
|
|
|
app.c app-common.h app-help.c $(card_apps)
|
2004-01-27 17:40:42 +01:00
|
|
|
|
2003-08-05 19:11:04 +02:00
|
|
|
|
|
|
|
scdaemon_LDADD = ../jnlib/libjnlib.a ../common/libcommon.a \
|
2005-04-27 14:09:21 +02:00
|
|
|
$(LIBGCRYPT_LIBS) $(KSBA_LIBS) $(PTH_LIBS) $(LIBASSUAN_LIBS) \
|
|
|
|
$(LIBUSB_LIBS) -lgpg-error $(LIBINTL) $(DL_LIBS)
|
2003-08-05 19:11:04 +02:00
|
|
|
|
|
|
|
sc_copykeys_SOURCES = \
|
|
|
|
sc-copykeys.c scdaemon.h \
|
|
|
|
apdu.c apdu.h \
|
2003-09-02 21:06:34 +02:00
|
|
|
ccid-driver.c ccid-driver.h \
|
2003-08-05 19:11:04 +02:00
|
|
|
iso7816.c iso7816.h \
|
2004-01-27 17:40:42 +01:00
|
|
|
tlv.c tlv.h \
|
|
|
|
atr.c atr.h \
|
2004-03-16 19:59:21 +01:00
|
|
|
app.c app-common.h app-help.c $(card_apps)
|
2003-08-05 19:11:04 +02:00
|
|
|
|
|
|
|
sc_copykeys_LDADD = \
|
|
|
|
../jnlib/libjnlib.a ../common/libcommon.a \
|
|
|
|
../common/libsimple-pwquery.a \
|
2005-04-27 14:09:21 +02:00
|
|
|
$(LIBGCRYPT_LIBS) $(PTH_LIBS) $(KSBA_LIBS) $(LIBASSUAN_LIBS) \
|
|
|
|
$(LIBUSB_LIBS) \
|
2004-09-30 16:34:34 +02:00
|
|
|
-lgpg-error @LIBINTL@ @DL_LIBS@
|
2004-04-20 16:17:10 +02:00
|
|
|
|
|
|
|
pcsc_wrapper_SOURCES = pcsc-wrapper.c
|
2004-12-15 15:15:54 +01:00
|
|
|
pcsc_wrapper_LDADD = $(DL_LIBS)
|
2004-07-22 12:52:56 +02:00
|
|
|
pcsc_wrapper_CFLAGS =
|