chiark / gitweb /
dirmngr: Drop useless housekeeping.
[gnupg2.git] / scd / Makefile.am
1 # Copyright (C) 2002, 2003, 2005 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 3 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, see <https://www.gnu.org/licenses/>.
17
18 ## Process this file with automake to produce Makefile.in
19
20 EXTRA_DIST = ChangeLog-2011 scdaemon-w32info.rc
21
22 libexec_PROGRAMS = scdaemon
23
24 AM_CPPFLAGS = -I$(top_srcdir)/common $(LIBUSB_CPPFLAGS)
25
26 include $(top_srcdir)/am/cmacros.am
27
28 if HAVE_W32_SYSTEM
29 resource_objs += scdaemon-w32info.o
30 endif
31
32 AM_CFLAGS =  $(LIBGCRYPT_CFLAGS) \
33              $(KSBA_CFLAGS) $(LIBASSUAN_CFLAGS) $(NPTH_CFLAGS)
34
35
36 card_apps = app-openpgp.c app-nks.c app-dinsig.c app-p15.c app-geldkarte.c app-sc-hsm.c
37
38 scdaemon_SOURCES = \
39         scdaemon.c scdaemon.h \
40         command.c \
41         atr.c atr.h \
42         apdu.c apdu.h \
43         ccid-driver.c ccid-driver.h \
44         iso7816.c iso7816.h \
45         app.c app-common.h app-help.c $(card_apps)
46
47
48 scdaemon_LDADD = $(libcommonpth) \
49         $(LIBGCRYPT_LIBS) $(KSBA_LIBS) $(LIBASSUAN_LIBS) $(NPTH_LIBS) \
50         $(LIBUSB_LIBS) $(GPG_ERROR_LIBS) \
51         $(LIBINTL) $(DL_LIBS) $(NETLIBS) $(LIBICONV) $(resource_objs)