Fixed a bunch of little bugs as reported by Fabian Keil.
[gnupg.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 AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(KSBA_CFLAGS) $(LIBASSUAN_CFLAGS) 
24
25 AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/common -I$(top_srcdir)/intl 
26 include $(top_srcdir)/am/cmacros.am
27
28
29 gpgsm_SOURCES = \
30         gpgsm.c gpgsm.h \
31         misc.c \
32         keydb.c keydb.h \
33         server.c \
34         call-agent.c \
35         call-dirmngr.c \
36         fingerprint.c \
37         base64.c \
38         certlist.c \
39         certdump.c \
40         certcheck.c \
41         certchain.c \
42         keylist.c \
43         verify.c \
44         sign.c \
45         encrypt.c \
46         decrypt.c \
47         import.c \
48         export.c \
49         delete.c \
50         certreqgen.c \
51         certreqgen-ui.c \
52         qualified.c
53
54
55 common_libs = $(libcommon) ../kbx/libkeybox.a ../jnlib/libjnlib.a \
56               ../gl/libgnu.a
57
58 gpgsm_LDADD = $(common_libs) ../common/libgpgrl.a \
59               $(LIBGCRYPT_LIBS) $(KSBA_LIBS) $(LIBASSUAN_LIBS) \
60               $(GPG_ERROR_LIBS) $(LIBREADLINE) $(LIBINTL) $(ZLIBS) $(LIBICONV)
61
62 # Make sure that all libs are build before we use them.  This is
63 # important for things like make -j2.
64 $(PROGRAMS): $(common_libs)
65
66
67
68
69