2 # Copyright (C) 2009 Free Software Foundation, Inc.
4 # This file is part of GnuPG.
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.
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.
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/>.
19 ## Process this file with automake to produce Makefile.in
21 EXTRA_DIST = ChangeLog-2011 all-tests.scm
24 sbin_PROGRAMS = g13-syshelp
26 noinst_PROGRAMS = $(module_tests)
30 TESTS = $(module_tests)
35 include $(top_srcdir)/am/cmacros.am
37 AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(LIBASSUAN_CFLAGS) $(NPTH_CFLAGS)
41 g13-common.c g13-common.h \
43 g13tuple.c g13tuple.h \
48 mountinfo.c mountinfo.h \
49 call-syshelp.c call-syshelp.h \
52 be-encfs.c be-encfs.h \
53 be-truecrypt.c be-truecrypt.h \
54 be-dmcrypt.c be-dmcrypt.h
56 g13_LDADD = $(libcommonpth) \
57 $(LIBGCRYPT_LIBS) $(LIBASSUAN_LIBS) $(NPTH_LIBS) \
58 $(GPG_ERROR_LIBS) $(LIBINTL) $(LIBICONV)
61 g13_syshelp_SOURCES = \
62 g13-syshelp.c g13-syshelp.h \
63 g13-common.c g13-common.h \
65 g13tuple.c g13tuple.h \
70 g13_syshelp_LDADD = $(libcommon) \
71 $(LIBGCRYPT_LIBS) $(LIBASSUAN_LIBS) \
72 $(GPG_ERROR_LIBS) $(LIBINTL) $(LIBICONV)
75 module_tests = t-g13tuple
76 t_common_ldadd = $(libcommon) $(LIBGCRYPT_LIBS) \
77 $(LIBASSUAN_LIBS) $(LIBICONV)
79 t_g13tuple_SOURCES = t-g13tuple.c g13tuple.c
80 t_g13tuple_LDADD = $(t_common_ldadd)
83 $(PROGRAMS) : $(libcommon) $(libcommonpth)