chiark / gitweb /
doc: Extend dirmngr's --allow-version-check description
[gnupg2.git] / g13 / Makefile.am
1 # g13/Makefile.am
2 # Copyright (C) 2009 Free Software Foundation, Inc.
3 #
4 # This file is part of GnuPG.
5 #
6 # GnuPG is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
9 # (at your option) any later version.
10 #
11 # GnuPG is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, see <https://www.gnu.org/licenses/>.
18
19 ## Process this file with automake to produce Makefile.in
20
21 EXTRA_DIST = ChangeLog-2011
22
23 bin_PROGRAMS = g13
24 sbin_PROGRAMS = g13-syshelp
25
26 noinst_PROGRAMS = $(module_tests)
27 TESTS = $(module_tests)
28
29 AM_CPPFLAGS = -I$(top_srcdir)/common
30
31 include $(top_srcdir)/am/cmacros.am
32
33 AM_CFLAGS =  $(LIBGCRYPT_CFLAGS) $(LIBASSUAN_CFLAGS) $(NPTH_CFLAGS)
34
35 g13_SOURCES = \
36         g13.c g13.h \
37         g13-common.c g13-common.h \
38         keyblob.c keyblob.h \
39         g13tuple.c g13tuple.h \
40         server.c server.h \
41         create.c create.h \
42         mount.c mount.h \
43         suspend.c suspend.h \
44         mountinfo.c mountinfo.h \
45         call-syshelp.c call-syshelp.h \
46         runner.c runner.h \
47         backend.c backend.h \
48         be-encfs.c be-encfs.h \
49         be-truecrypt.c be-truecrypt.h \
50         be-dmcrypt.c be-dmcrypt.h
51
52 g13_LDADD = $(libcommonpth) \
53         $(LIBGCRYPT_LIBS) $(LIBASSUAN_LIBS) $(NPTH_LIBS) \
54         $(GPG_ERROR_LIBS) $(LIBINTL) $(LIBICONV)
55
56
57 g13_syshelp_SOURCES = \
58         g13-syshelp.c g13-syshelp.h \
59         g13-common.c g13-common.h \
60         keyblob.c keyblob.h \
61         g13tuple.c g13tuple.h \
62         sh-cmd.c \
63         sh-blockdev.c \
64         sh-dmcrypt.c
65
66 g13_syshelp_LDADD = $(libcommon) \
67         $(LIBGCRYPT_LIBS) $(LIBASSUAN_LIBS) \
68         $(GPG_ERROR_LIBS) $(LIBINTL) $(LIBICONV)
69
70
71 module_tests = t-g13tuple
72 t_common_ldadd = $(libcommon) $(LIBGCRYPT_LIBS) \
73                  $(LIBASSUAN_LIBS)
74
75 t_g13tuple_SOURCES = t-g13tuple.c g13tuple.c
76 t_g13tuple_LDADD = $(t_common_ldadd)
77
78
79 $(PROGRAMS) : $(libcommon) $(libcommonpth)