chiark / gitweb /
doc: Document summary values of TOFU_STATS
[gnupg2.git] / sm / Makefile.am
1 # Copyright (C) 2001, 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 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 gpgsm-w32info.rc
21
22 bin_PROGRAMS = gpgsm
23
24 AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(KSBA_CFLAGS) $(LIBASSUAN_CFLAGS)
25
26 AM_CPPFLAGS = -I$(top_srcdir)/common -DKEYBOX_WITH_X509=1
27 include $(top_srcdir)/am/cmacros.am
28
29 if HAVE_W32_SYSTEM
30 resource_objs += gpgsm-w32info.o
31 endif
32
33 gpgsm_SOURCES = \
34         gpgsm.c gpgsm.h \
35         misc.c \
36         keydb.c keydb.h \
37         server.c \
38         call-agent.c \
39         call-dirmngr.c \
40         fingerprint.c \
41         base64.c \
42         certlist.c \
43         certdump.c \
44         certcheck.c \
45         certchain.c \
46         keylist.c \
47         verify.c \
48         sign.c \
49         encrypt.c \
50         decrypt.c \
51         import.c \
52         export.c \
53         delete.c \
54         certreqgen.c \
55         certreqgen-ui.c \
56         minip12.c minip12.h \
57         qualified.c \
58         passphrase.c passphrase.h
59
60
61 common_libs = ../kbx/libkeybox509.a $(libcommon)
62
63 gpgsm_LDADD = $(common_libs) ../common/libgpgrl.a \
64               $(LIBGCRYPT_LIBS) $(KSBA_LIBS) $(LIBASSUAN_LIBS) \
65               $(GPG_ERROR_LIBS) $(LIBREADLINE) $(LIBINTL) \
66               $(LIBICONV) $(resource_objs) $(extra_sys_libs)
67 gpgsm_LDFLAGS = $(extra_bin_ldflags)
68
69 # Make sure that all libs are build before we use them.  This is
70 # important for things like make -j2.
71 $(PROGRAMS): $(common_libs)