Imported Upstream version 2.0.19
[platform/upstream/gpg2.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 <http://www.gnu.org/licenses/>.
17
18 ## Process this file with automake to produce Makefile.in
19
20
21 bin_PROGRAMS = gpgsm
22
23 EXTRA_DIST = ChangeLog-2011
24
25 AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(KSBA_CFLAGS) $(LIBASSUAN_CFLAGS)
26
27 AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/common -I$(top_srcdir)/intl
28 include $(top_srcdir)/am/cmacros.am
29
30
31 gpgsm_SOURCES = \
32         gpgsm.c gpgsm.h \
33         misc.c \
34         keydb.c keydb.h \
35         server.c \
36         call-agent.c \
37         call-dirmngr.c \
38         fingerprint.c \
39         base64.c \
40         certlist.c \
41         certdump.c \
42         certcheck.c \
43         certchain.c \
44         keylist.c \
45         verify.c \
46         sign.c \
47         encrypt.c \
48         decrypt.c \
49         import.c \
50         export.c \
51         delete.c \
52         certreqgen.c \
53         certreqgen-ui.c \
54         qualified.c
55
56
57 common_libs = $(libcommon) ../kbx/libkeybox.a ../jnlib/libjnlib.a \
58               ../gl/libgnu.a
59
60 gpgsm_LDADD = $(common_libs) ../common/libgpgrl.a  $(NETLIBS) \
61               $(LIBGCRYPT_LIBS) $(KSBA_LIBS) $(LIBASSUAN_LIBS) \
62               $(GPG_ERROR_LIBS) $(LIBREADLINE) $(LIBINTL) $(ZLIBS) $(LIBICONV)
63
64 # Make sure that all libs are build before we use them.  This is
65 # important for things like make -j2.
66 $(PROGRAMS): $(common_libs)
67
68
69
70
71