~ubuntu-branches/ubuntu/precise/gnupg2/precise-updates

« back to all changes in this revision

Viewing changes to scd/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Mueller
  • Date: 2005-03-29 10:30:32 UTC
  • Revision ID: james.westby@ubuntu.com-20050329103032-sj42n2ain3ipx310
Tags: upstream-1.9.15
ImportĀ upstreamĀ versionĀ 1.9.15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
 
2
#
 
3
# This file is part of GnuPG.
 
4
#
 
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.
 
9
 
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.
 
14
 
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
 
18
 
 
19
## Process this file with automake to produce Makefile.in
 
20
 
 
21
bin_PROGRAMS = scdaemon sc-copykeys
 
22
if ! HAVE_W32_SYSTEM
 
23
pkglib_PROGRAMS = pcsc-wrapper
 
24
endif
 
25
 
 
26
AM_CPPFLAGS = -I$(top_srcdir)/intl -I$(top_srcdir)/common
 
27
 
 
28
include $(top_srcdir)/am/cmacros.am
 
29
 
 
30
# avoid linking against Pth if we are using OpenSC.
 
31
if HAVE_OPENSC
 
32
pth_libs = 
 
33
else
 
34
pth_libs = $(PTH_LIBS)
 
35
endif
 
36
 
 
37
AM_CFLAGS =  $(OPENSC_CFLAGS) $(LIBGCRYPT_CFLAGS) \
 
38
              $(KSBA_CFLAGS) $(LIBASSUAN_CFLAGS) $(PTH_CFLAGS)
 
39
 
 
40
 
 
41
card_apps = app-openpgp.c app-nks.c app-dinsig.c
 
42
 
 
43
scdaemon_SOURCES = \
 
44
        scdaemon.c scdaemon.h \
 
45
        command.c card.c \
 
46
        card-common.h \
 
47
        card-p15.c  \
 
48
        apdu.c apdu.h \
 
49
        ccid-driver.c ccid-driver.h \
 
50
        iso7816.c iso7816.h \
 
51
        tlv.c tlv.h \
 
52
        app.c app-common.h app-help.c $(card_apps)
 
53
 
 
54
 
 
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)
 
58
 
 
59
sc_copykeys_SOURCES = \
 
60
        sc-copykeys.c scdaemon.h \
 
61
        apdu.c apdu.h \
 
62
        ccid-driver.c ccid-driver.h \
 
63
        iso7816.c iso7816.h \
 
64
        tlv.c tlv.h \
 
65
        atr.c atr.h \
 
66
        app.c app-common.h app-help.c $(card_apps)
 
67
 
 
68
sc_copykeys_LDADD = \
 
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@
 
74
 
 
75
pcsc_wrapper_SOURCES = pcsc-wrapper.c
 
76
pcsc_wrapper_LDADD = $(DL_LIBS)
 
77
pcsc_wrapper_CFLAGS =